From caed8d85f40199c1cf23ae09d00bc3d1341d3c07 Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Wed, 11 May 2016 22:14:15 -0700 Subject: [PATCH 1/4] add scheme builder --- pkg/runtime/scheme_builder.go | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkg/runtime/scheme_builder.go diff --git a/pkg/runtime/scheme_builder.go b/pkg/runtime/scheme_builder.go new file mode 100644 index 00000000000..3685d4195e4 --- /dev/null +++ b/pkg/runtime/scheme_builder.go @@ -0,0 +1,37 @@ +/* +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 runtime + +// SchemeBuilder collects functions that add things to a scheme. It's to allow +// code to compile without explicitly referencing generated types. You should +// declare one in each package that will have generated deep copy or conversion +// functions. +type SchemeBuilder []func(*Scheme) + +// AddToScheme applies all the stored functions to the scheme. +func (sb *SchemeBuilder) AddToScheme(s *Scheme) { + for _, f := range *sb { + f(s) + } +} + +// Register adds a scheme setup function to the list. +func (sb *SchemeBuilder) Register(funcs ...func(*Scheme)) { + for _, f := range funcs { + *sb = append(*sb, f) + } +} From f1fd638962dcfe1e7bd89ea525f0013a733eca10 Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Thu, 12 May 2016 17:07:50 -0700 Subject: [PATCH 2/4] fix register.go files up + add test import --- .../testgroup.k8s.io/install/install.go | 10 +- .../test_apis/testgroup.k8s.io/register.go | 8 +- .../test_apis/testgroup.k8s.io/v1/register.go | 8 +- federation/apis/core/conversion.go | 23 +-- federation/apis/core/defaults.go | 37 +++++ federation/apis/core/install/install.go | 32 +--- federation/apis/core/register.go | 17 +- federation/apis/core/v1/conversion.go | 9 +- federation/apis/core/v1/defaults.go | 4 +- federation/apis/core/v1/register.go | 13 +- federation/apis/federation/install/install.go | 10 +- federation/apis/federation/register.go | 11 +- .../apis/federation/v1beta1/conversion.go | 12 +- .../apis/federation/v1beta1/defaults.go | 3 +- .../apis/federation/v1beta1/register.go | 13 +- pkg/api/conversion.go | 15 +- pkg/api/defaults.go | 36 +++++ pkg/api/install/install.go | 108 +------------ pkg/api/register.go | 30 +++- pkg/api/v1/conversion.go | 151 +++++++++++++++--- pkg/api/v1/defaults.go | 4 +- pkg/api/v1/register.go | 13 +- pkg/apis/abac/latest/latest.go | 3 + pkg/apis/abac/register.go | 14 +- pkg/apis/abac/v0/conversion.go | 5 +- pkg/apis/abac/v0/register.go | 21 ++- pkg/apis/abac/v1beta1/register.go | 17 +- pkg/apis/apps/install/install.go | 10 +- pkg/apis/apps/register.go | 11 +- pkg/apis/apps/v1alpha1/conversion.go | 14 +- pkg/apis/apps/v1alpha1/defaults.go | 4 +- pkg/apis/apps/v1alpha1/register.go | 12 +- pkg/apis/authentication/install/install.go | 10 +- pkg/apis/authentication/register.go | 10 +- pkg/apis/authentication/v1beta1/conversion.go | 8 +- pkg/apis/authentication/v1beta1/defaults.go | 4 +- pkg/apis/authentication/v1beta1/register.go | 13 +- pkg/apis/authorization/install/install.go | 10 +- pkg/apis/authorization/register.go | 10 +- pkg/apis/authorization/v1beta1/conversion.go | 8 +- pkg/apis/authorization/v1beta1/defaults.go | 4 +- pkg/apis/authorization/v1beta1/register.go | 13 +- pkg/apis/autoscaling/install/install.go | 10 +- pkg/apis/autoscaling/register.go | 11 +- pkg/apis/autoscaling/v1/defaults.go | 4 +- pkg/apis/autoscaling/v1/register.go | 11 +- pkg/apis/batch/install/install.go | 15 +- pkg/apis/batch/register.go | 11 +- pkg/apis/batch/v1/conversion.go | 14 +- pkg/apis/batch/v1/defaults.go | 4 +- pkg/apis/batch/v1/register.go | 12 +- pkg/apis/batch/v2alpha1/conversion.go | 13 +- pkg/apis/batch/v2alpha1/defaults.go | 4 +- pkg/apis/batch/v2alpha1/register.go | 12 +- pkg/apis/certificates/install/install.go | 10 +- pkg/apis/certificates/register.go | 13 +- pkg/apis/certificates/v1alpha1/conversion.go | 3 +- pkg/apis/certificates/v1alpha1/register.go | 12 +- pkg/apis/componentconfig/install/install.go | 10 +- pkg/apis/componentconfig/register.go | 10 +- pkg/apis/componentconfig/v1alpha1/defaults.go | 4 +- pkg/apis/componentconfig/v1alpha1/register.go | 11 +- pkg/apis/extensions/install/install.go | 10 +- pkg/apis/extensions/register.go | 11 +- pkg/apis/extensions/v1beta1/conversion.go | 20 +-- pkg/apis/extensions/v1beta1/defaults.go | 4 +- pkg/apis/extensions/v1beta1/register.go | 12 +- pkg/apis/policy/install/install.go | 10 +- pkg/apis/policy/register.go | 11 +- pkg/apis/policy/v1alpha1/register.go | 14 +- pkg/apis/rbac/install/install.go | 10 +- pkg/apis/rbac/register.go | 11 +- pkg/apis/rbac/v1alpha1/register.go | 10 +- .../clientcmd/api/latest/latest.go | 20 ++- .../unversioned/clientcmd/api/register.go | 13 +- .../clientcmd/api/v1/conversion.go | 8 +- .../unversioned/clientcmd/api/v1/register.go | 12 +- pkg/kubectl/cmd/config/view.go | 2 +- pkg/runtime/scheme_builder.go | 23 ++- plugin/pkg/scheduler/api/register.go | 18 ++- plugin/pkg/scheduler/api/v1/register.go | 16 +- 81 files changed, 714 insertions(+), 483 deletions(-) create mode 100644 federation/apis/core/defaults.go create mode 100644 pkg/api/defaults.go diff --git a/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/install/install.go b/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/install/install.go index 018377980e0..eadc3fddad7 100644 --- a/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/install/install.go +++ b/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/install/install.go @@ -107,12 +107,18 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - testgroup.AddToScheme(api.Scheme) + if err := testgroup.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { switch v { case v1.SchemeGroupVersion: - v1.AddToScheme(api.Scheme) + if err := v1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/register.go b/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/register.go index 94f3914f566..e3ed2a2906d 100644 --- a/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/register.go +++ b/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/register.go @@ -24,10 +24,10 @@ import ( var SchemeGroupVersion = unversioned.GroupVersion{Group: "testgroup.k8s.io", Version: runtime.APIVersionInternal} -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. func addKnownTypes(scheme *runtime.Scheme) { diff --git a/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/v1/register.go b/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/v1/register.go index 88e175eef66..e693fa86ab8 100644 --- a/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/v1/register.go +++ b/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/v1/register.go @@ -25,10 +25,10 @@ import ( var SchemeGroupVersion = unversioned.GroupVersion{Group: "testgroup.k8s.io", Version: "v1"} -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. func addKnownTypes(scheme *runtime.Scheme) { diff --git a/federation/apis/core/conversion.go b/federation/apis/core/conversion.go index 4a972c464bd..b91d22933de 100644 --- a/federation/apis/core/conversion.go +++ b/federation/apis/core/conversion.go @@ -18,27 +18,12 @@ package core import ( "k8s.io/kubernetes/pkg/api" - "k8s.io/kubernetes/pkg/fields" - "k8s.io/kubernetes/pkg/labels" "k8s.io/kubernetes/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs( - func(obj *api.ListOptions) { - if obj.LabelSelector == nil { - obj.LabelSelector = labels.Everything() - } - if obj.FieldSelector == nil { - obj.FieldSelector = fields.Everything() - } - }, - ) -} - -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions - err := scheme.AddConversionFuncs( + return scheme.AddConversionFuncs( api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta, api.Convert_unversioned_ListMeta_To_unversioned_ListMeta, api.Convert_intstr_IntOrString_To_intstr_IntOrString, @@ -54,8 +39,4 @@ func addConversionFuncs(scheme *runtime.Scheme) { api.Convert_fields_Selector_To_string, api.Convert_resource_Quantity_To_resource_Quantity, ) - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } } diff --git a/federation/apis/core/defaults.go b/federation/apis/core/defaults.go new file mode 100644 index 00000000000..03a610f2c30 --- /dev/null +++ b/federation/apis/core/defaults.go @@ -0,0 +1,37 @@ +/* +Copyright 2016 The Kubernetes Authors. + +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 core + +import ( + "k8s.io/kubernetes/pkg/api" + "k8s.io/kubernetes/pkg/fields" + "k8s.io/kubernetes/pkg/labels" + "k8s.io/kubernetes/pkg/runtime" +) + +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( + func(obj *api.ListOptions) { + if obj.LabelSelector == nil { + obj.LabelSelector = labels.Everything() + } + if obj.FieldSelector == nil { + obj.FieldSelector = fields.Everything() + } + }, + ) +} diff --git a/federation/apis/core/install/install.go b/federation/apis/core/install/install.go index bae57dd1310..68a8daee0ca 100644 --- a/federation/apis/core/install/install.go +++ b/federation/apis/core/install/install.go @@ -26,10 +26,8 @@ import ( "k8s.io/kubernetes/pkg/api" "k8s.io/kubernetes/pkg/api/meta" "k8s.io/kubernetes/pkg/api/unversioned" - "k8s.io/kubernetes/pkg/api/v1" "k8s.io/kubernetes/pkg/apimachinery" "k8s.io/kubernetes/pkg/apimachinery/registered" - "k8s.io/kubernetes/pkg/conversion" "k8s.io/kubernetes/pkg/runtime" "k8s.io/kubernetes/pkg/util/sets" ) @@ -125,7 +123,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - core.AddToScheme(core.Scheme) + if err := core.AddToScheme(core.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -134,27 +135,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case core_v1.SchemeGroupVersion: - core_v1.AddToScheme(core.Scheme) + if err := core_v1.AddToScheme(core.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } - - // This is a "fast-path" that avoids reflection for common types. It focuses on the objects that are - // converted the most in the cluster. - // TODO: generate one of these for every external API group - this is to prove the impact - core.Scheme.AddGenericConversionFunc(func(objA, objB interface{}, s conversion.Scope) (bool, error) { - switch a := objA.(type) { - case *v1.Service: - switch b := objB.(type) { - case *api.Service: - return true, v1.Convert_v1_Service_To_api_Service(a, b, s) - } - case *api.Service: - switch b := objB.(type) { - case *v1.Service: - return true, v1.Convert_api_Service_To_v1_Service(a, b, s) - } - - } - return false, nil - }) } diff --git a/federation/apis/core/register.go b/federation/apis/core/register.go index 657815abc11..0aef5f8f351 100644 --- a/federation/apis/core/register.go +++ b/federation/apis/core/register.go @@ -52,9 +52,14 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - if err := Scheme.AddIgnoredConversionType(&unversioned.TypeMeta{}, &unversioned.TypeMeta{}); err != nil { - panic(err) +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) + +func addKnownTypes(scheme *runtime.Scheme) error { + if err := scheme.AddIgnoredConversionType(&unversioned.TypeMeta{}, &unversioned.TypeMeta{}); err != nil { + return err } scheme.AddKnownTypes(SchemeGroupVersion, &api.ServiceList{}, @@ -68,7 +73,7 @@ func AddToScheme(scheme *runtime.Scheme) { ) // Register Unversioned types under their own special group - Scheme.AddUnversionedTypes(Unversioned, + scheme.AddUnversionedTypes(Unversioned, &unversioned.ExportOptions{}, &unversioned.Status{}, &unversioned.APIVersions{}, @@ -76,7 +81,5 @@ func AddToScheme(scheme *runtime.Scheme) { &unversioned.APIGroup{}, &unversioned.APIResourceList{}, ) - - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) + return nil } diff --git a/federation/apis/core/v1/conversion.go b/federation/apis/core/v1/conversion.go index 549ce830dd9..db122e7a662 100644 --- a/federation/apis/core/v1/conversion.go +++ b/federation/apis/core/v1/conversion.go @@ -23,7 +23,7 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions err := scheme.AddConversionFuncs( v1.Convert_v1_DeleteOptions_To_api_DeleteOptions, @@ -60,8 +60,7 @@ func addConversionFuncs(scheme *runtime.Scheme) { v1.Convert_api_ServiceStatus_To_v1_ServiceStatus, ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } // Add field label conversions for kinds having selectable nothing but ObjectMeta fields. @@ -79,8 +78,8 @@ func addConversionFuncs(scheme *runtime.Scheme) { } }) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } } + return nil } diff --git a/federation/apis/core/v1/defaults.go b/federation/apis/core/v1/defaults.go index 20d92e30767..8722e5664e5 100644 --- a/federation/apis/core/v1/defaults.go +++ b/federation/apis/core/v1/defaults.go @@ -21,8 +21,8 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs( +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( v1.SetDefaults_Secret, v1.SetDefaults_ServiceSpec, v1.SetDefaults_NamespaceStatus, diff --git a/federation/apis/core/v1/register.go b/federation/apis/core/v1/register.go index 28040880808..da54b9c39cc 100644 --- a/federation/apis/core/v1/register.go +++ b/federation/apis/core/v1/register.go @@ -29,15 +29,13 @@ const GroupName = "" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"} -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) - addConversionFuncs(scheme) - addDefaultingFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addConversionFuncs, addDefaultingFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &v1.Service{}, &v1.Namespace{}, @@ -54,4 +52,5 @@ func addKnownTypes(scheme *runtime.Scheme) { // Add the watch version that applies versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/federation/apis/federation/install/install.go b/federation/apis/federation/install/install.go index cedafe03ab4..edd850fa274 100644 --- a/federation/apis/federation/install/install.go +++ b/federation/apis/federation/install/install.go @@ -114,7 +114,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - federation.AddToScheme(api.Scheme) + if err := federation.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -123,7 +126,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1beta1.SchemeGroupVersion: - v1beta1.AddToScheme(api.Scheme) + if err := v1beta1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/federation/apis/federation/register.go b/federation/apis/federation/register.go index ce906cb42a2..4e19b94013b 100644 --- a/federation/apis/federation/register.go +++ b/federation/apis/federation/register.go @@ -38,18 +38,19 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -// Adds the list of known types to api.Scheme. -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Cluster{}, &ClusterList{}, &api.ListOptions{}, &api.DeleteOptions{}, ) + return nil } func (obj *Cluster) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/federation/apis/federation/v1beta1/conversion.go b/federation/apis/federation/v1beta1/conversion.go index f7ca2372aa6..5881109c6a7 100644 --- a/federation/apis/federation/v1beta1/conversion.go +++ b/federation/apis/federation/v1beta1/conversion.go @@ -19,12 +19,11 @@ package v1beta1 import ( "fmt" - "k8s.io/kubernetes/pkg/api" "k8s.io/kubernetes/pkg/runtime" ) -func addConversionFuncs(scheme *runtime.Scheme) { - err := api.Scheme.AddFieldLabelConversionFunc(SchemeGroupVersion.String(), "Cluster", +func addConversionFuncs(scheme *runtime.Scheme) error { + return scheme.AddFieldLabelConversionFunc(SchemeGroupVersion.String(), "Cluster", func(label, value string) (string, string, error) { switch label { case "metadata.name": @@ -32,9 +31,6 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } + }, + ) } diff --git a/federation/apis/federation/v1beta1/defaults.go b/federation/apis/federation/v1beta1/defaults.go index 54aef235ef0..57047120484 100644 --- a/federation/apis/federation/v1beta1/defaults.go +++ b/federation/apis/federation/v1beta1/defaults.go @@ -20,5 +20,6 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return nil } diff --git a/federation/apis/federation/v1beta1/register.go b/federation/apis/federation/v1beta1/register.go index 7d7195ca1c5..8fe059b140c 100644 --- a/federation/apis/federation/v1beta1/register.go +++ b/federation/apis/federation/v1beta1/register.go @@ -29,14 +29,12 @@ const GroupName = "federation" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1beta1"} -// Adds the list of known types to api.Scheme. -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Cluster{}, &ClusterList{}, @@ -44,6 +42,7 @@ func addKnownTypes(scheme *runtime.Scheme) { &v1.DeleteOptions{}, ) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } func (obj *Cluster) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/pkg/api/conversion.go b/pkg/api/conversion.go index 8ea2d6ed186..4a9f50b9ecb 100644 --- a/pkg/api/conversion.go +++ b/pkg/api/conversion.go @@ -24,23 +24,14 @@ import ( "k8s.io/kubernetes/pkg/conversion" "k8s.io/kubernetes/pkg/fields" "k8s.io/kubernetes/pkg/labels" + "k8s.io/kubernetes/pkg/runtime" "k8s.io/kubernetes/pkg/util/intstr" utillabels "k8s.io/kubernetes/pkg/util/labels" "k8s.io/kubernetes/pkg/util/validation/field" ) -func init() { - Scheme.AddDefaultingFuncs( - func(obj *ListOptions) { - if obj.LabelSelector == nil { - obj.LabelSelector = labels.Everything() - } - if obj.FieldSelector == nil { - obj.FieldSelector = fields.Everything() - } - }, - ) - Scheme.AddConversionFuncs( +func addConversionFuncs(scheme *runtime.Scheme) error { + return scheme.AddConversionFuncs( Convert_unversioned_TypeMeta_To_unversioned_TypeMeta, Convert_unversioned_ListMeta_To_unversioned_ListMeta, diff --git a/pkg/api/defaults.go b/pkg/api/defaults.go new file mode 100644 index 00000000000..a2b01b7fd66 --- /dev/null +++ b/pkg/api/defaults.go @@ -0,0 +1,36 @@ +/* +Copyright 2016 The Kubernetes Authors. + +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 api + +import ( + "k8s.io/kubernetes/pkg/fields" + "k8s.io/kubernetes/pkg/labels" + "k8s.io/kubernetes/pkg/runtime" +) + +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( + func(obj *ListOptions) { + if obj.LabelSelector == nil { + obj.LabelSelector = labels.Everything() + } + if obj.FieldSelector == nil { + obj.FieldSelector = fields.Everything() + } + }, + ) +} diff --git a/pkg/api/install/install.go b/pkg/api/install/install.go index 937920d28a8..0cc911e7392 100644 --- a/pkg/api/install/install.go +++ b/pkg/api/install/install.go @@ -29,10 +29,8 @@ import ( "k8s.io/kubernetes/pkg/api/v1" "k8s.io/kubernetes/pkg/apimachinery" "k8s.io/kubernetes/pkg/apimachinery/registered" - "k8s.io/kubernetes/pkg/conversion" "k8s.io/kubernetes/pkg/runtime" "k8s.io/kubernetes/pkg/util/sets" - "k8s.io/kubernetes/pkg/watch/versioned" ) const importPrefix = "k8s.io/kubernetes/pkg/api" @@ -140,7 +138,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - api.AddToScheme(api.Scheme) + if err := api.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -149,103 +150,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1.SchemeGroupVersion: - v1.AddToScheme(api.Scheme) + if err := v1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } - - // This is a "fast-path" that avoids reflection for common types. It focuses on the objects that are - // converted the most in the cluster. - // TODO: generate one of these for every external API group - this is to prove the impact - api.Scheme.AddGenericConversionFunc(func(objA, objB interface{}, s conversion.Scope) (bool, error) { - switch a := objA.(type) { - case *v1.Pod: - switch b := objB.(type) { - case *api.Pod: - return true, v1.Convert_v1_Pod_To_api_Pod(a, b, s) - } - case *api.Pod: - switch b := objB.(type) { - case *v1.Pod: - return true, v1.Convert_api_Pod_To_v1_Pod(a, b, s) - } - - case *v1.Event: - switch b := objB.(type) { - case *api.Event: - return true, v1.Convert_v1_Event_To_api_Event(a, b, s) - } - case *api.Event: - switch b := objB.(type) { - case *v1.Event: - return true, v1.Convert_api_Event_To_v1_Event(a, b, s) - } - - case *v1.ReplicationController: - switch b := objB.(type) { - case *api.ReplicationController: - return true, v1.Convert_v1_ReplicationController_To_api_ReplicationController(a, b, s) - } - case *api.ReplicationController: - switch b := objB.(type) { - case *v1.ReplicationController: - return true, v1.Convert_api_ReplicationController_To_v1_ReplicationController(a, b, s) - } - - case *v1.Node: - switch b := objB.(type) { - case *api.Node: - return true, v1.Convert_v1_Node_To_api_Node(a, b, s) - } - case *api.Node: - switch b := objB.(type) { - case *v1.Node: - return true, v1.Convert_api_Node_To_v1_Node(a, b, s) - } - - case *v1.Namespace: - switch b := objB.(type) { - case *api.Namespace: - return true, v1.Convert_v1_Namespace_To_api_Namespace(a, b, s) - } - case *api.Namespace: - switch b := objB.(type) { - case *v1.Namespace: - return true, v1.Convert_api_Namespace_To_v1_Namespace(a, b, s) - } - - case *v1.Service: - switch b := objB.(type) { - case *api.Service: - return true, v1.Convert_v1_Service_To_api_Service(a, b, s) - } - case *api.Service: - switch b := objB.(type) { - case *v1.Service: - return true, v1.Convert_api_Service_To_v1_Service(a, b, s) - } - - case *v1.Endpoints: - switch b := objB.(type) { - case *api.Endpoints: - return true, v1.Convert_v1_Endpoints_To_api_Endpoints(a, b, s) - } - case *api.Endpoints: - switch b := objB.(type) { - case *v1.Endpoints: - return true, v1.Convert_api_Endpoints_To_v1_Endpoints(a, b, s) - } - - case *versioned.Event: - switch b := objB.(type) { - case *versioned.InternalEvent: - return true, versioned.Convert_versioned_Event_to_versioned_InternalEvent(a, b, s) - } - case *versioned.InternalEvent: - switch b := objB.(type) { - case *versioned.Event: - return true, versioned.Convert_versioned_InternalEvent_to_versioned_Event(a, b, s) - } - } - return false, nil - }) } diff --git a/pkg/api/register.go b/pkg/api/register.go index 213c36113e4..72bd6b0909f 100644 --- a/pkg/api/register.go +++ b/pkg/api/register.go @@ -23,6 +23,10 @@ import ( ) // Scheme is the default instance of runtime.Scheme to which types in the Kubernetes API are already registered. +// NOTE: If you are copying this file to start a new api group, STOP! Copy the +// extensions group instead. This Scheme is special and should appear ONLY in +// the api group, unless you really know what you're doing. +// TODO(lavalamp): make the above error impossible. var Scheme = runtime.NewScheme() // Codecs provides access to encoding and decoding for the scheme @@ -51,10 +55,29 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - if err := Scheme.AddIgnoredConversionType(&unversioned.TypeMeta{}, &unversioned.TypeMeta{}); err != nil { +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) + +func init() { + // TODO(lavalamp): move this call to scheme builder above. Can't + // remove it from here because lots of people inapropriately rely on it + // (specifically the unversioned time conversion). Can't have it in + // both places because then it gets double registered. Consequence of + // current state is that it only ever gets registered in the main + // api.Scheme, even though everyone that uses anything from unversioned + // needs these. + if err := addConversionFuncs(Scheme); err != nil { + // Programmer error. panic(err) } +} + +func addKnownTypes(scheme *runtime.Scheme) error { + if err := scheme.AddIgnoredConversionType(&unversioned.TypeMeta{}, &unversioned.TypeMeta{}); err != nil { + return err + } scheme.AddKnownTypes(SchemeGroupVersion, &Pod{}, &PodList{}, @@ -104,7 +127,7 @@ func AddToScheme(scheme *runtime.Scheme) { ) // Register Unversioned types under their own special group - Scheme.AddUnversionedTypes(Unversioned, + scheme.AddUnversionedTypes(Unversioned, &unversioned.ExportOptions{}, &unversioned.Status{}, &unversioned.APIVersions{}, @@ -112,4 +135,5 @@ func AddToScheme(scheme *runtime.Scheme) { &unversioned.APIGroup{}, &unversioned.APIResourceList{}, ) + return nil } diff --git a/pkg/api/v1/conversion.go b/pkg/api/v1/conversion.go index f180b3348d7..e820e0c95e8 100644 --- a/pkg/api/v1/conversion.go +++ b/pkg/api/v1/conversion.go @@ -26,6 +26,7 @@ import ( "k8s.io/kubernetes/pkg/conversion" "k8s.io/kubernetes/pkg/runtime" "k8s.io/kubernetes/pkg/util/validation/field" + "k8s.io/kubernetes/pkg/watch/versioned" ) const ( @@ -39,7 +40,106 @@ const ( NonConvertibleAnnotationPrefix = "kubernetes.io/non-convertible" ) -func addConversionFuncs(scheme *runtime.Scheme) { +// This is a "fast-path" that avoids reflection for common types. It focuses on the objects that are +// converted the most in the cluster. +// TODO: generate one of these for every external API group - this is to prove the impact +func addFastPathConversionFuncs(scheme *runtime.Scheme) error { + scheme.AddGenericConversionFunc(func(objA, objB interface{}, s conversion.Scope) (bool, error) { + switch a := objA.(type) { + case *Pod: + switch b := objB.(type) { + case *api.Pod: + return true, Convert_v1_Pod_To_api_Pod(a, b, s) + } + case *api.Pod: + switch b := objB.(type) { + case *Pod: + return true, Convert_api_Pod_To_v1_Pod(a, b, s) + } + + case *Event: + switch b := objB.(type) { + case *api.Event: + return true, Convert_v1_Event_To_api_Event(a, b, s) + } + case *api.Event: + switch b := objB.(type) { + case *Event: + return true, Convert_api_Event_To_v1_Event(a, b, s) + } + + case *ReplicationController: + switch b := objB.(type) { + case *api.ReplicationController: + return true, Convert_v1_ReplicationController_To_api_ReplicationController(a, b, s) + } + case *api.ReplicationController: + switch b := objB.(type) { + case *ReplicationController: + return true, Convert_api_ReplicationController_To_v1_ReplicationController(a, b, s) + } + + case *Node: + switch b := objB.(type) { + case *api.Node: + return true, Convert_v1_Node_To_api_Node(a, b, s) + } + case *api.Node: + switch b := objB.(type) { + case *Node: + return true, Convert_api_Node_To_v1_Node(a, b, s) + } + + case *Namespace: + switch b := objB.(type) { + case *api.Namespace: + return true, Convert_v1_Namespace_To_api_Namespace(a, b, s) + } + case *api.Namespace: + switch b := objB.(type) { + case *Namespace: + return true, Convert_api_Namespace_To_v1_Namespace(a, b, s) + } + + case *Service: + switch b := objB.(type) { + case *api.Service: + return true, Convert_v1_Service_To_api_Service(a, b, s) + } + case *api.Service: + switch b := objB.(type) { + case *Service: + return true, Convert_api_Service_To_v1_Service(a, b, s) + } + + case *Endpoints: + switch b := objB.(type) { + case *api.Endpoints: + return true, Convert_v1_Endpoints_To_api_Endpoints(a, b, s) + } + case *api.Endpoints: + switch b := objB.(type) { + case *Endpoints: + return true, Convert_api_Endpoints_To_v1_Endpoints(a, b, s) + } + + case *versioned.Event: + switch b := objB.(type) { + case *versioned.InternalEvent: + return true, versioned.Convert_versioned_Event_to_versioned_InternalEvent(a, b, s) + } + case *versioned.InternalEvent: + switch b := objB.(type) { + case *versioned.Event: + return true, versioned.Convert_versioned_InternalEvent_to_versioned_Event(a, b, s) + } + } + return false, nil + }) + return nil +} + +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions err := scheme.AddConversionFuncs( Convert_api_Pod_To_v1_Pod, @@ -60,8 +160,7 @@ func addConversionFuncs(scheme *runtime.Scheme) { Convert_extensions_ReplicaSetStatus_to_v1_ReplicationControllerStatus, ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } // Add field label conversions for kinds having selectable nothing but ObjectMeta fields. @@ -82,10 +181,10 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label %q not supported for %q", label, kind) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } } @@ -108,10 +207,10 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } err = api.Scheme.AddFieldLabelConversionFunc("v1", "Node", func(label, value string) (string, string, error) { @@ -123,10 +222,10 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } err = api.Scheme.AddFieldLabelConversionFunc("v1", "ReplicationController", func(label, value string) (string, string, error) { @@ -140,8 +239,7 @@ func addConversionFuncs(scheme *runtime.Scheme) { } }) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } err = api.Scheme.AddFieldLabelConversionFunc("v1", "Event", func(label, value string) (string, string, error) { @@ -162,10 +260,10 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } err = api.Scheme.AddFieldLabelConversionFunc("v1", "Namespace", func(label, value string) (string, string, error) { @@ -176,10 +274,10 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } err = api.Scheme.AddFieldLabelConversionFunc("v1", "PersistentVolume", func(label, value string) (string, string, error) { @@ -189,10 +287,10 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } err = api.Scheme.AddFieldLabelConversionFunc("v1", "Secret", func(label, value string) (string, string, error) { @@ -204,11 +302,12 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } + return nil } func Convert_v1_ReplicationController_to_extensions_ReplicaSet(in *ReplicationController, out *extensions.ReplicaSet, s conversion.Scope) error { diff --git a/pkg/api/v1/defaults.go b/pkg/api/v1/defaults.go index 5d6323fb4fe..2a79ede82d7 100644 --- a/pkg/api/v1/defaults.go +++ b/pkg/api/v1/defaults.go @@ -23,8 +23,8 @@ import ( "k8s.io/kubernetes/pkg/util/parsers" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs( +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( SetDefaults_PodExecOptions, SetDefaults_PodAttachOptions, SetDefaults_ReplicationController, diff --git a/pkg/api/v1/register.go b/pkg/api/v1/register.go index 8c625b87805..f02ea8297f0 100644 --- a/pkg/api/v1/register.go +++ b/pkg/api/v1/register.go @@ -28,15 +28,13 @@ const GroupName = "" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"} -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) - addConversionFuncs(scheme) - addDefaultingFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs, addFastPathConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Pod{}, &PodList{}, @@ -91,4 +89,5 @@ func addKnownTypes(scheme *runtime.Scheme) { // Add the watch version that applies versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/pkg/apis/abac/latest/latest.go b/pkg/apis/abac/latest/latest.go index d3c00c416f3..318898696c6 100644 --- a/pkg/apis/abac/latest/latest.go +++ b/pkg/apis/abac/latest/latest.go @@ -21,3 +21,6 @@ import ( _ "k8s.io/kubernetes/pkg/apis/abac/v0" _ "k8s.io/kubernetes/pkg/apis/abac/v1beta1" ) + +// TODO: this file is totally wrong, it should look like other latest files. +// lavalamp is in the middle of fixing this code, so wait for the new way of doing things.. diff --git a/pkg/apis/abac/register.go b/pkg/apis/abac/register.go index 49a4c756194..a980135f950 100644 --- a/pkg/apis/abac/register.go +++ b/pkg/apis/abac/register.go @@ -26,15 +26,27 @@ import ( const Group = "abac.authorization.kubernetes.io" // Scheme is the default instance of runtime.Scheme to which types in the abac API group are registered. +// TODO: remove this, abac should not have its own scheme. var Scheme = runtime.NewScheme() // Codecs provides access to encoding and decoding for the scheme var Codecs = serializer.NewCodecFactory(Scheme) func init() { - Scheme.AddKnownTypes(unversioned.GroupVersion{Group: Group, Version: runtime.APIVersionInternal}, + // TODO: delete this, abac should not have its own scheme. + addKnownTypes(Scheme) +} + +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) + +func addKnownTypes(scheme *runtime.Scheme) error { + scheme.AddKnownTypes(unversioned.GroupVersion{Group: Group, Version: runtime.APIVersionInternal}, &Policy{}, ) + return nil } func (obj *Policy) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/pkg/apis/abac/v0/conversion.go b/pkg/apis/abac/v0/conversion.go index 7e28ad66cf0..2d17f05c22b 100644 --- a/pkg/apis/abac/v0/conversion.go +++ b/pkg/apis/abac/v0/conversion.go @@ -19,10 +19,11 @@ package v0 import ( api "k8s.io/kubernetes/pkg/apis/abac" "k8s.io/kubernetes/pkg/conversion" + "k8s.io/kubernetes/pkg/runtime" ) -func init() { - api.Scheme.AddConversionFuncs( +func addConversionFuncs(scheme *runtime.Scheme) error { + return scheme.AddConversionFuncs( func(in *Policy, out *api.Policy, s conversion.Scope) error { // Begin by copying all fields out.Spec.User = in.User diff --git a/pkg/apis/abac/v0/register.go b/pkg/apis/abac/v0/register.go index 26fc59003d3..09b9b16939e 100644 --- a/pkg/apis/abac/v0/register.go +++ b/pkg/apis/abac/v0/register.go @@ -19,15 +19,34 @@ package v0 import ( "k8s.io/kubernetes/pkg/api/unversioned" api "k8s.io/kubernetes/pkg/apis/abac" + "k8s.io/kubernetes/pkg/runtime" ) // GroupVersion is the API group and version for abac v0 var GroupVersion = unversioned.GroupVersion{Group: api.Group, Version: "v0"} func init() { - api.Scheme.AddKnownTypes(GroupVersion, + // TODO: Delete this init function, abac should not have its own scheme. + if err := addKnownTypes(api.Scheme); err != nil { + // Programmer error. + panic(err) + } + if err := addConversionFuncs(api.Scheme); err != nil { + // Programmer error. + panic(err) + } +} + +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) + +func addKnownTypes(scheme *runtime.Scheme) error { + scheme.AddKnownTypes(GroupVersion, &Policy{}, ) + return nil } func (obj *Policy) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/pkg/apis/abac/v1beta1/register.go b/pkg/apis/abac/v1beta1/register.go index f79265f9ffc..e3497b75e96 100644 --- a/pkg/apis/abac/v1beta1/register.go +++ b/pkg/apis/abac/v1beta1/register.go @@ -19,15 +19,30 @@ package v1beta1 import ( "k8s.io/kubernetes/pkg/api/unversioned" api "k8s.io/kubernetes/pkg/apis/abac" + "k8s.io/kubernetes/pkg/runtime" ) // GroupVersion is the API group and version for abac v1beta1 var GroupVersion = unversioned.GroupVersion{Group: api.Group, Version: "v1beta1"} func init() { - api.Scheme.AddKnownTypes(GroupVersion, + // TODO: delete this, abac should not have its own scheme. + if err := addKnownTypes(api.Scheme); err != nil { + // Programmer error. + panic(err) + } +} + +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) + +func addKnownTypes(scheme *runtime.Scheme) error { + scheme.AddKnownTypes(GroupVersion, &Policy{}, ) + return nil } func (obj *Policy) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/pkg/apis/apps/install/install.go b/pkg/apis/apps/install/install.go index 346740e44af..b7139828fc8 100644 --- a/pkg/apis/apps/install/install.go +++ b/pkg/apis/apps/install/install.go @@ -110,7 +110,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - apps.AddToScheme(api.Scheme) + if err := apps.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -119,7 +122,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1alpha1.SchemeGroupVersion: - v1alpha1.AddToScheme(api.Scheme) + if err := v1alpha1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/pkg/apis/apps/register.go b/pkg/apis/apps/register.go index 90acc123157..e920decfa66 100644 --- a/pkg/apis/apps/register.go +++ b/pkg/apis/apps/register.go @@ -22,10 +22,10 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // GroupName is the group name use in this package const GroupName = "apps" @@ -44,11 +44,12 @@ func Resource(resource string) unversioned.GroupResource { } // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { // TODO this will get cleaned up with the scheme types are fixed scheme.AddKnownTypes(SchemeGroupVersion, &PetSet{}, &PetSetList{}, &api.ListOptions{}, ) + return nil } diff --git a/pkg/apis/apps/v1alpha1/conversion.go b/pkg/apis/apps/v1alpha1/conversion.go index b2fb1be72f6..5cecd950975 100644 --- a/pkg/apis/apps/v1alpha1/conversion.go +++ b/pkg/apis/apps/v1alpha1/conversion.go @@ -27,7 +27,7 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions to handle the *int32 -> int // conversion. A pointer is useful in the versioned type so we can default // it, but a plain int32 is more convenient in the internal type. These @@ -37,11 +37,10 @@ func addConversionFuncs(scheme *runtime.Scheme) { Convert_apps_PetSetSpec_To_v1alpha1_PetSetSpec, ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } - err = api.Scheme.AddFieldLabelConversionFunc("apps/v1alpha1", "PetSet", + return api.Scheme.AddFieldLabelConversionFunc("apps/v1alpha1", "PetSet", func(label, value string) (string, string, error) { switch label { case "metadata.name", "metadata.namespace", "status.successful": @@ -49,11 +48,8 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } + }, + ) } func Convert_v1alpha1_PetSetSpec_To_apps_PetSetSpec(in *PetSetSpec, out *apps.PetSetSpec, s conversion.Scope) error { diff --git a/pkg/apis/apps/v1alpha1/defaults.go b/pkg/apis/apps/v1alpha1/defaults.go index e578e8c947e..63a02c9c9b6 100644 --- a/pkg/apis/apps/v1alpha1/defaults.go +++ b/pkg/apis/apps/v1alpha1/defaults.go @@ -21,8 +21,8 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs( +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( SetDefaults_PetSet, ) } diff --git a/pkg/apis/apps/v1alpha1/register.go b/pkg/apis/apps/v1alpha1/register.go index 9fd138c4a27..90f9bd1c24b 100644 --- a/pkg/apis/apps/v1alpha1/register.go +++ b/pkg/apis/apps/v1alpha1/register.go @@ -29,14 +29,13 @@ const GroupName = "apps" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1alpha1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &PetSet{}, &PetSetList{}, @@ -44,6 +43,7 @@ func addKnownTypes(scheme *runtime.Scheme) { &v1.DeleteOptions{}, ) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } func (obj *PetSet) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/pkg/apis/authentication/install/install.go b/pkg/apis/authentication/install/install.go index b052438c9a5..7ad9d3496eb 100644 --- a/pkg/apis/authentication/install/install.go +++ b/pkg/apis/authentication/install/install.go @@ -89,7 +89,10 @@ func enableVersions(externalVersions []unversioned.GroupVersion) error { func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - authentication.AddToScheme(api.Scheme) + if err := authentication.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -98,7 +101,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1beta1.SchemeGroupVersion: - v1beta1.AddToScheme(api.Scheme) + if err := v1beta1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/pkg/apis/authentication/register.go b/pkg/apis/authentication/register.go index b544a9d1198..dfe40b20c24 100644 --- a/pkg/apis/authentication/register.go +++ b/pkg/apis/authentication/register.go @@ -38,11 +38,12 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &api.ListOptions{}, &api.DeleteOptions{}, @@ -50,4 +51,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &TokenReview{}, ) + return nil } diff --git a/pkg/apis/authentication/v1beta1/conversion.go b/pkg/apis/authentication/v1beta1/conversion.go index e360ee8a20c..a0b7051c97e 100644 --- a/pkg/apis/authentication/v1beta1/conversion.go +++ b/pkg/apis/authentication/v1beta1/conversion.go @@ -20,11 +20,7 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions - err := scheme.AddConversionFuncs() - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } + return scheme.AddConversionFuncs() } diff --git a/pkg/apis/authentication/v1beta1/defaults.go b/pkg/apis/authentication/v1beta1/defaults.go index 83794ff7b1b..bcd5e07d9c5 100644 --- a/pkg/apis/authentication/v1beta1/defaults.go +++ b/pkg/apis/authentication/v1beta1/defaults.go @@ -20,6 +20,6 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs() +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs() } diff --git a/pkg/apis/authentication/v1beta1/register.go b/pkg/apis/authentication/v1beta1/register.go index 86f7ec292d0..53488da1fa1 100644 --- a/pkg/apis/authentication/v1beta1/register.go +++ b/pkg/apis/authentication/v1beta1/register.go @@ -28,15 +28,13 @@ const GroupName = "authentication.k8s.io" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1beta1"} -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &v1.ListOptions{}, &v1.DeleteOptions{}, @@ -44,4 +42,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &TokenReview{}, ) + return nil } diff --git a/pkg/apis/authorization/install/install.go b/pkg/apis/authorization/install/install.go index 78998155987..2c474fde473 100644 --- a/pkg/apis/authorization/install/install.go +++ b/pkg/apis/authorization/install/install.go @@ -89,7 +89,10 @@ func enableVersions(externalVersions []unversioned.GroupVersion) error { func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - authorization.AddToScheme(api.Scheme) + if err := authorization.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -98,7 +101,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1beta1.SchemeGroupVersion: - v1beta1.AddToScheme(api.Scheme) + if err := v1beta1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/pkg/apis/authorization/register.go b/pkg/apis/authorization/register.go index b1cfa491bc9..1c5f9066bc5 100644 --- a/pkg/apis/authorization/register.go +++ b/pkg/apis/authorization/register.go @@ -37,14 +37,16 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &SelfSubjectAccessReview{}, &SubjectAccessReview{}, &LocalSubjectAccessReview{}, ) + return nil } diff --git a/pkg/apis/authorization/v1beta1/conversion.go b/pkg/apis/authorization/v1beta1/conversion.go index cd03e61b079..fa887912577 100644 --- a/pkg/apis/authorization/v1beta1/conversion.go +++ b/pkg/apis/authorization/v1beta1/conversion.go @@ -20,11 +20,7 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions - err := scheme.AddConversionFuncs() - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } + return scheme.AddConversionFuncs() } diff --git a/pkg/apis/authorization/v1beta1/defaults.go b/pkg/apis/authorization/v1beta1/defaults.go index f9dda995e3c..57dd337dac0 100644 --- a/pkg/apis/authorization/v1beta1/defaults.go +++ b/pkg/apis/authorization/v1beta1/defaults.go @@ -20,6 +20,6 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs() +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs() } diff --git a/pkg/apis/authorization/v1beta1/register.go b/pkg/apis/authorization/v1beta1/register.go index c54d20d6dba..1b072d6152e 100644 --- a/pkg/apis/authorization/v1beta1/register.go +++ b/pkg/apis/authorization/v1beta1/register.go @@ -29,15 +29,13 @@ const GroupName = "authorization.k8s.io" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1beta1"} -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &v1.ListOptions{}, &v1.DeleteOptions{}, @@ -48,6 +46,7 @@ func addKnownTypes(scheme *runtime.Scheme) { ) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } func (obj *LocalSubjectAccessReview) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/pkg/apis/autoscaling/install/install.go b/pkg/apis/autoscaling/install/install.go index be236ff0e43..7cb61126b7c 100644 --- a/pkg/apis/autoscaling/install/install.go +++ b/pkg/apis/autoscaling/install/install.go @@ -114,7 +114,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - autoscaling.AddToScheme(api.Scheme) + if err := autoscaling.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -123,7 +126,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1.SchemeGroupVersion: - v1.AddToScheme(api.Scheme) + if err := v1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/pkg/apis/autoscaling/register.go b/pkg/apis/autoscaling/register.go index ee0d3c75bd8..7be0e64e8c1 100644 --- a/pkg/apis/autoscaling/register.go +++ b/pkg/apis/autoscaling/register.go @@ -38,17 +38,18 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Scale{}, &HorizontalPodAutoscaler{}, &HorizontalPodAutoscalerList{}, &api.ListOptions{}, ) + return nil } diff --git a/pkg/apis/autoscaling/v1/defaults.go b/pkg/apis/autoscaling/v1/defaults.go index aacf552fca8..e374add3ba3 100644 --- a/pkg/apis/autoscaling/v1/defaults.go +++ b/pkg/apis/autoscaling/v1/defaults.go @@ -20,8 +20,8 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs( +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( SetDefaults_HorizontalPodAutoscaler, ) } diff --git a/pkg/apis/autoscaling/v1/register.go b/pkg/apis/autoscaling/v1/register.go index 93d9535e4a2..d7b7df928f3 100644 --- a/pkg/apis/autoscaling/v1/register.go +++ b/pkg/apis/autoscaling/v1/register.go @@ -29,13 +29,13 @@ const GroupName = "autoscaling" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - addDefaultingFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &HorizontalPodAutoscaler{}, &HorizontalPodAutoscalerList{}, @@ -44,4 +44,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &v1.DeleteOptions{}, ) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/pkg/apis/batch/install/install.go b/pkg/apis/batch/install/install.go index 22f92b708c8..9d327b175d9 100644 --- a/pkg/apis/batch/install/install.go +++ b/pkg/apis/batch/install/install.go @@ -120,7 +120,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - batch.AddToScheme(api.Scheme) + if err := batch.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -129,9 +132,15 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1.SchemeGroupVersion: - v1.AddToScheme(api.Scheme) + if err := v1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } case v2alpha1.SchemeGroupVersion: - v2alpha1.AddToScheme(api.Scheme) + if err := v2alpha1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/pkg/apis/batch/register.go b/pkg/apis/batch/register.go index 641df5f3911..9718a51d540 100644 --- a/pkg/apis/batch/register.go +++ b/pkg/apis/batch/register.go @@ -38,13 +38,13 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Job{}, &JobList{}, @@ -53,4 +53,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &ScheduledJobList{}, &api.ListOptions{}, ) + return nil } diff --git a/pkg/apis/batch/v1/conversion.go b/pkg/apis/batch/v1/conversion.go index 8846af1ed5e..01dfe02970b 100644 --- a/pkg/apis/batch/v1/conversion.go +++ b/pkg/apis/batch/v1/conversion.go @@ -27,18 +27,17 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions err := scheme.AddConversionFuncs( Convert_batch_JobSpec_To_v1_JobSpec, Convert_v1_JobSpec_To_batch_JobSpec, ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } - err = api.Scheme.AddFieldLabelConversionFunc("batch/v1", "Job", + return api.Scheme.AddFieldLabelConversionFunc("batch/v1", "Job", func(label, value string) (string, string, error) { switch label { case "metadata.name", "metadata.namespace", "status.successful": @@ -46,11 +45,8 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } + }, + ) } func Convert_batch_JobSpec_To_v1_JobSpec(in *batch.JobSpec, out *JobSpec, s conversion.Scope) error { diff --git a/pkg/apis/batch/v1/defaults.go b/pkg/apis/batch/v1/defaults.go index 571d2c524fd..5b029d09a0c 100644 --- a/pkg/apis/batch/v1/defaults.go +++ b/pkg/apis/batch/v1/defaults.go @@ -20,8 +20,8 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs( +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( SetDefaults_Job, ) } diff --git a/pkg/apis/batch/v1/register.go b/pkg/apis/batch/v1/register.go index 3631c02d12a..aa97b0eafbf 100644 --- a/pkg/apis/batch/v1/register.go +++ b/pkg/apis/batch/v1/register.go @@ -29,14 +29,13 @@ const GroupName = "batch" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Job{}, &JobList{}, @@ -44,4 +43,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &v1.DeleteOptions{}, ) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/pkg/apis/batch/v2alpha1/conversion.go b/pkg/apis/batch/v2alpha1/conversion.go index 2d5710a2315..0ac589de889 100644 --- a/pkg/apis/batch/v2alpha1/conversion.go +++ b/pkg/apis/batch/v2alpha1/conversion.go @@ -28,15 +28,14 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions err := scheme.AddConversionFuncs( Convert_batch_JobSpec_To_v2alpha1_JobSpec, Convert_v2alpha1_JobSpec_To_batch_JobSpec, ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } // Add field label conversions for kinds having selectable nothing but ObjectMeta fields. @@ -50,11 +49,11 @@ func addConversionFuncs(scheme *runtime.Scheme) { return "", "", fmt.Errorf("field label not supported: %s", label) } }) + if err != nil { + return err + } } - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } + return nil } func Convert_batch_JobSpec_To_v2alpha1_JobSpec(in *batch.JobSpec, out *JobSpec, s conversion.Scope) error { diff --git a/pkg/apis/batch/v2alpha1/defaults.go b/pkg/apis/batch/v2alpha1/defaults.go index 42f820074b8..9a594f16fd5 100644 --- a/pkg/apis/batch/v2alpha1/defaults.go +++ b/pkg/apis/batch/v2alpha1/defaults.go @@ -20,8 +20,8 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs( +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( SetDefaults_Job, SetDefaults_ScheduledJob, ) diff --git a/pkg/apis/batch/v2alpha1/register.go b/pkg/apis/batch/v2alpha1/register.go index 54f0d6290a1..07bd276f20c 100644 --- a/pkg/apis/batch/v2alpha1/register.go +++ b/pkg/apis/batch/v2alpha1/register.go @@ -29,14 +29,13 @@ const GroupName = "batch" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v2alpha1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Job{}, &JobList{}, @@ -47,4 +46,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &v1.DeleteOptions{}, ) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/pkg/apis/certificates/install/install.go b/pkg/apis/certificates/install/install.go index cf54da430e5..7fb22de4116 100644 --- a/pkg/apis/certificates/install/install.go +++ b/pkg/apis/certificates/install/install.go @@ -116,7 +116,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - certificates.AddToScheme(api.Scheme) + if err := certificates.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -125,7 +128,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1alpha1.SchemeGroupVersion: - v1alpha1.AddToScheme(api.Scheme) + if err := v1alpha1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/pkg/apis/certificates/register.go b/pkg/apis/certificates/register.go index d232b3c8617..1b24cc754b2 100644 --- a/pkg/apis/certificates/register.go +++ b/pkg/apis/certificates/register.go @@ -22,6 +22,11 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) + // GroupName is the group name use in this package const GroupName = "certificates" @@ -38,19 +43,15 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} - // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &CertificateSigningRequest{}, &CertificateSigningRequestList{}, &api.ListOptions{}, &api.DeleteOptions{}, ) + return nil } func (obj *CertificateSigningRequest) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/pkg/apis/certificates/v1alpha1/conversion.go b/pkg/apis/certificates/v1alpha1/conversion.go index 0b933b25990..ba2f3c37235 100644 --- a/pkg/apis/certificates/v1alpha1/conversion.go +++ b/pkg/apis/certificates/v1alpha1/conversion.go @@ -18,6 +18,7 @@ package v1alpha1 import "k8s.io/kubernetes/pkg/runtime" -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions here. Currently there are none. + return nil } diff --git a/pkg/apis/certificates/v1alpha1/register.go b/pkg/apis/certificates/v1alpha1/register.go index 7b841c0b548..da2180c9bbe 100644 --- a/pkg/apis/certificates/v1alpha1/register.go +++ b/pkg/apis/certificates/v1alpha1/register.go @@ -39,14 +39,13 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - // addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &CertificateSigningRequest{}, &CertificateSigningRequestList{}, @@ -56,6 +55,7 @@ func addKnownTypes(scheme *runtime.Scheme) { // Add the watch version that applies versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } func (obj *CertificateSigningRequest) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/pkg/apis/componentconfig/install/install.go b/pkg/apis/componentconfig/install/install.go index 1a8b0cd1266..ea591afadf5 100644 --- a/pkg/apis/componentconfig/install/install.go +++ b/pkg/apis/componentconfig/install/install.go @@ -114,7 +114,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - componentconfig.AddToScheme(api.Scheme) + if err := componentconfig.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -123,7 +126,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1alpha1.SchemeGroupVersion: - v1alpha1.AddToScheme(api.Scheme) + if err := v1alpha1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/pkg/apis/componentconfig/register.go b/pkg/apis/componentconfig/register.go index f27bf1390ff..199f5b5d7c6 100644 --- a/pkg/apis/componentconfig/register.go +++ b/pkg/apis/componentconfig/register.go @@ -21,9 +21,10 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // GroupName is the group name use in this package const GroupName = "componentconfig" @@ -41,13 +42,14 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { // TODO this will get cleaned up with the scheme types are fixed scheme.AddKnownTypes(SchemeGroupVersion, &KubeProxyConfiguration{}, &KubeSchedulerConfiguration{}, &KubeletConfiguration{}, ) + return nil } func (obj *KubeProxyConfiguration) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/pkg/apis/componentconfig/v1alpha1/defaults.go b/pkg/apis/componentconfig/v1alpha1/defaults.go index 16feb2ea1a4..a0e7ad0fc12 100644 --- a/pkg/apis/componentconfig/v1alpha1/defaults.go +++ b/pkg/apis/componentconfig/v1alpha1/defaults.go @@ -47,8 +47,8 @@ const ( var zeroDuration = unversioned.Duration{} -func addDefaultingFuncs(scheme *kruntime.Scheme) { - scheme.AddDefaultingFuncs( +func addDefaultingFuncs(scheme *kruntime.Scheme) error { + return scheme.AddDefaultingFuncs( SetDefaults_KubeProxyConfiguration, SetDefaults_KubeSchedulerConfiguration, SetDefaults_LeaderElectionConfiguration, diff --git a/pkg/apis/componentconfig/v1alpha1/register.go b/pkg/apis/componentconfig/v1alpha1/register.go index adf968c8319..7017d9e98b3 100644 --- a/pkg/apis/componentconfig/v1alpha1/register.go +++ b/pkg/apis/componentconfig/v1alpha1/register.go @@ -27,17 +27,18 @@ const GroupName = "componentconfig" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1alpha1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - addDefaultingFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &KubeProxyConfiguration{}, &KubeSchedulerConfiguration{}, &KubeletConfiguration{}, ) + return nil } func (obj *KubeProxyConfiguration) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/pkg/apis/extensions/install/install.go b/pkg/apis/extensions/install/install.go index 5fe3abbd72e..50bbf7fdff4 100644 --- a/pkg/apis/extensions/install/install.go +++ b/pkg/apis/extensions/install/install.go @@ -118,7 +118,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - extensions.AddToScheme(api.Scheme) + if err := extensions.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -127,7 +130,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1beta1.SchemeGroupVersion: - v1beta1.AddToScheme(api.Scheme) + if err := v1beta1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/pkg/apis/extensions/register.go b/pkg/apis/extensions/register.go index 480a38d9792..f12335b97c2 100644 --- a/pkg/apis/extensions/register.go +++ b/pkg/apis/extensions/register.go @@ -40,13 +40,13 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { // TODO this gets cleaned up when the types are fixed scheme.AddKnownTypes(SchemeGroupVersion, &Deployment{}, @@ -78,4 +78,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &StorageClass{}, &StorageClassList{}, ) + return nil } diff --git a/pkg/apis/extensions/v1beta1/conversion.go b/pkg/apis/extensions/v1beta1/conversion.go index d685ebfee55..b73549b9e96 100644 --- a/pkg/apis/extensions/v1beta1/conversion.go +++ b/pkg/apis/extensions/v1beta1/conversion.go @@ -30,7 +30,7 @@ import ( "k8s.io/kubernetes/pkg/util/intstr" ) -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions err := scheme.AddConversionFuncs( Convert_extensions_ScaleStatus_To_v1beta1_ScaleStatus, @@ -53,8 +53,7 @@ func addConversionFuncs(scheme *runtime.Scheme) { Convert_v1beta1_JobSpec_To_batch_JobSpec, ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } // Add field label conversions for kinds having selectable nothing but ObjectMeta fields. @@ -67,14 +66,14 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label %q not supported for %q", label, kind) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } } - err = api.Scheme.AddFieldLabelConversionFunc("extensions/v1beta1", "Job", + return api.Scheme.AddFieldLabelConversionFunc("extensions/v1beta1", "Job", func(label, value string) (string, string, error) { switch label { case "metadata.name", "metadata.namespace", "status.successful": @@ -82,11 +81,8 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } + }, + ) } func Convert_extensions_ScaleStatus_To_v1beta1_ScaleStatus(in *extensions.ScaleStatus, out *ScaleStatus, s conversion.Scope) error { diff --git a/pkg/apis/extensions/v1beta1/defaults.go b/pkg/apis/extensions/v1beta1/defaults.go index ab6a202c370..0708b11e1a3 100644 --- a/pkg/apis/extensions/v1beta1/defaults.go +++ b/pkg/apis/extensions/v1beta1/defaults.go @@ -22,8 +22,8 @@ import ( "k8s.io/kubernetes/pkg/util/intstr" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs( +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( SetDefaults_DaemonSet, SetDefaults_Deployment, SetDefaults_Job, diff --git a/pkg/apis/extensions/v1beta1/register.go b/pkg/apis/extensions/v1beta1/register.go index 0dce6f07ce6..bc67a7f2128 100644 --- a/pkg/apis/extensions/v1beta1/register.go +++ b/pkg/apis/extensions/v1beta1/register.go @@ -29,14 +29,13 @@ const GroupName = "extensions" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1beta1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Deployment{}, &DeploymentList{}, @@ -68,4 +67,5 @@ func addKnownTypes(scheme *runtime.Scheme) { ) // Add the watch version that applies versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/pkg/apis/policy/install/install.go b/pkg/apis/policy/install/install.go index 90489a74414..4ac0ccbdc51 100644 --- a/pkg/apis/policy/install/install.go +++ b/pkg/apis/policy/install/install.go @@ -114,7 +114,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - policy.AddToScheme(api.Scheme) + if err := policy.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -123,7 +126,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1alpha1.SchemeGroupVersion: - v1alpha1.AddToScheme(api.Scheme) + if err := v1alpha1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/pkg/apis/policy/register.go b/pkg/apis/policy/register.go index e61c82b287c..0b219dff702 100644 --- a/pkg/apis/policy/register.go +++ b/pkg/apis/policy/register.go @@ -37,16 +37,17 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { // TODO this gets cleaned up when the types are fixed scheme.AddKnownTypes(SchemeGroupVersion, &PodDisruptionBudget{}, &PodDisruptionBudgetList{}, ) + return nil } diff --git a/pkg/apis/policy/v1alpha1/register.go b/pkg/apis/policy/v1alpha1/register.go index 6a82e3f9ce1..9cba49d20bc 100644 --- a/pkg/apis/policy/v1alpha1/register.go +++ b/pkg/apis/policy/v1alpha1/register.go @@ -29,16 +29,13 @@ const GroupName = "policy" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1alpha1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - /* - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) - */ -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &PodDisruptionBudget{}, &PodDisruptionBudgetList{}, @@ -47,4 +44,5 @@ func addKnownTypes(scheme *runtime.Scheme) { ) // Add the watch version that applies versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/pkg/apis/rbac/install/install.go b/pkg/apis/rbac/install/install.go index 0f6dc91b9bb..bfa9eea3ff2 100644 --- a/pkg/apis/rbac/install/install.go +++ b/pkg/apis/rbac/install/install.go @@ -115,7 +115,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - rbac.AddToScheme(api.Scheme) + if err := rbac.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -124,7 +127,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1alpha1.SchemeGroupVersion: - v1alpha1.AddToScheme(api.Scheme) + if err := v1alpha1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/pkg/apis/rbac/register.go b/pkg/apis/rbac/register.go index 5d89656e5a1..101156b98df 100644 --- a/pkg/apis/rbac/register.go +++ b/pkg/apis/rbac/register.go @@ -38,13 +38,13 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Role{}, &RoleBinding{}, @@ -61,4 +61,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &api.ExportOptions{}, ) versioned.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/pkg/apis/rbac/v1alpha1/register.go b/pkg/apis/rbac/v1alpha1/register.go index cff47206bbd..f3a6b5b7624 100644 --- a/pkg/apis/rbac/v1alpha1/register.go +++ b/pkg/apis/rbac/v1alpha1/register.go @@ -27,12 +27,13 @@ import ( // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: rbac.GroupName, Version: "v1alpha1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Role{}, &RoleBinding{}, @@ -49,4 +50,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &v1.ExportOptions{}, ) versioned.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/pkg/client/unversioned/clientcmd/api/latest/latest.go b/pkg/client/unversioned/clientcmd/api/latest/latest.go index 0b9a4270c0e..b77509cb563 100644 --- a/pkg/client/unversioned/clientcmd/api/latest/latest.go +++ b/pkg/client/unversioned/clientcmd/api/latest/latest.go @@ -19,7 +19,7 @@ package latest import ( "k8s.io/kubernetes/pkg/api/unversioned" "k8s.io/kubernetes/pkg/client/unversioned/clientcmd/api" - _ "k8s.io/kubernetes/pkg/client/unversioned/clientcmd/api/v1" + "k8s.io/kubernetes/pkg/client/unversioned/clientcmd/api/v1" "k8s.io/kubernetes/pkg/runtime" "k8s.io/kubernetes/pkg/runtime/serializer/json" "k8s.io/kubernetes/pkg/runtime/serializer/versioning" @@ -40,12 +40,24 @@ const OldestVersion = "v1" // with a set of versions to choose. var Versions = []string{"v1"} -var Codec runtime.Codec +var ( + Codec runtime.Codec + Scheme *runtime.Scheme +) func init() { - yamlSerializer := json.NewYAMLSerializer(json.DefaultMetaFactory, api.Scheme, api.Scheme) + Scheme = runtime.NewScheme() + if err := api.AddToScheme(Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } + if err := v1.AddToScheme(Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } + yamlSerializer := json.NewYAMLSerializer(json.DefaultMetaFactory, Scheme, Scheme) Codec = versioning.NewCodecForScheme( - api.Scheme, + Scheme, yamlSerializer, yamlSerializer, []unversioned.GroupVersion{{Version: Version}}, diff --git a/pkg/client/unversioned/clientcmd/api/register.go b/pkg/client/unversioned/clientcmd/api/register.go index 5426e7fef40..9c4c0f1db4f 100644 --- a/pkg/client/unversioned/clientcmd/api/register.go +++ b/pkg/client/unversioned/clientcmd/api/register.go @@ -21,17 +21,20 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -// Scheme is the default instance of runtime.Scheme to which types in the Kubernetes API are already registered. -var Scheme = runtime.NewScheme() - // SchemeGroupVersion is group version used to register these objects // TODO this should be in the "kubeconfig" group var SchemeGroupVersion = unversioned.GroupVersion{Group: "", Version: runtime.APIVersionInternal} -func init() { - Scheme.AddKnownTypes(SchemeGroupVersion, +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) + +func addKnownTypes(scheme *runtime.Scheme) error { + scheme.AddKnownTypes(SchemeGroupVersion, &Config{}, ) + return nil } func (obj *Config) GetObjectKind() unversioned.ObjectKind { return obj } diff --git a/pkg/client/unversioned/clientcmd/api/v1/conversion.go b/pkg/client/unversioned/clientcmd/api/v1/conversion.go index e22e5f81ec7..f21072e35d7 100644 --- a/pkg/client/unversioned/clientcmd/api/v1/conversion.go +++ b/pkg/client/unversioned/clientcmd/api/v1/conversion.go @@ -24,8 +24,8 @@ import ( "k8s.io/kubernetes/pkg/runtime" ) -func init() { - err := api.Scheme.AddConversionFuncs( +func addConversionFuncs(scheme *runtime.Scheme) error { + return scheme.AddConversionFuncs( func(in *Cluster, out *api.Cluster, s conversion.Scope) error { return s.DefaultConvert(in, out, conversion.IgnoreMissingFields) }, @@ -224,8 +224,4 @@ func init() { return nil }, ) - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } } diff --git a/pkg/client/unversioned/clientcmd/api/v1/register.go b/pkg/client/unversioned/clientcmd/api/v1/register.go index dcdb533c0d3..015901d2a1a 100644 --- a/pkg/client/unversioned/clientcmd/api/v1/register.go +++ b/pkg/client/unversioned/clientcmd/api/v1/register.go @@ -18,17 +18,23 @@ package v1 import ( "k8s.io/kubernetes/pkg/api/unversioned" - "k8s.io/kubernetes/pkg/client/unversioned/clientcmd/api" + "k8s.io/kubernetes/pkg/runtime" ) // SchemeGroupVersion is group version used to register these objects // TODO this should be in the "kubeconfig" group var SchemeGroupVersion = unversioned.GroupVersion{Group: "", Version: "v1"} -func init() { - api.Scheme.AddKnownTypes(SchemeGroupVersion, +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) + +func addKnownTypes(scheme *runtime.Scheme) error { + scheme.AddKnownTypes(SchemeGroupVersion, &Config{}, ) + return nil } func (obj *Config) GetObjectKind() unversioned.ObjectKind { return obj } diff --git a/pkg/kubectl/cmd/config/view.go b/pkg/kubectl/cmd/config/view.go index 2400c32a73b..e613d3785d9 100644 --- a/pkg/kubectl/cmd/config/view.go +++ b/pkg/kubectl/cmd/config/view.go @@ -79,7 +79,7 @@ func NewCmdConfigView(out io.Writer, ConfigAccess clientcmd.ConfigAccess) *cobra cmdutil.CheckErr(err) version, err := cmdutil.OutputVersion(cmd, &latest.ExternalVersion) cmdutil.CheckErr(err) - printer = kubectl.NewVersionedPrinter(printer, clientcmdapi.Scheme, version) + printer = kubectl.NewVersionedPrinter(printer, latest.Scheme, version) cmdutil.CheckErr(options.Run(out, printer)) }, diff --git a/pkg/runtime/scheme_builder.go b/pkg/runtime/scheme_builder.go index 3685d4195e4..944db48182b 100644 --- a/pkg/runtime/scheme_builder.go +++ b/pkg/runtime/scheme_builder.go @@ -1,5 +1,5 @@ /* -Copyright 2015 The Kubernetes Authors All rights reserved. +Copyright 2015 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -20,18 +20,29 @@ package runtime // code to compile without explicitly referencing generated types. You should // declare one in each package that will have generated deep copy or conversion // functions. -type SchemeBuilder []func(*Scheme) +type SchemeBuilder []func(*Scheme) error -// AddToScheme applies all the stored functions to the scheme. -func (sb *SchemeBuilder) AddToScheme(s *Scheme) { +// AddToScheme applies all the stored functions to the scheme. A non-nil error +// indicates that one function failed and the attempt was abandoned. +func (sb *SchemeBuilder) AddToScheme(s *Scheme) error { for _, f := range *sb { - f(s) + if err := f(s); err != nil { + return err + } } + return nil } // Register adds a scheme setup function to the list. -func (sb *SchemeBuilder) Register(funcs ...func(*Scheme)) { +func (sb *SchemeBuilder) Register(funcs ...func(*Scheme) error) { for _, f := range funcs { *sb = append(*sb, f) } } + +// NewSchemeBuilder calls Register for you. +func NewSchemeBuilder(funcs ...func(*Scheme) error) SchemeBuilder { + var sb SchemeBuilder + sb.Register(funcs...) + return sb +} diff --git a/plugin/pkg/scheduler/api/register.go b/plugin/pkg/scheduler/api/register.go index 2cb08fba7ed..11d81009f5a 100644 --- a/plugin/pkg/scheduler/api/register.go +++ b/plugin/pkg/scheduler/api/register.go @@ -22,19 +22,33 @@ import ( ) // Scheme is the default instance of runtime.Scheme to which types in the Kubernetes API are already registered. +// TODO: remove this, scheduler should not have its own scheme. var Scheme = runtime.NewScheme() // SchemeGroupVersion is group version used to register these objects // TODO this should be in the "scheduler" group var SchemeGroupVersion = unversioned.GroupVersion{Group: "", Version: runtime.APIVersionInternal} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) + func init() { - if err := Scheme.AddIgnoredConversionType(&unversioned.TypeMeta{}, &unversioned.TypeMeta{}); err != nil { + if err := addKnownTypes(Scheme); err != nil { + // Programmer error. panic(err) } - Scheme.AddKnownTypes(SchemeGroupVersion, +} + +func addKnownTypes(scheme *runtime.Scheme) error { + if err := scheme.AddIgnoredConversionType(&unversioned.TypeMeta{}, &unversioned.TypeMeta{}); err != nil { + return err + } + scheme.AddKnownTypes(SchemeGroupVersion, &Policy{}, ) + return nil } func (obj *Policy) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/plugin/pkg/scheduler/api/v1/register.go b/plugin/pkg/scheduler/api/v1/register.go index 2c4507270ca..b01b5bd07dd 100644 --- a/plugin/pkg/scheduler/api/v1/register.go +++ b/plugin/pkg/scheduler/api/v1/register.go @@ -18,6 +18,7 @@ package v1 import ( "k8s.io/kubernetes/pkg/api/unversioned" + "k8s.io/kubernetes/pkg/runtime" "k8s.io/kubernetes/plugin/pkg/scheduler/api" ) @@ -26,9 +27,22 @@ import ( var SchemeGroupVersion = unversioned.GroupVersion{Group: "", Version: "v1"} func init() { - api.Scheme.AddKnownTypes(SchemeGroupVersion, + if err := addKnownTypes(api.Scheme); err != nil { + // Programmer error. + panic(err) + } +} + +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) + +func addKnownTypes(scheme *runtime.Scheme) error { + scheme.AddKnownTypes(SchemeGroupVersion, &Policy{}, ) + return nil } func (obj *Policy) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } From bd7d7cc02a370180c25b20096b450b79ba2713b8 Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Wed, 10 Aug 2016 14:05:32 -0700 Subject: [PATCH 3/4] changes to generators --- .../test_apis/testgroup.k8s.io/register.go | 6 +++-- .../test_apis/testgroup.k8s.io/v1/register.go | 6 +++-- .../conversion-gen/generators/conversion.go | 24 +++++++++++-------- .../deepcopy-gen/generators/deepcopy.go | 21 +++++++++------- 4 files changed, 35 insertions(+), 22 deletions(-) diff --git a/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/register.go b/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/register.go index e3ed2a2906d..4dcf320b97e 100644 --- a/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/register.go +++ b/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/register.go @@ -30,14 +30,16 @@ var ( ) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &TestType{}, &TestTypeList{}, ) scheme.AddKnownTypes(SchemeGroupVersion, - &api.ListOptions{}) + &api.ListOptions{}, + ) + return nil } func (obj *TestType) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/v1/register.go b/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/v1/register.go index e693fa86ab8..8cc6b0accb8 100644 --- a/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/v1/register.go +++ b/cmd/libs/go2idl/client-gen/test_apis/testgroup.k8s.io/v1/register.go @@ -31,7 +31,7 @@ var ( ) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &TestType{}, &TestTypeList{}, @@ -41,8 +41,10 @@ func addKnownTypes(scheme *runtime.Scheme) { &v1.ListOptions{}, &v1.DeleteOptions{}, &unversioned.Status{}, - &v1.ExportOptions{}) + &v1.ExportOptions{}, + ) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } func (obj *TestType) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/cmd/libs/go2idl/conversion-gen/generators/conversion.go b/cmd/libs/go2idl/conversion-gen/generators/conversion.go index b28c1c133e5..228811b7fb4 100644 --- a/cmd/libs/go2idl/conversion-gen/generators/conversion.go +++ b/cmd/libs/go2idl/conversion-gen/generators/conversion.go @@ -396,7 +396,7 @@ func areTypesAliased(in, out *types.Type) bool { } const ( - apiPackagePath = "k8s.io/kubernetes/pkg/api" + runtimePackagePath = "k8s.io/kubernetes/pkg/runtime" conversionPackagePath = "k8s.io/kubernetes/pkg/conversion" ) @@ -541,20 +541,24 @@ func (g *genConversion) preexists(inType, outType *types.Type) (*types.Type, boo } func (g *genConversion) Init(c *generator.Context, w io.Writer) error { - scheme := c.Universe.Package(apiPackagePath).Variable("Scheme") - sw := generator.NewSnippetWriter(w, c, "$", "$") sw.Do("func init() {\n", nil) - sw.Do("if err := $.scheme|raw$.AddGeneratedConversionFuncs(\n", generator.Args{ - "scheme": scheme, - }) + sw.Do("SchemeBuilder.Register(RegisterConversions)\n", nil) + sw.Do("}\n", nil) + + scheme := c.Universe.Type(types.Name{Package: runtimePackagePath, Name: "Scheme"}) + schemePtr := &types.Type{ + Kind: types.Pointer, + Elem: scheme, + } + sw.Do("// RegisterConversions adds conversion functions to the given scheme.\n", nil) + sw.Do("// Public to allow building arbitrary schemes.\n", nil) + sw.Do("func RegisterConversions(scheme $.|raw$) error {\n", schemePtr) + sw.Do("return scheme.AddGeneratedConversionFuncs(\n", nil) for _, conv := range g.typesForInit { sw.Do(nameTmpl+",\n", argsFromType(conv.inType, conv.outType)) } - sw.Do("); err != nil {\n", nil) - sw.Do("// if one of the conversion functions is malformed, detect it immediately.\n", nil) - sw.Do("panic(err)\n", nil) - sw.Do("}\n", nil) + sw.Do(")\n", nil) sw.Do("}\n\n", nil) return sw.Error() } diff --git a/cmd/libs/go2idl/deepcopy-gen/generators/deepcopy.go b/cmd/libs/go2idl/deepcopy-gen/generators/deepcopy.go index b8f256615f4..a8d58c61e49 100644 --- a/cmd/libs/go2idl/deepcopy-gen/generators/deepcopy.go +++ b/cmd/libs/go2idl/deepcopy-gen/generators/deepcopy.go @@ -375,21 +375,26 @@ func (g *genDeepCopy) Init(c *generator.Context, w io.Writer) error { } glog.V(5).Infof("registering types in pkg %q", g.targetPackage) - scheme := c.Universe.Variable(types.Name{Package: apiPackagePath, Name: "Scheme"}) sw := generator.NewSnippetWriter(w, c, "$", "$") sw.Do("func init() {\n", nil) - sw.Do("if err := $.scheme|raw$.AddGeneratedDeepCopyFuncs(\n", generator.Args{ - "scheme": scheme, - }) + sw.Do("SchemeBuilder.Register(RegisterDeepCopies)\n", nil) + sw.Do("}\n\n", nil) + + scheme := c.Universe.Type(types.Name{Package: runtimePackagePath, Name: "Scheme"}) + schemePtr := &types.Type{ + Kind: types.Pointer, + Elem: scheme, + } + sw.Do("// RegisterDeepCopies adds deep-copy functions to the given scheme. Public\n", nil) + sw.Do("// to allow building arbitrary schemes.\n", nil) + sw.Do("func RegisterDeepCopies(scheme $.|raw$) error {\n", schemePtr) + sw.Do("return scheme.AddGeneratedDeepCopyFuncs(\n", nil) for _, t := range g.typesForInit { args := argsFromType(t). With("typeof", c.Universe.Package("reflect").Function("TypeOf")) sw.Do("conversion.GeneratedDeepCopyFunc{Fn: $.type|dcFnName$, InType: $.typeof|raw$(&$.type|raw${})},\n", args) } - sw.Do("); err != nil {\n", nil) - sw.Do("// if one of the deep copy functions is malformed, detect it immediately.\n", nil) - sw.Do("panic(err)\n", nil) - sw.Do("}\n", nil) + sw.Do(")\n", nil) sw.Do("}\n\n", nil) return sw.Error() } From 77f5813194afcc2ed45a80753cfcab564faf05dc Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Thu, 11 Aug 2016 10:50:10 -0700 Subject: [PATCH 4/4] update generated files, including the client --- .../v1beta1/zz_generated.conversion.go | 14 +- .../v1beta1/zz_generated.deepcopy.go | 15 +- .../apis/federation/zz_generated.deepcopy.go | 14 +- pkg/api/v1/zz_generated.conversion.go | 13 +- pkg/api/v1/zz_generated.deepcopy.go | 14 +- pkg/api/zz_generated.deepcopy.go | 13 +- .../apps/v1alpha1/zz_generated.conversion.go | 14 +- .../apps/v1alpha1/zz_generated.deepcopy.go | 15 +- pkg/apis/apps/zz_generated.deepcopy.go | 14 +- .../v1beta1/zz_generated.conversion.go | 14 +- .../v1beta1/zz_generated.deepcopy.go | 15 +- .../authentication/zz_generated.deepcopy.go | 14 +- .../v1beta1/zz_generated.conversion.go | 14 +- .../v1beta1/zz_generated.deepcopy.go | 15 +- .../authorization/zz_generated.deepcopy.go | 14 +- .../autoscaling/v1/zz_generated.conversion.go | 14 +- .../autoscaling/v1/zz_generated.deepcopy.go | 15 +- pkg/apis/autoscaling/zz_generated.deepcopy.go | 14 +- pkg/apis/batch/v1/zz_generated.conversion.go | 14 +- pkg/apis/batch/v1/zz_generated.deepcopy.go | 15 +- .../batch/v2alpha1/zz_generated.conversion.go | 14 +- .../batch/v2alpha1/zz_generated.deepcopy.go | 15 +- pkg/apis/batch/zz_generated.deepcopy.go | 14 +- .../v1alpha1/zz_generated.conversion.go | 14 +- .../v1alpha1/zz_generated.deepcopy.go | 15 +- .../certificates/zz_generated.deepcopy.go | 14 +- .../v1alpha1/zz_generated.conversion.go | 14 +- .../v1alpha1/zz_generated.deepcopy.go | 15 +- .../componentconfig/zz_generated.deepcopy.go | 15 +- .../v1beta1/zz_generated.conversion.go | 14 +- .../v1beta1/zz_generated.deepcopy.go | 15 +- pkg/apis/extensions/zz_generated.deepcopy.go | 14 +- .../v1alpha1/zz_generated.conversion.go | 14 +- .../policy/v1alpha1/zz_generated.deepcopy.go | 15 +- pkg/apis/policy/zz_generated.deepcopy.go | 14 +- .../rbac/v1alpha1/zz_generated.conversion.go | 13 +- .../rbac/v1alpha1/zz_generated.deepcopy.go | 14 +- pkg/apis/rbac/zz_generated.deepcopy.go | 13 +- .../k8s.io/client-go/1.4/dynamic/client.go | 22 +- .../client-go/1.4/dynamic/client_pool.go | 9 + .../client-go/1.4/pkg/api/conversion.go | 18 +- .../k8s.io/client-go/1.4/pkg/api/defaults.go | 36 + .../client-go/1.4/pkg/api/install/install.go | 108 +- .../k8s.io/client-go/1.4/pkg/api/register.go | 30 +- .../1.4/pkg/api/resource/generated.pb.go | 27 +- .../client-go/1.4/pkg/api/types.generated.go | 49129 ++++++++------- .../1.4/pkg/api/unversioned/generated.pb.go | 208 +- .../client-go/1.4/pkg/api/v1/conversion.go | 151 +- .../client-go/1.4/pkg/api/v1/defaults.go | 4 +- .../client-go/1.4/pkg/api/v1/generated.pb.go | 1329 +- .../client-go/1.4/pkg/api/v1/register.go | 13 +- .../1.4/pkg/api/v1/types.generated.go | 49279 ++++++++-------- .../1.4/pkg/api/v1/zz_generated.conversion.go | 13 +- .../1.4/pkg/api/v1/zz_generated.deepcopy.go | 318 +- .../1.4/pkg/api/validation/validation.go | 91 +- .../1.4/pkg/api/zz_generated.deepcopy.go | 321 +- .../1.4/pkg/apis/apps/install/install.go | 10 +- .../client-go/1.4/pkg/apis/apps/register.go | 11 +- .../1.4/pkg/apis/apps/types.generated.go | 1708 +- .../1.4/pkg/apis/apps/v1alpha1/conversion.go | 14 +- .../1.4/pkg/apis/apps/v1alpha1/defaults.go | 4 +- .../pkg/apis/apps/v1alpha1/generated.pb.go | 67 +- .../1.4/pkg/apis/apps/v1alpha1/register.go | 12 +- .../pkg/apis/apps/v1alpha1/types.generated.go | 1446 +- .../apps/v1alpha1/zz_generated.conversion.go | 14 +- .../apps/v1alpha1/zz_generated.deepcopy.go | 23 +- .../pkg/apis/apps/zz_generated.deepcopy.go | 22 +- .../apis/authentication/install/install.go | 10 +- .../1.4/pkg/apis/authentication/register.go | 10 +- .../apis/authentication/types.generated.go | 1818 +- .../apis/authentication/v1beta1/conversion.go | 8 +- .../apis/authentication/v1beta1/defaults.go | 4 +- .../authentication/v1beta1/generated.pb.go | 73 +- .../apis/authentication/v1beta1/register.go | 13 +- .../authentication/v1beta1/types.generated.go | 1095 +- .../v1beta1/zz_generated.conversion.go | 14 +- .../v1beta1/zz_generated.deepcopy.go | 23 +- .../authentication/zz_generated.deepcopy.go | 22 +- .../pkg/apis/authorization/install/install.go | 10 +- .../1.4/pkg/apis/authorization/register.go | 10 +- .../pkg/apis/authorization/types.generated.go | 3870 +- .../apis/authorization/v1beta1/conversion.go | 8 +- .../apis/authorization/v1beta1/defaults.go | 4 +- .../authorization/v1beta1/generated.pb.go | 101 +- .../apis/authorization/v1beta1/register.go | 13 +- .../authorization/v1beta1/types.generated.go | 3137 +- .../v1beta1/zz_generated.conversion.go | 14 +- .../v1beta1/zz_generated.deepcopy.go | 31 +- .../authorization/zz_generated.deepcopy.go | 30 +- .../pkg/apis/autoscaling/install/install.go | 10 +- .../1.4/pkg/apis/autoscaling/register.go | 11 +- .../pkg/apis/autoscaling/types.generated.go | 2489 +- .../1.4/pkg/apis/autoscaling/v1/defaults.go | 4 +- .../pkg/apis/autoscaling/v1/generated.pb.go | 92 +- .../1.4/pkg/apis/autoscaling/v1/register.go | 11 +- .../apis/autoscaling/v1/types.generated.go | 2173 +- .../autoscaling/v1/zz_generated.conversion.go | 14 +- .../autoscaling/v1/zz_generated.deepcopy.go | 31 +- .../apis/autoscaling/zz_generated.deepcopy.go | 30 +- .../1.4/pkg/apis/batch/install/install.go | 15 +- .../client-go/1.4/pkg/apis/batch/register.go | 11 +- .../1.4/pkg/apis/batch/types.generated.go | 4016 +- .../1.4/pkg/apis/batch/v1/conversion.go | 14 +- .../1.4/pkg/apis/batch/v1/defaults.go | 4 +- .../1.4/pkg/apis/batch/v1/generated.pb.go | 106 +- .../1.4/pkg/apis/batch/v1/register.go | 12 +- .../1.4/pkg/apis/batch/v1/types.generated.go | 2513 +- .../apis/batch/v1/zz_generated.conversion.go | 14 +- .../apis/batch/v1/zz_generated.deepcopy.go | 29 +- .../1.4/pkg/apis/batch/v2alpha1/conversion.go | 13 +- .../1.4/pkg/apis/batch/v2alpha1/defaults.go | 4 +- .../pkg/apis/batch/v2alpha1/generated.pb.go | 153 +- .../1.4/pkg/apis/batch/v2alpha1/register.go | 12 +- .../apis/batch/v2alpha1/types.generated.go | 4485 +- .../batch/v2alpha1/zz_generated.conversion.go | 14 +- .../batch/v2alpha1/zz_generated.deepcopy.go | 41 +- .../pkg/apis/batch/zz_generated.deepcopy.go | 36 +- .../pkg/apis/certificates/install/install.go | 10 +- .../1.4/pkg/apis/certificates/register.go | 13 +- .../pkg/apis/certificates/types.generated.go | 1694 +- .../apis/certificates/v1alpha1/conversion.go | 3 +- .../certificates/v1alpha1/generated.pb.go | 66 + .../apis/certificates/v1alpha1/register.go | 12 +- .../certificates/v1alpha1/types.generated.go | 1688 +- .../v1alpha1/zz_generated.conversion.go | 14 +- .../v1alpha1/zz_generated.deepcopy.go | 25 +- .../certificates/zz_generated.deepcopy.go | 24 +- .../apis/componentconfig/install/install.go | 10 +- .../1.4/pkg/apis/componentconfig/register.go | 10 +- .../apis/componentconfig/types.generated.go | 10578 ++-- .../1.4/pkg/apis/componentconfig/types.go | 5 +- .../apis/componentconfig/v1alpha1/defaults.go | 4 +- .../apis/componentconfig/v1alpha1/register.go | 11 +- .../apis/componentconfig/v1alpha1/types.go | 5 +- .../v1alpha1/zz_generated.conversion.go | 18 +- .../v1alpha1/zz_generated.deepcopy.go | 25 +- .../componentconfig/zz_generated.deepcopy.go | 35 +- .../pkg/apis/extensions/install/install.go | 10 +- .../1.4/pkg/apis/extensions/register.go | 11 +- .../pkg/apis/extensions/types.generated.go | 16859 +++--- .../pkg/apis/extensions/v1beta1/conversion.go | 20 +- .../pkg/apis/extensions/v1beta1/defaults.go | 4 +- .../apis/extensions/v1beta1/generated.pb.go | 587 +- .../pkg/apis/extensions/v1beta1/register.go | 12 +- .../extensions/v1beta1/types.generated.go | 21771 ++++--- .../v1beta1/zz_generated.conversion.go | 14 +- .../v1beta1/zz_generated.deepcopy.go | 157 +- .../apis/extensions/zz_generated.deepcopy.go | 126 +- .../1.4/pkg/apis/policy/install/install.go | 10 +- .../client-go/1.4/pkg/apis/policy/register.go | 11 +- .../1.4/pkg/apis/policy/types.generated.go | 1221 +- .../pkg/apis/policy/v1alpha1/generated.pb.go | 64 +- .../1.4/pkg/apis/policy/v1alpha1/register.go | 14 +- .../apis/policy/v1alpha1/types.generated.go | 1221 +- .../v1alpha1/zz_generated.conversion.go | 14 +- .../policy/v1alpha1/zz_generated.deepcopy.go | 23 +- .../pkg/apis/policy/zz_generated.deepcopy.go | 22 +- .../1.4/pkg/apis/rbac/install/install.go | 10 +- .../client-go/1.4/pkg/apis/rbac/register.go | 11 +- .../pkg/apis/rbac/v1alpha1/generated.pb.go | 107 +- .../1.4/pkg/apis/rbac/v1alpha1/register.go | 10 +- .../pkg/apis/rbac/v1alpha1/types.generated.go | 4360 +- .../rbac/v1alpha1/zz_generated.conversion.go | 13 +- .../rbac/v1alpha1/zz_generated.deepcopy.go | 34 +- .../pkg/apis/rbac/zz_generated.deepcopy.go | 33 +- .../apis/federation/install/install.go | 10 +- .../federation/apis/federation/register.go | 11 +- .../apis/federation/types.generated.go | 2471 +- .../pkg/federation/apis/federation/types.go | 2 +- .../apis/federation/v1beta1/conversion.go | 12 +- .../apis/federation/v1beta1/defaults.go | 3 +- .../apis/federation/v1beta1/generated.pb.go | 85 +- .../apis/federation/v1beta1/register.go | 13 +- .../federation/v1beta1/types.generated.go | 2001 +- .../v1beta1/zz_generated.conversion.go | 14 +- .../v1beta1/zz_generated.deepcopy.go | 27 +- .../apis/federation/zz_generated.deepcopy.go | 30 +- .../k8s.io/client-go/1.4/pkg/runtime/codec.go | 8 +- .../client-go/1.4/pkg/runtime/generated.pb.go | 47 +- .../client-go/1.4/pkg/runtime/scheme.go | 5 + .../1.4/pkg/runtime/scheme_builder.go | 48 + .../client-go/1.4/pkg/runtime/unstructured.go | 1 + .../1.4/pkg/util/intstr/generated.pb.go | 29 +- .../1.4/pkg/watch/versioned/generated.pb.go | 31 +- .../k8s.io/client-go/1.4/tools/cache/index.go | 3 + .../1.4/tools/clientcmd/api/latest/latest.go | 20 +- .../1.4/tools/clientcmd/api/register.go | 13 +- .../1.4/tools/clientcmd/api/v1/conversion.go | 8 +- .../1.4/tools/clientcmd/api/v1/register.go | 12 +- 189 files changed, 99732 insertions(+), 97823 deletions(-) create mode 100644 staging/src/k8s.io/client-go/1.4/pkg/api/defaults.go create mode 100644 staging/src/k8s.io/client-go/1.4/pkg/runtime/scheme_builder.go diff --git a/federation/apis/federation/v1beta1/zz_generated.conversion.go b/federation/apis/federation/v1beta1/zz_generated.conversion.go index fa582e3a6cf..f5caec409c6 100644 --- a/federation/apis/federation/v1beta1/zz_generated.conversion.go +++ b/federation/apis/federation/v1beta1/zz_generated.conversion.go @@ -25,10 +25,17 @@ import ( api "k8s.io/kubernetes/pkg/api" v1 "k8s.io/kubernetes/pkg/api/v1" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1beta1_Cluster_To_federation_Cluster, Convert_federation_Cluster_To_v1beta1_Cluster, Convert_v1beta1_ClusterCondition_To_federation_ClusterCondition, @@ -41,10 +48,7 @@ func init() { Convert_federation_ClusterStatus_To_v1beta1_ClusterStatus, Convert_v1beta1_ServerAddressByClientCIDR_To_federation_ServerAddressByClientCIDR, Convert_federation_ServerAddressByClientCIDR_To_v1beta1_ServerAddressByClientCIDR, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1beta1_Cluster_To_federation_Cluster(in *Cluster, out *federation.Cluster, s conversion.Scope) error { diff --git a/federation/apis/federation/v1beta1/zz_generated.deepcopy.go b/federation/apis/federation/v1beta1/zz_generated.deepcopy.go index d75f8ee271c..fbe4374567a 100644 --- a/federation/apis/federation/v1beta1/zz_generated.deepcopy.go +++ b/federation/apis/federation/v1beta1/zz_generated.deepcopy.go @@ -21,24 +21,27 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/kubernetes/pkg/api" v1 "k8s.io/kubernetes/pkg/api/v1" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Cluster, InType: reflect.TypeOf(&Cluster{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ClusterCondition, InType: reflect.TypeOf(&ClusterCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ClusterList, InType: reflect.TypeOf(&ClusterList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ClusterSpec, InType: reflect.TypeOf(&ClusterSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ClusterStatus, InType: reflect.TypeOf(&ClusterStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ServerAddressByClientCIDR, InType: reflect.TypeOf(&ServerAddressByClientCIDR{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_v1beta1_Cluster(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/federation/apis/federation/zz_generated.deepcopy.go b/federation/apis/federation/zz_generated.deepcopy.go index 64dc4ca14b9..5126feb89cb 100644 --- a/federation/apis/federation/zz_generated.deepcopy.go +++ b/federation/apis/federation/zz_generated.deepcopy.go @@ -23,11 +23,18 @@ package federation import ( api "k8s.io/kubernetes/pkg/api" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_Cluster, InType: reflect.TypeOf(&Cluster{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ClusterCondition, InType: reflect.TypeOf(&ClusterCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ClusterList, InType: reflect.TypeOf(&ClusterList{})}, @@ -36,10 +43,7 @@ func init() { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ClusterStatus, InType: reflect.TypeOf(&ClusterStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_FederatedReplicaSetPreferences, InType: reflect.TypeOf(&FederatedReplicaSetPreferences{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ServerAddressByClientCIDR, InType: reflect.TypeOf(&ServerAddressByClientCIDR{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_federation_Cluster(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/api/v1/zz_generated.conversion.go b/pkg/api/v1/zz_generated.conversion.go index 8517c697789..73c1ef3508b 100644 --- a/pkg/api/v1/zz_generated.conversion.go +++ b/pkg/api/v1/zz_generated.conversion.go @@ -29,7 +29,13 @@ import ( ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStoreVolumeSource, Convert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStoreVolumeSource, Convert_v1_Affinity_To_api_Affinity, @@ -334,10 +340,7 @@ func init() { Convert_api_VsphereVirtualDiskVolumeSource_To_v1_VsphereVirtualDiskVolumeSource, Convert_v1_WeightedPodAffinityTerm_To_api_WeightedPodAffinityTerm, Convert_api_WeightedPodAffinityTerm_To_v1_WeightedPodAffinityTerm, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStoreVolumeSource(in *AWSElasticBlockStoreVolumeSource, out *api.AWSElasticBlockStoreVolumeSource, s conversion.Scope) error { diff --git a/pkg/api/v1/zz_generated.deepcopy.go b/pkg/api/v1/zz_generated.deepcopy.go index 740aea27ab0..6becbd50625 100644 --- a/pkg/api/v1/zz_generated.deepcopy.go +++ b/pkg/api/v1/zz_generated.deepcopy.go @@ -21,7 +21,6 @@ limitations under the License. package v1 import ( - api "k8s.io/kubernetes/pkg/api" unversioned "k8s.io/kubernetes/pkg/api/unversioned" conversion "k8s.io/kubernetes/pkg/conversion" runtime "k8s.io/kubernetes/pkg/runtime" @@ -30,7 +29,13 @@ import ( ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_AWSElasticBlockStoreVolumeSource, InType: reflect.TypeOf(&AWSElasticBlockStoreVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Affinity, InType: reflect.TypeOf(&Affinity{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_AttachedVolume, InType: reflect.TypeOf(&AttachedVolume{})}, @@ -183,10 +188,7 @@ func init() { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_VolumeSource, InType: reflect.TypeOf(&VolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_VsphereVirtualDiskVolumeSource, InType: reflect.TypeOf(&VsphereVirtualDiskVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_WeightedPodAffinityTerm, InType: reflect.TypeOf(&WeightedPodAffinityTerm{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_v1_AWSElasticBlockStoreVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/api/zz_generated.deepcopy.go b/pkg/api/zz_generated.deepcopy.go index 392be744ae1..6782d948ee3 100644 --- a/pkg/api/zz_generated.deepcopy.go +++ b/pkg/api/zz_generated.deepcopy.go @@ -31,7 +31,13 @@ import ( ) func init() { - if err := Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AWSElasticBlockStoreVolumeSource, InType: reflect.TypeOf(&AWSElasticBlockStoreVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Affinity, InType: reflect.TypeOf(&Affinity{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AttachedVolume, InType: reflect.TypeOf(&AttachedVolume{})}, @@ -186,10 +192,7 @@ func init() { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VolumeSource, InType: reflect.TypeOf(&VolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VsphereVirtualDiskVolumeSource, InType: reflect.TypeOf(&VsphereVirtualDiskVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_WeightedPodAffinityTerm, InType: reflect.TypeOf(&WeightedPodAffinityTerm{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_api_AWSElasticBlockStoreVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/apps/v1alpha1/zz_generated.conversion.go b/pkg/apis/apps/v1alpha1/zz_generated.conversion.go index 3cf4728102f..767eff72862 100644 --- a/pkg/apis/apps/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/apps/v1alpha1/zz_generated.conversion.go @@ -24,10 +24,17 @@ import ( api "k8s.io/kubernetes/pkg/api" apps "k8s.io/kubernetes/pkg/apis/apps" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1alpha1_PetSet_To_apps_PetSet, Convert_apps_PetSet_To_v1alpha1_PetSet, Convert_v1alpha1_PetSetList_To_apps_PetSetList, @@ -36,10 +43,7 @@ func init() { Convert_apps_PetSetSpec_To_v1alpha1_PetSetSpec, Convert_v1alpha1_PetSetStatus_To_apps_PetSetStatus, Convert_apps_PetSetStatus_To_v1alpha1_PetSetStatus, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1alpha1_PetSet_To_apps_PetSet(in *PetSet, out *apps.PetSet, s conversion.Scope) error { diff --git a/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go index 59e21fee367..3d80b7065f7 100644 --- a/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go @@ -21,23 +21,26 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/kubernetes/pkg/api" unversioned "k8s.io/kubernetes/pkg/api/unversioned" v1 "k8s.io/kubernetes/pkg/api/v1" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSet, InType: reflect.TypeOf(&PetSet{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSetList, InType: reflect.TypeOf(&PetSetList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSetSpec, InType: reflect.TypeOf(&PetSetSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSetStatus, InType: reflect.TypeOf(&PetSetStatus{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_v1alpha1_PetSet(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/apps/zz_generated.deepcopy.go b/pkg/apis/apps/zz_generated.deepcopy.go index fb9fd5617ce..ecd6db61e85 100644 --- a/pkg/apis/apps/zz_generated.deepcopy.go +++ b/pkg/apis/apps/zz_generated.deepcopy.go @@ -24,19 +24,23 @@ import ( api "k8s.io/kubernetes/pkg/api" unversioned "k8s.io/kubernetes/pkg/api/unversioned" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSet, InType: reflect.TypeOf(&PetSet{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSetList, InType: reflect.TypeOf(&PetSetList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSetSpec, InType: reflect.TypeOf(&PetSetSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSetStatus, InType: reflect.TypeOf(&PetSetStatus{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_apps_PetSet(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/authentication/v1beta1/zz_generated.conversion.go b/pkg/apis/authentication/v1beta1/zz_generated.conversion.go index 9a2b2129000..b3849d39ed9 100644 --- a/pkg/apis/authentication/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/authentication/v1beta1/zz_generated.conversion.go @@ -24,10 +24,17 @@ import ( api "k8s.io/kubernetes/pkg/api" authentication "k8s.io/kubernetes/pkg/apis/authentication" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1beta1_TokenReview_To_authentication_TokenReview, Convert_authentication_TokenReview_To_v1beta1_TokenReview, Convert_v1beta1_TokenReviewSpec_To_authentication_TokenReviewSpec, @@ -36,10 +43,7 @@ func init() { Convert_authentication_TokenReviewStatus_To_v1beta1_TokenReviewStatus, Convert_v1beta1_UserInfo_To_authentication_UserInfo, Convert_authentication_UserInfo_To_v1beta1_UserInfo, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1beta1_TokenReview_To_authentication_TokenReview(in *TokenReview, out *authentication.TokenReview, s conversion.Scope) error { diff --git a/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go b/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go index f6516efc416..01cbc76e4c1 100644 --- a/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go @@ -21,22 +21,25 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/kubernetes/pkg/api" v1 "k8s.io/kubernetes/pkg/api/v1" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_TokenReview, InType: reflect.TypeOf(&TokenReview{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_TokenReviewSpec, InType: reflect.TypeOf(&TokenReviewSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_TokenReviewStatus, InType: reflect.TypeOf(&TokenReviewStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_UserInfo, InType: reflect.TypeOf(&UserInfo{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_v1beta1_TokenReview(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/authentication/zz_generated.deepcopy.go b/pkg/apis/authentication/zz_generated.deepcopy.go index 0b0c917a524..7caf7b0c48c 100644 --- a/pkg/apis/authentication/zz_generated.deepcopy.go +++ b/pkg/apis/authentication/zz_generated.deepcopy.go @@ -23,19 +23,23 @@ package authentication import ( api "k8s.io/kubernetes/pkg/api" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authentication_TokenReview, InType: reflect.TypeOf(&TokenReview{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authentication_TokenReviewSpec, InType: reflect.TypeOf(&TokenReviewSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authentication_TokenReviewStatus, InType: reflect.TypeOf(&TokenReviewStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authentication_UserInfo, InType: reflect.TypeOf(&UserInfo{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_authentication_TokenReview(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/authorization/v1beta1/zz_generated.conversion.go b/pkg/apis/authorization/v1beta1/zz_generated.conversion.go index 4b142f7f79e..03e19637a98 100644 --- a/pkg/apis/authorization/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/authorization/v1beta1/zz_generated.conversion.go @@ -24,10 +24,17 @@ import ( api "k8s.io/kubernetes/pkg/api" authorization "k8s.io/kubernetes/pkg/apis/authorization" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1beta1_LocalSubjectAccessReview_To_authorization_LocalSubjectAccessReview, Convert_authorization_LocalSubjectAccessReview_To_v1beta1_LocalSubjectAccessReview, Convert_v1beta1_NonResourceAttributes_To_authorization_NonResourceAttributes, @@ -44,10 +51,7 @@ func init() { Convert_authorization_SubjectAccessReviewSpec_To_v1beta1_SubjectAccessReviewSpec, Convert_v1beta1_SubjectAccessReviewStatus_To_authorization_SubjectAccessReviewStatus, Convert_authorization_SubjectAccessReviewStatus_To_v1beta1_SubjectAccessReviewStatus, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1beta1_LocalSubjectAccessReview_To_authorization_LocalSubjectAccessReview(in *LocalSubjectAccessReview, out *authorization.LocalSubjectAccessReview, s conversion.Scope) error { diff --git a/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go b/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go index 8c5c3dfcf25..c365c8db0af 100644 --- a/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go @@ -21,14 +21,20 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/kubernetes/pkg/api" v1 "k8s.io/kubernetes/pkg/api/v1" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_LocalSubjectAccessReview, InType: reflect.TypeOf(&LocalSubjectAccessReview{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NonResourceAttributes, InType: reflect.TypeOf(&NonResourceAttributes{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ResourceAttributes, InType: reflect.TypeOf(&ResourceAttributes{})}, @@ -37,10 +43,7 @@ func init() { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SubjectAccessReview, InType: reflect.TypeOf(&SubjectAccessReview{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SubjectAccessReviewSpec, InType: reflect.TypeOf(&SubjectAccessReviewSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SubjectAccessReviewStatus, InType: reflect.TypeOf(&SubjectAccessReviewStatus{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_v1beta1_LocalSubjectAccessReview(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/authorization/zz_generated.deepcopy.go b/pkg/apis/authorization/zz_generated.deepcopy.go index 58470efdddf..bf808614673 100644 --- a/pkg/apis/authorization/zz_generated.deepcopy.go +++ b/pkg/apis/authorization/zz_generated.deepcopy.go @@ -23,11 +23,18 @@ package authorization import ( api "k8s.io/kubernetes/pkg/api" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_LocalSubjectAccessReview, InType: reflect.TypeOf(&LocalSubjectAccessReview{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_NonResourceAttributes, InType: reflect.TypeOf(&NonResourceAttributes{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_ResourceAttributes, InType: reflect.TypeOf(&ResourceAttributes{})}, @@ -36,10 +43,7 @@ func init() { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_SubjectAccessReview, InType: reflect.TypeOf(&SubjectAccessReview{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_SubjectAccessReviewSpec, InType: reflect.TypeOf(&SubjectAccessReviewSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_SubjectAccessReviewStatus, InType: reflect.TypeOf(&SubjectAccessReviewStatus{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_authorization_LocalSubjectAccessReview(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/autoscaling/v1/zz_generated.conversion.go b/pkg/apis/autoscaling/v1/zz_generated.conversion.go index 3d569928380..8a6c6c2e6ce 100644 --- a/pkg/apis/autoscaling/v1/zz_generated.conversion.go +++ b/pkg/apis/autoscaling/v1/zz_generated.conversion.go @@ -24,10 +24,17 @@ import ( api "k8s.io/kubernetes/pkg/api" autoscaling "k8s.io/kubernetes/pkg/apis/autoscaling" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1_CrossVersionObjectReference_To_autoscaling_CrossVersionObjectReference, Convert_autoscaling_CrossVersionObjectReference_To_v1_CrossVersionObjectReference, Convert_v1_HorizontalPodAutoscaler_To_autoscaling_HorizontalPodAutoscaler, @@ -44,10 +51,7 @@ func init() { Convert_autoscaling_ScaleSpec_To_v1_ScaleSpec, Convert_v1_ScaleStatus_To_autoscaling_ScaleStatus, Convert_autoscaling_ScaleStatus_To_v1_ScaleStatus, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1_CrossVersionObjectReference_To_autoscaling_CrossVersionObjectReference(in *CrossVersionObjectReference, out *autoscaling.CrossVersionObjectReference, s conversion.Scope) error { diff --git a/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go b/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go index 58a51787152..70ed6d02798 100644 --- a/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go +++ b/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go @@ -21,15 +21,21 @@ limitations under the License. package v1 import ( - api "k8s.io/kubernetes/pkg/api" unversioned "k8s.io/kubernetes/pkg/api/unversioned" api_v1 "k8s.io/kubernetes/pkg/api/v1" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_CrossVersionObjectReference, InType: reflect.TypeOf(&CrossVersionObjectReference{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HorizontalPodAutoscaler, InType: reflect.TypeOf(&HorizontalPodAutoscaler{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HorizontalPodAutoscalerList, InType: reflect.TypeOf(&HorizontalPodAutoscalerList{})}, @@ -38,10 +44,7 @@ func init() { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Scale, InType: reflect.TypeOf(&Scale{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ScaleSpec, InType: reflect.TypeOf(&ScaleSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ScaleStatus, InType: reflect.TypeOf(&ScaleStatus{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_v1_CrossVersionObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/autoscaling/zz_generated.deepcopy.go b/pkg/apis/autoscaling/zz_generated.deepcopy.go index 028ad03082b..dde5db7e466 100644 --- a/pkg/apis/autoscaling/zz_generated.deepcopy.go +++ b/pkg/apis/autoscaling/zz_generated.deepcopy.go @@ -24,11 +24,18 @@ import ( api "k8s.io/kubernetes/pkg/api" unversioned "k8s.io/kubernetes/pkg/api/unversioned" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_CrossVersionObjectReference, InType: reflect.TypeOf(&CrossVersionObjectReference{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_HorizontalPodAutoscaler, InType: reflect.TypeOf(&HorizontalPodAutoscaler{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_HorizontalPodAutoscalerList, InType: reflect.TypeOf(&HorizontalPodAutoscalerList{})}, @@ -37,10 +44,7 @@ func init() { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_Scale, InType: reflect.TypeOf(&Scale{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_ScaleSpec, InType: reflect.TypeOf(&ScaleSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_ScaleStatus, InType: reflect.TypeOf(&ScaleStatus{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_autoscaling_CrossVersionObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/batch/v1/zz_generated.conversion.go b/pkg/apis/batch/v1/zz_generated.conversion.go index 88e6d961ffa..3dc90d06668 100644 --- a/pkg/apis/batch/v1/zz_generated.conversion.go +++ b/pkg/apis/batch/v1/zz_generated.conversion.go @@ -26,10 +26,17 @@ import ( api_v1 "k8s.io/kubernetes/pkg/api/v1" batch "k8s.io/kubernetes/pkg/apis/batch" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1_Job_To_batch_Job, Convert_batch_Job_To_v1_Job, Convert_v1_JobCondition_To_batch_JobCondition, @@ -44,10 +51,7 @@ func init() { Convert_unversioned_LabelSelector_To_v1_LabelSelector, Convert_v1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement, Convert_unversioned_LabelSelectorRequirement_To_v1_LabelSelectorRequirement, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1_Job_To_batch_Job(in *Job, out *batch.Job, s conversion.Scope) error { diff --git a/pkg/apis/batch/v1/zz_generated.deepcopy.go b/pkg/apis/batch/v1/zz_generated.deepcopy.go index 3c5e35132aa..9163e830bcb 100644 --- a/pkg/apis/batch/v1/zz_generated.deepcopy.go +++ b/pkg/apis/batch/v1/zz_generated.deepcopy.go @@ -21,15 +21,21 @@ limitations under the License. package v1 import ( - api "k8s.io/kubernetes/pkg/api" unversioned "k8s.io/kubernetes/pkg/api/unversioned" api_v1 "k8s.io/kubernetes/pkg/api/v1" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Job, InType: reflect.TypeOf(&Job{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobCondition, InType: reflect.TypeOf(&JobCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobList, InType: reflect.TypeOf(&JobList{})}, @@ -37,10 +43,7 @@ func init() { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobStatus, InType: reflect.TypeOf(&JobStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LabelSelector, InType: reflect.TypeOf(&LabelSelector{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LabelSelectorRequirement, InType: reflect.TypeOf(&LabelSelectorRequirement{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_v1_Job(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/batch/v2alpha1/zz_generated.conversion.go b/pkg/apis/batch/v2alpha1/zz_generated.conversion.go index 3265269bdfb..862b2921f4c 100644 --- a/pkg/apis/batch/v2alpha1/zz_generated.conversion.go +++ b/pkg/apis/batch/v2alpha1/zz_generated.conversion.go @@ -26,10 +26,17 @@ import ( v1 "k8s.io/kubernetes/pkg/api/v1" batch "k8s.io/kubernetes/pkg/apis/batch" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v2alpha1_Job_To_batch_Job, Convert_batch_Job_To_v2alpha1_Job, Convert_v2alpha1_JobCondition_To_batch_JobCondition, @@ -56,10 +63,7 @@ func init() { Convert_batch_ScheduledJobSpec_To_v2alpha1_ScheduledJobSpec, Convert_v2alpha1_ScheduledJobStatus_To_batch_ScheduledJobStatus, Convert_batch_ScheduledJobStatus_To_v2alpha1_ScheduledJobStatus, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v2alpha1_Job_To_batch_Job(in *Job, out *batch.Job, s conversion.Scope) error { diff --git a/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go b/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go index 4c89738cb85..2980bac9d3d 100644 --- a/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go @@ -21,15 +21,21 @@ limitations under the License. package v2alpha1 import ( - api "k8s.io/kubernetes/pkg/api" unversioned "k8s.io/kubernetes/pkg/api/unversioned" v1 "k8s.io/kubernetes/pkg/api/v1" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_Job, InType: reflect.TypeOf(&Job{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobCondition, InType: reflect.TypeOf(&JobCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobList, InType: reflect.TypeOf(&JobList{})}, @@ -43,10 +49,7 @@ func init() { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJobList, InType: reflect.TypeOf(&ScheduledJobList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJobSpec, InType: reflect.TypeOf(&ScheduledJobSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJobStatus, InType: reflect.TypeOf(&ScheduledJobStatus{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_v2alpha1_Job(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/batch/zz_generated.deepcopy.go b/pkg/apis/batch/zz_generated.deepcopy.go index 1f4c99c0e21..7a834641b0c 100644 --- a/pkg/apis/batch/zz_generated.deepcopy.go +++ b/pkg/apis/batch/zz_generated.deepcopy.go @@ -24,11 +24,18 @@ import ( api "k8s.io/kubernetes/pkg/api" unversioned "k8s.io/kubernetes/pkg/api/unversioned" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_Job, InType: reflect.TypeOf(&Job{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_JobCondition, InType: reflect.TypeOf(&JobCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_JobList, InType: reflect.TypeOf(&JobList{})}, @@ -40,10 +47,7 @@ func init() { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_ScheduledJobList, InType: reflect.TypeOf(&ScheduledJobList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_ScheduledJobSpec, InType: reflect.TypeOf(&ScheduledJobSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_ScheduledJobStatus, InType: reflect.TypeOf(&ScheduledJobStatus{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_batch_Job(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go b/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go index 454a98bf3b2..76c51d54667 100644 --- a/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go @@ -24,10 +24,17 @@ import ( api "k8s.io/kubernetes/pkg/api" certificates "k8s.io/kubernetes/pkg/apis/certificates" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1alpha1_CertificateSigningRequest_To_certificates_CertificateSigningRequest, Convert_certificates_CertificateSigningRequest_To_v1alpha1_CertificateSigningRequest, Convert_v1alpha1_CertificateSigningRequestCondition_To_certificates_CertificateSigningRequestCondition, @@ -38,10 +45,7 @@ func init() { Convert_certificates_CertificateSigningRequestSpec_To_v1alpha1_CertificateSigningRequestSpec, Convert_v1alpha1_CertificateSigningRequestStatus_To_certificates_CertificateSigningRequestStatus, Convert_certificates_CertificateSigningRequestStatus_To_v1alpha1_CertificateSigningRequestStatus, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1alpha1_CertificateSigningRequest_To_certificates_CertificateSigningRequest(in *CertificateSigningRequest, out *certificates.CertificateSigningRequest, s conversion.Scope) error { diff --git a/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go index 4f2373c6e4c..ce2e16969e9 100644 --- a/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go @@ -21,23 +21,26 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/kubernetes/pkg/api" v1 "k8s.io/kubernetes/pkg/api/v1" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_CertificateSigningRequest, InType: reflect.TypeOf(&CertificateSigningRequest{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_CertificateSigningRequestCondition, InType: reflect.TypeOf(&CertificateSigningRequestCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_CertificateSigningRequestList, InType: reflect.TypeOf(&CertificateSigningRequestList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_CertificateSigningRequestSpec, InType: reflect.TypeOf(&CertificateSigningRequestSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_CertificateSigningRequestStatus, InType: reflect.TypeOf(&CertificateSigningRequestStatus{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_v1alpha1_CertificateSigningRequest(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/certificates/zz_generated.deepcopy.go b/pkg/apis/certificates/zz_generated.deepcopy.go index 907ed6fd00c..764271bfa51 100644 --- a/pkg/apis/certificates/zz_generated.deepcopy.go +++ b/pkg/apis/certificates/zz_generated.deepcopy.go @@ -23,20 +23,24 @@ package certificates import ( api "k8s.io/kubernetes/pkg/api" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_certificates_CertificateSigningRequest, InType: reflect.TypeOf(&CertificateSigningRequest{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_certificates_CertificateSigningRequestCondition, InType: reflect.TypeOf(&CertificateSigningRequestCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_certificates_CertificateSigningRequestList, InType: reflect.TypeOf(&CertificateSigningRequestList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_certificates_CertificateSigningRequestSpec, InType: reflect.TypeOf(&CertificateSigningRequestSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_certificates_CertificateSigningRequestStatus, InType: reflect.TypeOf(&CertificateSigningRequestStatus{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_certificates_CertificateSigningRequest(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go b/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go index 7031454689f..39f52e23b47 100644 --- a/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go @@ -24,11 +24,18 @@ import ( api "k8s.io/kubernetes/pkg/api" componentconfig "k8s.io/kubernetes/pkg/apis/componentconfig" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" config "k8s.io/kubernetes/pkg/util/config" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyConfiguration, Convert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyConfiguration, Convert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSchedulerConfiguration, @@ -37,10 +44,7 @@ func init() { Convert_componentconfig_KubeletConfiguration_To_v1alpha1_KubeletConfiguration, Convert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration, Convert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyConfiguration(in *KubeProxyConfiguration, out *componentconfig.KubeProxyConfiguration, s conversion.Scope) error { diff --git a/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go index ea672ed5e74..37e6c583906 100644 --- a/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go @@ -21,21 +21,24 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/kubernetes/pkg/api" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeProxyConfiguration, InType: reflect.TypeOf(&KubeProxyConfiguration{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeSchedulerConfiguration, InType: reflect.TypeOf(&KubeSchedulerConfiguration{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeletConfiguration, InType: reflect.TypeOf(&KubeletConfiguration{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_LeaderElectionConfiguration, InType: reflect.TypeOf(&LeaderElectionConfiguration{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_v1alpha1_KubeProxyConfiguration(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/componentconfig/zz_generated.deepcopy.go b/pkg/apis/componentconfig/zz_generated.deepcopy.go index 4af9e5f59ca..83552a962ae 100644 --- a/pkg/apis/componentconfig/zz_generated.deepcopy.go +++ b/pkg/apis/componentconfig/zz_generated.deepcopy.go @@ -21,14 +21,20 @@ limitations under the License. package componentconfig import ( - api "k8s.io/kubernetes/pkg/api" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" config "k8s.io/kubernetes/pkg/util/config" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_IPVar, InType: reflect.TypeOf(&IPVar{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeControllerManagerConfiguration, InType: reflect.TypeOf(&KubeControllerManagerConfiguration{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeProxyConfiguration, InType: reflect.TypeOf(&KubeProxyConfiguration{})}, @@ -38,10 +44,7 @@ func init() { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_PersistentVolumeRecyclerConfiguration, InType: reflect.TypeOf(&PersistentVolumeRecyclerConfiguration{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_PortRangeVar, InType: reflect.TypeOf(&PortRangeVar{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_VolumeConfiguration, InType: reflect.TypeOf(&VolumeConfiguration{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_componentconfig_IPVar(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/extensions/v1beta1/zz_generated.conversion.go b/pkg/apis/extensions/v1beta1/zz_generated.conversion.go index c29edf0973b..4d9ed54815d 100644 --- a/pkg/apis/extensions/v1beta1/zz_generated.conversion.go +++ b/pkg/apis/extensions/v1beta1/zz_generated.conversion.go @@ -28,10 +28,17 @@ import ( batch "k8s.io/kubernetes/pkg/apis/batch" extensions "k8s.io/kubernetes/pkg/apis/extensions" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1beta1_APIVersion_To_extensions_APIVersion, Convert_extensions_APIVersion_To_v1beta1_APIVersion, Convert_v1beta1_CustomMetricCurrentStatus_To_extensions_CustomMetricCurrentStatus, @@ -170,10 +177,7 @@ func init() { Convert_extensions_ThirdPartyResourceDataList_To_v1beta1_ThirdPartyResourceDataList, Convert_v1beta1_ThirdPartyResourceList_To_extensions_ThirdPartyResourceList, Convert_extensions_ThirdPartyResourceList_To_v1beta1_ThirdPartyResourceList, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1beta1_APIVersion_To_extensions_APIVersion(in *APIVersion, out *extensions.APIVersion, s conversion.Scope) error { diff --git a/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go b/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go index 59b58f9ba9c..72ecbd4c725 100644 --- a/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go +++ b/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go @@ -21,16 +21,22 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/kubernetes/pkg/api" unversioned "k8s.io/kubernetes/pkg/api/unversioned" v1 "k8s.io/kubernetes/pkg/api/v1" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" intstr "k8s.io/kubernetes/pkg/util/intstr" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_APIVersion, InType: reflect.TypeOf(&APIVersion{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_CPUTargetUtilization, InType: reflect.TypeOf(&CPUTargetUtilization{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_CustomMetricCurrentStatus, InType: reflect.TypeOf(&CustomMetricCurrentStatus{})}, @@ -102,10 +108,7 @@ func init() { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ThirdPartyResourceData, InType: reflect.TypeOf(&ThirdPartyResourceData{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ThirdPartyResourceDataList, InType: reflect.TypeOf(&ThirdPartyResourceDataList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ThirdPartyResourceList, InType: reflect.TypeOf(&ThirdPartyResourceList{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_v1beta1_APIVersion(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/extensions/zz_generated.deepcopy.go b/pkg/apis/extensions/zz_generated.deepcopy.go index b2461fd9dec..07f177a9e34 100644 --- a/pkg/apis/extensions/zz_generated.deepcopy.go +++ b/pkg/apis/extensions/zz_generated.deepcopy.go @@ -24,12 +24,19 @@ import ( api "k8s.io/kubernetes/pkg/api" unversioned "k8s.io/kubernetes/pkg/api/unversioned" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" intstr "k8s.io/kubernetes/pkg/util/intstr" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_APIVersion, InType: reflect.TypeOf(&APIVersion{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_CustomMetricCurrentStatus, InType: reflect.TypeOf(&CustomMetricCurrentStatus{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_CustomMetricCurrentStatusList, InType: reflect.TypeOf(&CustomMetricCurrentStatusList{})}, @@ -86,10 +93,7 @@ func init() { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResourceData, InType: reflect.TypeOf(&ThirdPartyResourceData{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResourceDataList, InType: reflect.TypeOf(&ThirdPartyResourceDataList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResourceList, InType: reflect.TypeOf(&ThirdPartyResourceList{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_extensions_APIVersion(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/policy/v1alpha1/zz_generated.conversion.go b/pkg/apis/policy/v1alpha1/zz_generated.conversion.go index c524ca24a3d..589d25b06dd 100644 --- a/pkg/apis/policy/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/policy/v1alpha1/zz_generated.conversion.go @@ -24,10 +24,17 @@ import ( api "k8s.io/kubernetes/pkg/api" policy "k8s.io/kubernetes/pkg/apis/policy" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1alpha1_PodDisruptionBudget_To_policy_PodDisruptionBudget, Convert_policy_PodDisruptionBudget_To_v1alpha1_PodDisruptionBudget, Convert_v1alpha1_PodDisruptionBudgetList_To_policy_PodDisruptionBudgetList, @@ -36,10 +43,7 @@ func init() { Convert_policy_PodDisruptionBudgetSpec_To_v1alpha1_PodDisruptionBudgetSpec, Convert_v1alpha1_PodDisruptionBudgetStatus_To_policy_PodDisruptionBudgetStatus, Convert_policy_PodDisruptionBudgetStatus_To_v1alpha1_PodDisruptionBudgetStatus, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1alpha1_PodDisruptionBudget_To_policy_PodDisruptionBudget(in *PodDisruptionBudget, out *policy.PodDisruptionBudget, s conversion.Scope) error { diff --git a/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go index 70623897040..f36bc703b8a 100644 --- a/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go @@ -21,23 +21,26 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/kubernetes/pkg/api" unversioned "k8s.io/kubernetes/pkg/api/unversioned" v1 "k8s.io/kubernetes/pkg/api/v1" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PodDisruptionBudget, InType: reflect.TypeOf(&PodDisruptionBudget{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PodDisruptionBudgetList, InType: reflect.TypeOf(&PodDisruptionBudgetList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PodDisruptionBudgetSpec, InType: reflect.TypeOf(&PodDisruptionBudgetSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PodDisruptionBudgetStatus, InType: reflect.TypeOf(&PodDisruptionBudgetStatus{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_v1alpha1_PodDisruptionBudget(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/policy/zz_generated.deepcopy.go b/pkg/apis/policy/zz_generated.deepcopy.go index b7eeae85767..b03180edae5 100644 --- a/pkg/apis/policy/zz_generated.deepcopy.go +++ b/pkg/apis/policy/zz_generated.deepcopy.go @@ -24,19 +24,23 @@ import ( api "k8s.io/kubernetes/pkg/api" unversioned "k8s.io/kubernetes/pkg/api/unversioned" conversion "k8s.io/kubernetes/pkg/conversion" + runtime "k8s.io/kubernetes/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_policy_PodDisruptionBudget, InType: reflect.TypeOf(&PodDisruptionBudget{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_policy_PodDisruptionBudgetList, InType: reflect.TypeOf(&PodDisruptionBudgetList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_policy_PodDisruptionBudgetSpec, InType: reflect.TypeOf(&PodDisruptionBudgetSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_policy_PodDisruptionBudgetStatus, InType: reflect.TypeOf(&PodDisruptionBudgetStatus{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_policy_PodDisruptionBudget(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go b/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go index 55881467710..6e7ef9be8ce 100644 --- a/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go +++ b/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go @@ -28,7 +28,13 @@ import ( ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1alpha1_ClusterRole_To_rbac_ClusterRole, Convert_rbac_ClusterRole_To_v1alpha1_ClusterRole, Convert_v1alpha1_ClusterRoleBinding_To_rbac_ClusterRoleBinding, @@ -49,10 +55,7 @@ func init() { Convert_rbac_RoleList_To_v1alpha1_RoleList, Convert_v1alpha1_Subject_To_rbac_Subject, Convert_rbac_Subject_To_v1alpha1_Subject, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1alpha1_ClusterRole_To_rbac_ClusterRole(in *ClusterRole, out *rbac.ClusterRole, s conversion.Scope) error { diff --git a/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go index 3936a3c0d14..50c15fd07d0 100644 --- a/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go @@ -21,7 +21,6 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/kubernetes/pkg/api" v1 "k8s.io/kubernetes/pkg/api/v1" conversion "k8s.io/kubernetes/pkg/conversion" runtime "k8s.io/kubernetes/pkg/runtime" @@ -29,7 +28,13 @@ import ( ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_ClusterRole, InType: reflect.TypeOf(&ClusterRole{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_ClusterRoleBinding, InType: reflect.TypeOf(&ClusterRoleBinding{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_ClusterRoleBindingList, InType: reflect.TypeOf(&ClusterRoleBindingList{})}, @@ -40,10 +45,7 @@ func init() { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_RoleBindingList, InType: reflect.TypeOf(&RoleBindingList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_RoleList, InType: reflect.TypeOf(&RoleList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_Subject, InType: reflect.TypeOf(&Subject{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_v1alpha1_ClusterRole(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/pkg/apis/rbac/zz_generated.deepcopy.go b/pkg/apis/rbac/zz_generated.deepcopy.go index 318f0ef4312..98812c54139 100644 --- a/pkg/apis/rbac/zz_generated.deepcopy.go +++ b/pkg/apis/rbac/zz_generated.deepcopy.go @@ -28,7 +28,13 @@ import ( ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_ClusterRole, InType: reflect.TypeOf(&ClusterRole{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_ClusterRoleBinding, InType: reflect.TypeOf(&ClusterRoleBinding{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_ClusterRoleBindingList, InType: reflect.TypeOf(&ClusterRoleBindingList{})}, @@ -39,10 +45,7 @@ func init() { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_RoleBindingList, InType: reflect.TypeOf(&RoleBindingList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_RoleList, InType: reflect.TypeOf(&RoleList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_Subject, InType: reflect.TypeOf(&Subject{})}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + ) } func DeepCopy_rbac_ClusterRole(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/dynamic/client.go b/staging/src/k8s.io/client-go/1.4/dynamic/client.go index e71d45e7c98..c9ac2a93528 100644 --- a/staging/src/k8s.io/client-go/1.4/dynamic/client.go +++ b/staging/src/k8s.io/client-go/1.4/dynamic/client.go @@ -32,6 +32,7 @@ import ( "k8s.io/client-go/1.4/pkg/conversion/queryparams" "k8s.io/client-go/1.4/pkg/runtime" "k8s.io/client-go/1.4/pkg/runtime/serializer" + "k8s.io/client-go/1.4/pkg/util/flowcontrol" "k8s.io/client-go/1.4/pkg/watch" "k8s.io/client-go/1.4/rest" ) @@ -54,13 +55,9 @@ func NewClient(conf *rest.Config) (*Client, error) { confCopy := *conf conf = &confCopy - codec := dynamicCodec{} - // TODO: it's questionable that this should be using anything other than unstructured schema and JSON conf.ContentType = runtime.ContentTypeJSON conf.AcceptContentTypes = runtime.ContentTypeJSON - streamingInfo, _ := api.Codecs.StreamingSerializerForMediaType("application/json;stream=watch", nil) - conf.NegotiatedSerializer = serializer.NegotiatedSerializerWrapper(runtime.SerializerInfo{Serializer: codec}, streamingInfo) if conf.APIPath == "" { conf.APIPath = "/api" @@ -69,6 +66,10 @@ func NewClient(conf *rest.Config) (*Client, error) { if len(conf.UserAgent) == 0 { conf.UserAgent = rest.DefaultKubernetesUserAgent() } + if conf.NegotiatedSerializer == nil { + streamingInfo, _ := api.Codecs.StreamingSerializerForMediaType("application/json;stream=watch", nil) + conf.NegotiatedSerializer = serializer.NegotiatedSerializerWrapper(runtime.SerializerInfo{Serializer: dynamicCodec{}}, streamingInfo) + } cl, err := rest.RESTClientFor(conf) if err != nil { @@ -78,6 +79,11 @@ func NewClient(conf *rest.Config) (*Client, error) { return &Client{cl: cl}, nil } +// GetRateLimiter returns rate limier. +func (c *Client) GetRateLimiter() flowcontrol.RateLimiter { + return c.cl.GetRateLimiter() +} + // Resource returns an API interface to the specified resource for this client's // group and version. If resource is not a namespaced resource, then namespace // is ignored. @@ -119,19 +125,17 @@ type ResourceClient struct { } // List returns a list of objects for this resource. -func (rc *ResourceClient) List(opts runtime.Object) (*runtime.UnstructuredList, error) { - result := new(runtime.UnstructuredList) +func (rc *ResourceClient) List(opts runtime.Object) (runtime.Object, error) { parameterEncoder := rc.parameterCodec if parameterEncoder == nil { parameterEncoder = defaultParameterEncoder } - err := rc.cl.Get(). + return rc.cl.Get(). NamespaceIfScoped(rc.ns, rc.resource.Namespaced). Resource(rc.resource.Name). VersionedParams(opts, parameterEncoder). Do(). - Into(result) - return result, err + Get() } // Get gets the resource with the specified name. diff --git a/staging/src/k8s.io/client-go/1.4/dynamic/client_pool.go b/staging/src/k8s.io/client-go/1.4/dynamic/client_pool.go index dcf15960439..b63585a35ae 100644 --- a/staging/src/k8s.io/client-go/1.4/dynamic/client_pool.go +++ b/staging/src/k8s.io/client-go/1.4/dynamic/client_pool.go @@ -19,7 +19,10 @@ package dynamic import ( "sync" + "k8s.io/client-go/1.4/pkg/api" "k8s.io/client-go/1.4/pkg/api/unversioned" + "k8s.io/client-go/1.4/pkg/runtime" + "k8s.io/client-go/1.4/pkg/runtime/serializer" "k8s.io/client-go/1.4/rest" ) @@ -77,6 +80,12 @@ func (c *clientPoolImpl) ClientForGroupVersion(groupVersion unversioned.GroupVer // we need to make a client conf.GroupVersion = &groupVersion + + if conf.NegotiatedSerializer == nil { + streamingInfo, _ := api.Codecs.StreamingSerializerForMediaType("application/json;stream=watch", nil) + conf.NegotiatedSerializer = serializer.NegotiatedSerializerWrapper(runtime.SerializerInfo{Serializer: dynamicCodec{}}, streamingInfo) + } + dynamicClient, err := NewClient(conf) if err != nil { return nil, err diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/api/conversion.go index 06476a055a9..ff7960ed82c 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/api/conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/conversion.go @@ -24,23 +24,14 @@ import ( "k8s.io/client-go/1.4/pkg/conversion" "k8s.io/client-go/1.4/pkg/fields" "k8s.io/client-go/1.4/pkg/labels" + "k8s.io/client-go/1.4/pkg/runtime" "k8s.io/client-go/1.4/pkg/util/intstr" utillabels "k8s.io/client-go/1.4/pkg/util/labels" "k8s.io/client-go/1.4/pkg/util/validation/field" ) -func init() { - Scheme.AddDefaultingFuncs( - func(obj *ListOptions) { - if obj.LabelSelector == nil { - obj.LabelSelector = labels.Everything() - } - if obj.FieldSelector == nil { - obj.FieldSelector = fields.Everything() - } - }, - ) - Scheme.AddConversionFuncs( +func addConversionFuncs(scheme *runtime.Scheme) error { + return scheme.AddConversionFuncs( Convert_unversioned_TypeMeta_To_unversioned_TypeMeta, Convert_unversioned_ListMeta_To_unversioned_ListMeta, @@ -234,6 +225,9 @@ func Convert_resource_Quantity_To_resource_Quantity(in *resource.Quantity, out * } func Convert_map_to_unversioned_LabelSelector(in *map[string]string, out *unversioned.LabelSelector, s conversion.Scope) error { + if in == nil { + return nil + } out = new(unversioned.LabelSelector) for labelKey, labelValue := range *in { utillabels.AddLabelToSelector(out, labelKey, labelValue) diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/defaults.go b/staging/src/k8s.io/client-go/1.4/pkg/api/defaults.go new file mode 100644 index 00000000000..860c18d0858 --- /dev/null +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/defaults.go @@ -0,0 +1,36 @@ +/* +Copyright 2016 The Kubernetes Authors. + +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 api + +import ( + "k8s.io/client-go/1.4/pkg/fields" + "k8s.io/client-go/1.4/pkg/labels" + "k8s.io/client-go/1.4/pkg/runtime" +) + +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( + func(obj *ListOptions) { + if obj.LabelSelector == nil { + obj.LabelSelector = labels.Everything() + } + if obj.FieldSelector == nil { + obj.FieldSelector = fields.Everything() + } + }, + ) +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/install/install.go b/staging/src/k8s.io/client-go/1.4/pkg/api/install/install.go index d6643dc5aad..0253010e4e0 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/api/install/install.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/install/install.go @@ -29,10 +29,8 @@ import ( "k8s.io/client-go/1.4/pkg/api/v1" "k8s.io/client-go/1.4/pkg/apimachinery" "k8s.io/client-go/1.4/pkg/apimachinery/registered" - "k8s.io/client-go/1.4/pkg/conversion" "k8s.io/client-go/1.4/pkg/runtime" "k8s.io/client-go/1.4/pkg/util/sets" - "k8s.io/client-go/1.4/pkg/watch/versioned" ) const importPrefix = "k8s.io/client-go/1.4/pkg/api" @@ -140,7 +138,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - api.AddToScheme(api.Scheme) + if err := api.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -149,103 +150,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1.SchemeGroupVersion: - v1.AddToScheme(api.Scheme) + if err := v1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } - - // This is a "fast-path" that avoids reflection for common types. It focuses on the objects that are - // converted the most in the cluster. - // TODO: generate one of these for every external API group - this is to prove the impact - api.Scheme.AddGenericConversionFunc(func(objA, objB interface{}, s conversion.Scope) (bool, error) { - switch a := objA.(type) { - case *v1.Pod: - switch b := objB.(type) { - case *api.Pod: - return true, v1.Convert_v1_Pod_To_api_Pod(a, b, s) - } - case *api.Pod: - switch b := objB.(type) { - case *v1.Pod: - return true, v1.Convert_api_Pod_To_v1_Pod(a, b, s) - } - - case *v1.Event: - switch b := objB.(type) { - case *api.Event: - return true, v1.Convert_v1_Event_To_api_Event(a, b, s) - } - case *api.Event: - switch b := objB.(type) { - case *v1.Event: - return true, v1.Convert_api_Event_To_v1_Event(a, b, s) - } - - case *v1.ReplicationController: - switch b := objB.(type) { - case *api.ReplicationController: - return true, v1.Convert_v1_ReplicationController_To_api_ReplicationController(a, b, s) - } - case *api.ReplicationController: - switch b := objB.(type) { - case *v1.ReplicationController: - return true, v1.Convert_api_ReplicationController_To_v1_ReplicationController(a, b, s) - } - - case *v1.Node: - switch b := objB.(type) { - case *api.Node: - return true, v1.Convert_v1_Node_To_api_Node(a, b, s) - } - case *api.Node: - switch b := objB.(type) { - case *v1.Node: - return true, v1.Convert_api_Node_To_v1_Node(a, b, s) - } - - case *v1.Namespace: - switch b := objB.(type) { - case *api.Namespace: - return true, v1.Convert_v1_Namespace_To_api_Namespace(a, b, s) - } - case *api.Namespace: - switch b := objB.(type) { - case *v1.Namespace: - return true, v1.Convert_api_Namespace_To_v1_Namespace(a, b, s) - } - - case *v1.Service: - switch b := objB.(type) { - case *api.Service: - return true, v1.Convert_v1_Service_To_api_Service(a, b, s) - } - case *api.Service: - switch b := objB.(type) { - case *v1.Service: - return true, v1.Convert_api_Service_To_v1_Service(a, b, s) - } - - case *v1.Endpoints: - switch b := objB.(type) { - case *api.Endpoints: - return true, v1.Convert_v1_Endpoints_To_api_Endpoints(a, b, s) - } - case *api.Endpoints: - switch b := objB.(type) { - case *v1.Endpoints: - return true, v1.Convert_api_Endpoints_To_v1_Endpoints(a, b, s) - } - - case *versioned.Event: - switch b := objB.(type) { - case *versioned.InternalEvent: - return true, versioned.Convert_versioned_Event_to_versioned_InternalEvent(a, b, s) - } - case *versioned.InternalEvent: - switch b := objB.(type) { - case *versioned.Event: - return true, versioned.Convert_versioned_InternalEvent_to_versioned_Event(a, b, s) - } - } - return false, nil - }) } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/register.go b/staging/src/k8s.io/client-go/1.4/pkg/api/register.go index a4d2e235881..00b9febd707 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/api/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/register.go @@ -23,6 +23,10 @@ import ( ) // Scheme is the default instance of runtime.Scheme to which types in the Kubernetes API are already registered. +// NOTE: If you are copying this file to start a new api group, STOP! Copy the +// extensions group instead. This Scheme is special and should appear ONLY in +// the api group, unless you really know what you're doing. +// TODO(lavalamp): make the above error impossible. var Scheme = runtime.NewScheme() // Codecs provides access to encoding and decoding for the scheme @@ -51,10 +55,29 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - if err := Scheme.AddIgnoredConversionType(&unversioned.TypeMeta{}, &unversioned.TypeMeta{}); err != nil { +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) + +func init() { + // TODO(lavalamp): move this call to scheme builder above. Can't + // remove it from here because lots of people inapropriately rely on it + // (specifically the unversioned time conversion). Can't have it in + // both places because then it gets double registered. Consequence of + // current state is that it only ever gets registered in the main + // api.Scheme, even though everyone that uses anything from unversioned + // needs these. + if err := addConversionFuncs(Scheme); err != nil { + // Programmer error. panic(err) } +} + +func addKnownTypes(scheme *runtime.Scheme) error { + if err := scheme.AddIgnoredConversionType(&unversioned.TypeMeta{}, &unversioned.TypeMeta{}); err != nil { + return err + } scheme.AddKnownTypes(SchemeGroupVersion, &Pod{}, &PodList{}, @@ -104,7 +127,7 @@ func AddToScheme(scheme *runtime.Scheme) { ) // Register Unversioned types under their own special group - Scheme.AddUnversionedTypes(Unversioned, + scheme.AddUnversionedTypes(Unversioned, &unversioned.ExportOptions{}, &unversioned.Status{}, &unversioned.APIVersions{}, @@ -112,4 +135,5 @@ func AddToScheme(scheme *runtime.Scheme) { &unversioned.APIGroup{}, &unversioned.APIResourceList{}, ) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/resource/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/api/resource/generated.pb.go index 85158a49509..76f7204ea90 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/api/resource/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/resource/generated.pb.go @@ -38,9 +38,32 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf -func (m *Quantity) Reset() { *m = Quantity{} } -func (*Quantity) ProtoMessage() {} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 + +func (m *Quantity) Reset() { *m = Quantity{} } +func (*Quantity) ProtoMessage() {} +func (*Quantity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } func init() { proto.RegisterType((*Quantity)(nil), "k8s.io.client-go.1.4.pkg.api.resource.Quantity") } + +var fileDescriptorGenerated = []byte{ + // 222 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x32, 0xca, 0xb6, 0x28, 0xd6, + 0xcb, 0xcc, 0xd7, 0xcf, 0x2e, 0x4d, 0x4a, 0x2d, 0xca, 0x4b, 0x2d, 0x49, 0x2d, 0xd6, 0x2f, 0xc8, + 0x4e, 0xd7, 0x4f, 0x2c, 0xc8, 0xd4, 0x2f, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0xd5, 0x4f, + 0x4f, 0xcd, 0x4b, 0x2d, 0x4a, 0x2c, 0x49, 0x4d, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, + 0x82, 0xe8, 0xd1, 0x43, 0xe8, 0xd1, 0x03, 0xea, 0xd1, 0x03, 0xea, 0xd1, 0x83, 0xe9, 0x91, 0xd2, + 0x4d, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xcf, 0x4f, 0xcf, 0xd7, + 0x07, 0x6b, 0x4d, 0x2a, 0x4d, 0x03, 0xf3, 0xc0, 0x1c, 0x30, 0x0b, 0x62, 0xa4, 0x94, 0x21, 0x76, + 0x67, 0x94, 0x96, 0x64, 0xe6, 0xe8, 0x67, 0xe6, 0x95, 0x14, 0x97, 0x14, 0xa1, 0xbb, 0x42, 0xc9, + 0x82, 0x8b, 0x23, 0xb0, 0x34, 0x31, 0xaf, 0x24, 0xb3, 0xa4, 0x52, 0x48, 0x8c, 0x8b, 0x0d, 0xa8, + 0x24, 0x33, 0x2f, 0x5d, 0x82, 0x51, 0x81, 0x51, 0x83, 0x33, 0x08, 0xca, 0xb3, 0x12, 0x99, 0xb1, + 0x40, 0x9e, 0xa1, 0x63, 0xa1, 0x3c, 0xc3, 0x04, 0x20, 0x5e, 0x00, 0xc4, 0x0d, 0x77, 0x14, 0x18, + 0x9c, 0xb4, 0x4e, 0x3c, 0x94, 0x63, 0xb8, 0x00, 0xc4, 0x37, 0x80, 0xb8, 0xe1, 0x91, 0x1c, 0xe3, + 0x09, 0x20, 0xbe, 0x00, 0xc4, 0x0f, 0x80, 0x78, 0xc2, 0x63, 0x39, 0x86, 0x28, 0x0e, 0x98, 0x3f, + 0x00, 0x01, 0x00, 0x00, 0xff, 0xff, 0x90, 0x1c, 0x7f, 0xff, 0x20, 0x01, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/api/types.generated.go index 2a8d566f8bb..ce1a66446b4 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/api/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/types.generated.go @@ -560,25 +560,25 @@ func (x *ObjectMeta) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym49 := z.DecBinary() + _ = yym49 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct50 := r.ContainerType() + if yyct50 == codecSelferValueTypeMap1234 { + yyl50 := r.ReadMapStart() + if yyl50 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl50, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct50 == codecSelferValueTypeArray1234 { + yyl50 := r.ReadArrayStart() + if yyl50 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl50, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -590,12 +590,12 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys51Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys51Slc + var yyhl51 bool = l >= 0 + for yyj51 := 0; ; yyj51++ { + if yyhl51 { + if yyj51 >= l { break } } else { @@ -604,10 +604,10 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys51Slc = r.DecodeBytes(yys51Slc, true, true) + yys51 := string(yys51Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys51 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -654,17 +654,17 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.CreationTimestamp = pkg2_unversioned.Time{} } else { - yyv11 := &x.CreationTimestamp - yym12 := z.DecBinary() - _ = yym12 + yyv59 := &x.CreationTimestamp + yym60 := z.DecBinary() + _ = yym60 if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else if yym12 { - z.DecBinaryUnmarshal(yyv11) - } else if !yym12 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv11) + } else if z.HasExtensions() && z.DecExt(yyv59) { + } else if yym60 { + z.DecBinaryUnmarshal(yyv59) + } else if !yym60 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv59) } else { - z.DecFallback(yyv11, false) + z.DecFallback(yyv59, false) } } case "deletionTimestamp": @@ -676,13 +676,13 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.DeletionTimestamp == nil { x.DeletionTimestamp = new(pkg2_unversioned.Time) } - yym14 := z.DecBinary() - _ = yym14 + yym62 := z.DecBinary() + _ = yym62 if false { } else if z.HasExtensions() && z.DecExt(x.DeletionTimestamp) { - } else if yym14 { + } else if yym62 { z.DecBinaryUnmarshal(x.DeletionTimestamp) - } else if !yym14 && z.IsJSONHandle() { + } else if !yym62 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.DeletionTimestamp) } else { z.DecFallback(x.DeletionTimestamp, false) @@ -697,8 +697,8 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.DeletionGracePeriodSeconds == nil { x.DeletionGracePeriodSeconds = new(int64) } - yym16 := z.DecBinary() - _ = yym16 + yym64 := z.DecBinary() + _ = yym64 if false { } else { *((*int64)(x.DeletionGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -708,54 +708,54 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv17 := &x.Labels - yym18 := z.DecBinary() - _ = yym18 + yyv65 := &x.Labels + yym66 := z.DecBinary() + _ = yym66 if false { } else { - z.F.DecMapStringStringX(yyv17, false, d) + z.F.DecMapStringStringX(yyv65, false, d) } } case "annotations": if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv19 := &x.Annotations - yym20 := z.DecBinary() - _ = yym20 + yyv67 := &x.Annotations + yym68 := z.DecBinary() + _ = yym68 if false { } else { - z.F.DecMapStringStringX(yyv19, false, d) + z.F.DecMapStringStringX(yyv67, false, d) } } case "ownerReferences": if r.TryDecodeAsNil() { x.OwnerReferences = nil } else { - yyv21 := &x.OwnerReferences - yym22 := z.DecBinary() - _ = yym22 + yyv69 := &x.OwnerReferences + yym70 := z.DecBinary() + _ = yym70 if false { } else { - h.decSliceOwnerReference((*[]OwnerReference)(yyv21), d) + h.decSliceOwnerReference((*[]OwnerReference)(yyv69), d) } } case "finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv23 := &x.Finalizers - yym24 := z.DecBinary() - _ = yym24 + yyv71 := &x.Finalizers + yym72 := z.DecBinary() + _ = yym72 if false { } else { - z.F.DecSliceStringX(yyv23, false, d) + z.F.DecSliceStringX(yyv71, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys51) + } // end switch yys51 + } // end for yyj51 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -763,16 +763,16 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj25 int - var yyb25 bool - var yyhl25 bool = l >= 0 - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + var yyj73 int + var yyb73 bool + var yyhl73 bool = l >= 0 + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -782,13 +782,13 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -798,13 +798,13 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.GenerateName = string(r.DecodeString()) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -814,13 +814,13 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Namespace = string(r.DecodeString()) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -830,13 +830,13 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SelfLink = string(r.DecodeString()) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -846,13 +846,13 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -862,13 +862,13 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -878,13 +878,13 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Generation = int64(r.DecodeInt(64)) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -892,26 +892,26 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.CreationTimestamp = pkg2_unversioned.Time{} } else { - yyv33 := &x.CreationTimestamp - yym34 := z.DecBinary() - _ = yym34 + yyv81 := &x.CreationTimestamp + yym82 := z.DecBinary() + _ = yym82 if false { - } else if z.HasExtensions() && z.DecExt(yyv33) { - } else if yym34 { - z.DecBinaryUnmarshal(yyv33) - } else if !yym34 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv33) + } else if z.HasExtensions() && z.DecExt(yyv81) { + } else if yym82 { + z.DecBinaryUnmarshal(yyv81) + } else if !yym82 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv81) } else { - z.DecFallback(yyv33, false) + z.DecFallback(yyv81, false) } } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -924,25 +924,25 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.DeletionTimestamp == nil { x.DeletionTimestamp = new(pkg2_unversioned.Time) } - yym36 := z.DecBinary() - _ = yym36 + yym84 := z.DecBinary() + _ = yym84 if false { } else if z.HasExtensions() && z.DecExt(x.DeletionTimestamp) { - } else if yym36 { + } else if yym84 { z.DecBinaryUnmarshal(x.DeletionTimestamp) - } else if !yym36 && z.IsJSONHandle() { + } else if !yym84 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.DeletionTimestamp) } else { z.DecFallback(x.DeletionTimestamp, false) } } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -955,20 +955,20 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.DeletionGracePeriodSeconds == nil { x.DeletionGracePeriodSeconds = new(int64) } - yym38 := z.DecBinary() - _ = yym38 + yym86 := z.DecBinary() + _ = yym86 if false { } else { *((*int64)(x.DeletionGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -976,21 +976,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv39 := &x.Labels - yym40 := z.DecBinary() - _ = yym40 + yyv87 := &x.Labels + yym88 := z.DecBinary() + _ = yym88 if false { } else { - z.F.DecMapStringStringX(yyv39, false, d) + z.F.DecMapStringStringX(yyv87, false, d) } } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -998,21 +998,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv41 := &x.Annotations - yym42 := z.DecBinary() - _ = yym42 + yyv89 := &x.Annotations + yym90 := z.DecBinary() + _ = yym90 if false { } else { - z.F.DecMapStringStringX(yyv41, false, d) + z.F.DecMapStringStringX(yyv89, false, d) } } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1020,21 +1020,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.OwnerReferences = nil } else { - yyv43 := &x.OwnerReferences - yym44 := z.DecBinary() - _ = yym44 + yyv91 := &x.OwnerReferences + yym92 := z.DecBinary() + _ = yym92 if false { } else { - h.decSliceOwnerReference((*[]OwnerReference)(yyv43), d) + h.decSliceOwnerReference((*[]OwnerReference)(yyv91), d) } } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1042,26 +1042,26 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv45 := &x.Finalizers - yym46 := z.DecBinary() - _ = yym46 + yyv93 := &x.Finalizers + yym94 := z.DecBinary() + _ = yym94 if false { } else { - z.F.DecSliceStringX(yyv45, false, d) + z.F.DecSliceStringX(yyv93, false, d) } } for { - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj25-1, "") + z.DecStructFieldNotFound(yyj73-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1073,53 +1073,53 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym95 := z.EncBinary() + _ = yym95 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [21]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.VolumeSource.HostPath != nil && x.HostPath != nil - yyq2[2] = x.VolumeSource.EmptyDir != nil && x.EmptyDir != nil - yyq2[3] = x.VolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil - yyq2[4] = x.VolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil - yyq2[5] = x.VolumeSource.GitRepo != nil && x.GitRepo != nil - yyq2[6] = x.VolumeSource.Secret != nil && x.Secret != nil - yyq2[7] = x.VolumeSource.NFS != nil && x.NFS != nil - yyq2[8] = x.VolumeSource.ISCSI != nil && x.ISCSI != nil - yyq2[9] = x.VolumeSource.Glusterfs != nil && x.Glusterfs != nil - yyq2[10] = x.VolumeSource.PersistentVolumeClaim != nil && x.PersistentVolumeClaim != nil - yyq2[11] = x.VolumeSource.RBD != nil && x.RBD != nil - yyq2[12] = x.VolumeSource.FlexVolume != nil && x.FlexVolume != nil - yyq2[13] = x.VolumeSource.Cinder != nil && x.Cinder != nil - yyq2[14] = x.VolumeSource.CephFS != nil && x.CephFS != nil - yyq2[15] = x.VolumeSource.Flocker != nil && x.Flocker != nil - yyq2[16] = x.VolumeSource.DownwardAPI != nil && x.DownwardAPI != nil - yyq2[17] = x.VolumeSource.FC != nil && x.FC != nil - yyq2[18] = x.VolumeSource.AzureFile != nil && x.AzureFile != nil - yyq2[19] = x.VolumeSource.ConfigMap != nil && x.ConfigMap != nil - yyq2[20] = x.VolumeSource.VsphereVolume != nil && x.VsphereVolume != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep96 := !z.EncBinary() + yy2arr96 := z.EncBasicHandle().StructToArray + var yyq96 [21]bool + _, _, _ = yysep96, yyq96, yy2arr96 + const yyr96 bool = false + yyq96[1] = x.VolumeSource.HostPath != nil && x.HostPath != nil + yyq96[2] = x.VolumeSource.EmptyDir != nil && x.EmptyDir != nil + yyq96[3] = x.VolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil + yyq96[4] = x.VolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil + yyq96[5] = x.VolumeSource.GitRepo != nil && x.GitRepo != nil + yyq96[6] = x.VolumeSource.Secret != nil && x.Secret != nil + yyq96[7] = x.VolumeSource.NFS != nil && x.NFS != nil + yyq96[8] = x.VolumeSource.ISCSI != nil && x.ISCSI != nil + yyq96[9] = x.VolumeSource.Glusterfs != nil && x.Glusterfs != nil + yyq96[10] = x.VolumeSource.PersistentVolumeClaim != nil && x.PersistentVolumeClaim != nil + yyq96[11] = x.VolumeSource.RBD != nil && x.RBD != nil + yyq96[12] = x.VolumeSource.FlexVolume != nil && x.FlexVolume != nil + yyq96[13] = x.VolumeSource.Cinder != nil && x.Cinder != nil + yyq96[14] = x.VolumeSource.CephFS != nil && x.CephFS != nil + yyq96[15] = x.VolumeSource.Flocker != nil && x.Flocker != nil + yyq96[16] = x.VolumeSource.DownwardAPI != nil && x.DownwardAPI != nil + yyq96[17] = x.VolumeSource.FC != nil && x.FC != nil + yyq96[18] = x.VolumeSource.AzureFile != nil && x.AzureFile != nil + yyq96[19] = x.VolumeSource.ConfigMap != nil && x.ConfigMap != nil + yyq96[20] = x.VolumeSource.VsphereVolume != nil && x.VsphereVolume != nil + var yynn96 int + if yyr96 || yy2arr96 { r.EncodeArrayStart(21) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn96 = 1 + for _, b := range yyq96 { if b { - yynn2++ + yynn96++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn96) + yynn96 = 0 } - if yyr2 || yy2arr2 { + if yyr96 || yy2arr96 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym98 := z.EncBinary() + _ = yym98 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -1128,25 +1128,25 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym99 := z.EncBinary() + _ = yym99 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - var yyn6 bool + var yyn100 bool if x.VolumeSource.HostPath == nil { - yyn6 = true - goto LABEL6 + yyn100 = true + goto LABEL100 } - LABEL6: - if yyr2 || yy2arr2 { - if yyn6 { + LABEL100: + if yyr96 || yy2arr96 { + if yyn100 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq96[1] { if x.HostPath == nil { r.EncodeNil() } else { @@ -1157,11 +1157,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[1] { + if yyq96[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn6 { + if yyn100 { r.EncodeNil() } else { if x.HostPath == nil { @@ -1172,18 +1172,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn9 bool + var yyn101 bool if x.VolumeSource.EmptyDir == nil { - yyn9 = true - goto LABEL9 + yyn101 = true + goto LABEL101 } - LABEL9: - if yyr2 || yy2arr2 { - if yyn9 { + LABEL101: + if yyr96 || yy2arr96 { + if yyn101 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq96[2] { if x.EmptyDir == nil { r.EncodeNil() } else { @@ -1194,11 +1194,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[2] { + if yyq96[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("emptyDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn9 { + if yyn101 { r.EncodeNil() } else { if x.EmptyDir == nil { @@ -1209,18 +1209,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn12 bool + var yyn102 bool if x.VolumeSource.GCEPersistentDisk == nil { - yyn12 = true - goto LABEL12 + yyn102 = true + goto LABEL102 } - LABEL12: - if yyr2 || yy2arr2 { - if yyn12 { + LABEL102: + if yyr96 || yy2arr96 { + if yyn102 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq96[3] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -1231,11 +1231,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[3] { + if yyq96[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn12 { + if yyn102 { r.EncodeNil() } else { if x.GCEPersistentDisk == nil { @@ -1246,18 +1246,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn15 bool + var yyn103 bool if x.VolumeSource.AWSElasticBlockStore == nil { - yyn15 = true - goto LABEL15 + yyn103 = true + goto LABEL103 } - LABEL15: - if yyr2 || yy2arr2 { - if yyn15 { + LABEL103: + if yyr96 || yy2arr96 { + if yyn103 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq96[4] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -1268,11 +1268,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[4] { + if yyq96[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn15 { + if yyn103 { r.EncodeNil() } else { if x.AWSElasticBlockStore == nil { @@ -1283,18 +1283,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn18 bool + var yyn104 bool if x.VolumeSource.GitRepo == nil { - yyn18 = true - goto LABEL18 + yyn104 = true + goto LABEL104 } - LABEL18: - if yyr2 || yy2arr2 { - if yyn18 { + LABEL104: + if yyr96 || yy2arr96 { + if yyn104 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq96[5] { if x.GitRepo == nil { r.EncodeNil() } else { @@ -1305,11 +1305,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[5] { + if yyq96[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gitRepo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn18 { + if yyn104 { r.EncodeNil() } else { if x.GitRepo == nil { @@ -1320,18 +1320,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn21 bool + var yyn105 bool if x.VolumeSource.Secret == nil { - yyn21 = true - goto LABEL21 + yyn105 = true + goto LABEL105 } - LABEL21: - if yyr2 || yy2arr2 { - if yyn21 { + LABEL105: + if yyr96 || yy2arr96 { + if yyn105 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq96[6] { if x.Secret == nil { r.EncodeNil() } else { @@ -1342,11 +1342,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[6] { + if yyq96[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secret")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn21 { + if yyn105 { r.EncodeNil() } else { if x.Secret == nil { @@ -1357,18 +1357,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn24 bool + var yyn106 bool if x.VolumeSource.NFS == nil { - yyn24 = true - goto LABEL24 + yyn106 = true + goto LABEL106 } - LABEL24: - if yyr2 || yy2arr2 { - if yyn24 { + LABEL106: + if yyr96 || yy2arr96 { + if yyn106 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq96[7] { if x.NFS == nil { r.EncodeNil() } else { @@ -1379,11 +1379,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[7] { + if yyq96[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn24 { + if yyn106 { r.EncodeNil() } else { if x.NFS == nil { @@ -1394,18 +1394,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn27 bool + var yyn107 bool if x.VolumeSource.ISCSI == nil { - yyn27 = true - goto LABEL27 + yyn107 = true + goto LABEL107 } - LABEL27: - if yyr2 || yy2arr2 { - if yyn27 { + LABEL107: + if yyr96 || yy2arr96 { + if yyn107 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { + if yyq96[8] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -1416,11 +1416,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[8] { + if yyq96[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn27 { + if yyn107 { r.EncodeNil() } else { if x.ISCSI == nil { @@ -1431,18 +1431,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn30 bool + var yyn108 bool if x.VolumeSource.Glusterfs == nil { - yyn30 = true - goto LABEL30 + yyn108 = true + goto LABEL108 } - LABEL30: - if yyr2 || yy2arr2 { - if yyn30 { + LABEL108: + if yyr96 || yy2arr96 { + if yyn108 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { + if yyq96[9] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -1453,11 +1453,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[9] { + if yyq96[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn30 { + if yyn108 { r.EncodeNil() } else { if x.Glusterfs == nil { @@ -1468,18 +1468,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn33 bool + var yyn109 bool if x.VolumeSource.PersistentVolumeClaim == nil { - yyn33 = true - goto LABEL33 + yyn109 = true + goto LABEL109 } - LABEL33: - if yyr2 || yy2arr2 { - if yyn33 { + LABEL109: + if yyr96 || yy2arr96 { + if yyn109 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { + if yyq96[10] { if x.PersistentVolumeClaim == nil { r.EncodeNil() } else { @@ -1490,11 +1490,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[10] { + if yyq96[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeClaim")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn33 { + if yyn109 { r.EncodeNil() } else { if x.PersistentVolumeClaim == nil { @@ -1505,18 +1505,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn36 bool + var yyn110 bool if x.VolumeSource.RBD == nil { - yyn36 = true - goto LABEL36 + yyn110 = true + goto LABEL110 } - LABEL36: - if yyr2 || yy2arr2 { - if yyn36 { + LABEL110: + if yyr96 || yy2arr96 { + if yyn110 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { + if yyq96[11] { if x.RBD == nil { r.EncodeNil() } else { @@ -1527,11 +1527,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[11] { + if yyq96[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn36 { + if yyn110 { r.EncodeNil() } else { if x.RBD == nil { @@ -1542,18 +1542,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn39 bool + var yyn111 bool if x.VolumeSource.FlexVolume == nil { - yyn39 = true - goto LABEL39 + yyn111 = true + goto LABEL111 } - LABEL39: - if yyr2 || yy2arr2 { - if yyn39 { + LABEL111: + if yyr96 || yy2arr96 { + if yyn111 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { + if yyq96[12] { if x.FlexVolume == nil { r.EncodeNil() } else { @@ -1564,11 +1564,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[12] { + if yyq96[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn39 { + if yyn111 { r.EncodeNil() } else { if x.FlexVolume == nil { @@ -1579,18 +1579,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn42 bool + var yyn112 bool if x.VolumeSource.Cinder == nil { - yyn42 = true - goto LABEL42 + yyn112 = true + goto LABEL112 } - LABEL42: - if yyr2 || yy2arr2 { - if yyn42 { + LABEL112: + if yyr96 || yy2arr96 { + if yyn112 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { + if yyq96[13] { if x.Cinder == nil { r.EncodeNil() } else { @@ -1601,11 +1601,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[13] { + if yyq96[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn42 { + if yyn112 { r.EncodeNil() } else { if x.Cinder == nil { @@ -1616,18 +1616,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn45 bool + var yyn113 bool if x.VolumeSource.CephFS == nil { - yyn45 = true - goto LABEL45 + yyn113 = true + goto LABEL113 } - LABEL45: - if yyr2 || yy2arr2 { - if yyn45 { + LABEL113: + if yyr96 || yy2arr96 { + if yyn113 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[14] { + if yyq96[14] { if x.CephFS == nil { r.EncodeNil() } else { @@ -1638,11 +1638,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[14] { + if yyq96[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn45 { + if yyn113 { r.EncodeNil() } else { if x.CephFS == nil { @@ -1653,18 +1653,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn48 bool + var yyn114 bool if x.VolumeSource.Flocker == nil { - yyn48 = true - goto LABEL48 + yyn114 = true + goto LABEL114 } - LABEL48: - if yyr2 || yy2arr2 { - if yyn48 { + LABEL114: + if yyr96 || yy2arr96 { + if yyn114 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[15] { + if yyq96[15] { if x.Flocker == nil { r.EncodeNil() } else { @@ -1675,11 +1675,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[15] { + if yyq96[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn48 { + if yyn114 { r.EncodeNil() } else { if x.Flocker == nil { @@ -1690,18 +1690,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn51 bool + var yyn115 bool if x.VolumeSource.DownwardAPI == nil { - yyn51 = true - goto LABEL51 + yyn115 = true + goto LABEL115 } - LABEL51: - if yyr2 || yy2arr2 { - if yyn51 { + LABEL115: + if yyr96 || yy2arr96 { + if yyn115 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[16] { + if yyq96[16] { if x.DownwardAPI == nil { r.EncodeNil() } else { @@ -1712,11 +1712,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[16] { + if yyq96[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("downwardAPI")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn51 { + if yyn115 { r.EncodeNil() } else { if x.DownwardAPI == nil { @@ -1727,18 +1727,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn54 bool + var yyn116 bool if x.VolumeSource.FC == nil { - yyn54 = true - goto LABEL54 + yyn116 = true + goto LABEL116 } - LABEL54: - if yyr2 || yy2arr2 { - if yyn54 { + LABEL116: + if yyr96 || yy2arr96 { + if yyn116 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[17] { + if yyq96[17] { if x.FC == nil { r.EncodeNil() } else { @@ -1749,11 +1749,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[17] { + if yyq96[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn54 { + if yyn116 { r.EncodeNil() } else { if x.FC == nil { @@ -1764,18 +1764,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn57 bool + var yyn117 bool if x.VolumeSource.AzureFile == nil { - yyn57 = true - goto LABEL57 + yyn117 = true + goto LABEL117 } - LABEL57: - if yyr2 || yy2arr2 { - if yyn57 { + LABEL117: + if yyr96 || yy2arr96 { + if yyn117 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[18] { + if yyq96[18] { if x.AzureFile == nil { r.EncodeNil() } else { @@ -1786,11 +1786,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[18] { + if yyq96[18] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("azureFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn57 { + if yyn117 { r.EncodeNil() } else { if x.AzureFile == nil { @@ -1801,18 +1801,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn60 bool + var yyn118 bool if x.VolumeSource.ConfigMap == nil { - yyn60 = true - goto LABEL60 + yyn118 = true + goto LABEL118 } - LABEL60: - if yyr2 || yy2arr2 { - if yyn60 { + LABEL118: + if yyr96 || yy2arr96 { + if yyn118 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[19] { + if yyq96[19] { if x.ConfigMap == nil { r.EncodeNil() } else { @@ -1823,11 +1823,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[19] { + if yyq96[19] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configMap")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn60 { + if yyn118 { r.EncodeNil() } else { if x.ConfigMap == nil { @@ -1838,18 +1838,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn63 bool + var yyn119 bool if x.VolumeSource.VsphereVolume == nil { - yyn63 = true - goto LABEL63 + yyn119 = true + goto LABEL119 } - LABEL63: - if yyr2 || yy2arr2 { - if yyn63 { + LABEL119: + if yyr96 || yy2arr96 { + if yyn119 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[20] { + if yyq96[20] { if x.VsphereVolume == nil { r.EncodeNil() } else { @@ -1860,11 +1860,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[20] { + if yyq96[20] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("vsphereVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn63 { + if yyn119 { r.EncodeNil() } else { if x.VsphereVolume == nil { @@ -1875,7 +1875,7 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr96 || yy2arr96 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1888,25 +1888,25 @@ func (x *Volume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym120 := z.DecBinary() + _ = yym120 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct121 := r.ContainerType() + if yyct121 == codecSelferValueTypeMap1234 { + yyl121 := r.ReadMapStart() + if yyl121 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl121, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct121 == codecSelferValueTypeArray1234 { + yyl121 := r.ReadArrayStart() + if yyl121 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl121, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1918,12 +1918,12 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys122Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys122Slc + var yyhl122 bool = l >= 0 + for yyj122 := 0; ; yyj122++ { + if yyhl122 { + if yyj122 >= l { break } } else { @@ -1932,10 +1932,10 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys122Slc = r.DecodeBytes(yys122Slc, true, true) + yys122 := string(yys122Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys122 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -2223,9 +2223,9 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.VsphereVolume.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys122) + } // end switch yys122 + } // end for yyj122 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2233,16 +2233,16 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj25 int - var yyb25 bool - var yyhl25 bool = l >= 0 - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + var yyj144 int + var yyb144 bool + var yyhl144 bool = l >= 0 + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2255,13 +2255,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.HostPath == nil { x.VolumeSource.HostPath = new(HostPathVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2279,13 +2279,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.EmptyDir == nil { x.VolumeSource.EmptyDir = new(EmptyDirVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2303,13 +2303,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.GCEPersistentDisk == nil { x.VolumeSource.GCEPersistentDisk = new(GCEPersistentDiskVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2327,13 +2327,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.AWSElasticBlockStore == nil { x.VolumeSource.AWSElasticBlockStore = new(AWSElasticBlockStoreVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2351,13 +2351,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.GitRepo == nil { x.VolumeSource.GitRepo = new(GitRepoVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2375,13 +2375,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Secret == nil { x.VolumeSource.Secret = new(SecretVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2399,13 +2399,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.NFS == nil { x.VolumeSource.NFS = new(NFSVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2423,13 +2423,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.ISCSI == nil { x.VolumeSource.ISCSI = new(ISCSIVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2447,13 +2447,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Glusterfs == nil { x.VolumeSource.Glusterfs = new(GlusterfsVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2471,13 +2471,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.PersistentVolumeClaim == nil { x.VolumeSource.PersistentVolumeClaim = new(PersistentVolumeClaimVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2495,13 +2495,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.RBD == nil { x.VolumeSource.RBD = new(RBDVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2519,13 +2519,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.FlexVolume == nil { x.VolumeSource.FlexVolume = new(FlexVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2543,13 +2543,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Cinder == nil { x.VolumeSource.Cinder = new(CinderVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2567,13 +2567,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.CephFS == nil { x.VolumeSource.CephFS = new(CephFSVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2591,13 +2591,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Flocker == nil { x.VolumeSource.Flocker = new(FlockerVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2615,13 +2615,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.DownwardAPI == nil { x.VolumeSource.DownwardAPI = new(DownwardAPIVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2639,13 +2639,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.FC == nil { x.VolumeSource.FC = new(FCVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2663,13 +2663,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.AzureFile == nil { x.VolumeSource.AzureFile = new(AzureFileVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2687,13 +2687,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.ConfigMap == nil { x.VolumeSource.ConfigMap = new(ConfigMapVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2711,13 +2711,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.VsphereVolume == nil { x.VolumeSource.VsphereVolume = new(VsphereVirtualDiskVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2733,17 +2733,17 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.VsphereVolume.CodecDecodeSelf(d) } for { - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj25-1, "") + z.DecStructFieldNotFound(yyj144-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2755,52 +2755,52 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym166 := z.EncBinary() + _ = yym166 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [20]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.HostPath != nil - yyq2[1] = x.EmptyDir != nil - yyq2[2] = x.GCEPersistentDisk != nil - yyq2[3] = x.AWSElasticBlockStore != nil - yyq2[4] = x.GitRepo != nil - yyq2[5] = x.Secret != nil - yyq2[6] = x.NFS != nil - yyq2[7] = x.ISCSI != nil - yyq2[8] = x.Glusterfs != nil - yyq2[9] = x.PersistentVolumeClaim != nil - yyq2[10] = x.RBD != nil - yyq2[11] = x.FlexVolume != nil - yyq2[12] = x.Cinder != nil - yyq2[13] = x.CephFS != nil - yyq2[14] = x.Flocker != nil - yyq2[15] = x.DownwardAPI != nil - yyq2[16] = x.FC != nil - yyq2[17] = x.AzureFile != nil - yyq2[18] = x.ConfigMap != nil - yyq2[19] = x.VsphereVolume != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep167 := !z.EncBinary() + yy2arr167 := z.EncBasicHandle().StructToArray + var yyq167 [20]bool + _, _, _ = yysep167, yyq167, yy2arr167 + const yyr167 bool = false + yyq167[0] = x.HostPath != nil + yyq167[1] = x.EmptyDir != nil + yyq167[2] = x.GCEPersistentDisk != nil + yyq167[3] = x.AWSElasticBlockStore != nil + yyq167[4] = x.GitRepo != nil + yyq167[5] = x.Secret != nil + yyq167[6] = x.NFS != nil + yyq167[7] = x.ISCSI != nil + yyq167[8] = x.Glusterfs != nil + yyq167[9] = x.PersistentVolumeClaim != nil + yyq167[10] = x.RBD != nil + yyq167[11] = x.FlexVolume != nil + yyq167[12] = x.Cinder != nil + yyq167[13] = x.CephFS != nil + yyq167[14] = x.Flocker != nil + yyq167[15] = x.DownwardAPI != nil + yyq167[16] = x.FC != nil + yyq167[17] = x.AzureFile != nil + yyq167[18] = x.ConfigMap != nil + yyq167[19] = x.VsphereVolume != nil + var yynn167 int + if yyr167 || yy2arr167 { r.EncodeArrayStart(20) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn167 = 0 + for _, b := range yyq167 { if b { - yynn2++ + yynn167++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn167) + yynn167 = 0 } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq167[0] { if x.HostPath == nil { r.EncodeNil() } else { @@ -2810,7 +2810,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq167[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2821,9 +2821,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq167[1] { if x.EmptyDir == nil { r.EncodeNil() } else { @@ -2833,7 +2833,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq167[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("emptyDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2844,9 +2844,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq167[2] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -2856,7 +2856,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq167[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2867,9 +2867,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq167[3] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -2879,7 +2879,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq167[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2890,9 +2890,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq167[4] { if x.GitRepo == nil { r.EncodeNil() } else { @@ -2902,7 +2902,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq167[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gitRepo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2913,9 +2913,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq167[5] { if x.Secret == nil { r.EncodeNil() } else { @@ -2925,7 +2925,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[5] { + if yyq167[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secret")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2936,9 +2936,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq167[6] { if x.NFS == nil { r.EncodeNil() } else { @@ -2948,7 +2948,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[6] { + if yyq167[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2959,9 +2959,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq167[7] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -2971,7 +2971,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[7] { + if yyq167[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2982,9 +2982,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { + if yyq167[8] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -2994,7 +2994,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[8] { + if yyq167[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3005,9 +3005,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { + if yyq167[9] { if x.PersistentVolumeClaim == nil { r.EncodeNil() } else { @@ -3017,7 +3017,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[9] { + if yyq167[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeClaim")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3028,9 +3028,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { + if yyq167[10] { if x.RBD == nil { r.EncodeNil() } else { @@ -3040,7 +3040,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[10] { + if yyq167[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3051,9 +3051,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { + if yyq167[11] { if x.FlexVolume == nil { r.EncodeNil() } else { @@ -3063,7 +3063,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[11] { + if yyq167[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3074,9 +3074,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { + if yyq167[12] { if x.Cinder == nil { r.EncodeNil() } else { @@ -3086,7 +3086,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[12] { + if yyq167[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3097,9 +3097,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { + if yyq167[13] { if x.CephFS == nil { r.EncodeNil() } else { @@ -3109,7 +3109,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[13] { + if yyq167[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3120,9 +3120,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[14] { + if yyq167[14] { if x.Flocker == nil { r.EncodeNil() } else { @@ -3132,7 +3132,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[14] { + if yyq167[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3143,9 +3143,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[15] { + if yyq167[15] { if x.DownwardAPI == nil { r.EncodeNil() } else { @@ -3155,7 +3155,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[15] { + if yyq167[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("downwardAPI")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3166,9 +3166,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[16] { + if yyq167[16] { if x.FC == nil { r.EncodeNil() } else { @@ -3178,7 +3178,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[16] { + if yyq167[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3189,9 +3189,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[17] { + if yyq167[17] { if x.AzureFile == nil { r.EncodeNil() } else { @@ -3201,7 +3201,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[17] { + if yyq167[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("azureFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3212,9 +3212,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[18] { + if yyq167[18] { if x.ConfigMap == nil { r.EncodeNil() } else { @@ -3224,7 +3224,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[18] { + if yyq167[18] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configMap")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3235,9 +3235,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[19] { + if yyq167[19] { if x.VsphereVolume == nil { r.EncodeNil() } else { @@ -3247,7 +3247,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[19] { + if yyq167[19] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("vsphereVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3258,7 +3258,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3271,25 +3271,25 @@ func (x *VolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym188 := z.DecBinary() + _ = yym188 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct189 := r.ContainerType() + if yyct189 == codecSelferValueTypeMap1234 { + yyl189 := r.ReadMapStart() + if yyl189 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl189, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct189 == codecSelferValueTypeArray1234 { + yyl189 := r.ReadArrayStart() + if yyl189 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl189, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3301,12 +3301,12 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys190Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys190Slc + var yyhl190 bool = l >= 0 + for yyj190 := 0; ; yyj190++ { + if yyhl190 { + if yyj190 >= l { break } } else { @@ -3315,10 +3315,10 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys190Slc = r.DecodeBytes(yys190Slc, true, true) + yys190 := string(yys190Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys190 { case "hostPath": if r.TryDecodeAsNil() { if x.HostPath != nil { @@ -3540,9 +3540,9 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.VsphereVolume.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys190) + } // end switch yys190 + } // end for yyj190 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3550,16 +3550,16 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj24 int - var yyb24 bool - var yyhl24 bool = l >= 0 - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + var yyj211 int + var yyb211 bool + var yyhl211 bool = l >= 0 + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3574,13 +3574,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HostPath.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3595,13 +3595,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.EmptyDir.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3616,13 +3616,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.GCEPersistentDisk.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3637,13 +3637,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.AWSElasticBlockStore.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3658,13 +3658,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.GitRepo.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3679,13 +3679,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Secret.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3700,13 +3700,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.NFS.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3721,13 +3721,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ISCSI.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3742,13 +3742,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Glusterfs.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3763,13 +3763,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PersistentVolumeClaim.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3784,13 +3784,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RBD.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3805,13 +3805,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FlexVolume.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3826,13 +3826,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Cinder.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3847,13 +3847,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.CephFS.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3868,13 +3868,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Flocker.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3889,13 +3889,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.DownwardAPI.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3910,13 +3910,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FC.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3931,13 +3931,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.AzureFile.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3952,13 +3952,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ConfigMap.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3974,17 +3974,17 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.VsphereVolume.CodecDecodeSelf(d) } for { - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj24-1, "") + z.DecStructFieldNotFound(yyj211-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3996,46 +3996,46 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym232 := z.EncBinary() + _ = yym232 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [14]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.GCEPersistentDisk != nil - yyq2[1] = x.AWSElasticBlockStore != nil - yyq2[2] = x.HostPath != nil - yyq2[3] = x.Glusterfs != nil - yyq2[4] = x.NFS != nil - yyq2[5] = x.RBD != nil - yyq2[6] = x.ISCSI != nil - yyq2[7] = x.FlexVolume != nil - yyq2[8] = x.Cinder != nil - yyq2[9] = x.CephFS != nil - yyq2[10] = x.FC != nil - yyq2[11] = x.Flocker != nil - yyq2[12] = x.AzureFile != nil - yyq2[13] = x.VsphereVolume != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep233 := !z.EncBinary() + yy2arr233 := z.EncBasicHandle().StructToArray + var yyq233 [14]bool + _, _, _ = yysep233, yyq233, yy2arr233 + const yyr233 bool = false + yyq233[0] = x.GCEPersistentDisk != nil + yyq233[1] = x.AWSElasticBlockStore != nil + yyq233[2] = x.HostPath != nil + yyq233[3] = x.Glusterfs != nil + yyq233[4] = x.NFS != nil + yyq233[5] = x.RBD != nil + yyq233[6] = x.ISCSI != nil + yyq233[7] = x.FlexVolume != nil + yyq233[8] = x.Cinder != nil + yyq233[9] = x.CephFS != nil + yyq233[10] = x.FC != nil + yyq233[11] = x.Flocker != nil + yyq233[12] = x.AzureFile != nil + yyq233[13] = x.VsphereVolume != nil + var yynn233 int + if yyr233 || yy2arr233 { r.EncodeArrayStart(14) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn233 = 0 + for _, b := range yyq233 { if b { - yynn2++ + yynn233++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn233) + yynn233 = 0 } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq233[0] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -4045,7 +4045,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq233[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4056,9 +4056,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq233[1] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -4068,7 +4068,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq233[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4079,9 +4079,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq233[2] { if x.HostPath == nil { r.EncodeNil() } else { @@ -4091,7 +4091,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq233[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4102,9 +4102,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq233[3] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -4114,7 +4114,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq233[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4125,9 +4125,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq233[4] { if x.NFS == nil { r.EncodeNil() } else { @@ -4137,7 +4137,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq233[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4148,9 +4148,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq233[5] { if x.RBD == nil { r.EncodeNil() } else { @@ -4160,7 +4160,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[5] { + if yyq233[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4171,9 +4171,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq233[6] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -4183,7 +4183,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[6] { + if yyq233[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4194,9 +4194,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq233[7] { if x.FlexVolume == nil { r.EncodeNil() } else { @@ -4206,7 +4206,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[7] { + if yyq233[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4217,9 +4217,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { + if yyq233[8] { if x.Cinder == nil { r.EncodeNil() } else { @@ -4229,7 +4229,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[8] { + if yyq233[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4240,9 +4240,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { + if yyq233[9] { if x.CephFS == nil { r.EncodeNil() } else { @@ -4252,7 +4252,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[9] { + if yyq233[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4263,9 +4263,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { + if yyq233[10] { if x.FC == nil { r.EncodeNil() } else { @@ -4275,7 +4275,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[10] { + if yyq233[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4286,9 +4286,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { + if yyq233[11] { if x.Flocker == nil { r.EncodeNil() } else { @@ -4298,7 +4298,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[11] { + if yyq233[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4309,9 +4309,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { + if yyq233[12] { if x.AzureFile == nil { r.EncodeNil() } else { @@ -4321,7 +4321,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[12] { + if yyq233[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("azureFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4332,9 +4332,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { + if yyq233[13] { if x.VsphereVolume == nil { r.EncodeNil() } else { @@ -4344,7 +4344,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[13] { + if yyq233[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("vsphereVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4355,7 +4355,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4368,25 +4368,25 @@ func (x *PersistentVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym248 := z.DecBinary() + _ = yym248 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct249 := r.ContainerType() + if yyct249 == codecSelferValueTypeMap1234 { + yyl249 := r.ReadMapStart() + if yyl249 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl249, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct249 == codecSelferValueTypeArray1234 { + yyl249 := r.ReadArrayStart() + if yyl249 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl249, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4398,12 +4398,12 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys250Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys250Slc + var yyhl250 bool = l >= 0 + for yyj250 := 0; ; yyj250++ { + if yyhl250 { + if yyj250 >= l { break } } else { @@ -4412,10 +4412,10 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys250Slc = r.DecodeBytes(yys250Slc, true, true) + yys250 := string(yys250Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys250 { case "gcePersistentDisk": if r.TryDecodeAsNil() { if x.GCEPersistentDisk != nil { @@ -4571,9 +4571,9 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.VsphereVolume.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys250) + } // end switch yys250 + } // end for yyj250 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4581,16 +4581,16 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj18 int - var yyb18 bool - var yyhl18 bool = l >= 0 - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + var yyj265 int + var yyb265 bool + var yyhl265 bool = l >= 0 + yyj265++ + if yyhl265 { + yyb265 = yyj265 > l } else { - yyb18 = r.CheckBreak() + yyb265 = r.CheckBreak() } - if yyb18 { + if yyb265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4605,13 +4605,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.GCEPersistentDisk.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj265++ + if yyhl265 { + yyb265 = yyj265 > l } else { - yyb18 = r.CheckBreak() + yyb265 = r.CheckBreak() } - if yyb18 { + if yyb265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4626,13 +4626,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.AWSElasticBlockStore.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj265++ + if yyhl265 { + yyb265 = yyj265 > l } else { - yyb18 = r.CheckBreak() + yyb265 = r.CheckBreak() } - if yyb18 { + if yyb265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4647,13 +4647,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.HostPath.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj265++ + if yyhl265 { + yyb265 = yyj265 > l } else { - yyb18 = r.CheckBreak() + yyb265 = r.CheckBreak() } - if yyb18 { + if yyb265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4668,13 +4668,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Glusterfs.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj265++ + if yyhl265 { + yyb265 = yyj265 > l } else { - yyb18 = r.CheckBreak() + yyb265 = r.CheckBreak() } - if yyb18 { + if yyb265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4689,13 +4689,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.NFS.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj265++ + if yyhl265 { + yyb265 = yyj265 > l } else { - yyb18 = r.CheckBreak() + yyb265 = r.CheckBreak() } - if yyb18 { + if yyb265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4710,13 +4710,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.RBD.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj265++ + if yyhl265 { + yyb265 = yyj265 > l } else { - yyb18 = r.CheckBreak() + yyb265 = r.CheckBreak() } - if yyb18 { + if yyb265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4731,13 +4731,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.ISCSI.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj265++ + if yyhl265 { + yyb265 = yyj265 > l } else { - yyb18 = r.CheckBreak() + yyb265 = r.CheckBreak() } - if yyb18 { + if yyb265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4752,13 +4752,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.FlexVolume.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj265++ + if yyhl265 { + yyb265 = yyj265 > l } else { - yyb18 = r.CheckBreak() + yyb265 = r.CheckBreak() } - if yyb18 { + if yyb265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4773,13 +4773,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Cinder.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj265++ + if yyhl265 { + yyb265 = yyj265 > l } else { - yyb18 = r.CheckBreak() + yyb265 = r.CheckBreak() } - if yyb18 { + if yyb265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4794,13 +4794,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.CephFS.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj265++ + if yyhl265 { + yyb265 = yyj265 > l } else { - yyb18 = r.CheckBreak() + yyb265 = r.CheckBreak() } - if yyb18 { + if yyb265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4815,13 +4815,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.FC.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj265++ + if yyhl265 { + yyb265 = yyj265 > l } else { - yyb18 = r.CheckBreak() + yyb265 = r.CheckBreak() } - if yyb18 { + if yyb265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4836,13 +4836,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Flocker.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj265++ + if yyhl265 { + yyb265 = yyj265 > l } else { - yyb18 = r.CheckBreak() + yyb265 = r.CheckBreak() } - if yyb18 { + if yyb265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4857,13 +4857,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.AzureFile.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj265++ + if yyhl265 { + yyb265 = yyj265 > l } else { - yyb18 = r.CheckBreak() + yyb265 = r.CheckBreak() } - if yyb18 { + if yyb265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4879,17 +4879,17 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De x.VsphereVolume.CodecDecodeSelf(d) } for { - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj265++ + if yyhl265 { + yyb265 = yyj265 > l } else { - yyb18 = r.CheckBreak() + yyb265 = r.CheckBreak() } - if yyb18 { + if yyb265 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj18-1, "") + z.DecStructFieldNotFound(yyj265-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4901,34 +4901,34 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym280 := z.EncBinary() + _ = yym280 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep281 := !z.EncBinary() + yy2arr281 := z.EncBasicHandle().StructToArray + var yyq281 [2]bool + _, _, _ = yysep281, yyq281, yy2arr281 + const yyr281 bool = false + yyq281[1] = x.ReadOnly != false + var yynn281 int + if yyr281 || yy2arr281 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn281 = 1 + for _, b := range yyq281 { if b { - yynn2++ + yynn281++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn281) + yynn281 = 0 } - if yyr2 || yy2arr2 { + if yyr281 || yy2arr281 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym283 := z.EncBinary() + _ = yym283 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClaimName)) @@ -4937,18 +4937,18 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("claimName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym284 := z.EncBinary() + _ = yym284 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClaimName)) } } - if yyr2 || yy2arr2 { + if yyr281 || yy2arr281 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq281[1] { + yym286 := z.EncBinary() + _ = yym286 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -4957,19 +4957,19 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder r.EncodeBool(false) } } else { - if yyq2[1] { + if yyq281[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym287 := z.EncBinary() + _ = yym287 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr281 || yy2arr281 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4982,25 +4982,25 @@ func (x *PersistentVolumeClaimVolumeSource) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym288 := z.DecBinary() + _ = yym288 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct289 := r.ContainerType() + if yyct289 == codecSelferValueTypeMap1234 { + yyl289 := r.ReadMapStart() + if yyl289 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl289, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct289 == codecSelferValueTypeArray1234 { + yyl289 := r.ReadArrayStart() + if yyl289 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl289, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5012,12 +5012,12 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys290Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys290Slc + var yyhl290 bool = l >= 0 + for yyj290 := 0; ; yyj290++ { + if yyhl290 { + if yyj290 >= l { break } } else { @@ -5026,10 +5026,10 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys290Slc = r.DecodeBytes(yys290Slc, true, true) + yys290 := string(yys290Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys290 { case "claimName": if r.TryDecodeAsNil() { x.ClaimName = "" @@ -5043,9 +5043,9 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys290) + } // end switch yys290 + } // end for yyj290 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5053,16 +5053,16 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj293 int + var yyb293 bool + var yyhl293 bool = l >= 0 + yyj293++ + if yyhl293 { + yyb293 = yyj293 > l } else { - yyb6 = r.CheckBreak() + yyb293 = r.CheckBreak() } - if yyb6 { + if yyb293 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5072,13 +5072,13 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c } else { x.ClaimName = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj293++ + if yyhl293 { + yyb293 = yyj293 > l } else { - yyb6 = r.CheckBreak() + yyb293 = r.CheckBreak() } - if yyb6 { + if yyb293 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5089,17 +5089,17 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c x.ReadOnly = bool(r.DecodeBool()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj293++ + if yyhl293 { + yyb293 = yyj293 > l } else { - yyb6 = r.CheckBreak() + yyb293 = r.CheckBreak() } - if yyb6 { + if yyb293 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj293-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5111,90 +5111,39 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym296 := z.EncBinary() + _ = yym296 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep297 := !z.EncBinary() + yy2arr297 := z.EncBasicHandle().StructToArray + var yyq297 [5]bool + _, _, _ = yysep297, yyq297, yy2arr297 + const yyr297 bool = false + yyq297[0] = x.Kind != "" + yyq297[1] = x.APIVersion != "" + yyq297[2] = true + yyq297[3] = true + yyq297[4] = true + var yynn297 int + if yyr297 || yy2arr297 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn297 = 0 + for _, b := range yyq297 { if b { - yynn2++ + yynn297++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn297) + yynn297 = 0 } - if yyr2 || yy2arr2 { + if yyr297 || yy2arr297 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq297[0] { + yym299 := z.EncBinary() + _ = yym299 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -5203,23 +5152,23 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq297[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym300 := z.EncBinary() + _ = yym300 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr297 || yy2arr297 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq297[1] { + yym302 := z.EncBinary() + _ = yym302 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -5228,19 +5177,70 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq297[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym303 := z.EncBinary() + _ = yym303 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr297 || yy2arr297 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq297[2] { + yy305 := &x.ObjectMeta + yy305.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq297[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy306 := &x.ObjectMeta + yy306.CodecEncodeSelf(e) + } + } + if yyr297 || yy2arr297 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq297[3] { + yy308 := &x.Spec + yy308.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq297[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy309 := &x.Spec + yy309.CodecEncodeSelf(e) + } + } + if yyr297 || yy2arr297 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq297[4] { + yy311 := &x.Status + yy311.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq297[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy312 := &x.Status + yy312.CodecEncodeSelf(e) + } + } + if yyr297 || yy2arr297 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5253,25 +5253,25 @@ func (x *PersistentVolume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym313 := z.DecBinary() + _ = yym313 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct314 := r.ContainerType() + if yyct314 == codecSelferValueTypeMap1234 { + yyl314 := r.ReadMapStart() + if yyl314 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl314, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct314 == codecSelferValueTypeArray1234 { + yyl314 := r.ReadArrayStart() + if yyl314 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl314, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5283,12 +5283,12 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys315Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys315Slc + var yyhl315 bool = l >= 0 + for yyj315 := 0; ; yyj315++ { + if yyhl315 { + if yyj315 >= l { break } } else { @@ -5297,31 +5297,10 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys315Slc = r.DecodeBytes(yys315Slc, true, true) + yys315 := string(yys315Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = PersistentVolumeSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = PersistentVolumeStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys315 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -5334,10 +5313,31 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv318 := &x.ObjectMeta + yyv318.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = PersistentVolumeSpec{} + } else { + yyv319 := &x.Spec + yyv319.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = PersistentVolumeStatus{} + } else { + yyv320 := &x.Status + yyv320.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys315) + } // end switch yys315 + } // end for yyj315 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5345,67 +5345,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj321 int + var yyb321 bool + var yyhl321 bool = l >= 0 + yyj321++ + if yyhl321 { + yyb321 = yyj321 > l } else { - yyb9 = r.CheckBreak() + yyb321 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = PersistentVolumeSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = PersistentVolumeStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5415,13 +5364,13 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj321++ + if yyhl321 { + yyb321 = yyj321 > l } else { - yyb9 = r.CheckBreak() + yyb321 = r.CheckBreak() } - if yyb9 { + if yyb321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5431,18 +5380,69 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + yyj321++ + if yyhl321 { + yyb321 = yyj321 > l + } else { + yyb321 = r.CheckBreak() + } + if yyb321 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv324 := &x.ObjectMeta + yyv324.CodecDecodeSelf(d) + } + yyj321++ + if yyhl321 { + yyb321 = yyj321 > l + } else { + yyb321 = r.CheckBreak() + } + if yyb321 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = PersistentVolumeSpec{} + } else { + yyv325 := &x.Spec + yyv325.CodecDecodeSelf(d) + } + yyj321++ + if yyhl321 { + yyb321 = yyj321 > l + } else { + yyb321 = r.CheckBreak() + } + if yyb321 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = PersistentVolumeStatus{} + } else { + yyv326 := &x.Status + yyv326.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj321++ + if yyhl321 { + yyb321 = yyj321 > l } else { - yyb9 = r.CheckBreak() + yyb321 = r.CheckBreak() } - if yyb9 { + if yyb321 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj321-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5454,47 +5454,47 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym327 := z.EncBinary() + _ = yym327 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [18]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = len(x.AccessModes) != 0 - yyq2[2] = x.ClaimRef != nil - yyq2[3] = x.PersistentVolumeReclaimPolicy != "" - yyq2[4] = x.PersistentVolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil - yyq2[5] = x.PersistentVolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil - yyq2[6] = x.PersistentVolumeSource.HostPath != nil && x.HostPath != nil - yyq2[7] = x.PersistentVolumeSource.Glusterfs != nil && x.Glusterfs != nil - yyq2[8] = x.PersistentVolumeSource.NFS != nil && x.NFS != nil - yyq2[9] = x.PersistentVolumeSource.RBD != nil && x.RBD != nil - yyq2[10] = x.PersistentVolumeSource.ISCSI != nil && x.ISCSI != nil - yyq2[11] = x.PersistentVolumeSource.FlexVolume != nil && x.FlexVolume != nil - yyq2[12] = x.PersistentVolumeSource.Cinder != nil && x.Cinder != nil - yyq2[13] = x.PersistentVolumeSource.CephFS != nil && x.CephFS != nil - yyq2[14] = x.PersistentVolumeSource.FC != nil && x.FC != nil - yyq2[15] = x.PersistentVolumeSource.Flocker != nil && x.Flocker != nil - yyq2[16] = x.PersistentVolumeSource.AzureFile != nil && x.AzureFile != nil - yyq2[17] = x.PersistentVolumeSource.VsphereVolume != nil && x.VsphereVolume != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep328 := !z.EncBinary() + yy2arr328 := z.EncBasicHandle().StructToArray + var yyq328 [18]bool + _, _, _ = yysep328, yyq328, yy2arr328 + const yyr328 bool = false + yyq328[1] = x.PersistentVolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil + yyq328[2] = x.PersistentVolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil + yyq328[3] = x.PersistentVolumeSource.HostPath != nil && x.HostPath != nil + yyq328[4] = x.PersistentVolumeSource.Glusterfs != nil && x.Glusterfs != nil + yyq328[5] = x.PersistentVolumeSource.NFS != nil && x.NFS != nil + yyq328[6] = x.PersistentVolumeSource.RBD != nil && x.RBD != nil + yyq328[7] = x.PersistentVolumeSource.ISCSI != nil && x.ISCSI != nil + yyq328[8] = x.PersistentVolumeSource.FlexVolume != nil && x.FlexVolume != nil + yyq328[9] = x.PersistentVolumeSource.Cinder != nil && x.Cinder != nil + yyq328[10] = x.PersistentVolumeSource.CephFS != nil && x.CephFS != nil + yyq328[11] = x.PersistentVolumeSource.FC != nil && x.FC != nil + yyq328[12] = x.PersistentVolumeSource.Flocker != nil && x.Flocker != nil + yyq328[13] = x.PersistentVolumeSource.AzureFile != nil && x.AzureFile != nil + yyq328[14] = x.PersistentVolumeSource.VsphereVolume != nil && x.VsphereVolume != nil + yyq328[15] = len(x.AccessModes) != 0 + yyq328[16] = x.ClaimRef != nil + yyq328[17] = x.PersistentVolumeReclaimPolicy != "" + var yynn328 int + if yyr328 || yy2arr328 { r.EncodeArrayStart(18) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn328 = 1 + for _, b := range yyq328 { if b { - yynn2++ + yynn328++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn328) + yynn328 = 0 } - if yyr2 || yy2arr2 { + if yyr328 || yy2arr328 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Capacity == nil { r.EncodeNil() @@ -5511,14 +5511,532 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { x.Capacity.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + var yyn330 bool + if x.PersistentVolumeSource.GCEPersistentDisk == nil { + yyn330 = true + goto LABEL330 + } + LABEL330: + if yyr328 || yy2arr328 { + if yyn330 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[1] { + if x.GCEPersistentDisk == nil { + r.EncodeNil() + } else { + x.GCEPersistentDisk.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn330 { + r.EncodeNil() + } else { + if x.GCEPersistentDisk == nil { + r.EncodeNil() + } else { + x.GCEPersistentDisk.CodecEncodeSelf(e) + } + } + } + } + var yyn331 bool + if x.PersistentVolumeSource.AWSElasticBlockStore == nil { + yyn331 = true + goto LABEL331 + } + LABEL331: + if yyr328 || yy2arr328 { + if yyn331 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[2] { + if x.AWSElasticBlockStore == nil { + r.EncodeNil() + } else { + x.AWSElasticBlockStore.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn331 { + r.EncodeNil() + } else { + if x.AWSElasticBlockStore == nil { + r.EncodeNil() + } else { + x.AWSElasticBlockStore.CodecEncodeSelf(e) + } + } + } + } + var yyn332 bool + if x.PersistentVolumeSource.HostPath == nil { + yyn332 = true + goto LABEL332 + } + LABEL332: + if yyr328 || yy2arr328 { + if yyn332 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[3] { + if x.HostPath == nil { + r.EncodeNil() + } else { + x.HostPath.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hostPath")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn332 { + r.EncodeNil() + } else { + if x.HostPath == nil { + r.EncodeNil() + } else { + x.HostPath.CodecEncodeSelf(e) + } + } + } + } + var yyn333 bool + if x.PersistentVolumeSource.Glusterfs == nil { + yyn333 = true + goto LABEL333 + } + LABEL333: + if yyr328 || yy2arr328 { + if yyn333 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[4] { + if x.Glusterfs == nil { + r.EncodeNil() + } else { + x.Glusterfs.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn333 { + r.EncodeNil() + } else { + if x.Glusterfs == nil { + r.EncodeNil() + } else { + x.Glusterfs.CodecEncodeSelf(e) + } + } + } + } + var yyn334 bool + if x.PersistentVolumeSource.NFS == nil { + yyn334 = true + goto LABEL334 + } + LABEL334: + if yyr328 || yy2arr328 { + if yyn334 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[5] { + if x.NFS == nil { + r.EncodeNil() + } else { + x.NFS.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn334 { + r.EncodeNil() + } else { + if x.NFS == nil { + r.EncodeNil() + } else { + x.NFS.CodecEncodeSelf(e) + } + } + } + } + var yyn335 bool + if x.PersistentVolumeSource.RBD == nil { + yyn335 = true + goto LABEL335 + } + LABEL335: + if yyr328 || yy2arr328 { + if yyn335 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[6] { + if x.RBD == nil { + r.EncodeNil() + } else { + x.RBD.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("rbd")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn335 { + r.EncodeNil() + } else { + if x.RBD == nil { + r.EncodeNil() + } else { + x.RBD.CodecEncodeSelf(e) + } + } + } + } + var yyn336 bool + if x.PersistentVolumeSource.ISCSI == nil { + yyn336 = true + goto LABEL336 + } + LABEL336: + if yyr328 || yy2arr328 { + if yyn336 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[7] { + if x.ISCSI == nil { + r.EncodeNil() + } else { + x.ISCSI.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[7] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("iscsi")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn336 { + r.EncodeNil() + } else { + if x.ISCSI == nil { + r.EncodeNil() + } else { + x.ISCSI.CodecEncodeSelf(e) + } + } + } + } + var yyn337 bool + if x.PersistentVolumeSource.FlexVolume == nil { + yyn337 = true + goto LABEL337 + } + LABEL337: + if yyr328 || yy2arr328 { + if yyn337 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[8] { + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[8] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn337 { + r.EncodeNil() + } else { + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } + } + } + var yyn338 bool + if x.PersistentVolumeSource.Cinder == nil { + yyn338 = true + goto LABEL338 + } + LABEL338: + if yyr328 || yy2arr328 { + if yyn338 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[9] { + if x.Cinder == nil { + r.EncodeNil() + } else { + x.Cinder.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[9] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cinder")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn338 { + r.EncodeNil() + } else { + if x.Cinder == nil { + r.EncodeNil() + } else { + x.Cinder.CodecEncodeSelf(e) + } + } + } + } + var yyn339 bool + if x.PersistentVolumeSource.CephFS == nil { + yyn339 = true + goto LABEL339 + } + LABEL339: + if yyr328 || yy2arr328 { + if yyn339 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[10] { + if x.CephFS == nil { + r.EncodeNil() + } else { + x.CephFS.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[10] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cephfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn339 { + r.EncodeNil() + } else { + if x.CephFS == nil { + r.EncodeNil() + } else { + x.CephFS.CodecEncodeSelf(e) + } + } + } + } + var yyn340 bool + if x.PersistentVolumeSource.FC == nil { + yyn340 = true + goto LABEL340 + } + LABEL340: + if yyr328 || yy2arr328 { + if yyn340 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[11] { + if x.FC == nil { + r.EncodeNil() + } else { + x.FC.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[11] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("fc")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn340 { + r.EncodeNil() + } else { + if x.FC == nil { + r.EncodeNil() + } else { + x.FC.CodecEncodeSelf(e) + } + } + } + } + var yyn341 bool + if x.PersistentVolumeSource.Flocker == nil { + yyn341 = true + goto LABEL341 + } + LABEL341: + if yyr328 || yy2arr328 { + if yyn341 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[12] { + if x.Flocker == nil { + r.EncodeNil() + } else { + x.Flocker.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[12] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("flocker")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn341 { + r.EncodeNil() + } else { + if x.Flocker == nil { + r.EncodeNil() + } else { + x.Flocker.CodecEncodeSelf(e) + } + } + } + } + var yyn342 bool + if x.PersistentVolumeSource.AzureFile == nil { + yyn342 = true + goto LABEL342 + } + LABEL342: + if yyr328 || yy2arr328 { + if yyn342 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[13] { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[13] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("azureFile")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn342 { + r.EncodeNil() + } else { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } + } + } + var yyn343 bool + if x.PersistentVolumeSource.VsphereVolume == nil { + yyn343 = true + goto LABEL343 + } + LABEL343: + if yyr328 || yy2arr328 { + if yyn343 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[14] { + if x.VsphereVolume == nil { + r.EncodeNil() + } else { + x.VsphereVolume.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[14] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("vsphereVolume")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn343 { + r.EncodeNil() + } else { + if x.VsphereVolume == nil { + r.EncodeNil() + } else { + x.VsphereVolume.CodecEncodeSelf(e) + } + } + } + } + if yyr328 || yy2arr328 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq328[15] { if x.AccessModes == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym345 := z.EncBinary() + _ = yym345 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -5528,15 +6046,15 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq328[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym346 := z.EncBinary() + _ = yym346 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -5544,9 +6062,9 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr328 || yy2arr328 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq328[16] { if x.ClaimRef == nil { r.EncodeNil() } else { @@ -5556,7 +6074,7 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq328[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("claimRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -5567,540 +6085,22 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr328 || yy2arr328 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq328[17] { x.PersistentVolumeReclaimPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq328[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeReclaimPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.PersistentVolumeReclaimPolicy.CodecEncodeSelf(e) } } - var yyn15 bool - if x.PersistentVolumeSource.GCEPersistentDisk == nil { - yyn15 = true - goto LABEL15 - } - LABEL15: - if yyr2 || yy2arr2 { - if yyn15 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - if x.GCEPersistentDisk == nil { - r.EncodeNil() - } else { - x.GCEPersistentDisk.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn15 { - r.EncodeNil() - } else { - if x.GCEPersistentDisk == nil { - r.EncodeNil() - } else { - x.GCEPersistentDisk.CodecEncodeSelf(e) - } - } - } - } - var yyn18 bool - if x.PersistentVolumeSource.AWSElasticBlockStore == nil { - yyn18 = true - goto LABEL18 - } - LABEL18: - if yyr2 || yy2arr2 { - if yyn18 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - if x.AWSElasticBlockStore == nil { - r.EncodeNil() - } else { - x.AWSElasticBlockStore.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn18 { - r.EncodeNil() - } else { - if x.AWSElasticBlockStore == nil { - r.EncodeNil() - } else { - x.AWSElasticBlockStore.CodecEncodeSelf(e) - } - } - } - } - var yyn21 bool - if x.PersistentVolumeSource.HostPath == nil { - yyn21 = true - goto LABEL21 - } - LABEL21: - if yyr2 || yy2arr2 { - if yyn21 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - if x.HostPath == nil { - r.EncodeNil() - } else { - x.HostPath.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn21 { - r.EncodeNil() - } else { - if x.HostPath == nil { - r.EncodeNil() - } else { - x.HostPath.CodecEncodeSelf(e) - } - } - } - } - var yyn24 bool - if x.PersistentVolumeSource.Glusterfs == nil { - yyn24 = true - goto LABEL24 - } - LABEL24: - if yyr2 || yy2arr2 { - if yyn24 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - if x.Glusterfs == nil { - r.EncodeNil() - } else { - x.Glusterfs.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[7] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn24 { - r.EncodeNil() - } else { - if x.Glusterfs == nil { - r.EncodeNil() - } else { - x.Glusterfs.CodecEncodeSelf(e) - } - } - } - } - var yyn27 bool - if x.PersistentVolumeSource.NFS == nil { - yyn27 = true - goto LABEL27 - } - LABEL27: - if yyr2 || yy2arr2 { - if yyn27 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { - if x.NFS == nil { - r.EncodeNil() - } else { - x.NFS.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[8] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn27 { - r.EncodeNil() - } else { - if x.NFS == nil { - r.EncodeNil() - } else { - x.NFS.CodecEncodeSelf(e) - } - } - } - } - var yyn30 bool - if x.PersistentVolumeSource.RBD == nil { - yyn30 = true - goto LABEL30 - } - LABEL30: - if yyr2 || yy2arr2 { - if yyn30 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { - if x.RBD == nil { - r.EncodeNil() - } else { - x.RBD.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[9] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rbd")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn30 { - r.EncodeNil() - } else { - if x.RBD == nil { - r.EncodeNil() - } else { - x.RBD.CodecEncodeSelf(e) - } - } - } - } - var yyn33 bool - if x.PersistentVolumeSource.ISCSI == nil { - yyn33 = true - goto LABEL33 - } - LABEL33: - if yyr2 || yy2arr2 { - if yyn33 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { - if x.ISCSI == nil { - r.EncodeNil() - } else { - x.ISCSI.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[10] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("iscsi")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn33 { - r.EncodeNil() - } else { - if x.ISCSI == nil { - r.EncodeNil() - } else { - x.ISCSI.CodecEncodeSelf(e) - } - } - } - } - var yyn36 bool - if x.PersistentVolumeSource.FlexVolume == nil { - yyn36 = true - goto LABEL36 - } - LABEL36: - if yyr2 || yy2arr2 { - if yyn36 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { - if x.FlexVolume == nil { - r.EncodeNil() - } else { - x.FlexVolume.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[11] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn36 { - r.EncodeNil() - } else { - if x.FlexVolume == nil { - r.EncodeNil() - } else { - x.FlexVolume.CodecEncodeSelf(e) - } - } - } - } - var yyn39 bool - if x.PersistentVolumeSource.Cinder == nil { - yyn39 = true - goto LABEL39 - } - LABEL39: - if yyr2 || yy2arr2 { - if yyn39 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { - if x.Cinder == nil { - r.EncodeNil() - } else { - x.Cinder.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[12] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cinder")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn39 { - r.EncodeNil() - } else { - if x.Cinder == nil { - r.EncodeNil() - } else { - x.Cinder.CodecEncodeSelf(e) - } - } - } - } - var yyn42 bool - if x.PersistentVolumeSource.CephFS == nil { - yyn42 = true - goto LABEL42 - } - LABEL42: - if yyr2 || yy2arr2 { - if yyn42 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { - if x.CephFS == nil { - r.EncodeNil() - } else { - x.CephFS.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[13] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cephfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn42 { - r.EncodeNil() - } else { - if x.CephFS == nil { - r.EncodeNil() - } else { - x.CephFS.CodecEncodeSelf(e) - } - } - } - } - var yyn45 bool - if x.PersistentVolumeSource.FC == nil { - yyn45 = true - goto LABEL45 - } - LABEL45: - if yyr2 || yy2arr2 { - if yyn45 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[14] { - if x.FC == nil { - r.EncodeNil() - } else { - x.FC.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[14] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fc")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn45 { - r.EncodeNil() - } else { - if x.FC == nil { - r.EncodeNil() - } else { - x.FC.CodecEncodeSelf(e) - } - } - } - } - var yyn48 bool - if x.PersistentVolumeSource.Flocker == nil { - yyn48 = true - goto LABEL48 - } - LABEL48: - if yyr2 || yy2arr2 { - if yyn48 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[15] { - if x.Flocker == nil { - r.EncodeNil() - } else { - x.Flocker.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[15] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("flocker")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn48 { - r.EncodeNil() - } else { - if x.Flocker == nil { - r.EncodeNil() - } else { - x.Flocker.CodecEncodeSelf(e) - } - } - } - } - var yyn51 bool - if x.PersistentVolumeSource.AzureFile == nil { - yyn51 = true - goto LABEL51 - } - LABEL51: - if yyr2 || yy2arr2 { - if yyn51 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[16] { - if x.AzureFile == nil { - r.EncodeNil() - } else { - x.AzureFile.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[16] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("azureFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn51 { - r.EncodeNil() - } else { - if x.AzureFile == nil { - r.EncodeNil() - } else { - x.AzureFile.CodecEncodeSelf(e) - } - } - } - } - var yyn54 bool - if x.PersistentVolumeSource.VsphereVolume == nil { - yyn54 = true - goto LABEL54 - } - LABEL54: - if yyr2 || yy2arr2 { - if yyn54 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[17] { - if x.VsphereVolume == nil { - r.EncodeNil() - } else { - x.VsphereVolume.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[17] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("vsphereVolume")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn54 { - r.EncodeNil() - } else { - if x.VsphereVolume == nil { - r.EncodeNil() - } else { - x.VsphereVolume.CodecEncodeSelf(e) - } - } - } - } - if yyr2 || yy2arr2 { + if yyr328 || yy2arr328 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6113,25 +6113,25 @@ func (x *PersistentVolumeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym349 := z.DecBinary() + _ = yym349 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct350 := r.ContainerType() + if yyct350 == codecSelferValueTypeMap1234 { + yyl350 := r.ReadMapStart() + if yyl350 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl350, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct350 == codecSelferValueTypeArray1234 { + yyl350 := r.ReadArrayStart() + if yyl350 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl350, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6143,12 +6143,12 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys351Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys351Slc + var yyhl351 bool = l >= 0 + for yyj351 := 0; ; yyj351++ { + if yyhl351 { + if yyj351 >= l { break } } else { @@ -6157,45 +6157,16 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys351Slc = r.DecodeBytes(yys351Slc, true, true) + yys351 := string(yys351Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys351 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv4 := &x.Capacity - yyv4.CodecDecodeSelf(d) - } - case "accessModes": - if r.TryDecodeAsNil() { - x.AccessModes = nil - } else { - yyv5 := &x.AccessModes - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv5), d) - } - } - case "claimRef": - if r.TryDecodeAsNil() { - if x.ClaimRef != nil { - x.ClaimRef = nil - } - } else { - if x.ClaimRef == nil { - x.ClaimRef = new(ObjectReference) - } - x.ClaimRef.CodecDecodeSelf(d) - } - case "persistentVolumeReclaimPolicy": - if r.TryDecodeAsNil() { - x.PersistentVolumeReclaimPolicy = "" - } else { - x.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(r.DecodeString()) + yyv352 := &x.Capacity + yyv352.CodecDecodeSelf(d) } case "gcePersistentDisk": if x.PersistentVolumeSource.GCEPersistentDisk == nil { @@ -6393,10 +6364,39 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode } x.VsphereVolume.CodecDecodeSelf(d) } + case "accessModes": + if r.TryDecodeAsNil() { + x.AccessModes = nil + } else { + yyv367 := &x.AccessModes + yym368 := z.DecBinary() + _ = yym368 + if false { + } else { + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv367), d) + } + } + case "claimRef": + if r.TryDecodeAsNil() { + if x.ClaimRef != nil { + x.ClaimRef = nil + } + } else { + if x.ClaimRef == nil { + x.ClaimRef = new(ObjectReference) + } + x.ClaimRef.CodecDecodeSelf(d) + } + case "persistentVolumeReclaimPolicy": + if r.TryDecodeAsNil() { + x.PersistentVolumeReclaimPolicy = "" + } else { + x.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys351) + } // end switch yys351 + } // end for yyj351 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6404,16 +6404,16 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj23 int - var yyb23 bool - var yyhl23 bool = l >= 0 - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + var yyj371 int + var yyb371 bool + var yyhl371 bool = l >= 0 + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6421,78 +6421,19 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv24 := &x.Capacity - yyv24.CodecDecodeSelf(d) - } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l - } else { - yyb23 = r.CheckBreak() - } - if yyb23 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.AccessModes = nil - } else { - yyv25 := &x.AccessModes - yym26 := z.DecBinary() - _ = yym26 - if false { - } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv25), d) - } - } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l - } else { - yyb23 = r.CheckBreak() - } - if yyb23 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.ClaimRef != nil { - x.ClaimRef = nil - } - } else { - if x.ClaimRef == nil { - x.ClaimRef = new(ObjectReference) - } - x.ClaimRef.CodecDecodeSelf(d) - } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l - } else { - yyb23 = r.CheckBreak() - } - if yyb23 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PersistentVolumeReclaimPolicy = "" - } else { - x.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(r.DecodeString()) + yyv372 := &x.Capacity + yyv372.CodecDecodeSelf(d) } if x.PersistentVolumeSource.GCEPersistentDisk == nil { x.PersistentVolumeSource.GCEPersistentDisk = new(GCEPersistentDiskVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6510,13 +6451,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.AWSElasticBlockStore == nil { x.PersistentVolumeSource.AWSElasticBlockStore = new(AWSElasticBlockStoreVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6534,13 +6475,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.HostPath == nil { x.PersistentVolumeSource.HostPath = new(HostPathVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6558,13 +6499,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Glusterfs == nil { x.PersistentVolumeSource.Glusterfs = new(GlusterfsVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6582,13 +6523,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.NFS == nil { x.PersistentVolumeSource.NFS = new(NFSVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6606,13 +6547,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.RBD == nil { x.PersistentVolumeSource.RBD = new(RBDVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6630,13 +6571,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.ISCSI == nil { x.PersistentVolumeSource.ISCSI = new(ISCSIVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6654,13 +6595,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.FlexVolume == nil { x.PersistentVolumeSource.FlexVolume = new(FlexVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6678,13 +6619,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Cinder == nil { x.PersistentVolumeSource.Cinder = new(CinderVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6702,13 +6643,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.CephFS == nil { x.PersistentVolumeSource.CephFS = new(CephFSVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6726,13 +6667,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.FC == nil { x.PersistentVolumeSource.FC = new(FCVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6750,13 +6691,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Flocker == nil { x.PersistentVolumeSource.Flocker = new(FlockerVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6774,13 +6715,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.AzureFile == nil { x.PersistentVolumeSource.AzureFile = new(AzureFileVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6798,13 +6739,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.VsphereVolume == nil { x.PersistentVolumeSource.VsphereVolume = new(VsphereVirtualDiskVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6819,18 +6760,77 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco } x.VsphereVolume.CodecDecodeSelf(d) } - for { - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l + } else { + yyb371 = r.CheckBreak() + } + if yyb371 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.AccessModes = nil + } else { + yyv387 := &x.AccessModes + yym388 := z.DecBinary() + _ = yym388 + if false { } else { - yyb23 = r.CheckBreak() + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv387), d) } - if yyb23 { + } + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l + } else { + yyb371 = r.CheckBreak() + } + if yyb371 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.ClaimRef != nil { + x.ClaimRef = nil + } + } else { + if x.ClaimRef == nil { + x.ClaimRef = new(ObjectReference) + } + x.ClaimRef.CodecDecodeSelf(d) + } + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l + } else { + yyb371 = r.CheckBreak() + } + if yyb371 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PersistentVolumeReclaimPolicy = "" + } else { + x.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(r.DecodeString()) + } + for { + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l + } else { + yyb371 = r.CheckBreak() + } + if yyb371 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj23-1, "") + z.DecStructFieldNotFound(yyj371-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6839,8 +6839,8 @@ func (x PersistentVolumeReclaimPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym391 := z.EncBinary() + _ = yym391 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -6852,8 +6852,8 @@ func (x *PersistentVolumeReclaimPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym392 := z.DecBinary() + _ = yym392 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -6868,52 +6868,52 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym393 := z.EncBinary() + _ = yym393 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Phase != "" - yyq2[1] = x.Message != "" - yyq2[2] = x.Reason != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep394 := !z.EncBinary() + yy2arr394 := z.EncBasicHandle().StructToArray + var yyq394 [3]bool + _, _, _ = yysep394, yyq394, yy2arr394 + const yyr394 bool = false + yyq394[0] = x.Phase != "" + yyq394[1] = x.Message != "" + yyq394[2] = x.Reason != "" + var yynn394 int + if yyr394 || yy2arr394 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn394 = 0 + for _, b := range yyq394 { if b { - yynn2++ + yynn394++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn394) + yynn394 = 0 } - if yyr2 || yy2arr2 { + if yyr394 || yy2arr394 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq394[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq394[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr394 || yy2arr394 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq394[1] { + yym397 := z.EncBinary() + _ = yym397 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -6922,23 +6922,23 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq394[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym398 := z.EncBinary() + _ = yym398 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr394 || yy2arr394 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq394[2] { + yym400 := z.EncBinary() + _ = yym400 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -6947,19 +6947,19 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq394[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym401 := z.EncBinary() + _ = yym401 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr394 || yy2arr394 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6972,25 +6972,25 @@ func (x *PersistentVolumeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym402 := z.DecBinary() + _ = yym402 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct403 := r.ContainerType() + if yyct403 == codecSelferValueTypeMap1234 { + yyl403 := r.ReadMapStart() + if yyl403 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl403, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct403 == codecSelferValueTypeArray1234 { + yyl403 := r.ReadArrayStart() + if yyl403 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl403, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7002,12 +7002,12 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys404Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys404Slc + var yyhl404 bool = l >= 0 + for yyj404 := 0; ; yyj404++ { + if yyhl404 { + if yyj404 >= l { break } } else { @@ -7016,10 +7016,10 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys404Slc = r.DecodeBytes(yys404Slc, true, true) + yys404 := string(yys404Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys404 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -7039,9 +7039,9 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.Reason = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys404) + } // end switch yys404 + } // end for yyj404 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7049,16 +7049,16 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj408 int + var yyb408 bool + var yyhl408 bool = l >= 0 + yyj408++ + if yyhl408 { + yyb408 = yyj408 > l } else { - yyb7 = r.CheckBreak() + yyb408 = r.CheckBreak() } - if yyb7 { + if yyb408 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7068,13 +7068,13 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Phase = PersistentVolumePhase(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj408++ + if yyhl408 { + yyb408 = yyj408 > l } else { - yyb7 = r.CheckBreak() + yyb408 = r.CheckBreak() } - if yyb7 { + if yyb408 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7084,13 +7084,13 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Message = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj408++ + if yyhl408 { + yyb408 = yyj408 > l } else { - yyb7 = r.CheckBreak() + yyb408 = r.CheckBreak() } - if yyb7 { + if yyb408 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7101,17 +7101,17 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De x.Reason = string(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj408++ + if yyhl408 { + yyb408 = yyj408 > l } else { - yyb7 = r.CheckBreak() + yyb408 = r.CheckBreak() } - if yyb7 { + if yyb408 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj408-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7123,68 +7123,118 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym412 := z.EncBinary() + _ = yym412 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep413 := !z.EncBinary() + yy2arr413 := z.EncBasicHandle().StructToArray + var yyq413 [4]bool + _, _, _ = yysep413, yyq413, yy2arr413 + const yyr413 bool = false + yyq413[0] = x.Kind != "" + yyq413[1] = x.APIVersion != "" + yyq413[2] = true + var yynn413 int + if yyr413 || yy2arr413 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn413 = 1 + for _, b := range yyq413 { if b { - yynn2++ + yynn413++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn413) + yynn413 = 0 } - if yyr2 || yy2arr2 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq413[0] { + yym415 := z.EncBinary() + _ = yym415 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq413[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym416 := z.EncBinary() + _ = yym416 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr413 || yy2arr413 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq413[1] { + yym418 := z.EncBinary() + _ = yym418 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq413[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym419 := z.EncBinary() + _ = yym419 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr413 || yy2arr413 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq413[2] { + yy421 := &x.ListMeta + yym422 := z.EncBinary() + _ = yym422 + if false { + } else if z.HasExtensions() && z.EncExt(yy421) { + } else { + z.EncFallback(yy421) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq413[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy423 := &x.ListMeta + yym424 := z.EncBinary() + _ = yym424 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy423) { } else { - z.EncFallback(yy6) + z.EncFallback(yy423) } } } - if yyr2 || yy2arr2 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym426 := z.EncBinary() + _ = yym426 if false { } else { h.encSlicePersistentVolume(([]PersistentVolume)(x.Items), e) @@ -7197,65 +7247,15 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym427 := z.EncBinary() + _ = yym427 if false { } else { h.encSlicePersistentVolume(([]PersistentVolume)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7268,25 +7268,25 @@ func (x *PersistentVolumeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym428 := z.DecBinary() + _ = yym428 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct429 := r.ContainerType() + if yyct429 == codecSelferValueTypeMap1234 { + yyl429 := r.ReadMapStart() + if yyl429 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl429, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct429 == codecSelferValueTypeArray1234 { + yyl429 := r.ReadArrayStart() + if yyl429 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl429, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7298,12 +7298,12 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys430Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys430Slc + var yyhl430 bool = l >= 0 + for yyj430 := 0; ; yyj430++ { + if yyhl430 { + if yyj430 >= l { break } } else { @@ -7312,35 +7312,10 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys430Slc = r.DecodeBytes(yys430Slc, true, true) + yys430 := string(yys430Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSlicePersistentVolume((*[]PersistentVolume)(yyv6), d) - } - } + switch yys430 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7353,10 +7328,35 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv433 := &x.ListMeta + yym434 := z.DecBinary() + _ = yym434 + if false { + } else if z.HasExtensions() && z.DecExt(yyv433) { + } else { + z.DecFallback(yyv433, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv435 := &x.Items + yym436 := z.DecBinary() + _ = yym436 + if false { + } else { + h.decSlicePersistentVolume((*[]PersistentVolume)(yyv435), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys430) + } // end switch yys430 + } // end for yyj430 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7364,61 +7364,16 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj437 int + var yyb437 bool + var yyhl437 bool = l >= 0 + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb10 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSlicePersistentVolume((*[]PersistentVolume)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7428,13 +7383,13 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb10 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb10 { + if yyb437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7444,18 +7399,63 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l + } else { + yyb437 = r.CheckBreak() + } + if yyb437 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv440 := &x.ListMeta + yym441 := z.DecBinary() + _ = yym441 + if false { + } else if z.HasExtensions() && z.DecExt(yyv440) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv440, false) } - if yyb10 { + } + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l + } else { + yyb437 = r.CheckBreak() + } + if yyb437 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv442 := &x.Items + yym443 := z.DecBinary() + _ = yym443 + if false { + } else { + h.decSlicePersistentVolume((*[]PersistentVolume)(yyv442), d) + } + } + for { + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l + } else { + yyb437 = r.CheckBreak() + } + if yyb437 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj437-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7467,90 +7467,39 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym444 := z.EncBinary() + _ = yym444 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep445 := !z.EncBinary() + yy2arr445 := z.EncBasicHandle().StructToArray + var yyq445 [5]bool + _, _, _ = yysep445, yyq445, yy2arr445 + const yyr445 bool = false + yyq445[0] = x.Kind != "" + yyq445[1] = x.APIVersion != "" + yyq445[2] = true + yyq445[3] = true + yyq445[4] = true + var yynn445 int + if yyr445 || yy2arr445 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn445 = 0 + for _, b := range yyq445 { if b { - yynn2++ + yynn445++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn445) + yynn445 = 0 } - if yyr2 || yy2arr2 { + if yyr445 || yy2arr445 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq445[0] { + yym447 := z.EncBinary() + _ = yym447 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -7559,23 +7508,23 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq445[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym448 := z.EncBinary() + _ = yym448 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr445 || yy2arr445 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq445[1] { + yym450 := z.EncBinary() + _ = yym450 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7584,19 +7533,70 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq445[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym451 := z.EncBinary() + _ = yym451 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr445 || yy2arr445 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq445[2] { + yy453 := &x.ObjectMeta + yy453.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq445[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy454 := &x.ObjectMeta + yy454.CodecEncodeSelf(e) + } + } + if yyr445 || yy2arr445 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq445[3] { + yy456 := &x.Spec + yy456.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq445[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy457 := &x.Spec + yy457.CodecEncodeSelf(e) + } + } + if yyr445 || yy2arr445 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq445[4] { + yy459 := &x.Status + yy459.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq445[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy460 := &x.Status + yy460.CodecEncodeSelf(e) + } + } + if yyr445 || yy2arr445 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7609,25 +7609,25 @@ func (x *PersistentVolumeClaim) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym461 := z.DecBinary() + _ = yym461 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct462 := r.ContainerType() + if yyct462 == codecSelferValueTypeMap1234 { + yyl462 := r.ReadMapStart() + if yyl462 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl462, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct462 == codecSelferValueTypeArray1234 { + yyl462 := r.ReadArrayStart() + if yyl462 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl462, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7639,12 +7639,12 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys463Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys463Slc + var yyhl463 bool = l >= 0 + for yyj463 := 0; ; yyj463++ { + if yyhl463 { + if yyj463 >= l { break } } else { @@ -7653,31 +7653,10 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys463Slc = r.DecodeBytes(yys463Slc, true, true) + yys463 := string(yys463Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = PersistentVolumeClaimSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = PersistentVolumeClaimStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys463 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7690,10 +7669,31 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv466 := &x.ObjectMeta + yyv466.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = PersistentVolumeClaimSpec{} + } else { + yyv467 := &x.Spec + yyv467.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = PersistentVolumeClaimStatus{} + } else { + yyv468 := &x.Status + yyv468.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys463) + } // end switch yys463 + } // end for yyj463 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7701,67 +7701,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj469 int + var yyb469 bool + var yyhl469 bool = l >= 0 + yyj469++ + if yyhl469 { + yyb469 = yyj469 > l } else { - yyb9 = r.CheckBreak() + yyb469 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = PersistentVolumeClaimSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = PersistentVolumeClaimStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb469 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7771,13 +7720,13 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj469++ + if yyhl469 { + yyb469 = yyj469 > l } else { - yyb9 = r.CheckBreak() + yyb469 = r.CheckBreak() } - if yyb9 { + if yyb469 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7787,18 +7736,69 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } + yyj469++ + if yyhl469 { + yyb469 = yyj469 > l + } else { + yyb469 = r.CheckBreak() + } + if yyb469 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv472 := &x.ObjectMeta + yyv472.CodecDecodeSelf(d) + } + yyj469++ + if yyhl469 { + yyb469 = yyj469 > l + } else { + yyb469 = r.CheckBreak() + } + if yyb469 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = PersistentVolumeClaimSpec{} + } else { + yyv473 := &x.Spec + yyv473.CodecDecodeSelf(d) + } + yyj469++ + if yyhl469 { + yyb469 = yyj469 > l + } else { + yyb469 = r.CheckBreak() + } + if yyb469 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = PersistentVolumeClaimStatus{} + } else { + yyv474 := &x.Status + yyv474.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj469++ + if yyhl469 { + yyb469 = yyj469 > l } else { - yyb9 = r.CheckBreak() + yyb469 = r.CheckBreak() } - if yyb9 { + if yyb469 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj469-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7810,68 +7810,118 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym475 := z.EncBinary() + _ = yym475 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep476 := !z.EncBinary() + yy2arr476 := z.EncBasicHandle().StructToArray + var yyq476 [4]bool + _, _, _ = yysep476, yyq476, yy2arr476 + const yyr476 bool = false + yyq476[0] = x.Kind != "" + yyq476[1] = x.APIVersion != "" + yyq476[2] = true + var yynn476 int + if yyr476 || yy2arr476 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn476 = 1 + for _, b := range yyq476 { if b { - yynn2++ + yynn476++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn476) + yynn476 = 0 } - if yyr2 || yy2arr2 { + if yyr476 || yy2arr476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq476[0] { + yym478 := z.EncBinary() + _ = yym478 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq476[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym479 := z.EncBinary() + _ = yym479 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr476 || yy2arr476 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq476[1] { + yym481 := z.EncBinary() + _ = yym481 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq476[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym482 := z.EncBinary() + _ = yym482 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr476 || yy2arr476 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq476[2] { + yy484 := &x.ListMeta + yym485 := z.EncBinary() + _ = yym485 + if false { + } else if z.HasExtensions() && z.EncExt(yy484) { + } else { + z.EncFallback(yy484) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq476[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy486 := &x.ListMeta + yym487 := z.EncBinary() + _ = yym487 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy486) { } else { - z.EncFallback(yy6) + z.EncFallback(yy486) } } } - if yyr2 || yy2arr2 { + if yyr476 || yy2arr476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym489 := z.EncBinary() + _ = yym489 if false { } else { h.encSlicePersistentVolumeClaim(([]PersistentVolumeClaim)(x.Items), e) @@ -7884,65 +7934,15 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym490 := z.EncBinary() + _ = yym490 if false { } else { h.encSlicePersistentVolumeClaim(([]PersistentVolumeClaim)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr476 || yy2arr476 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7955,25 +7955,25 @@ func (x *PersistentVolumeClaimList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym491 := z.DecBinary() + _ = yym491 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct492 := r.ContainerType() + if yyct492 == codecSelferValueTypeMap1234 { + yyl492 := r.ReadMapStart() + if yyl492 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl492, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct492 == codecSelferValueTypeArray1234 { + yyl492 := r.ReadArrayStart() + if yyl492 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl492, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7985,12 +7985,12 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys493Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys493Slc + var yyhl493 bool = l >= 0 + for yyj493 := 0; ; yyj493++ { + if yyhl493 { + if yyj493 >= l { break } } else { @@ -7999,35 +7999,10 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys493Slc = r.DecodeBytes(yys493Slc, true, true) + yys493 := string(yys493Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv6), d) - } - } + switch yys493 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8040,10 +8015,35 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv496 := &x.ListMeta + yym497 := z.DecBinary() + _ = yym497 + if false { + } else if z.HasExtensions() && z.DecExt(yyv496) { + } else { + z.DecFallback(yyv496, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv498 := &x.Items + yym499 := z.DecBinary() + _ = yym499 + if false { + } else { + h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv498), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys493) + } // end switch yys493 + } // end for yyj493 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8051,61 +8051,16 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj500 int + var yyb500 bool + var yyhl500 bool = l >= 0 + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l } else { - yyb10 = r.CheckBreak() + yyb500 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8115,13 +8070,13 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l } else { - yyb10 = r.CheckBreak() + yyb500 = r.CheckBreak() } - if yyb10 { + if yyb500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8131,18 +8086,63 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l + } else { + yyb500 = r.CheckBreak() + } + if yyb500 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv503 := &x.ListMeta + yym504 := z.DecBinary() + _ = yym504 + if false { + } else if z.HasExtensions() && z.DecExt(yyv503) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv503, false) } - if yyb10 { + } + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l + } else { + yyb500 = r.CheckBreak() + } + if yyb500 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv505 := &x.Items + yym506 := z.DecBinary() + _ = yym506 + if false { + } else { + h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv505), d) + } + } + for { + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l + } else { + yyb500 = r.CheckBreak() + } + if yyb500 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj500-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8154,41 +8154,41 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym507 := z.EncBinary() + _ = yym507 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.AccessModes) != 0 - yyq2[1] = x.Selector != nil - yyq2[2] = true - yyq2[3] = x.VolumeName != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep508 := !z.EncBinary() + yy2arr508 := z.EncBasicHandle().StructToArray + var yyq508 [4]bool + _, _, _ = yysep508, yyq508, yy2arr508 + const yyr508 bool = false + yyq508[0] = len(x.AccessModes) != 0 + yyq508[1] = x.Selector != nil + yyq508[2] = true + yyq508[3] = x.VolumeName != "" + var yynn508 int + if yyr508 || yy2arr508 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn508 = 0 + for _, b := range yyq508 { if b { - yynn2++ + yynn508++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn508) + yynn508 = 0 } - if yyr2 || yy2arr2 { + if yyr508 || yy2arr508 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq508[0] { if x.AccessModes == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym510 := z.EncBinary() + _ = yym510 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -8198,15 +8198,15 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq508[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym511 := z.EncBinary() + _ = yym511 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -8214,14 +8214,14 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr508 || yy2arr508 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq508[1] { if x.Selector == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym513 := z.EncBinary() + _ = yym513 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -8232,15 +8232,15 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq508[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym514 := z.EncBinary() + _ = yym514 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -8249,28 +8249,28 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr508 || yy2arr508 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy10 := &x.Resources - yy10.CodecEncodeSelf(e) + if yyq508[2] { + yy516 := &x.Resources + yy516.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq508[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.Resources - yy12.CodecEncodeSelf(e) + yy517 := &x.Resources + yy517.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr508 || yy2arr508 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 + if yyq508[3] { + yym519 := z.EncBinary() + _ = yym519 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeName)) @@ -8279,19 +8279,19 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq508[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 + yym520 := z.EncBinary() + _ = yym520 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeName)) } } } - if yyr2 || yy2arr2 { + if yyr508 || yy2arr508 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8304,25 +8304,25 @@ func (x *PersistentVolumeClaimSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym521 := z.DecBinary() + _ = yym521 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct522 := r.ContainerType() + if yyct522 == codecSelferValueTypeMap1234 { + yyl522 := r.ReadMapStart() + if yyl522 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl522, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct522 == codecSelferValueTypeArray1234 { + yyl522 := r.ReadArrayStart() + if yyl522 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl522, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8334,12 +8334,12 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys523Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys523Slc + var yyhl523 bool = l >= 0 + for yyj523 := 0; ; yyj523++ { + if yyhl523 { + if yyj523 >= l { break } } else { @@ -8348,20 +8348,20 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys523Slc = r.DecodeBytes(yys523Slc, true, true) + yys523 := string(yys523Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys523 { case "accessModes": if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv4 := &x.AccessModes - yym5 := z.DecBinary() - _ = yym5 + yyv524 := &x.AccessModes + yym525 := z.DecBinary() + _ = yym525 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv4), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv524), d) } } case "selector": @@ -8373,8 +8373,8 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if x.Selector == nil { x.Selector = new(pkg2_unversioned.LabelSelector) } - yym7 := z.DecBinary() - _ = yym7 + yym527 := z.DecBinary() + _ = yym527 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -8385,8 +8385,8 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv8 := &x.Resources - yyv8.CodecDecodeSelf(d) + yyv528 := &x.Resources + yyv528.CodecDecodeSelf(d) } case "volumeName": if r.TryDecodeAsNil() { @@ -8395,9 +8395,9 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D x.VolumeName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys523) + } // end switch yys523 + } // end for yyj523 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8405,16 +8405,16 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj530 int + var yyb530 bool + var yyhl530 bool = l >= 0 + yyj530++ + if yyhl530 { + yyb530 = yyj530 > l } else { - yyb10 = r.CheckBreak() + yyb530 = r.CheckBreak() } - if yyb10 { + if yyb530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8422,21 +8422,21 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv11 := &x.AccessModes - yym12 := z.DecBinary() - _ = yym12 + yyv531 := &x.AccessModes + yym532 := z.DecBinary() + _ = yym532 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv11), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv531), d) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj530++ + if yyhl530 { + yyb530 = yyj530 > l } else { - yyb10 = r.CheckBreak() + yyb530 = r.CheckBreak() } - if yyb10 { + if yyb530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8449,21 +8449,21 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if x.Selector == nil { x.Selector = new(pkg2_unversioned.LabelSelector) } - yym14 := z.DecBinary() - _ = yym14 + yym534 := z.DecBinary() + _ = yym534 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj530++ + if yyhl530 { + yyb530 = yyj530 > l } else { - yyb10 = r.CheckBreak() + yyb530 = r.CheckBreak() } - if yyb10 { + if yyb530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8471,16 +8471,16 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv15 := &x.Resources - yyv15.CodecDecodeSelf(d) + yyv535 := &x.Resources + yyv535.CodecDecodeSelf(d) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj530++ + if yyhl530 { + yyb530 = yyj530 > l } else { - yyb10 = r.CheckBreak() + yyb530 = r.CheckBreak() } - if yyb10 { + if yyb530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8491,17 +8491,17 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 x.VolumeName = string(r.DecodeString()) } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj530++ + if yyhl530 { + yyb530 = yyj530 > l } else { - yyb10 = r.CheckBreak() + yyb530 = r.CheckBreak() } - if yyb10 { + if yyb530 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj530-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8513,55 +8513,55 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym537 := z.EncBinary() + _ = yym537 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Phase != "" - yyq2[1] = len(x.AccessModes) != 0 - yyq2[2] = len(x.Capacity) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep538 := !z.EncBinary() + yy2arr538 := z.EncBasicHandle().StructToArray + var yyq538 [3]bool + _, _, _ = yysep538, yyq538, yy2arr538 + const yyr538 bool = false + yyq538[0] = x.Phase != "" + yyq538[1] = len(x.AccessModes) != 0 + yyq538[2] = len(x.Capacity) != 0 + var yynn538 int + if yyr538 || yy2arr538 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn538 = 0 + for _, b := range yyq538 { if b { - yynn2++ + yynn538++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn538) + yynn538 = 0 } - if yyr2 || yy2arr2 { + if yyr538 || yy2arr538 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq538[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq538[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr538 || yy2arr538 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq538[1] { if x.AccessModes == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym541 := z.EncBinary() + _ = yym541 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -8571,15 +8571,15 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq538[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym542 := z.EncBinary() + _ = yym542 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -8587,9 +8587,9 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr538 || yy2arr538 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq538[2] { if x.Capacity == nil { r.EncodeNil() } else { @@ -8599,7 +8599,7 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq538[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -8610,7 +8610,7 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr538 || yy2arr538 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8623,25 +8623,25 @@ func (x *PersistentVolumeClaimStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym544 := z.DecBinary() + _ = yym544 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct545 := r.ContainerType() + if yyct545 == codecSelferValueTypeMap1234 { + yyl545 := r.ReadMapStart() + if yyl545 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl545, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct545 == codecSelferValueTypeArray1234 { + yyl545 := r.ReadArrayStart() + if yyl545 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl545, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8653,12 +8653,12 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys546Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys546Slc + var yyhl546 bool = l >= 0 + for yyj546 := 0; ; yyj546++ { + if yyhl546 { + if yyj546 >= l { break } } else { @@ -8667,10 +8667,10 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys546Slc = r.DecodeBytes(yys546Slc, true, true) + yys546 := string(yys546Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys546 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -8681,25 +8681,25 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv5 := &x.AccessModes - yym6 := z.DecBinary() - _ = yym6 + yyv548 := &x.AccessModes + yym549 := z.DecBinary() + _ = yym549 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv5), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv548), d) } } case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv7 := &x.Capacity - yyv7.CodecDecodeSelf(d) + yyv550 := &x.Capacity + yyv550.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys546) + } // end switch yys546 + } // end for yyj546 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8707,16 +8707,16 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj551 int + var yyb551 bool + var yyhl551 bool = l >= 0 + yyj551++ + if yyhl551 { + yyb551 = yyj551 > l } else { - yyb8 = r.CheckBreak() + yyb551 = r.CheckBreak() } - if yyb8 { + if yyb551 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8726,13 +8726,13 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Phase = PersistentVolumeClaimPhase(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj551++ + if yyhl551 { + yyb551 = yyj551 > l } else { - yyb8 = r.CheckBreak() + yyb551 = r.CheckBreak() } - if yyb8 { + if yyb551 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8740,21 +8740,21 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv10 := &x.AccessModes - yym11 := z.DecBinary() - _ = yym11 + yyv553 := &x.AccessModes + yym554 := z.DecBinary() + _ = yym554 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv10), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv553), d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj551++ + if yyhl551 { + yyb551 = yyj551 > l } else { - yyb8 = r.CheckBreak() + yyb551 = r.CheckBreak() } - if yyb8 { + if yyb551 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8762,21 +8762,21 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv12 := &x.Capacity - yyv12.CodecDecodeSelf(d) + yyv555 := &x.Capacity + yyv555.CodecDecodeSelf(d) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj551++ + if yyhl551 { + yyb551 = yyj551 > l } else { - yyb8 = r.CheckBreak() + yyb551 = r.CheckBreak() } - if yyb8 { + if yyb551 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj551-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8785,8 +8785,8 @@ func (x PersistentVolumeAccessMode) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym556 := z.EncBinary() + _ = yym556 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -8798,8 +8798,8 @@ func (x *PersistentVolumeAccessMode) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym557 := z.DecBinary() + _ = yym557 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -8811,8 +8811,8 @@ func (x PersistentVolumePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym558 := z.EncBinary() + _ = yym558 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -8824,8 +8824,8 @@ func (x *PersistentVolumePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym559 := z.DecBinary() + _ = yym559 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -8837,8 +8837,8 @@ func (x PersistentVolumeClaimPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym560 := z.EncBinary() + _ = yym560 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -8850,8 +8850,8 @@ func (x *PersistentVolumeClaimPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym561 := z.DecBinary() + _ = yym561 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -8866,33 +8866,33 @@ func (x *HostPathVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym562 := z.EncBinary() + _ = yym562 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep563 := !z.EncBinary() + yy2arr563 := z.EncBasicHandle().StructToArray + var yyq563 [1]bool + _, _, _ = yysep563, yyq563, yy2arr563 + const yyr563 bool = false + var yynn563 int + if yyr563 || yy2arr563 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn563 = 1 + for _, b := range yyq563 { if b { - yynn2++ + yynn563++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn563) + yynn563 = 0 } - if yyr2 || yy2arr2 { + if yyr563 || yy2arr563 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym565 := z.EncBinary() + _ = yym565 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -8901,14 +8901,14 @@ func (x *HostPathVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym566 := z.EncBinary() + _ = yym566 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2 || yy2arr2 { + if yyr563 || yy2arr563 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8921,25 +8921,25 @@ func (x *HostPathVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym567 := z.DecBinary() + _ = yym567 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct568 := r.ContainerType() + if yyct568 == codecSelferValueTypeMap1234 { + yyl568 := r.ReadMapStart() + if yyl568 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl568, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct568 == codecSelferValueTypeArray1234 { + yyl568 := r.ReadArrayStart() + if yyl568 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl568, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8951,12 +8951,12 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys569Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys569Slc + var yyhl569 bool = l >= 0 + for yyj569 := 0; ; yyj569++ { + if yyhl569 { + if yyj569 >= l { break } } else { @@ -8965,10 +8965,10 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys569Slc = r.DecodeBytes(yys569Slc, true, true) + yys569 := string(yys569Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys569 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -8976,9 +8976,9 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys569) + } // end switch yys569 + } // end for yyj569 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8986,16 +8986,16 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj571 int + var yyb571 bool + var yyhl571 bool = l >= 0 + yyj571++ + if yyhl571 { + yyb571 = yyj571 > l } else { - yyb5 = r.CheckBreak() + yyb571 = r.CheckBreak() } - if yyb5 { + if yyb571 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9006,17 +9006,17 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Path = string(r.DecodeString()) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj571++ + if yyhl571 { + yyb571 = yyj571 > l } else { - yyb5 = r.CheckBreak() + yyb571 = r.CheckBreak() } - if yyb5 { + if yyb571 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj571-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9028,46 +9028,46 @@ func (x *EmptyDirVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym573 := z.EncBinary() + _ = yym573 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Medium != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep574 := !z.EncBinary() + yy2arr574 := z.EncBasicHandle().StructToArray + var yyq574 [1]bool + _, _, _ = yysep574, yyq574, yy2arr574 + const yyr574 bool = false + yyq574[0] = x.Medium != "" + var yynn574 int + if yyr574 || yy2arr574 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn574 = 0 + for _, b := range yyq574 { if b { - yynn2++ + yynn574++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn574) + yynn574 = 0 } - if yyr2 || yy2arr2 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq574[0] { x.Medium.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq574[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("medium")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Medium.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9080,25 +9080,25 @@ func (x *EmptyDirVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym576 := z.DecBinary() + _ = yym576 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct577 := r.ContainerType() + if yyct577 == codecSelferValueTypeMap1234 { + yyl577 := r.ReadMapStart() + if yyl577 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl577, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct577 == codecSelferValueTypeArray1234 { + yyl577 := r.ReadArrayStart() + if yyl577 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl577, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9110,12 +9110,12 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -9124,10 +9124,10 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys578Slc = r.DecodeBytes(yys578Slc, true, true) + yys578 := string(yys578Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys578 { case "medium": if r.TryDecodeAsNil() { x.Medium = "" @@ -9135,9 +9135,9 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Medium = StorageMedium(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys578) + } // end switch yys578 + } // end for yyj578 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9145,16 +9145,16 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj580 int + var yyb580 bool + var yyhl580 bool = l >= 0 + yyj580++ + if yyhl580 { + yyb580 = yyj580 > l } else { - yyb5 = r.CheckBreak() + yyb580 = r.CheckBreak() } - if yyb5 { + if yyb580 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9165,17 +9165,17 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Medium = StorageMedium(r.DecodeString()) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj580++ + if yyhl580 { + yyb580 = yyj580 > l } else { - yyb5 = r.CheckBreak() + yyb580 = r.CheckBreak() } - if yyb5 { + if yyb580 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj580-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9184,8 +9184,8 @@ func (x StorageMedium) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym582 := z.EncBinary() + _ = yym582 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -9197,8 +9197,8 @@ func (x *StorageMedium) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym583 := z.DecBinary() + _ = yym583 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -9210,8 +9210,8 @@ func (x Protocol) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym584 := z.EncBinary() + _ = yym584 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -9223,8 +9223,8 @@ func (x *Protocol) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym585 := z.DecBinary() + _ = yym585 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -9239,36 +9239,36 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym586 := z.EncBinary() + _ = yym586 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FSType != "" - yyq2[2] = x.Partition != 0 - yyq2[3] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep587 := !z.EncBinary() + yy2arr587 := z.EncBasicHandle().StructToArray + var yyq587 [4]bool + _, _, _ = yysep587, yyq587, yy2arr587 + const yyr587 bool = false + yyq587[1] = x.FSType != "" + yyq587[2] = x.Partition != 0 + yyq587[3] = x.ReadOnly != false + var yynn587 int + if yyr587 || yy2arr587 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn587 = 1 + for _, b := range yyq587 { if b { - yynn2++ + yynn587++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn587) + yynn587 = 0 } - if yyr2 || yy2arr2 { + if yyr587 || yy2arr587 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym589 := z.EncBinary() + _ = yym589 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) @@ -9277,18 +9277,18 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pdName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym590 := z.EncBinary() + _ = yym590 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) } } - if yyr2 || yy2arr2 { + if yyr587 || yy2arr587 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq587[1] { + yym592 := z.EncBinary() + _ = yym592 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -9297,23 +9297,23 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq587[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym593 := z.EncBinary() + _ = yym593 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr587 || yy2arr587 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq587[2] { + yym595 := z.EncBinary() + _ = yym595 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -9322,23 +9322,23 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[2] { + if yyq587[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym596 := z.EncBinary() + _ = yym596 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr2 || yy2arr2 { + if yyr587 || yy2arr587 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq587[3] { + yym598 := z.EncBinary() + _ = yym598 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -9347,19 +9347,19 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[3] { + if yyq587[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym599 := z.EncBinary() + _ = yym599 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr587 || yy2arr587 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9372,25 +9372,25 @@ func (x *GCEPersistentDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym600 := z.DecBinary() + _ = yym600 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct601 := r.ContainerType() + if yyct601 == codecSelferValueTypeMap1234 { + yyl601 := r.ReadMapStart() + if yyl601 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl601, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct601 == codecSelferValueTypeArray1234 { + yyl601 := r.ReadArrayStart() + if yyl601 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl601, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9402,12 +9402,12 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys602Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys602Slc + var yyhl602 bool = l >= 0 + for yyj602 := 0; ; yyj602++ { + if yyhl602 { + if yyj602 >= l { break } } else { @@ -9416,10 +9416,10 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys602Slc = r.DecodeBytes(yys602Slc, true, true) + yys602 := string(yys602Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys602 { case "pdName": if r.TryDecodeAsNil() { x.PDName = "" @@ -9445,9 +9445,9 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys602) + } // end switch yys602 + } // end for yyj602 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9455,16 +9455,16 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj607 int + var yyb607 bool + var yyhl607 bool = l >= 0 + yyj607++ + if yyhl607 { + yyb607 = yyj607 > l } else { - yyb8 = r.CheckBreak() + yyb607 = r.CheckBreak() } - if yyb8 { + if yyb607 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9474,13 +9474,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.PDName = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj607++ + if yyhl607 { + yyb607 = yyj607 > l } else { - yyb8 = r.CheckBreak() + yyb607 = r.CheckBreak() } - if yyb8 { + if yyb607 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9490,13 +9490,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.FSType = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj607++ + if yyhl607 { + yyb607 = yyj607 > l } else { - yyb8 = r.CheckBreak() + yyb607 = r.CheckBreak() } - if yyb8 { + if yyb607 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9506,13 +9506,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.Partition = int32(r.DecodeInt(32)) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj607++ + if yyhl607 { + yyb607 = yyj607 > l } else { - yyb8 = r.CheckBreak() + yyb607 = r.CheckBreak() } - if yyb8 { + if yyb607 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9523,17 +9523,17 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj607++ + if yyhl607 { + yyb607 = yyj607 > l } else { - yyb8 = r.CheckBreak() + yyb607 = r.CheckBreak() } - if yyb8 { + if yyb607 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj607-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9545,40 +9545,40 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym612 := z.EncBinary() + _ = yym612 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.TargetPortal != "" - yyq2[1] = x.IQN != "" - yyq2[2] = x.Lun != 0 - yyq2[3] = x.ISCSIInterface != "" - yyq2[4] = x.FSType != "" - yyq2[5] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep613 := !z.EncBinary() + yy2arr613 := z.EncBasicHandle().StructToArray + var yyq613 [6]bool + _, _, _ = yysep613, yyq613, yy2arr613 + const yyr613 bool = false + yyq613[0] = x.TargetPortal != "" + yyq613[1] = x.IQN != "" + yyq613[2] = x.Lun != 0 + yyq613[3] = x.ISCSIInterface != "" + yyq613[4] = x.FSType != "" + yyq613[5] = x.ReadOnly != false + var yynn613 int + if yyr613 || yy2arr613 { r.EncodeArrayStart(6) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn613 = 0 + for _, b := range yyq613 { if b { - yynn2++ + yynn613++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn613) + yynn613 = 0 } - if yyr2 || yy2arr2 { + if yyr613 || yy2arr613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq613[0] { + yym615 := z.EncBinary() + _ = yym615 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) @@ -9587,23 +9587,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq613[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPortal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym616 := z.EncBinary() + _ = yym616 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) } } } - if yyr2 || yy2arr2 { + if yyr613 || yy2arr613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq613[1] { + yym618 := z.EncBinary() + _ = yym618 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) @@ -9612,23 +9612,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq613[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iqn")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym619 := z.EncBinary() + _ = yym619 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) } } } - if yyr2 || yy2arr2 { + if yyr613 || yy2arr613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq613[2] { + yym621 := z.EncBinary() + _ = yym621 if false { } else { r.EncodeInt(int64(x.Lun)) @@ -9637,23 +9637,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[2] { + if yyq613[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lun")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym622 := z.EncBinary() + _ = yym622 if false { } else { r.EncodeInt(int64(x.Lun)) } } } - if yyr2 || yy2arr2 { + if yyr613 || yy2arr613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq613[3] { + yym624 := z.EncBinary() + _ = yym624 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) @@ -9662,23 +9662,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq613[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsiInterface")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym625 := z.EncBinary() + _ = yym625 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) } } } - if yyr2 || yy2arr2 { + if yyr613 || yy2arr613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq613[4] { + yym627 := z.EncBinary() + _ = yym627 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -9687,23 +9687,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq613[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym628 := z.EncBinary() + _ = yym628 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr613 || yy2arr613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq613[5] { + yym630 := z.EncBinary() + _ = yym630 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -9712,19 +9712,19 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[5] { + if yyq613[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym631 := z.EncBinary() + _ = yym631 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr613 || yy2arr613 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9737,25 +9737,25 @@ func (x *ISCSIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym632 := z.DecBinary() + _ = yym632 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct633 := r.ContainerType() + if yyct633 == codecSelferValueTypeMap1234 { + yyl633 := r.ReadMapStart() + if yyl633 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl633, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct633 == codecSelferValueTypeArray1234 { + yyl633 := r.ReadArrayStart() + if yyl633 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl633, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9767,12 +9767,12 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys634Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys634Slc + var yyhl634 bool = l >= 0 + for yyj634 := 0; ; yyj634++ { + if yyhl634 { + if yyj634 >= l { break } } else { @@ -9781,10 +9781,10 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys634Slc = r.DecodeBytes(yys634Slc, true, true) + yys634 := string(yys634Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys634 { case "targetPortal": if r.TryDecodeAsNil() { x.TargetPortal = "" @@ -9822,9 +9822,9 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys634) + } // end switch yys634 + } // end for yyj634 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9832,16 +9832,16 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj641 int + var yyb641 bool + var yyhl641 bool = l >= 0 + yyj641++ + if yyhl641 { + yyb641 = yyj641 > l } else { - yyb10 = r.CheckBreak() + yyb641 = r.CheckBreak() } - if yyb10 { + if yyb641 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9851,13 +9851,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.TargetPortal = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj641++ + if yyhl641 { + yyb641 = yyj641 > l } else { - yyb10 = r.CheckBreak() + yyb641 = r.CheckBreak() } - if yyb10 { + if yyb641 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9867,13 +9867,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.IQN = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj641++ + if yyhl641 { + yyb641 = yyj641 > l } else { - yyb10 = r.CheckBreak() + yyb641 = r.CheckBreak() } - if yyb10 { + if yyb641 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9883,13 +9883,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Lun = int32(r.DecodeInt(32)) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj641++ + if yyhl641 { + yyb641 = yyj641 > l } else { - yyb10 = r.CheckBreak() + yyb641 = r.CheckBreak() } - if yyb10 { + if yyb641 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9899,13 +9899,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.ISCSIInterface = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj641++ + if yyhl641 { + yyb641 = yyj641 > l } else { - yyb10 = r.CheckBreak() + yyb641 = r.CheckBreak() } - if yyb10 { + if yyb641 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9915,13 +9915,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.FSType = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj641++ + if yyhl641 { + yyb641 = yyj641 > l } else { - yyb10 = r.CheckBreak() + yyb641 = r.CheckBreak() } - if yyb10 { + if yyb641 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9932,17 +9932,17 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.ReadOnly = bool(r.DecodeBool()) } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj641++ + if yyhl641 { + yyb641 = yyj641 > l } else { - yyb10 = r.CheckBreak() + yyb641 = r.CheckBreak() } - if yyb10 { + if yyb641 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj641-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9954,38 +9954,38 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym648 := z.EncBinary() + _ = yym648 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.FSType != "" - yyq2[3] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep649 := !z.EncBinary() + yy2arr649 := z.EncBasicHandle().StructToArray + var yyq649 [4]bool + _, _, _ = yysep649, yyq649, yy2arr649 + const yyr649 bool = false + yyq649[2] = x.FSType != "" + yyq649[3] = x.ReadOnly != false + var yynn649 int + if yyr649 || yy2arr649 { r.EncodeArrayStart(4) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn649 = 2 + for _, b := range yyq649 { if b { - yynn2++ + yynn649++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn649) + yynn649 = 0 } - if yyr2 || yy2arr2 { + if yyr649 || yy2arr649 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TargetWWNs == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym651 := z.EncBinary() + _ = yym651 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) @@ -9998,25 +9998,25 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.TargetWWNs == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym652 := z.EncBinary() + _ = yym652 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) } } } - if yyr2 || yy2arr2 { + if yyr649 || yy2arr649 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Lun == nil { r.EncodeNil() } else { - yy7 := *x.Lun - yym8 := z.EncBinary() - _ = yym8 + yy654 := *x.Lun + yym655 := z.EncBinary() + _ = yym655 if false { } else { - r.EncodeInt(int64(yy7)) + r.EncodeInt(int64(yy654)) } } } else { @@ -10026,20 +10026,20 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.Lun == nil { r.EncodeNil() } else { - yy9 := *x.Lun - yym10 := z.EncBinary() - _ = yym10 + yy656 := *x.Lun + yym657 := z.EncBinary() + _ = yym657 if false { } else { - r.EncodeInt(int64(yy9)) + r.EncodeInt(int64(yy656)) } } } - if yyr2 || yy2arr2 { + if yyr649 || yy2arr649 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 + if yyq649[2] { + yym659 := z.EncBinary() + _ = yym659 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -10048,23 +10048,23 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq649[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 + yym660 := z.EncBinary() + _ = yym660 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr649 || yy2arr649 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 + if yyq649[3] { + yym662 := z.EncBinary() + _ = yym662 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10073,19 +10073,19 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[3] { + if yyq649[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 + yym663 := z.EncBinary() + _ = yym663 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr649 || yy2arr649 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10098,25 +10098,25 @@ func (x *FCVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym664 := z.DecBinary() + _ = yym664 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct665 := r.ContainerType() + if yyct665 == codecSelferValueTypeMap1234 { + yyl665 := r.ReadMapStart() + if yyl665 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl665, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct665 == codecSelferValueTypeArray1234 { + yyl665 := r.ReadArrayStart() + if yyl665 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl665, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10128,12 +10128,12 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys666Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys666Slc + var yyhl666 bool = l >= 0 + for yyj666 := 0; ; yyj666++ { + if yyhl666 { + if yyj666 >= l { break } } else { @@ -10142,20 +10142,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys666Slc = r.DecodeBytes(yys666Slc, true, true) + yys666 := string(yys666Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys666 { case "targetWWNs": if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv4 := &x.TargetWWNs - yym5 := z.DecBinary() - _ = yym5 + yyv667 := &x.TargetWWNs + yym668 := z.DecBinary() + _ = yym668 if false { } else { - z.F.DecSliceStringX(yyv4, false, d) + z.F.DecSliceStringX(yyv667, false, d) } } case "lun": @@ -10167,8 +10167,8 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int32) } - yym7 := z.DecBinary() - _ = yym7 + yym670 := z.DecBinary() + _ = yym670 if false { } else { *((*int32)(x.Lun)) = int32(r.DecodeInt(32)) @@ -10187,9 +10187,9 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys666) + } // end switch yys666 + } // end for yyj666 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10197,16 +10197,16 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj673 int + var yyb673 bool + var yyhl673 bool = l >= 0 + yyj673++ + if yyhl673 { + yyb673 = yyj673 > l } else { - yyb10 = r.CheckBreak() + yyb673 = r.CheckBreak() } - if yyb10 { + if yyb673 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10214,21 +10214,21 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv11 := &x.TargetWWNs - yym12 := z.DecBinary() - _ = yym12 + yyv674 := &x.TargetWWNs + yym675 := z.DecBinary() + _ = yym675 if false { } else { - z.F.DecSliceStringX(yyv11, false, d) + z.F.DecSliceStringX(yyv674, false, d) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj673++ + if yyhl673 { + yyb673 = yyj673 > l } else { - yyb10 = r.CheckBreak() + yyb673 = r.CheckBreak() } - if yyb10 { + if yyb673 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10241,20 +10241,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int32) } - yym14 := z.DecBinary() - _ = yym14 + yym677 := z.DecBinary() + _ = yym677 if false { } else { *((*int32)(x.Lun)) = int32(r.DecodeInt(32)) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj673++ + if yyhl673 { + yyb673 = yyj673 > l } else { - yyb10 = r.CheckBreak() + yyb673 = r.CheckBreak() } - if yyb10 { + if yyb673 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10264,13 +10264,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.FSType = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj673++ + if yyhl673 { + yyb673 = yyj673 > l } else { - yyb10 = r.CheckBreak() + yyb673 = r.CheckBreak() } - if yyb10 { + if yyb673 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10281,17 +10281,17 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj673++ + if yyhl673 { + yyb673 = yyj673 > l } else { - yyb10 = r.CheckBreak() + yyb673 = r.CheckBreak() } - if yyb10 { + if yyb673 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj673-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10303,37 +10303,37 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym680 := z.EncBinary() + _ = yym680 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FSType != "" - yyq2[2] = x.SecretRef != nil - yyq2[3] = x.ReadOnly != false - yyq2[4] = len(x.Options) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep681 := !z.EncBinary() + yy2arr681 := z.EncBasicHandle().StructToArray + var yyq681 [5]bool + _, _, _ = yysep681, yyq681, yy2arr681 + const yyr681 bool = false + yyq681[1] = x.FSType != "" + yyq681[2] = x.SecretRef != nil + yyq681[3] = x.ReadOnly != false + yyq681[4] = len(x.Options) != 0 + var yynn681 int + if yyr681 || yy2arr681 { r.EncodeArrayStart(5) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn681 = 1 + for _, b := range yyq681 { if b { - yynn2++ + yynn681++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn681) + yynn681 = 0 } - if yyr2 || yy2arr2 { + if yyr681 || yy2arr681 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym683 := z.EncBinary() + _ = yym683 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) @@ -10342,18 +10342,18 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("driver")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym684 := z.EncBinary() + _ = yym684 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) } } - if yyr2 || yy2arr2 { + if yyr681 || yy2arr681 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq681[1] { + yym686 := z.EncBinary() + _ = yym686 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -10362,21 +10362,21 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq681[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym687 := z.EncBinary() + _ = yym687 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr681 || yy2arr681 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq681[2] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -10386,7 +10386,7 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq681[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -10397,11 +10397,11 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr681 || yy2arr681 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq681[3] { + yym690 := z.EncBinary() + _ = yym690 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10410,26 +10410,26 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[3] { + if yyq681[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym691 := z.EncBinary() + _ = yym691 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr681 || yy2arr681 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq681[4] { if x.Options == nil { r.EncodeNil() } else { - yym16 := z.EncBinary() - _ = yym16 + yym693 := z.EncBinary() + _ = yym693 if false { } else { z.F.EncMapStringStringV(x.Options, false, e) @@ -10439,15 +10439,15 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq681[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("options")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Options == nil { r.EncodeNil() } else { - yym17 := z.EncBinary() - _ = yym17 + yym694 := z.EncBinary() + _ = yym694 if false { } else { z.F.EncMapStringStringV(x.Options, false, e) @@ -10455,7 +10455,7 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr681 || yy2arr681 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10468,25 +10468,25 @@ func (x *FlexVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym695 := z.DecBinary() + _ = yym695 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct696 := r.ContainerType() + if yyct696 == codecSelferValueTypeMap1234 { + yyl696 := r.ReadMapStart() + if yyl696 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl696, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct696 == codecSelferValueTypeArray1234 { + yyl696 := r.ReadArrayStart() + if yyl696 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl696, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10498,12 +10498,12 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys697Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys697Slc + var yyhl697 bool = l >= 0 + for yyj697 := 0; ; yyj697++ { + if yyhl697 { + if yyj697 >= l { break } } else { @@ -10512,10 +10512,10 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys697Slc = r.DecodeBytes(yys697Slc, true, true) + yys697 := string(yys697Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys697 { case "driver": if r.TryDecodeAsNil() { x.Driver = "" @@ -10549,18 +10549,18 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Options = nil } else { - yyv8 := &x.Options - yym9 := z.DecBinary() - _ = yym9 + yyv702 := &x.Options + yym703 := z.DecBinary() + _ = yym703 if false { } else { - z.F.DecMapStringStringX(yyv8, false, d) + z.F.DecMapStringStringX(yyv702, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys697) + } // end switch yys697 + } // end for yyj697 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10568,16 +10568,16 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj704 int + var yyb704 bool + var yyhl704 bool = l >= 0 + yyj704++ + if yyhl704 { + yyb704 = yyj704 > l } else { - yyb10 = r.CheckBreak() + yyb704 = r.CheckBreak() } - if yyb10 { + if yyb704 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10587,13 +10587,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Driver = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj704++ + if yyhl704 { + yyb704 = yyj704 > l } else { - yyb10 = r.CheckBreak() + yyb704 = r.CheckBreak() } - if yyb10 { + if yyb704 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10603,13 +10603,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FSType = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj704++ + if yyhl704 { + yyb704 = yyj704 > l } else { - yyb10 = r.CheckBreak() + yyb704 = r.CheckBreak() } - if yyb10 { + if yyb704 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10624,13 +10624,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SecretRef.CodecDecodeSelf(d) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj704++ + if yyhl704 { + yyb704 = yyj704 > l } else { - yyb10 = r.CheckBreak() + yyb704 = r.CheckBreak() } - if yyb10 { + if yyb704 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10640,13 +10640,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ReadOnly = bool(r.DecodeBool()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj704++ + if yyhl704 { + yyb704 = yyj704 > l } else { - yyb10 = r.CheckBreak() + yyb704 = r.CheckBreak() } - if yyb10 { + if yyb704 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10654,26 +10654,26 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Options = nil } else { - yyv15 := &x.Options - yym16 := z.DecBinary() - _ = yym16 + yyv709 := &x.Options + yym710 := z.DecBinary() + _ = yym710 if false { } else { - z.F.DecMapStringStringX(yyv15, false, d) + z.F.DecMapStringStringX(yyv709, false, d) } } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj704++ + if yyhl704 { + yyb704 = yyj704 > l } else { - yyb10 = r.CheckBreak() + yyb704 = r.CheckBreak() } - if yyb10 { + if yyb704 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj704-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10685,36 +10685,36 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym711 := z.EncBinary() + _ = yym711 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FSType != "" - yyq2[2] = x.Partition != 0 - yyq2[3] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep712 := !z.EncBinary() + yy2arr712 := z.EncBasicHandle().StructToArray + var yyq712 [4]bool + _, _, _ = yysep712, yyq712, yy2arr712 + const yyr712 bool = false + yyq712[1] = x.FSType != "" + yyq712[2] = x.Partition != 0 + yyq712[3] = x.ReadOnly != false + var yynn712 int + if yyr712 || yy2arr712 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn712 = 1 + for _, b := range yyq712 { if b { - yynn2++ + yynn712++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn712) + yynn712 = 0 } - if yyr2 || yy2arr2 { + if yyr712 || yy2arr712 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym714 := z.EncBinary() + _ = yym714 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) @@ -10723,18 +10723,18 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym715 := z.EncBinary() + _ = yym715 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) } } - if yyr2 || yy2arr2 { + if yyr712 || yy2arr712 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq712[1] { + yym717 := z.EncBinary() + _ = yym717 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -10743,23 +10743,23 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq712[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym718 := z.EncBinary() + _ = yym718 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr712 || yy2arr712 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq712[2] { + yym720 := z.EncBinary() + _ = yym720 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -10768,23 +10768,23 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeInt(0) } } else { - if yyq2[2] { + if yyq712[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym721 := z.EncBinary() + _ = yym721 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr2 || yy2arr2 { + if yyr712 || yy2arr712 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq712[3] { + yym723 := z.EncBinary() + _ = yym723 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10793,19 +10793,19 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeBool(false) } } else { - if yyq2[3] { + if yyq712[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym724 := z.EncBinary() + _ = yym724 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr712 || yy2arr712 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10818,25 +10818,25 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym725 := z.DecBinary() + _ = yym725 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct726 := r.ContainerType() + if yyct726 == codecSelferValueTypeMap1234 { + yyl726 := r.ReadMapStart() + if yyl726 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl726, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct726 == codecSelferValueTypeArray1234 { + yyl726 := r.ReadArrayStart() + if yyl726 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl726, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10848,12 +10848,12 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys727Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys727Slc + var yyhl727 bool = l >= 0 + for yyj727 := 0; ; yyj727++ { + if yyhl727 { + if yyj727 >= l { break } } else { @@ -10862,10 +10862,10 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys727Slc = r.DecodeBytes(yys727Slc, true, true) + yys727 := string(yys727Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys727 { case "volumeID": if r.TryDecodeAsNil() { x.VolumeID = "" @@ -10891,9 +10891,9 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys727) + } // end switch yys727 + } // end for yyj727 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10901,16 +10901,16 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj732 int + var yyb732 bool + var yyhl732 bool = l >= 0 + yyj732++ + if yyhl732 { + yyb732 = yyj732 > l } else { - yyb8 = r.CheckBreak() + yyb732 = r.CheckBreak() } - if yyb8 { + if yyb732 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10920,13 +10920,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.VolumeID = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj732++ + if yyhl732 { + yyb732 = yyj732 > l } else { - yyb8 = r.CheckBreak() + yyb732 = r.CheckBreak() } - if yyb8 { + if yyb732 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10936,13 +10936,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.FSType = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj732++ + if yyhl732 { + yyb732 = yyj732 > l } else { - yyb8 = r.CheckBreak() + yyb732 = r.CheckBreak() } - if yyb8 { + if yyb732 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10952,13 +10952,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.Partition = int32(r.DecodeInt(32)) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj732++ + if yyhl732 { + yyb732 = yyj732 > l } else { - yyb8 = r.CheckBreak() + yyb732 = r.CheckBreak() } - if yyb8 { + if yyb732 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10969,17 +10969,17 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co x.ReadOnly = bool(r.DecodeBool()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj732++ + if yyhl732 { + yyb732 = yyj732 > l } else { - yyb8 = r.CheckBreak() + yyb732 = r.CheckBreak() } - if yyb8 { + if yyb732 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj732-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10991,35 +10991,35 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym737 := z.EncBinary() + _ = yym737 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Revision != "" - yyq2[2] = x.Directory != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep738 := !z.EncBinary() + yy2arr738 := z.EncBasicHandle().StructToArray + var yyq738 [3]bool + _, _, _ = yysep738, yyq738, yy2arr738 + const yyr738 bool = false + yyq738[1] = x.Revision != "" + yyq738[2] = x.Directory != "" + var yynn738 int + if yyr738 || yy2arr738 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn738 = 1 + for _, b := range yyq738 { if b { - yynn2++ + yynn738++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn738) + yynn738 = 0 } - if yyr2 || yy2arr2 { + if yyr738 || yy2arr738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym740 := z.EncBinary() + _ = yym740 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) @@ -11028,18 +11028,18 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("repository")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym741 := z.EncBinary() + _ = yym741 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) } } - if yyr2 || yy2arr2 { + if yyr738 || yy2arr738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq738[1] { + yym743 := z.EncBinary() + _ = yym743 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) @@ -11048,23 +11048,23 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq738[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym744 := z.EncBinary() + _ = yym744 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) } } } - if yyr2 || yy2arr2 { + if yyr738 || yy2arr738 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq738[2] { + yym746 := z.EncBinary() + _ = yym746 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) @@ -11073,19 +11073,19 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq738[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("directory")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym747 := z.EncBinary() + _ = yym747 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) } } } - if yyr2 || yy2arr2 { + if yyr738 || yy2arr738 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11098,25 +11098,25 @@ func (x *GitRepoVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym748 := z.DecBinary() + _ = yym748 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct749 := r.ContainerType() + if yyct749 == codecSelferValueTypeMap1234 { + yyl749 := r.ReadMapStart() + if yyl749 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl749, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct749 == codecSelferValueTypeArray1234 { + yyl749 := r.ReadArrayStart() + if yyl749 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl749, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11128,12 +11128,12 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys750Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys750Slc + var yyhl750 bool = l >= 0 + for yyj750 := 0; ; yyj750++ { + if yyhl750 { + if yyj750 >= l { break } } else { @@ -11142,10 +11142,10 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys750Slc = r.DecodeBytes(yys750Slc, true, true) + yys750 := string(yys750Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys750 { case "repository": if r.TryDecodeAsNil() { x.Repository = "" @@ -11165,9 +11165,9 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Directory = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys750) + } // end switch yys750 + } // end for yyj750 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11175,16 +11175,16 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj754 int + var yyb754 bool + var yyhl754 bool = l >= 0 + yyj754++ + if yyhl754 { + yyb754 = yyj754 > l } else { - yyb7 = r.CheckBreak() + yyb754 = r.CheckBreak() } - if yyb7 { + if yyb754 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11194,13 +11194,13 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Repository = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj754++ + if yyhl754 { + yyb754 = yyj754 > l } else { - yyb7 = r.CheckBreak() + yyb754 = r.CheckBreak() } - if yyb7 { + if yyb754 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11210,13 +11210,13 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Revision = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj754++ + if yyhl754 { + yyb754 = yyj754 > l } else { - yyb7 = r.CheckBreak() + yyb754 = r.CheckBreak() } - if yyb7 { + if yyb754 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11227,17 +11227,17 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Directory = string(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj754++ + if yyhl754 { + yyb754 = yyj754 > l } else { - yyb7 = r.CheckBreak() + yyb754 = r.CheckBreak() } - if yyb7 { + if yyb754 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj754-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11249,36 +11249,36 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym758 := z.EncBinary() + _ = yym758 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.SecretName != "" - yyq2[1] = len(x.Items) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep759 := !z.EncBinary() + yy2arr759 := z.EncBasicHandle().StructToArray + var yyq759 [2]bool + _, _, _ = yysep759, yyq759, yy2arr759 + const yyr759 bool = false + yyq759[0] = x.SecretName != "" + yyq759[1] = len(x.Items) != 0 + var yynn759 int + if yyr759 || yy2arr759 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn759 = 0 + for _, b := range yyq759 { if b { - yynn2++ + yynn759++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn759) + yynn759 = 0 } - if yyr2 || yy2arr2 { + if yyr759 || yy2arr759 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq759[0] { + yym761 := z.EncBinary() + _ = yym761 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -11287,26 +11287,26 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq759[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym762 := z.EncBinary() + _ = yym762 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } } - if yyr2 || yy2arr2 { + if yyr759 || yy2arr759 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq759[1] { if x.Items == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym764 := z.EncBinary() + _ = yym764 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -11316,15 +11316,15 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq759[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym765 := z.EncBinary() + _ = yym765 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -11332,7 +11332,7 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr759 || yy2arr759 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11345,25 +11345,25 @@ func (x *SecretVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym766 := z.DecBinary() + _ = yym766 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct767 := r.ContainerType() + if yyct767 == codecSelferValueTypeMap1234 { + yyl767 := r.ReadMapStart() + if yyl767 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl767, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct767 == codecSelferValueTypeArray1234 { + yyl767 := r.ReadArrayStart() + if yyl767 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl767, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11375,12 +11375,12 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys768Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys768Slc + var yyhl768 bool = l >= 0 + for yyj768 := 0; ; yyj768++ { + if yyhl768 { + if yyj768 >= l { break } } else { @@ -11389,10 +11389,10 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys768Slc = r.DecodeBytes(yys768Slc, true, true) + yys768 := string(yys768Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys768 { case "secretName": if r.TryDecodeAsNil() { x.SecretName = "" @@ -11403,18 +11403,18 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv5 := &x.Items - yym6 := z.DecBinary() - _ = yym6 + yyv770 := &x.Items + yym771 := z.DecBinary() + _ = yym771 if false { } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv5), d) + h.decSliceKeyToPath((*[]KeyToPath)(yyv770), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys768) + } // end switch yys768 + } // end for yyj768 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11422,16 +11422,16 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj772 int + var yyb772 bool + var yyhl772 bool = l >= 0 + yyj772++ + if yyhl772 { + yyb772 = yyj772 > l } else { - yyb7 = r.CheckBreak() + yyb772 = r.CheckBreak() } - if yyb7 { + if yyb772 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11441,13 +11441,13 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.SecretName = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj772++ + if yyhl772 { + yyb772 = yyj772 > l } else { - yyb7 = r.CheckBreak() + yyb772 = r.CheckBreak() } - if yyb7 { + if yyb772 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11455,26 +11455,26 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Items = nil } else { - yyv9 := &x.Items - yym10 := z.DecBinary() - _ = yym10 + yyv774 := &x.Items + yym775 := z.DecBinary() + _ = yym775 if false { } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv9), d) + h.decSliceKeyToPath((*[]KeyToPath)(yyv774), d) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj772++ + if yyhl772 { + yyb772 = yyj772 > l } else { - yyb7 = r.CheckBreak() + yyb772 = r.CheckBreak() } - if yyb7 { + if yyb772 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj772-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11486,34 +11486,34 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym776 := z.EncBinary() + _ = yym776 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep777 := !z.EncBinary() + yy2arr777 := z.EncBasicHandle().StructToArray + var yyq777 [3]bool + _, _, _ = yysep777, yyq777, yy2arr777 + const yyr777 bool = false + yyq777[2] = x.ReadOnly != false + var yynn777 int + if yyr777 || yy2arr777 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn777 = 2 + for _, b := range yyq777 { if b { - yynn2++ + yynn777++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn777) + yynn777 = 0 } - if yyr2 || yy2arr2 { + if yyr777 || yy2arr777 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym779 := z.EncBinary() + _ = yym779 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) @@ -11522,17 +11522,17 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("server")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym780 := z.EncBinary() + _ = yym780 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) } } - if yyr2 || yy2arr2 { + if yyr777 || yy2arr777 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym782 := z.EncBinary() + _ = yym782 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -11541,18 +11541,18 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym783 := z.EncBinary() + _ = yym783 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2 || yy2arr2 { + if yyr777 || yy2arr777 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq777[2] { + yym785 := z.EncBinary() + _ = yym785 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11561,19 +11561,19 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[2] { + if yyq777[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym786 := z.EncBinary() + _ = yym786 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr777 || yy2arr777 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11586,25 +11586,25 @@ func (x *NFSVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym787 := z.DecBinary() + _ = yym787 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct788 := r.ContainerType() + if yyct788 == codecSelferValueTypeMap1234 { + yyl788 := r.ReadMapStart() + if yyl788 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl788, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct788 == codecSelferValueTypeArray1234 { + yyl788 := r.ReadArrayStart() + if yyl788 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl788, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11616,12 +11616,12 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys789Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys789Slc + var yyhl789 bool = l >= 0 + for yyj789 := 0; ; yyj789++ { + if yyhl789 { + if yyj789 >= l { break } } else { @@ -11630,10 +11630,10 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys789Slc = r.DecodeBytes(yys789Slc, true, true) + yys789 := string(yys789Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys789 { case "server": if r.TryDecodeAsNil() { x.Server = "" @@ -11653,9 +11653,9 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys789) + } // end switch yys789 + } // end for yyj789 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11663,16 +11663,16 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj793 int + var yyb793 bool + var yyhl793 bool = l >= 0 + yyj793++ + if yyhl793 { + yyb793 = yyj793 > l } else { - yyb7 = r.CheckBreak() + yyb793 = r.CheckBreak() } - if yyb7 { + if yyb793 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11682,13 +11682,13 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Server = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj793++ + if yyhl793 { + yyb793 = yyj793 > l } else { - yyb7 = r.CheckBreak() + yyb793 = r.CheckBreak() } - if yyb7 { + if yyb793 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11698,13 +11698,13 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj793++ + if yyhl793 { + yyb793 = yyj793 > l } else { - yyb7 = r.CheckBreak() + yyb793 = r.CheckBreak() } - if yyb7 { + if yyb793 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11715,17 +11715,17 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj793++ + if yyhl793 { + yyb793 = yyj793 > l } else { - yyb7 = r.CheckBreak() + yyb793 = r.CheckBreak() } - if yyb7 { + if yyb793 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj793-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11737,34 +11737,34 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym797 := z.EncBinary() + _ = yym797 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep798 := !z.EncBinary() + yy2arr798 := z.EncBasicHandle().StructToArray + var yyq798 [3]bool + _, _, _ = yysep798, yyq798, yy2arr798 + const yyr798 bool = false + yyq798[2] = x.ReadOnly != false + var yynn798 int + if yyr798 || yy2arr798 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn798 = 2 + for _, b := range yyq798 { if b { - yynn2++ + yynn798++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn798) + yynn798 = 0 } - if yyr2 || yy2arr2 { + if yyr798 || yy2arr798 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym800 := z.EncBinary() + _ = yym800 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EndpointsName)) @@ -11773,17 +11773,17 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("endpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym801 := z.EncBinary() + _ = yym801 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EndpointsName)) } } - if yyr2 || yy2arr2 { + if yyr798 || yy2arr798 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym803 := z.EncBinary() + _ = yym803 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -11792,18 +11792,18 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym804 := z.EncBinary() + _ = yym804 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2 || yy2arr2 { + if yyr798 || yy2arr798 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq798[2] { + yym806 := z.EncBinary() + _ = yym806 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11812,19 +11812,19 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[2] { + if yyq798[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym807 := z.EncBinary() + _ = yym807 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr798 || yy2arr798 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11837,25 +11837,25 @@ func (x *GlusterfsVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym808 := z.DecBinary() + _ = yym808 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct809 := r.ContainerType() + if yyct809 == codecSelferValueTypeMap1234 { + yyl809 := r.ReadMapStart() + if yyl809 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl809, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct809 == codecSelferValueTypeArray1234 { + yyl809 := r.ReadArrayStart() + if yyl809 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl809, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11867,12 +11867,12 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys810Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys810Slc + var yyhl810 bool = l >= 0 + for yyj810 := 0; ; yyj810++ { + if yyhl810 { + if yyj810 >= l { break } } else { @@ -11881,10 +11881,10 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys810Slc = r.DecodeBytes(yys810Slc, true, true) + yys810 := string(yys810Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys810 { case "endpoints": if r.TryDecodeAsNil() { x.EndpointsName = "" @@ -11904,9 +11904,9 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys810) + } // end switch yys810 + } // end for yyj810 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11914,16 +11914,16 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj814 int + var yyb814 bool + var yyhl814 bool = l >= 0 + yyj814++ + if yyhl814 { + yyb814 = yyj814 > l } else { - yyb7 = r.CheckBreak() + yyb814 = r.CheckBreak() } - if yyb7 { + if yyb814 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11933,13 +11933,13 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.EndpointsName = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj814++ + if yyhl814 { + yyb814 = yyj814 > l } else { - yyb7 = r.CheckBreak() + yyb814 = r.CheckBreak() } - if yyb7 { + if yyb814 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11949,13 +11949,13 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj814++ + if yyhl814 { + yyb814 = yyj814 > l } else { - yyb7 = r.CheckBreak() + yyb814 = r.CheckBreak() } - if yyb7 { + if yyb814 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11966,17 +11966,17 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj814++ + if yyhl814 { + yyb814 = yyj814 > l } else { - yyb7 = r.CheckBreak() + yyb814 = r.CheckBreak() } - if yyb7 { + if yyb814 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj814-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11988,42 +11988,42 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym818 := z.EncBinary() + _ = yym818 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [8]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.FSType != "" - yyq2[3] = x.RBDPool != "" - yyq2[4] = x.RadosUser != "" - yyq2[5] = x.Keyring != "" - yyq2[6] = x.SecretRef != nil - yyq2[7] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep819 := !z.EncBinary() + yy2arr819 := z.EncBasicHandle().StructToArray + var yyq819 [8]bool + _, _, _ = yysep819, yyq819, yy2arr819 + const yyr819 bool = false + yyq819[2] = x.FSType != "" + yyq819[3] = x.RBDPool != "" + yyq819[4] = x.RadosUser != "" + yyq819[5] = x.Keyring != "" + yyq819[6] = x.SecretRef != nil + yyq819[7] = x.ReadOnly != false + var yynn819 int + if yyr819 || yy2arr819 { r.EncodeArrayStart(8) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn819 = 2 + for _, b := range yyq819 { if b { - yynn2++ + yynn819++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn819) + yynn819 = 0 } - if yyr2 || yy2arr2 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.CephMonitors == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym821 := z.EncBinary() + _ = yym821 if false { } else { z.F.EncSliceStringV(x.CephMonitors, false, e) @@ -12036,18 +12036,18 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.CephMonitors == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym822 := z.EncBinary() + _ = yym822 if false { } else { z.F.EncSliceStringV(x.CephMonitors, false, e) } } } - if yyr2 || yy2arr2 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym824 := z.EncBinary() + _ = yym824 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDImage)) @@ -12056,18 +12056,18 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym825 := z.EncBinary() + _ = yym825 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDImage)) } } - if yyr2 || yy2arr2 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq819[2] { + yym827 := z.EncBinary() + _ = yym827 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -12076,23 +12076,23 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq819[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym828 := z.EncBinary() + _ = yym828 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq819[3] { + yym830 := z.EncBinary() + _ = yym830 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDPool)) @@ -12101,23 +12101,23 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq819[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pool")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym831 := z.EncBinary() + _ = yym831 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDPool)) } } } - if yyr2 || yy2arr2 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq819[4] { + yym833 := z.EncBinary() + _ = yym833 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RadosUser)) @@ -12126,23 +12126,23 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq819[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym834 := z.EncBinary() + _ = yym834 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RadosUser)) } } } - if yyr2 || yy2arr2 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq819[5] { + yym836 := z.EncBinary() + _ = yym836 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Keyring)) @@ -12151,21 +12151,21 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq819[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("keyring")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym837 := z.EncBinary() + _ = yym837 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Keyring)) } } } - if yyr2 || yy2arr2 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq819[6] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -12175,7 +12175,7 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[6] { + if yyq819[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -12186,11 +12186,11 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym25 := z.EncBinary() - _ = yym25 + if yyq819[7] { + yym840 := z.EncBinary() + _ = yym840 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -12199,19 +12199,19 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[7] { + if yyq819[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym26 := z.EncBinary() - _ = yym26 + yym841 := z.EncBinary() + _ = yym841 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr819 || yy2arr819 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12224,25 +12224,25 @@ func (x *RBDVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym842 := z.DecBinary() + _ = yym842 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct843 := r.ContainerType() + if yyct843 == codecSelferValueTypeMap1234 { + yyl843 := r.ReadMapStart() + if yyl843 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl843, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct843 == codecSelferValueTypeArray1234 { + yyl843 := r.ReadArrayStart() + if yyl843 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl843, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12254,12 +12254,12 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -12268,20 +12268,20 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys844Slc = r.DecodeBytes(yys844Slc, true, true) + yys844 := string(yys844Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys844 { case "monitors": if r.TryDecodeAsNil() { x.CephMonitors = nil } else { - yyv4 := &x.CephMonitors - yym5 := z.DecBinary() - _ = yym5 + yyv845 := &x.CephMonitors + yym846 := z.DecBinary() + _ = yym846 if false { } else { - z.F.DecSliceStringX(yyv4, false, d) + z.F.DecSliceStringX(yyv845, false, d) } } case "image": @@ -12332,9 +12332,9 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys844) + } // end switch yys844 + } // end for yyj844 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12342,16 +12342,16 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj13 int - var yyb13 bool - var yyhl13 bool = l >= 0 - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + var yyj854 int + var yyb854 bool + var yyhl854 bool = l >= 0 + yyj854++ + if yyhl854 { + yyb854 = yyj854 > l } else { - yyb13 = r.CheckBreak() + yyb854 = r.CheckBreak() } - if yyb13 { + if yyb854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12359,21 +12359,21 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.CephMonitors = nil } else { - yyv14 := &x.CephMonitors - yym15 := z.DecBinary() - _ = yym15 + yyv855 := &x.CephMonitors + yym856 := z.DecBinary() + _ = yym856 if false { } else { - z.F.DecSliceStringX(yyv14, false, d) + z.F.DecSliceStringX(yyv855, false, d) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj854++ + if yyhl854 { + yyb854 = yyj854 > l } else { - yyb13 = r.CheckBreak() + yyb854 = r.CheckBreak() } - if yyb13 { + if yyb854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12383,13 +12383,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RBDImage = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj854++ + if yyhl854 { + yyb854 = yyj854 > l } else { - yyb13 = r.CheckBreak() + yyb854 = r.CheckBreak() } - if yyb13 { + if yyb854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12399,13 +12399,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FSType = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj854++ + if yyhl854 { + yyb854 = yyj854 > l } else { - yyb13 = r.CheckBreak() + yyb854 = r.CheckBreak() } - if yyb13 { + if yyb854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12415,13 +12415,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RBDPool = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj854++ + if yyhl854 { + yyb854 = yyj854 > l } else { - yyb13 = r.CheckBreak() + yyb854 = r.CheckBreak() } - if yyb13 { + if yyb854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12431,13 +12431,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RadosUser = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj854++ + if yyhl854 { + yyb854 = yyj854 > l } else { - yyb13 = r.CheckBreak() + yyb854 = r.CheckBreak() } - if yyb13 { + if yyb854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12447,13 +12447,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Keyring = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj854++ + if yyhl854 { + yyb854 = yyj854 > l } else { - yyb13 = r.CheckBreak() + yyb854 = r.CheckBreak() } - if yyb13 { + if yyb854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12468,13 +12468,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SecretRef.CodecDecodeSelf(d) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj854++ + if yyhl854 { + yyb854 = yyj854 > l } else { - yyb13 = r.CheckBreak() + yyb854 = r.CheckBreak() } - if yyb13 { + if yyb854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12485,17 +12485,17 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } for { - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj854++ + if yyhl854 { + yyb854 = yyj854 > l } else { - yyb13 = r.CheckBreak() + yyb854 = r.CheckBreak() } - if yyb13 { + if yyb854 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj13-1, "") + z.DecStructFieldNotFound(yyj854-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12507,35 +12507,35 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym864 := z.EncBinary() + _ = yym864 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FSType != "" - yyq2[2] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep865 := !z.EncBinary() + yy2arr865 := z.EncBasicHandle().StructToArray + var yyq865 [3]bool + _, _, _ = yysep865, yyq865, yy2arr865 + const yyr865 bool = false + yyq865[1] = x.FSType != "" + yyq865[2] = x.ReadOnly != false + var yynn865 int + if yyr865 || yy2arr865 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn865 = 1 + for _, b := range yyq865 { if b { - yynn2++ + yynn865++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn865) + yynn865 = 0 } - if yyr2 || yy2arr2 { + if yyr865 || yy2arr865 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym867 := z.EncBinary() + _ = yym867 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) @@ -12544,18 +12544,18 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym868 := z.EncBinary() + _ = yym868 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) } } - if yyr2 || yy2arr2 { + if yyr865 || yy2arr865 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq865[1] { + yym870 := z.EncBinary() + _ = yym870 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -12564,23 +12564,23 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq865[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym871 := z.EncBinary() + _ = yym871 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr865 || yy2arr865 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq865[2] { + yym873 := z.EncBinary() + _ = yym873 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -12589,19 +12589,19 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[2] { + if yyq865[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym874 := z.EncBinary() + _ = yym874 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr865 || yy2arr865 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12614,25 +12614,25 @@ func (x *CinderVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym875 := z.DecBinary() + _ = yym875 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct876 := r.ContainerType() + if yyct876 == codecSelferValueTypeMap1234 { + yyl876 := r.ReadMapStart() + if yyl876 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl876, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct876 == codecSelferValueTypeArray1234 { + yyl876 := r.ReadArrayStart() + if yyl876 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl876, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12644,12 +12644,12 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys877Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys877Slc + var yyhl877 bool = l >= 0 + for yyj877 := 0; ; yyj877++ { + if yyhl877 { + if yyj877 >= l { break } } else { @@ -12658,10 +12658,10 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys877Slc = r.DecodeBytes(yys877Slc, true, true) + yys877 := string(yys877Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys877 { case "volumeID": if r.TryDecodeAsNil() { x.VolumeID = "" @@ -12681,9 +12681,9 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys877) + } // end switch yys877 + } // end for yyj877 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12691,16 +12691,16 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj881 int + var yyb881 bool + var yyhl881 bool = l >= 0 + yyj881++ + if yyhl881 { + yyb881 = yyj881 > l } else { - yyb7 = r.CheckBreak() + yyb881 = r.CheckBreak() } - if yyb7 { + if yyb881 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12710,13 +12710,13 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.VolumeID = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj881++ + if yyhl881 { + yyb881 = yyj881 > l } else { - yyb7 = r.CheckBreak() + yyb881 = r.CheckBreak() } - if yyb7 { + if yyb881 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12726,13 +12726,13 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.FSType = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj881++ + if yyhl881 { + yyb881 = yyj881 > l } else { - yyb7 = r.CheckBreak() + yyb881 = r.CheckBreak() } - if yyb7 { + if yyb881 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12743,17 +12743,17 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.ReadOnly = bool(r.DecodeBool()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj881++ + if yyhl881 { + yyb881 = yyj881 > l } else { - yyb7 = r.CheckBreak() + yyb881 = r.CheckBreak() } - if yyb7 { + if yyb881 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj881-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12765,41 +12765,41 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym885 := z.EncBinary() + _ = yym885 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Path != "" - yyq2[2] = x.User != "" - yyq2[3] = x.SecretFile != "" - yyq2[4] = x.SecretRef != nil - yyq2[5] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep886 := !z.EncBinary() + yy2arr886 := z.EncBasicHandle().StructToArray + var yyq886 [6]bool + _, _, _ = yysep886, yyq886, yy2arr886 + const yyr886 bool = false + yyq886[1] = x.Path != "" + yyq886[2] = x.User != "" + yyq886[3] = x.SecretFile != "" + yyq886[4] = x.SecretRef != nil + yyq886[5] = x.ReadOnly != false + var yynn886 int + if yyr886 || yy2arr886 { r.EncodeArrayStart(6) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn886 = 1 + for _, b := range yyq886 { if b { - yynn2++ + yynn886++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn886) + yynn886 = 0 } - if yyr2 || yy2arr2 { + if yyr886 || yy2arr886 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Monitors == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym888 := z.EncBinary() + _ = yym888 if false { } else { z.F.EncSliceStringV(x.Monitors, false, e) @@ -12812,19 +12812,19 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.Monitors == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym889 := z.EncBinary() + _ = yym889 if false { } else { z.F.EncSliceStringV(x.Monitors, false, e) } } } - if yyr2 || yy2arr2 { + if yyr886 || yy2arr886 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq886[1] { + yym891 := z.EncBinary() + _ = yym891 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -12833,23 +12833,23 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq886[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym892 := z.EncBinary() + _ = yym892 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr2 || yy2arr2 { + if yyr886 || yy2arr886 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq886[2] { + yym894 := z.EncBinary() + _ = yym894 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -12858,23 +12858,23 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq886[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym895 := z.EncBinary() + _ = yym895 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr2 || yy2arr2 { + if yyr886 || yy2arr886 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq886[3] { + yym897 := z.EncBinary() + _ = yym897 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretFile)) @@ -12883,21 +12883,21 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq886[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym898 := z.EncBinary() + _ = yym898 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretFile)) } } } - if yyr2 || yy2arr2 { + if yyr886 || yy2arr886 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq886[4] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -12907,7 +12907,7 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq886[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -12918,11 +12918,11 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr886 || yy2arr886 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq886[5] { + yym901 := z.EncBinary() + _ = yym901 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -12931,19 +12931,19 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[5] { + if yyq886[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym902 := z.EncBinary() + _ = yym902 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr886 || yy2arr886 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12956,25 +12956,25 @@ func (x *CephFSVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym903 := z.DecBinary() + _ = yym903 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct904 := r.ContainerType() + if yyct904 == codecSelferValueTypeMap1234 { + yyl904 := r.ReadMapStart() + if yyl904 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl904, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct904 == codecSelferValueTypeArray1234 { + yyl904 := r.ReadArrayStart() + if yyl904 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl904, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12986,12 +12986,12 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys905Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys905Slc + var yyhl905 bool = l >= 0 + for yyj905 := 0; ; yyj905++ { + if yyhl905 { + if yyj905 >= l { break } } else { @@ -13000,20 +13000,20 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys905Slc = r.DecodeBytes(yys905Slc, true, true) + yys905 := string(yys905Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys905 { case "monitors": if r.TryDecodeAsNil() { x.Monitors = nil } else { - yyv4 := &x.Monitors - yym5 := z.DecBinary() - _ = yym5 + yyv906 := &x.Monitors + yym907 := z.DecBinary() + _ = yym907 if false { } else { - z.F.DecSliceStringX(yyv4, false, d) + z.F.DecSliceStringX(yyv906, false, d) } } case "path": @@ -13052,9 +13052,9 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys905) + } // end switch yys905 + } // end for yyj905 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13062,16 +13062,16 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj913 int + var yyb913 bool + var yyhl913 bool = l >= 0 + yyj913++ + if yyhl913 { + yyb913 = yyj913 > l } else { - yyb11 = r.CheckBreak() + yyb913 = r.CheckBreak() } - if yyb11 { + if yyb913 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13079,21 +13079,21 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Monitors = nil } else { - yyv12 := &x.Monitors - yym13 := z.DecBinary() - _ = yym13 + yyv914 := &x.Monitors + yym915 := z.DecBinary() + _ = yym915 if false { } else { - z.F.DecSliceStringX(yyv12, false, d) + z.F.DecSliceStringX(yyv914, false, d) } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj913++ + if yyhl913 { + yyb913 = yyj913 > l } else { - yyb11 = r.CheckBreak() + yyb913 = r.CheckBreak() } - if yyb11 { + if yyb913 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13103,13 +13103,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Path = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj913++ + if yyhl913 { + yyb913 = yyj913 > l } else { - yyb11 = r.CheckBreak() + yyb913 = r.CheckBreak() } - if yyb11 { + if yyb913 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13119,13 +13119,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.User = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj913++ + if yyhl913 { + yyb913 = yyj913 > l } else { - yyb11 = r.CheckBreak() + yyb913 = r.CheckBreak() } - if yyb11 { + if yyb913 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13135,13 +13135,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.SecretFile = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj913++ + if yyhl913 { + yyb913 = yyj913 > l } else { - yyb11 = r.CheckBreak() + yyb913 = r.CheckBreak() } - if yyb11 { + if yyb913 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13156,13 +13156,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SecretRef.CodecDecodeSelf(d) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj913++ + if yyhl913 { + yyb913 = yyj913 > l } else { - yyb11 = r.CheckBreak() + yyb913 = r.CheckBreak() } - if yyb11 { + if yyb913 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13173,17 +13173,17 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.ReadOnly = bool(r.DecodeBool()) } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj913++ + if yyhl913 { + yyb913 = yyj913 > l } else { - yyb11 = r.CheckBreak() + yyb913 = r.CheckBreak() } - if yyb11 { + if yyb913 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj913-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13195,33 +13195,33 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym921 := z.EncBinary() + _ = yym921 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep922 := !z.EncBinary() + yy2arr922 := z.EncBasicHandle().StructToArray + var yyq922 [1]bool + _, _, _ = yysep922, yyq922, yy2arr922 + const yyr922 bool = false + var yynn922 int + if yyr922 || yy2arr922 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn922 = 1 + for _, b := range yyq922 { if b { - yynn2++ + yynn922++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn922) + yynn922 = 0 } - if yyr2 || yy2arr2 { + if yyr922 || yy2arr922 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym924 := z.EncBinary() + _ = yym924 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) @@ -13230,14 +13230,14 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("datasetName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym925 := z.EncBinary() + _ = yym925 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) } } - if yyr2 || yy2arr2 { + if yyr922 || yy2arr922 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13250,25 +13250,25 @@ func (x *FlockerVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym926 := z.DecBinary() + _ = yym926 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct927 := r.ContainerType() + if yyct927 == codecSelferValueTypeMap1234 { + yyl927 := r.ReadMapStart() + if yyl927 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl927, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct927 == codecSelferValueTypeArray1234 { + yyl927 := r.ReadArrayStart() + if yyl927 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl927, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13280,12 +13280,12 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys928Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys928Slc + var yyhl928 bool = l >= 0 + for yyj928 := 0; ; yyj928++ { + if yyhl928 { + if yyj928 >= l { break } } else { @@ -13294,10 +13294,10 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys928Slc = r.DecodeBytes(yys928Slc, true, true) + yys928 := string(yys928Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys928 { case "datasetName": if r.TryDecodeAsNil() { x.DatasetName = "" @@ -13305,9 +13305,9 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.DatasetName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys928) + } // end switch yys928 + } // end for yyj928 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13315,16 +13315,16 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj930 int + var yyb930 bool + var yyhl930 bool = l >= 0 + yyj930++ + if yyhl930 { + yyb930 = yyj930 > l } else { - yyb5 = r.CheckBreak() + yyb930 = r.CheckBreak() } - if yyb5 { + if yyb930 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13335,17 +13335,17 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.DatasetName = string(r.DecodeString()) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj930++ + if yyhl930 { + yyb930 = yyj930 > l } else { - yyb5 = r.CheckBreak() + yyb930 = r.CheckBreak() } - if yyb5 { + if yyb930 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj930-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13357,38 +13357,38 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym932 := z.EncBinary() + _ = yym932 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Items) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep933 := !z.EncBinary() + yy2arr933 := z.EncBasicHandle().StructToArray + var yyq933 [1]bool + _, _, _ = yysep933, yyq933, yy2arr933 + const yyr933 bool = false + yyq933[0] = len(x.Items) != 0 + var yynn933 int + if yyr933 || yy2arr933 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn933 = 0 + for _, b := range yyq933 { if b { - yynn2++ + yynn933++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn933) + yynn933 = 0 } - if yyr2 || yy2arr2 { + if yyr933 || yy2arr933 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq933[0] { if x.Items == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym935 := z.EncBinary() + _ = yym935 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -13398,15 +13398,15 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq933[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym936 := z.EncBinary() + _ = yym936 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -13414,7 +13414,7 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr933 || yy2arr933 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13427,25 +13427,25 @@ func (x *DownwardAPIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym937 := z.DecBinary() + _ = yym937 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct938 := r.ContainerType() + if yyct938 == codecSelferValueTypeMap1234 { + yyl938 := r.ReadMapStart() + if yyl938 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl938, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct938 == codecSelferValueTypeArray1234 { + yyl938 := r.ReadArrayStart() + if yyl938 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl938, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13457,12 +13457,12 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys939Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys939Slc + var yyhl939 bool = l >= 0 + for yyj939 := 0; ; yyj939++ { + if yyhl939 { + if yyj939 >= l { break } } else { @@ -13471,26 +13471,26 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys939Slc = r.DecodeBytes(yys939Slc, true, true) + yys939 := string(yys939Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys939 { case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4 := &x.Items - yym5 := z.DecBinary() - _ = yym5 + yyv940 := &x.Items + yym941 := z.DecBinary() + _ = yym941 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv4), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv940), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys939) + } // end switch yys939 + } // end for yyj939 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13498,16 +13498,16 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj942 int + var yyb942 bool + var yyhl942 bool = l >= 0 + yyj942++ + if yyhl942 { + yyb942 = yyj942 > l } else { - yyb6 = r.CheckBreak() + yyb942 = r.CheckBreak() } - if yyb6 { + if yyb942 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13515,26 +13515,26 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Items = nil } else { - yyv7 := &x.Items - yym8 := z.DecBinary() - _ = yym8 + yyv943 := &x.Items + yym944 := z.DecBinary() + _ = yym944 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv7), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv943), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj942++ + if yyhl942 { + yyb942 = yyj942 > l } else { - yyb6 = r.CheckBreak() + yyb942 = r.CheckBreak() } - if yyb6 { + if yyb942 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj942-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13546,35 +13546,35 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym945 := z.EncBinary() + _ = yym945 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FieldRef != nil - yyq2[2] = x.ResourceFieldRef != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep946 := !z.EncBinary() + yy2arr946 := z.EncBasicHandle().StructToArray + var yyq946 [3]bool + _, _, _ = yysep946, yyq946, yy2arr946 + const yyr946 bool = false + yyq946[1] = x.FieldRef != nil + yyq946[2] = x.ResourceFieldRef != nil + var yynn946 int + if yyr946 || yy2arr946 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn946 = 1 + for _, b := range yyq946 { if b { - yynn2++ + yynn946++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn946) + yynn946 = 0 } - if yyr2 || yy2arr2 { + if yyr946 || yy2arr946 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym948 := z.EncBinary() + _ = yym948 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -13583,16 +13583,16 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym949 := z.EncBinary() + _ = yym949 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2 || yy2arr2 { + if yyr946 || yy2arr946 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq946[1] { if x.FieldRef == nil { r.EncodeNil() } else { @@ -13602,7 +13602,7 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq946[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13613,9 +13613,9 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr946 || yy2arr946 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq946[2] { if x.ResourceFieldRef == nil { r.EncodeNil() } else { @@ -13625,7 +13625,7 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq946[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceFieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13636,7 +13636,7 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr946 || yy2arr946 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13649,25 +13649,25 @@ func (x *DownwardAPIVolumeFile) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym952 := z.DecBinary() + _ = yym952 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct953 := r.ContainerType() + if yyct953 == codecSelferValueTypeMap1234 { + yyl953 := r.ReadMapStart() + if yyl953 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl953, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct953 == codecSelferValueTypeArray1234 { + yyl953 := r.ReadArrayStart() + if yyl953 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl953, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13679,12 +13679,12 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys954Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys954Slc + var yyhl954 bool = l >= 0 + for yyj954 := 0; ; yyj954++ { + if yyhl954 { + if yyj954 >= l { break } } else { @@ -13693,10 +13693,10 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys954Slc = r.DecodeBytes(yys954Slc, true, true) + yys954 := string(yys954Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys954 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -13726,9 +13726,9 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ResourceFieldRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys954) + } // end switch yys954 + } // end for yyj954 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13736,16 +13736,16 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj958 int + var yyb958 bool + var yyhl958 bool = l >= 0 + yyj958++ + if yyhl958 { + yyb958 = yyj958 > l } else { - yyb7 = r.CheckBreak() + yyb958 = r.CheckBreak() } - if yyb7 { + if yyb958 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13755,13 +13755,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj958++ + if yyhl958 { + yyb958 = yyj958 > l } else { - yyb7 = r.CheckBreak() + yyb958 = r.CheckBreak() } - if yyb7 { + if yyb958 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13776,13 +13776,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } x.FieldRef.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj958++ + if yyhl958 { + yyb958 = yyj958 > l } else { - yyb7 = r.CheckBreak() + yyb958 = r.CheckBreak() } - if yyb7 { + if yyb958 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13798,17 +13798,17 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ResourceFieldRef.CodecDecodeSelf(d) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj958++ + if yyhl958 { + yyb958 = yyj958 > l } else { - yyb7 = r.CheckBreak() + yyb958 = r.CheckBreak() } - if yyb7 { + if yyb958 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj958-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13820,34 +13820,34 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym962 := z.EncBinary() + _ = yym962 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep963 := !z.EncBinary() + yy2arr963 := z.EncBasicHandle().StructToArray + var yyq963 [3]bool + _, _, _ = yysep963, yyq963, yy2arr963 + const yyr963 bool = false + yyq963[2] = x.ReadOnly != false + var yynn963 int + if yyr963 || yy2arr963 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn963 = 2 + for _, b := range yyq963 { if b { - yynn2++ + yynn963++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn963) + yynn963 = 0 } - if yyr2 || yy2arr2 { + if yyr963 || yy2arr963 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym965 := z.EncBinary() + _ = yym965 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -13856,17 +13856,17 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym966 := z.EncBinary() + _ = yym966 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } - if yyr2 || yy2arr2 { + if yyr963 || yy2arr963 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym968 := z.EncBinary() + _ = yym968 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ShareName)) @@ -13875,18 +13875,18 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("shareName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym969 := z.EncBinary() + _ = yym969 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ShareName)) } } - if yyr2 || yy2arr2 { + if yyr963 || yy2arr963 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq963[2] { + yym971 := z.EncBinary() + _ = yym971 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -13895,19 +13895,19 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[2] { + if yyq963[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym972 := z.EncBinary() + _ = yym972 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr963 || yy2arr963 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13920,25 +13920,25 @@ func (x *AzureFileVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym973 := z.DecBinary() + _ = yym973 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct974 := r.ContainerType() + if yyct974 == codecSelferValueTypeMap1234 { + yyl974 := r.ReadMapStart() + if yyl974 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl974, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct974 == codecSelferValueTypeArray1234 { + yyl974 := r.ReadArrayStart() + if yyl974 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl974, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13950,12 +13950,12 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys975Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys975Slc + var yyhl975 bool = l >= 0 + for yyj975 := 0; ; yyj975++ { + if yyhl975 { + if yyj975 >= l { break } } else { @@ -13964,10 +13964,10 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys975Slc = r.DecodeBytes(yys975Slc, true, true) + yys975 := string(yys975Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys975 { case "secretName": if r.TryDecodeAsNil() { x.SecretName = "" @@ -13987,9 +13987,9 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys975) + } // end switch yys975 + } // end for yyj975 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13997,16 +13997,16 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj979 int + var yyb979 bool + var yyhl979 bool = l >= 0 + yyj979++ + if yyhl979 { + yyb979 = yyj979 > l } else { - yyb7 = r.CheckBreak() + yyb979 = r.CheckBreak() } - if yyb7 { + if yyb979 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14016,13 +14016,13 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.SecretName = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj979++ + if yyhl979 { + yyb979 = yyj979 > l } else { - yyb7 = r.CheckBreak() + yyb979 = r.CheckBreak() } - if yyb7 { + if yyb979 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14032,13 +14032,13 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.ShareName = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj979++ + if yyhl979 { + yyb979 = yyj979 > l } else { - yyb7 = r.CheckBreak() + yyb979 = r.CheckBreak() } - if yyb7 { + if yyb979 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14049,17 +14049,17 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj979++ + if yyhl979 { + yyb979 = yyj979 > l } else { - yyb7 = r.CheckBreak() + yyb979 = r.CheckBreak() } - if yyb7 { + if yyb979 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj979-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14071,34 +14071,34 @@ func (x *VsphereVirtualDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym983 := z.EncBinary() + _ = yym983 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FSType != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep984 := !z.EncBinary() + yy2arr984 := z.EncBasicHandle().StructToArray + var yyq984 [2]bool + _, _, _ = yysep984, yyq984, yy2arr984 + const yyr984 bool = false + yyq984[1] = x.FSType != "" + var yynn984 int + if yyr984 || yy2arr984 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn984 = 1 + for _, b := range yyq984 { if b { - yynn2++ + yynn984++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn984) + yynn984 = 0 } - if yyr2 || yy2arr2 { + if yyr984 || yy2arr984 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym986 := z.EncBinary() + _ = yym986 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumePath)) @@ -14107,18 +14107,18 @@ func (x *VsphereVirtualDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym987 := z.EncBinary() + _ = yym987 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumePath)) } } - if yyr2 || yy2arr2 { + if yyr984 || yy2arr984 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq984[1] { + yym989 := z.EncBinary() + _ = yym989 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -14127,19 +14127,19 @@ func (x *VsphereVirtualDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq984[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym990 := z.EncBinary() + _ = yym990 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr984 || yy2arr984 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14152,25 +14152,25 @@ func (x *VsphereVirtualDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym991 := z.DecBinary() + _ = yym991 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct992 := r.ContainerType() + if yyct992 == codecSelferValueTypeMap1234 { + yyl992 := r.ReadMapStart() + if yyl992 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl992, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct992 == codecSelferValueTypeArray1234 { + yyl992 := r.ReadArrayStart() + if yyl992 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl992, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14182,12 +14182,12 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys993Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys993Slc + var yyhl993 bool = l >= 0 + for yyj993 := 0; ; yyj993++ { + if yyhl993 { + if yyj993 >= l { break } } else { @@ -14196,10 +14196,10 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys993Slc = r.DecodeBytes(yys993Slc, true, true) + yys993 := string(yys993Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys993 { case "volumePath": if r.TryDecodeAsNil() { x.VolumePath = "" @@ -14213,9 +14213,9 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1 x.FSType = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys993) + } // end switch yys993 + } // end for yyj993 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14223,16 +14223,16 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromArray(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj996 int + var yyb996 bool + var yyhl996 bool = l >= 0 + yyj996++ + if yyhl996 { + yyb996 = yyj996 > l } else { - yyb6 = r.CheckBreak() + yyb996 = r.CheckBreak() } - if yyb6 { + if yyb996 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14242,13 +14242,13 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromArray(l int, d *code } else { x.VolumePath = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj996++ + if yyhl996 { + yyb996 = yyj996 > l } else { - yyb6 = r.CheckBreak() + yyb996 = r.CheckBreak() } - if yyb6 { + if yyb996 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14259,17 +14259,17 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromArray(l int, d *code x.FSType = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj996++ + if yyhl996 { + yyb996 = yyj996 > l } else { - yyb6 = r.CheckBreak() + yyb996 = r.CheckBreak() } - if yyb6 { + if yyb996 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj996-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14281,38 +14281,57 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym999 := z.EncBinary() + _ = yym999 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Items) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1000 := !z.EncBinary() + yy2arr1000 := z.EncBasicHandle().StructToArray + var yyq1000 [2]bool + _, _, _ = yysep1000, yyq1000, yy2arr1000 + const yyr1000 bool = false + yyq1000[1] = len(x.Items) != 0 + var yynn1000 int + if yyr1000 || yy2arr1000 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1000 = 1 + for _, b := range yyq1000 { if b { - yynn2++ + yynn1000++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1000) + yynn1000 = 0 } - if yyr2 || yy2arr2 { + if yyr1000 || yy2arr1000 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + yym1002 := z.EncBinary() + _ = yym1002 + 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) + yym1003 := z.EncBinary() + _ = yym1003 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + if yyr1000 || yy2arr1000 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1000[1] { if x.Items == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1005 := z.EncBinary() + _ = yym1005 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -14322,15 +14341,15 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1000[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1006 := z.EncBinary() + _ = yym1006 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -14338,26 +14357,7 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 - 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) - yym8 := z.EncBinary() - _ = yym8 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } - if yyr2 || yy2arr2 { + if yyr1000 || yy2arr1000 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14370,25 +14370,25 @@ func (x *ConfigMapVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1007 := z.DecBinary() + _ = yym1007 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1008 := r.ContainerType() + if yyct1008 == codecSelferValueTypeMap1234 { + yyl1008 := r.ReadMapStart() + if yyl1008 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1008, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1008 == codecSelferValueTypeArray1234 { + yyl1008 := r.ReadArrayStart() + if yyl1008 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1008, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14400,12 +14400,12 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1009Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1009Slc + var yyhl1009 bool = l >= 0 + for yyj1009 := 0; ; yyj1009++ { + if yyhl1009 { + if yyj1009 >= l { break } } else { @@ -14414,32 +14414,32 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1009Slc = r.DecodeBytes(yys1009Slc, true, true) + yys1009 := string(yys1009Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv4 := &x.Items - yym5 := z.DecBinary() - _ = yym5 - if false { - } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv4), d) - } - } + switch yys1009 { case "Name": if r.TryDecodeAsNil() { x.Name = "" } else { x.Name = string(r.DecodeString()) } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1011 := &x.Items + yym1012 := z.DecBinary() + _ = yym1012 + if false { + } else { + h.decSliceKeyToPath((*[]KeyToPath)(yyv1011), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1009) + } // end switch yys1009 + } // end for yyj1009 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14447,38 +14447,16 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1013 int + var yyb1013 bool + var yyhl1013 bool = l >= 0 + yyj1013++ + if yyhl1013 { + yyb1013 = yyj1013 > l } else { - yyb7 = r.CheckBreak() + yyb1013 = r.CheckBreak() } - if yyb7 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv8 := &x.Items - yym9 := z.DecBinary() - _ = yym9 - if false { - } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv8), d) - } - } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = r.CheckBreak() - } - if yyb7 { + if yyb1013 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14488,18 +14466,40 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Name = string(r.DecodeString()) } - for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1013++ + if yyhl1013 { + yyb1013 = yyj1013 > l + } else { + yyb1013 = r.CheckBreak() + } + if yyb1013 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1015 := &x.Items + yym1016 := z.DecBinary() + _ = yym1016 + if false { } else { - yyb7 = r.CheckBreak() + h.decSliceKeyToPath((*[]KeyToPath)(yyv1015), d) } - if yyb7 { + } + for { + yyj1013++ + if yyhl1013 { + yyb1013 = yyj1013 > l + } else { + yyb1013 = r.CheckBreak() + } + if yyb1013 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1013-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14511,33 +14511,33 @@ func (x *KeyToPath) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1017 := z.EncBinary() + _ = yym1017 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1018 := !z.EncBinary() + yy2arr1018 := z.EncBasicHandle().StructToArray + var yyq1018 [2]bool + _, _, _ = yysep1018, yyq1018, yy2arr1018 + const yyr1018 bool = false + var yynn1018 int + if yyr1018 || yy2arr1018 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1018 = 2 + for _, b := range yyq1018 { if b { - yynn2++ + yynn1018++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1018) + yynn1018 = 0 } - if yyr2 || yy2arr2 { + if yyr1018 || yy2arr1018 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1020 := z.EncBinary() + _ = yym1020 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -14546,17 +14546,17 @@ func (x *KeyToPath) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1021 := z.EncBinary() + _ = yym1021 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr2 || yy2arr2 { + if yyr1018 || yy2arr1018 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1023 := z.EncBinary() + _ = yym1023 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -14565,14 +14565,14 @@ func (x *KeyToPath) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1024 := z.EncBinary() + _ = yym1024 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2 || yy2arr2 { + if yyr1018 || yy2arr1018 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14585,25 +14585,25 @@ func (x *KeyToPath) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1025 := z.DecBinary() + _ = yym1025 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1026 := r.ContainerType() + if yyct1026 == codecSelferValueTypeMap1234 { + yyl1026 := r.ReadMapStart() + if yyl1026 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1026, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1026 == codecSelferValueTypeArray1234 { + yyl1026 := r.ReadArrayStart() + if yyl1026 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1026, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14615,12 +14615,12 @@ func (x *KeyToPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1027Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1027Slc + var yyhl1027 bool = l >= 0 + for yyj1027 := 0; ; yyj1027++ { + if yyhl1027 { + if yyj1027 >= l { break } } else { @@ -14629,10 +14629,10 @@ func (x *KeyToPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1027Slc = r.DecodeBytes(yys1027Slc, true, true) + yys1027 := string(yys1027Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1027 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -14646,9 +14646,9 @@ func (x *KeyToPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1027) + } // end switch yys1027 + } // end for yyj1027 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14656,16 +14656,16 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1030 int + var yyb1030 bool + var yyhl1030 bool = l >= 0 + yyj1030++ + if yyhl1030 { + yyb1030 = yyj1030 > l } else { - yyb6 = r.CheckBreak() + yyb1030 = r.CheckBreak() } - if yyb6 { + if yyb1030 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14675,13 +14675,13 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Key = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1030++ + if yyhl1030 { + yyb1030 = yyj1030 > l } else { - yyb6 = r.CheckBreak() + yyb1030 = r.CheckBreak() } - if yyb6 { + if yyb1030 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14692,17 +14692,17 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1030++ + if yyhl1030 { + yyb1030 = yyj1030 > l } else { - yyb6 = r.CheckBreak() + yyb1030 = r.CheckBreak() } - if yyb6 { + if yyb1030 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1030-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14714,38 +14714,38 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1033 := z.EncBinary() + _ = yym1033 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Name != "" - yyq2[1] = x.HostPort != 0 - yyq2[3] = x.Protocol != "" - yyq2[4] = x.HostIP != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1034 := !z.EncBinary() + yy2arr1034 := z.EncBasicHandle().StructToArray + var yyq1034 [5]bool + _, _, _ = yysep1034, yyq1034, yy2arr1034 + const yyr1034 bool = false + yyq1034[0] = x.Name != "" + yyq1034[1] = x.HostPort != 0 + yyq1034[3] = x.Protocol != "" + yyq1034[4] = x.HostIP != "" + var yynn1034 int + if yyr1034 || yy2arr1034 { r.EncodeArrayStart(5) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1034 = 1 + for _, b := range yyq1034 { if b { - yynn2++ + yynn1034++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1034) + yynn1034 = 0 } - if yyr2 || yy2arr2 { + if yyr1034 || yy2arr1034 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq1034[0] { + yym1036 := z.EncBinary() + _ = yym1036 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -14754,23 +14754,23 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1034[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1037 := z.EncBinary() + _ = yym1037 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2 || yy2arr2 { + if yyr1034 || yy2arr1034 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1034[1] { + yym1039 := z.EncBinary() + _ = yym1039 if false { } else { r.EncodeInt(int64(x.HostPort)) @@ -14779,22 +14779,22 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[1] { + if yyq1034[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1040 := z.EncBinary() + _ = yym1040 if false { } else { r.EncodeInt(int64(x.HostPort)) } } } - if yyr2 || yy2arr2 { + if yyr1034 || yy2arr1034 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym1042 := z.EncBinary() + _ = yym1042 if false { } else { r.EncodeInt(int64(x.ContainerPort)) @@ -14803,33 +14803,33 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym1043 := z.EncBinary() + _ = yym1043 if false { } else { r.EncodeInt(int64(x.ContainerPort)) } } - if yyr2 || yy2arr2 { + if yyr1034 || yy2arr1034 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq1034[3] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq1034[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1034 || yy2arr1034 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq1034[4] { + yym1046 := z.EncBinary() + _ = yym1046 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -14838,19 +14838,19 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq1034[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym1047 := z.EncBinary() + _ = yym1047 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr2 || yy2arr2 { + if yyr1034 || yy2arr1034 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14863,25 +14863,25 @@ func (x *ContainerPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1048 := z.DecBinary() + _ = yym1048 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1049 := r.ContainerType() + if yyct1049 == codecSelferValueTypeMap1234 { + yyl1049 := r.ReadMapStart() + if yyl1049 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1049, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1049 == codecSelferValueTypeArray1234 { + yyl1049 := r.ReadArrayStart() + if yyl1049 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1049, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14893,12 +14893,12 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1050Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1050Slc + var yyhl1050 bool = l >= 0 + for yyj1050 := 0; ; yyj1050++ { + if yyhl1050 { + if yyj1050 >= l { break } } else { @@ -14907,10 +14907,10 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1050Slc = r.DecodeBytes(yys1050Slc, true, true) + yys1050 := string(yys1050Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1050 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -14942,9 +14942,9 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1050) + } // end switch yys1050 + } // end for yyj1050 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14952,16 +14952,16 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj1056 int + var yyb1056 bool + var yyhl1056 bool = l >= 0 + yyj1056++ + if yyhl1056 { + yyb1056 = yyj1056 > l } else { - yyb9 = r.CheckBreak() + yyb1056 = r.CheckBreak() } - if yyb9 { + if yyb1056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14971,13 +14971,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1056++ + if yyhl1056 { + yyb1056 = yyj1056 > l } else { - yyb9 = r.CheckBreak() + yyb1056 = r.CheckBreak() } - if yyb9 { + if yyb1056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14987,13 +14987,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostPort = int32(r.DecodeInt(32)) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1056++ + if yyhl1056 { + yyb1056 = yyj1056 > l } else { - yyb9 = r.CheckBreak() + yyb1056 = r.CheckBreak() } - if yyb9 { + if yyb1056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15003,13 +15003,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerPort = int32(r.DecodeInt(32)) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1056++ + if yyhl1056 { + yyb1056 = yyj1056 > l } else { - yyb9 = r.CheckBreak() + yyb1056 = r.CheckBreak() } - if yyb9 { + if yyb1056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15019,13 +15019,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Protocol = Protocol(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1056++ + if yyhl1056 { + yyb1056 = yyj1056 > l } else { - yyb9 = r.CheckBreak() + yyb1056 = r.CheckBreak() } - if yyb9 { + if yyb1056 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15036,17 +15036,17 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1056++ + if yyhl1056 { + yyb1056 = yyj1056 > l } else { - yyb9 = r.CheckBreak() + yyb1056 = r.CheckBreak() } - if yyb9 { + if yyb1056 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj1056-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15058,35 +15058,35 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1062 := z.EncBinary() + _ = yym1062 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.ReadOnly != false - yyq2[3] = x.SubPath != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1063 := !z.EncBinary() + yy2arr1063 := z.EncBasicHandle().StructToArray + var yyq1063 [4]bool + _, _, _ = yysep1063, yyq1063, yy2arr1063 + const yyr1063 bool = false + yyq1063[1] = x.ReadOnly != false + yyq1063[3] = x.SubPath != "" + var yynn1063 int + if yyr1063 || yy2arr1063 { r.EncodeArrayStart(4) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1063 = 2 + for _, b := range yyq1063 { if b { - yynn2++ + yynn1063++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1063) + yynn1063 = 0 } - if yyr2 || yy2arr2 { + if yyr1063 || yy2arr1063 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1065 := z.EncBinary() + _ = yym1065 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -15095,18 +15095,18 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1066 := z.EncBinary() + _ = yym1066 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr1063 || yy2arr1063 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1063[1] { + yym1068 := z.EncBinary() + _ = yym1068 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -15115,22 +15115,22 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[1] { + if yyq1063[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1069 := z.EncBinary() + _ = yym1069 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr1063 || yy2arr1063 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym1071 := z.EncBinary() + _ = yym1071 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) @@ -15139,18 +15139,18 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mountPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym1072 := z.EncBinary() + _ = yym1072 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) } } - if yyr2 || yy2arr2 { + if yyr1063 || yy2arr1063 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq1063[3] { + yym1074 := z.EncBinary() + _ = yym1074 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SubPath)) @@ -15159,19 +15159,19 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq1063[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym1075 := z.EncBinary() + _ = yym1075 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SubPath)) } } } - if yyr2 || yy2arr2 { + if yyr1063 || yy2arr1063 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15184,25 +15184,25 @@ func (x *VolumeMount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1076 := z.DecBinary() + _ = yym1076 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1077 := r.ContainerType() + if yyct1077 == codecSelferValueTypeMap1234 { + yyl1077 := r.ReadMapStart() + if yyl1077 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1077, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1077 == codecSelferValueTypeArray1234 { + yyl1077 := r.ReadArrayStart() + if yyl1077 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1077, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15214,12 +15214,12 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1078Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1078Slc + var yyhl1078 bool = l >= 0 + for yyj1078 := 0; ; yyj1078++ { + if yyhl1078 { + if yyj1078 >= l { break } } else { @@ -15228,10 +15228,10 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1078Slc = r.DecodeBytes(yys1078Slc, true, true) + yys1078 := string(yys1078Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1078 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -15257,9 +15257,9 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SubPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1078) + } // end switch yys1078 + } // end for yyj1078 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15267,16 +15267,16 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1083 int + var yyb1083 bool + var yyhl1083 bool = l >= 0 + yyj1083++ + if yyhl1083 { + yyb1083 = yyj1083 > l } else { - yyb8 = r.CheckBreak() + yyb1083 = r.CheckBreak() } - if yyb8 { + if yyb1083 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15286,13 +15286,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1083++ + if yyhl1083 { + yyb1083 = yyj1083 > l } else { - yyb8 = r.CheckBreak() + yyb1083 = r.CheckBreak() } - if yyb8 { + if yyb1083 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15302,13 +15302,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ReadOnly = bool(r.DecodeBool()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1083++ + if yyhl1083 { + yyb1083 = yyj1083 > l } else { - yyb8 = r.CheckBreak() + yyb1083 = r.CheckBreak() } - if yyb8 { + if yyb1083 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15318,13 +15318,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MountPath = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1083++ + if yyhl1083 { + yyb1083 = yyj1083 > l } else { - yyb8 = r.CheckBreak() + yyb1083 = r.CheckBreak() } - if yyb8 { + if yyb1083 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15335,17 +15335,17 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SubPath = string(r.DecodeString()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1083++ + if yyhl1083 { + yyb1083 = yyj1083 > l } else { - yyb8 = r.CheckBreak() + yyb1083 = r.CheckBreak() } - if yyb8 { + if yyb1083 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1083-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15357,35 +15357,35 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1088 := z.EncBinary() + _ = yym1088 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Value != "" - yyq2[2] = x.ValueFrom != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1089 := !z.EncBinary() + yy2arr1089 := z.EncBasicHandle().StructToArray + var yyq1089 [3]bool + _, _, _ = yysep1089, yyq1089, yy2arr1089 + const yyr1089 bool = false + yyq1089[1] = x.Value != "" + yyq1089[2] = x.ValueFrom != nil + var yynn1089 int + if yyr1089 || yy2arr1089 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1089 = 1 + for _, b := range yyq1089 { if b { - yynn2++ + yynn1089++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1089) + yynn1089 = 0 } - if yyr2 || yy2arr2 { + if yyr1089 || yy2arr1089 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1091 := z.EncBinary() + _ = yym1091 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -15394,18 +15394,18 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1092 := z.EncBinary() + _ = yym1092 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr1089 || yy2arr1089 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1089[1] { + yym1094 := z.EncBinary() + _ = yym1094 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -15414,21 +15414,21 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq1089[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1095 := z.EncBinary() + _ = yym1095 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr2 || yy2arr2 { + if yyr1089 || yy2arr1089 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1089[2] { if x.ValueFrom == nil { r.EncodeNil() } else { @@ -15438,7 +15438,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1089[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("valueFrom")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15449,7 +15449,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1089 || yy2arr1089 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15462,25 +15462,25 @@ func (x *EnvVar) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1097 := z.DecBinary() + _ = yym1097 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1098 := r.ContainerType() + if yyct1098 == codecSelferValueTypeMap1234 { + yyl1098 := r.ReadMapStart() + if yyl1098 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1098, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1098 == codecSelferValueTypeArray1234 { + yyl1098 := r.ReadArrayStart() + if yyl1098 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1098, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15492,12 +15492,12 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1099Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1099Slc + var yyhl1099 bool = l >= 0 + for yyj1099 := 0; ; yyj1099++ { + if yyhl1099 { + if yyj1099 >= l { break } } else { @@ -15506,10 +15506,10 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1099Slc = r.DecodeBytes(yys1099Slc, true, true) + yys1099 := string(yys1099Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1099 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -15534,9 +15534,9 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1099) + } // end switch yys1099 + } // end for yyj1099 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15544,16 +15544,16 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1103 int + var yyb1103 bool + var yyhl1103 bool = l >= 0 + yyj1103++ + if yyhl1103 { + yyb1103 = yyj1103 > l } else { - yyb7 = r.CheckBreak() + yyb1103 = r.CheckBreak() } - if yyb7 { + if yyb1103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15563,13 +15563,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1103++ + if yyhl1103 { + yyb1103 = yyj1103 > l } else { - yyb7 = r.CheckBreak() + yyb1103 = r.CheckBreak() } - if yyb7 { + if yyb1103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15579,13 +15579,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1103++ + if yyhl1103 { + yyb1103 = yyj1103 > l } else { - yyb7 = r.CheckBreak() + yyb1103 = r.CheckBreak() } - if yyb7 { + if yyb1103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15601,17 +15601,17 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1103++ + if yyhl1103 { + yyb1103 = yyj1103 > l } else { - yyb7 = r.CheckBreak() + yyb1103 = r.CheckBreak() } - if yyb7 { + if yyb1103 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1103-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15623,36 +15623,36 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1107 := z.EncBinary() + _ = yym1107 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.FieldRef != nil - yyq2[1] = x.ResourceFieldRef != nil - yyq2[2] = x.ConfigMapKeyRef != nil - yyq2[3] = x.SecretKeyRef != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1108 := !z.EncBinary() + yy2arr1108 := z.EncBasicHandle().StructToArray + var yyq1108 [4]bool + _, _, _ = yysep1108, yyq1108, yy2arr1108 + const yyr1108 bool = false + yyq1108[0] = x.FieldRef != nil + yyq1108[1] = x.ResourceFieldRef != nil + yyq1108[2] = x.ConfigMapKeyRef != nil + yyq1108[3] = x.SecretKeyRef != nil + var yynn1108 int + if yyr1108 || yy2arr1108 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1108 = 0 + for _, b := range yyq1108 { if b { - yynn2++ + yynn1108++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1108) + yynn1108 = 0 } - if yyr2 || yy2arr2 { + if yyr1108 || yy2arr1108 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1108[0] { if x.FieldRef == nil { r.EncodeNil() } else { @@ -15662,7 +15662,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1108[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15673,9 +15673,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1108 || yy2arr1108 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1108[1] { if x.ResourceFieldRef == nil { r.EncodeNil() } else { @@ -15685,7 +15685,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1108[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceFieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15696,9 +15696,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1108 || yy2arr1108 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1108[2] { if x.ConfigMapKeyRef == nil { r.EncodeNil() } else { @@ -15708,7 +15708,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1108[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configMapKeyRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15719,9 +15719,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1108 || yy2arr1108 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq1108[3] { if x.SecretKeyRef == nil { r.EncodeNil() } else { @@ -15731,7 +15731,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq1108[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretKeyRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15742,7 +15742,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1108 || yy2arr1108 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15755,25 +15755,25 @@ func (x *EnvVarSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1113 := z.DecBinary() + _ = yym1113 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1114 := r.ContainerType() + if yyct1114 == codecSelferValueTypeMap1234 { + yyl1114 := r.ReadMapStart() + if yyl1114 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1114, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1114 == codecSelferValueTypeArray1234 { + yyl1114 := r.ReadArrayStart() + if yyl1114 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1114, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15785,12 +15785,12 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1115Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1115Slc + var yyhl1115 bool = l >= 0 + for yyj1115 := 0; ; yyj1115++ { + if yyhl1115 { + if yyj1115 >= l { break } } else { @@ -15799,10 +15799,10 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1115Slc = r.DecodeBytes(yys1115Slc, true, true) + yys1115 := string(yys1115Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1115 { case "fieldRef": if r.TryDecodeAsNil() { if x.FieldRef != nil { @@ -15848,9 +15848,9 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretKeyRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1115) + } // end switch yys1115 + } // end for yyj1115 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15858,16 +15858,16 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1120 int + var yyb1120 bool + var yyhl1120 bool = l >= 0 + yyj1120++ + if yyhl1120 { + yyb1120 = yyj1120 > l } else { - yyb8 = r.CheckBreak() + yyb1120 = r.CheckBreak() } - if yyb8 { + if yyb1120 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15882,13 +15882,13 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FieldRef.CodecDecodeSelf(d) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1120++ + if yyhl1120 { + yyb1120 = yyj1120 > l } else { - yyb8 = r.CheckBreak() + yyb1120 = r.CheckBreak() } - if yyb8 { + if yyb1120 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15903,13 +15903,13 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ResourceFieldRef.CodecDecodeSelf(d) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1120++ + if yyhl1120 { + yyb1120 = yyj1120 > l } else { - yyb8 = r.CheckBreak() + yyb1120 = r.CheckBreak() } - if yyb8 { + if yyb1120 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15924,13 +15924,13 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ConfigMapKeyRef.CodecDecodeSelf(d) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1120++ + if yyhl1120 { + yyb1120 = yyj1120 > l } else { - yyb8 = r.CheckBreak() + yyb1120 = r.CheckBreak() } - if yyb8 { + if yyb1120 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15946,17 +15946,17 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SecretKeyRef.CodecDecodeSelf(d) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1120++ + if yyhl1120 { + yyb1120 = yyj1120 > l } else { - yyb8 = r.CheckBreak() + yyb1120 = r.CheckBreak() } - if yyb8 { + if yyb1120 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1120-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15968,33 +15968,33 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1125 := z.EncBinary() + _ = yym1125 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1126 := !z.EncBinary() + yy2arr1126 := z.EncBasicHandle().StructToArray + var yyq1126 [2]bool + _, _, _ = yysep1126, yyq1126, yy2arr1126 + const yyr1126 bool = false + var yynn1126 int + if yyr1126 || yy2arr1126 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1126 = 2 + for _, b := range yyq1126 { if b { - yynn2++ + yynn1126++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1126) + yynn1126 = 0 } - if yyr2 || yy2arr2 { + if yyr1126 || yy2arr1126 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1128 := z.EncBinary() + _ = yym1128 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -16003,17 +16003,17 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1129 := z.EncBinary() + _ = yym1129 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } - if yyr2 || yy2arr2 { + if yyr1126 || yy2arr1126 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1131 := z.EncBinary() + _ = yym1131 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -16022,14 +16022,14 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1132 := z.EncBinary() + _ = yym1132 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } - if yyr2 || yy2arr2 { + if yyr1126 || yy2arr1126 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16042,25 +16042,25 @@ func (x *ObjectFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1133 := z.DecBinary() + _ = yym1133 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1134 := r.ContainerType() + if yyct1134 == codecSelferValueTypeMap1234 { + yyl1134 := r.ReadMapStart() + if yyl1134 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1134, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1134 == codecSelferValueTypeArray1234 { + yyl1134 := r.ReadArrayStart() + if yyl1134 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1134, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16072,12 +16072,12 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1135Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1135Slc + var yyhl1135 bool = l >= 0 + for yyj1135 := 0; ; yyj1135++ { + if yyhl1135 { + if yyj1135 >= l { break } } else { @@ -16086,10 +16086,10 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1135Slc = r.DecodeBytes(yys1135Slc, true, true) + yys1135 := string(yys1135Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1135 { case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" @@ -16103,9 +16103,9 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1135) + } // end switch yys1135 + } // end for yyj1135 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16113,16 +16113,16 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1138 int + var yyb1138 bool + var yyhl1138 bool = l >= 0 + yyj1138++ + if yyhl1138 { + yyb1138 = yyj1138 > l } else { - yyb6 = r.CheckBreak() + yyb1138 = r.CheckBreak() } - if yyb6 { + if yyb1138 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16132,13 +16132,13 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1138++ + if yyhl1138 { + yyb1138 = yyj1138 > l } else { - yyb6 = r.CheckBreak() + yyb1138 = r.CheckBreak() } - if yyb6 { + if yyb1138 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16149,17 +16149,17 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.FieldPath = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1138++ + if yyhl1138 { + yyb1138 = yyj1138 > l } else { - yyb6 = r.CheckBreak() + yyb1138 = r.CheckBreak() } - if yyb6 { + if yyb1138 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1138-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16171,36 +16171,36 @@ func (x *ResourceFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1141 := z.EncBinary() + _ = yym1141 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.ContainerName != "" - yyq2[2] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep1142 := !z.EncBinary() + yy2arr1142 := z.EncBasicHandle().StructToArray + var yyq1142 [3]bool + _, _, _ = yysep1142, yyq1142, yy2arr1142 + const yyr1142 bool = false + yyq1142[0] = x.ContainerName != "" + yyq1142[2] = true + var yynn1142 int + if yyr1142 || yy2arr1142 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1142 = 1 + for _, b := range yyq1142 { if b { - yynn2++ + yynn1142++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1142) + yynn1142 = 0 } - if yyr2 || yy2arr2 { + if yyr1142 || yy2arr1142 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq1142[0] { + yym1144 := z.EncBinary() + _ = yym1144 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerName)) @@ -16209,22 +16209,22 @@ func (x *ResourceFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1142[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1145 := z.EncBinary() + _ = yym1145 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerName)) } } } - if yyr2 || yy2arr2 { + if yyr1142 || yy2arr1142 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1147 := z.EncBinary() + _ = yym1147 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) @@ -16233,47 +16233,47 @@ func (x *ResourceFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resource")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1148 := z.EncBinary() + _ = yym1148 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) } } - if yyr2 || yy2arr2 { + if yyr1142 || yy2arr1142 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy10 := &x.Divisor - yym11 := z.EncBinary() - _ = yym11 + if yyq1142[2] { + yy1150 := &x.Divisor + yym1151 := z.EncBinary() + _ = yym1151 if false { - } else if z.HasExtensions() && z.EncExt(yy10) { - } else if !yym11 && z.IsJSONHandle() { - z.EncJSONMarshal(yy10) + } else if z.HasExtensions() && z.EncExt(yy1150) { + } else if !yym1151 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1150) } else { - z.EncFallback(yy10) + z.EncFallback(yy1150) } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1142[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("divisor")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.Divisor - yym13 := z.EncBinary() - _ = yym13 + yy1152 := &x.Divisor + yym1153 := z.EncBinary() + _ = yym1153 if false { - } else if z.HasExtensions() && z.EncExt(yy12) { - } else if !yym13 && z.IsJSONHandle() { - z.EncJSONMarshal(yy12) + } else if z.HasExtensions() && z.EncExt(yy1152) { + } else if !yym1153 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1152) } else { - z.EncFallback(yy12) + z.EncFallback(yy1152) } } } - if yyr2 || yy2arr2 { + if yyr1142 || yy2arr1142 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16286,25 +16286,25 @@ func (x *ResourceFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1154 := z.DecBinary() + _ = yym1154 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1155 := r.ContainerType() + if yyct1155 == codecSelferValueTypeMap1234 { + yyl1155 := r.ReadMapStart() + if yyl1155 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1155, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1155 == codecSelferValueTypeArray1234 { + yyl1155 := r.ReadArrayStart() + if yyl1155 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1155, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16316,12 +16316,12 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1156Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1156Slc + var yyhl1156 bool = l >= 0 + for yyj1156 := 0; ; yyj1156++ { + if yyhl1156 { + if yyj1156 >= l { break } } else { @@ -16330,10 +16330,10 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1156Slc = r.DecodeBytes(yys1156Slc, true, true) + yys1156 := string(yys1156Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1156 { case "containerName": if r.TryDecodeAsNil() { x.ContainerName = "" @@ -16350,21 +16350,21 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Divisor = pkg3_resource.Quantity{} } else { - yyv6 := &x.Divisor - yym7 := z.DecBinary() - _ = yym7 + yyv1159 := &x.Divisor + yym1160 := z.DecBinary() + _ = yym1160 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv1159) { + } else if !yym1160 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1159) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv1159, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1156) + } // end switch yys1156 + } // end for yyj1156 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16372,16 +16372,16 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1161 int + var yyb1161 bool + var yyhl1161 bool = l >= 0 + yyj1161++ + if yyhl1161 { + yyb1161 = yyj1161 > l } else { - yyb8 = r.CheckBreak() + yyb1161 = r.CheckBreak() } - if yyb8 { + if yyb1161 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16391,13 +16391,13 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.ContainerName = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1161++ + if yyhl1161 { + yyb1161 = yyj1161 > l } else { - yyb8 = r.CheckBreak() + yyb1161 = r.CheckBreak() } - if yyb8 { + if yyb1161 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16407,13 +16407,13 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Resource = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1161++ + if yyhl1161 { + yyb1161 = yyj1161 > l } else { - yyb8 = r.CheckBreak() + yyb1161 = r.CheckBreak() } - if yyb8 { + if yyb1161 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16421,29 +16421,29 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Divisor = pkg3_resource.Quantity{} } else { - yyv11 := &x.Divisor - yym12 := z.DecBinary() - _ = yym12 + yyv1164 := &x.Divisor + yym1165 := z.DecBinary() + _ = yym1165 if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else if !yym12 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv11) + } else if z.HasExtensions() && z.DecExt(yyv1164) { + } else if !yym1165 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1164) } else { - z.DecFallback(yyv11, false) + z.DecFallback(yyv1164, false) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1161++ + if yyhl1161 { + yyb1161 = yyj1161 > l } else { - yyb8 = r.CheckBreak() + yyb1161 = r.CheckBreak() } - if yyb8 { + if yyb1161 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1161-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16455,52 +16455,33 @@ func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1166 := z.EncBinary() + _ = yym1166 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1167 := !z.EncBinary() + yy2arr1167 := z.EncBasicHandle().StructToArray + var yyq1167 [2]bool + _, _, _ = yysep1167, yyq1167, yy2arr1167 + const yyr1167 bool = false + var yynn1167 int + if yyr1167 || yy2arr1167 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1167 = 2 + for _, b := range yyq1167 { if b { - yynn2++ + yynn1167++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1167) + yynn1167 = 0 } - if yyr2 || yy2arr2 { + if yyr1167 || yy2arr1167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("key")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1169 := z.EncBinary() + _ = yym1169 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -16509,14 +16490,33 @@ func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1170 := z.EncBinary() + _ = yym1170 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr1167 || yy2arr1167 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1172 := z.EncBinary() + _ = yym1172 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("key")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1173 := z.EncBinary() + _ = yym1173 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } + if yyr1167 || yy2arr1167 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16529,25 +16529,25 @@ func (x *ConfigMapKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1174 := z.DecBinary() + _ = yym1174 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1175 := r.ContainerType() + if yyct1175 == codecSelferValueTypeMap1234 { + yyl1175 := r.ReadMapStart() + if yyl1175 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1175, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1175 == codecSelferValueTypeArray1234 { + yyl1175 := r.ReadArrayStart() + if yyl1175 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1175, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16559,12 +16559,12 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1176Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1176Slc + var yyhl1176 bool = l >= 0 + for yyj1176 := 0; ; yyj1176++ { + if yyhl1176 { + if yyj1176 >= l { break } } else { @@ -16573,26 +16573,26 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1176Slc = r.DecodeBytes(yys1176Slc, true, true) + yys1176 := string(yys1176Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "key": - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } + switch yys1176 { case "Name": if r.TryDecodeAsNil() { x.Name = "" } else { x.Name = string(r.DecodeString()) } + case "key": + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1176) + } // end switch yys1176 + } // end for yyj1176 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16600,32 +16600,16 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1179 int + var yyb1179 bool + var yyhl1179 bool = l >= 0 + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l } else { - yyb6 = r.CheckBreak() + yyb1179 = r.CheckBreak() } - if yyb6 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = r.CheckBreak() - } - if yyb6 { + if yyb1179 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16635,18 +16619,34 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Name = string(r.DecodeString()) } + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l + } else { + yyb1179 = r.CheckBreak() + } + if yyb1179 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l } else { - yyb6 = r.CheckBreak() + yyb1179 = r.CheckBreak() } - if yyb6 { + if yyb1179 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1179-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16658,52 +16658,33 @@ func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1182 := z.EncBinary() + _ = yym1182 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1183 := !z.EncBinary() + yy2arr1183 := z.EncBasicHandle().StructToArray + var yyq1183 [2]bool + _, _, _ = yysep1183, yyq1183, yy2arr1183 + const yyr1183 bool = false + var yynn1183 int + if yyr1183 || yy2arr1183 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1183 = 2 + for _, b := range yyq1183 { if b { - yynn2++ + yynn1183++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1183) + yynn1183 = 0 } - if yyr2 || yy2arr2 { + if yyr1183 || yy2arr1183 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("key")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1185 := z.EncBinary() + _ = yym1185 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -16712,14 +16693,33 @@ func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1186 := z.EncBinary() + _ = yym1186 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr1183 || yy2arr1183 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1188 := z.EncBinary() + _ = yym1188 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("key")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1189 := z.EncBinary() + _ = yym1189 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } + if yyr1183 || yy2arr1183 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16732,25 +16732,25 @@ func (x *SecretKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1190 := z.DecBinary() + _ = yym1190 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1191 := r.ContainerType() + if yyct1191 == codecSelferValueTypeMap1234 { + yyl1191 := r.ReadMapStart() + if yyl1191 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1191, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1191 == codecSelferValueTypeArray1234 { + yyl1191 := r.ReadArrayStart() + if yyl1191 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1191, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16762,12 +16762,12 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1192Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1192Slc + var yyhl1192 bool = l >= 0 + for yyj1192 := 0; ; yyj1192++ { + if yyhl1192 { + if yyj1192 >= l { break } } else { @@ -16776,26 +16776,26 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1192Slc = r.DecodeBytes(yys1192Slc, true, true) + yys1192 := string(yys1192Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "key": - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } + switch yys1192 { case "Name": if r.TryDecodeAsNil() { x.Name = "" } else { x.Name = string(r.DecodeString()) } + case "key": + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1192) + } // end switch yys1192 + } // end for yyj1192 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16803,32 +16803,16 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1195 int + var yyb1195 bool + var yyhl1195 bool = l >= 0 + yyj1195++ + if yyhl1195 { + yyb1195 = yyj1195 > l } else { - yyb6 = r.CheckBreak() + yyb1195 = r.CheckBreak() } - if yyb6 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = r.CheckBreak() - } - if yyb6 { + if yyb1195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16838,18 +16822,34 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Name = string(r.DecodeString()) } + yyj1195++ + if yyhl1195 { + yyb1195 = yyj1195 > l + } else { + yyb1195 = r.CheckBreak() + } + if yyb1195 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1195++ + if yyhl1195 { + yyb1195 = yyj1195 > l } else { - yyb6 = r.CheckBreak() + yyb1195 = r.CheckBreak() } - if yyb6 { + if yyb1195 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1195-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16861,33 +16861,33 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1198 := z.EncBinary() + _ = yym1198 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1199 := !z.EncBinary() + yy2arr1199 := z.EncBasicHandle().StructToArray + var yyq1199 [2]bool + _, _, _ = yysep1199, yyq1199, yy2arr1199 + const yyr1199 bool = false + var yynn1199 int + if yyr1199 || yy2arr1199 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1199 = 2 + for _, b := range yyq1199 { if b { - yynn2++ + yynn1199++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1199) + yynn1199 = 0 } - if yyr2 || yy2arr2 { + if yyr1199 || yy2arr1199 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1201 := z.EncBinary() + _ = yym1201 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -16896,17 +16896,17 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1202 := z.EncBinary() + _ = yym1202 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr1199 || yy2arr1199 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1204 := z.EncBinary() + _ = yym1204 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -16915,14 +16915,14 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1205 := z.EncBinary() + _ = yym1205 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } - if yyr2 || yy2arr2 { + if yyr1199 || yy2arr1199 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16935,25 +16935,25 @@ func (x *HTTPHeader) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1206 := z.DecBinary() + _ = yym1206 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1207 := r.ContainerType() + if yyct1207 == codecSelferValueTypeMap1234 { + yyl1207 := r.ReadMapStart() + if yyl1207 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1207, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1207 == codecSelferValueTypeArray1234 { + yyl1207 := r.ReadArrayStart() + if yyl1207 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1207, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16965,12 +16965,12 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1208Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1208Slc + var yyhl1208 bool = l >= 0 + for yyj1208 := 0; ; yyj1208++ { + if yyhl1208 { + if yyj1208 >= l { break } } else { @@ -16979,10 +16979,10 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1208Slc = r.DecodeBytes(yys1208Slc, true, true) + yys1208 := string(yys1208Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1208 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -16996,9 +16996,9 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Value = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1208) + } // end switch yys1208 + } // end for yyj1208 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17006,16 +17006,16 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1211 int + var yyb1211 bool + var yyhl1211 bool = l >= 0 + yyj1211++ + if yyhl1211 { + yyb1211 = yyj1211 > l } else { - yyb6 = r.CheckBreak() + yyb1211 = r.CheckBreak() } - if yyb6 { + if yyb1211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17025,13 +17025,13 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1211++ + if yyhl1211 { + yyb1211 = yyj1211 > l } else { - yyb6 = r.CheckBreak() + yyb1211 = r.CheckBreak() } - if yyb6 { + if yyb1211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17042,17 +17042,17 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Value = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1211++ + if yyhl1211 { + yyb1211 = yyj1211 > l } else { - yyb6 = r.CheckBreak() + yyb1211 = r.CheckBreak() } - if yyb6 { + if yyb1211 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1211-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17064,39 +17064,39 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1214 := z.EncBinary() + _ = yym1214 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Path != "" - yyq2[1] = true - yyq2[2] = x.Host != "" - yyq2[3] = x.Scheme != "" - yyq2[4] = len(x.HTTPHeaders) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1215 := !z.EncBinary() + yy2arr1215 := z.EncBasicHandle().StructToArray + var yyq1215 [5]bool + _, _, _ = yysep1215, yyq1215, yy2arr1215 + const yyr1215 bool = false + yyq1215[0] = x.Path != "" + yyq1215[1] = true + yyq1215[2] = x.Host != "" + yyq1215[3] = x.Scheme != "" + yyq1215[4] = len(x.HTTPHeaders) != 0 + var yynn1215 int + if yyr1215 || yy2arr1215 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1215 = 0 + for _, b := range yyq1215 { if b { - yynn2++ + yynn1215++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1215) + yynn1215 = 0 } - if yyr2 || yy2arr2 { + if yyr1215 || yy2arr1215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq1215[0] { + yym1217 := z.EncBinary() + _ = yym1217 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -17105,56 +17105,56 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1215[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1218 := z.EncBinary() + _ = yym1218 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr2 || yy2arr2 { + if yyr1215 || yy2arr1215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy7 := &x.Port - yym8 := z.EncBinary() - _ = yym8 + if yyq1215[1] { + yy1220 := &x.Port + yym1221 := z.EncBinary() + _ = yym1221 if false { - } else if z.HasExtensions() && z.EncExt(yy7) { - } else if !yym8 && z.IsJSONHandle() { - z.EncJSONMarshal(yy7) + } else if z.HasExtensions() && z.EncExt(yy1220) { + } else if !yym1221 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1220) } else { - z.EncFallback(yy7) + z.EncFallback(yy1220) } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1215[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.Port - yym10 := z.EncBinary() - _ = yym10 + yy1222 := &x.Port + yym1223 := z.EncBinary() + _ = yym1223 if false { - } else if z.HasExtensions() && z.EncExt(yy9) { - } else if !yym10 && z.IsJSONHandle() { - z.EncJSONMarshal(yy9) + } else if z.HasExtensions() && z.EncExt(yy1222) { + } else if !yym1223 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1222) } else { - z.EncFallback(yy9) + z.EncFallback(yy1222) } } } - if yyr2 || yy2arr2 { + if yyr1215 || yy2arr1215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 + if yyq1215[2] { + yym1225 := z.EncBinary() + _ = yym1225 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -17163,41 +17163,41 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq1215[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 + yym1226 := z.EncBinary() + _ = yym1226 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr2 || yy2arr2 { + if yyr1215 || yy2arr1215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq1215[3] { x.Scheme.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq1215[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scheme")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Scheme.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1215 || yy2arr1215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq1215[4] { if x.HTTPHeaders == nil { r.EncodeNil() } else { - yym18 := z.EncBinary() - _ = yym18 + yym1229 := z.EncBinary() + _ = yym1229 if false { } else { h.encSliceHTTPHeader(([]HTTPHeader)(x.HTTPHeaders), e) @@ -17207,15 +17207,15 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq1215[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpHeaders")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HTTPHeaders == nil { r.EncodeNil() } else { - yym19 := z.EncBinary() - _ = yym19 + yym1230 := z.EncBinary() + _ = yym1230 if false { } else { h.encSliceHTTPHeader(([]HTTPHeader)(x.HTTPHeaders), e) @@ -17223,7 +17223,7 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1215 || yy2arr1215 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17236,25 +17236,25 @@ func (x *HTTPGetAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1231 := z.DecBinary() + _ = yym1231 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1232 := r.ContainerType() + if yyct1232 == codecSelferValueTypeMap1234 { + yyl1232 := r.ReadMapStart() + if yyl1232 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1232, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1232 == codecSelferValueTypeArray1234 { + yyl1232 := r.ReadArrayStart() + if yyl1232 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1232, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17266,12 +17266,12 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1233Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1233Slc + var yyhl1233 bool = l >= 0 + for yyj1233 := 0; ; yyj1233++ { + if yyhl1233 { + if yyj1233 >= l { break } } else { @@ -17280,10 +17280,10 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1233Slc = r.DecodeBytes(yys1233Slc, true, true) + yys1233 := string(yys1233Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1233 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -17294,15 +17294,15 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv5 := &x.Port - yym6 := z.DecBinary() - _ = yym6 + yyv1235 := &x.Port + yym1236 := z.DecBinary() + _ = yym1236 if false { - } else if z.HasExtensions() && z.DecExt(yyv5) { - } else if !yym6 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv5) + } else if z.HasExtensions() && z.DecExt(yyv1235) { + } else if !yym1236 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1235) } else { - z.DecFallback(yyv5, false) + z.DecFallback(yyv1235, false) } } case "host": @@ -17321,18 +17321,18 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HTTPHeaders = nil } else { - yyv9 := &x.HTTPHeaders - yym10 := z.DecBinary() - _ = yym10 + yyv1239 := &x.HTTPHeaders + yym1240 := z.DecBinary() + _ = yym1240 if false { } else { - h.decSliceHTTPHeader((*[]HTTPHeader)(yyv9), d) + h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1239), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1233) + } // end switch yys1233 + } // end for yyj1233 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17340,16 +17340,16 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj1241 int + var yyb1241 bool + var yyhl1241 bool = l >= 0 + yyj1241++ + if yyhl1241 { + yyb1241 = yyj1241 > l } else { - yyb11 = r.CheckBreak() + yyb1241 = r.CheckBreak() } - if yyb11 { + if yyb1241 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17359,13 +17359,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Path = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1241++ + if yyhl1241 { + yyb1241 = yyj1241 > l } else { - yyb11 = r.CheckBreak() + yyb1241 = r.CheckBreak() } - if yyb11 { + if yyb1241 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17373,24 +17373,24 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv13 := &x.Port - yym14 := z.DecBinary() - _ = yym14 + yyv1243 := &x.Port + yym1244 := z.DecBinary() + _ = yym1244 if false { - } else if z.HasExtensions() && z.DecExt(yyv13) { - } else if !yym14 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv13) + } else if z.HasExtensions() && z.DecExt(yyv1243) { + } else if !yym1244 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1243) } else { - z.DecFallback(yyv13, false) + z.DecFallback(yyv1243, false) } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1241++ + if yyhl1241 { + yyb1241 = yyj1241 > l } else { - yyb11 = r.CheckBreak() + yyb1241 = r.CheckBreak() } - if yyb11 { + if yyb1241 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17400,13 +17400,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Host = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1241++ + if yyhl1241 { + yyb1241 = yyj1241 > l } else { - yyb11 = r.CheckBreak() + yyb1241 = r.CheckBreak() } - if yyb11 { + if yyb1241 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17416,13 +17416,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Scheme = URIScheme(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1241++ + if yyhl1241 { + yyb1241 = yyj1241 > l } else { - yyb11 = r.CheckBreak() + yyb1241 = r.CheckBreak() } - if yyb11 { + if yyb1241 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17430,26 +17430,26 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HTTPHeaders = nil } else { - yyv17 := &x.HTTPHeaders - yym18 := z.DecBinary() - _ = yym18 + yyv1247 := &x.HTTPHeaders + yym1248 := z.DecBinary() + _ = yym1248 if false { } else { - h.decSliceHTTPHeader((*[]HTTPHeader)(yyv17), d) + h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1247), d) } } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1241++ + if yyhl1241 { + yyb1241 = yyj1241 > l } else { - yyb11 = r.CheckBreak() + yyb1241 = r.CheckBreak() } - if yyb11 { + if yyb1241 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj1241-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17458,8 +17458,8 @@ func (x URIScheme) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1249 := z.EncBinary() + _ = yym1249 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -17471,8 +17471,8 @@ func (x *URIScheme) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1250 := z.DecBinary() + _ = yym1250 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -17487,64 +17487,64 @@ func (x *TCPSocketAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1251 := z.EncBinary() + _ = yym1251 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep1252 := !z.EncBinary() + yy2arr1252 := z.EncBasicHandle().StructToArray + var yyq1252 [1]bool + _, _, _ = yysep1252, yyq1252, yy2arr1252 + const yyr1252 bool = false + yyq1252[0] = true + var yynn1252 int + if yyr1252 || yy2arr1252 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1252 = 0 + for _, b := range yyq1252 { if b { - yynn2++ + yynn1252++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1252) + yynn1252 = 0 } - if yyr2 || yy2arr2 { + if yyr1252 || yy2arr1252 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.Port - yym5 := z.EncBinary() - _ = yym5 + if yyq1252[0] { + yy1254 := &x.Port + yym1255 := z.EncBinary() + _ = yym1255 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { - } else if !yym5 && z.IsJSONHandle() { - z.EncJSONMarshal(yy4) + } else if z.HasExtensions() && z.EncExt(yy1254) { + } else if !yym1255 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1254) } else { - z.EncFallback(yy4) + z.EncFallback(yy1254) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1252[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.Port - yym7 := z.EncBinary() - _ = yym7 + yy1256 := &x.Port + yym1257 := z.EncBinary() + _ = yym1257 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { - } else if !yym7 && z.IsJSONHandle() { - z.EncJSONMarshal(yy6) + } else if z.HasExtensions() && z.EncExt(yy1256) { + } else if !yym1257 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1256) } else { - z.EncFallback(yy6) + z.EncFallback(yy1256) } } } - if yyr2 || yy2arr2 { + if yyr1252 || yy2arr1252 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17557,25 +17557,25 @@ func (x *TCPSocketAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1258 := z.DecBinary() + _ = yym1258 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1259 := r.ContainerType() + if yyct1259 == codecSelferValueTypeMap1234 { + yyl1259 := r.ReadMapStart() + if yyl1259 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1259, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1259 == codecSelferValueTypeArray1234 { + yyl1259 := r.ReadArrayStart() + if yyl1259 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1259, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17587,12 +17587,12 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1260Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1260Slc + var yyhl1260 bool = l >= 0 + for yyj1260 := 0; ; yyj1260++ { + if yyhl1260 { + if yyj1260 >= l { break } } else { @@ -17601,29 +17601,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1260Slc = r.DecodeBytes(yys1260Slc, true, true) + yys1260 := string(yys1260Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1260 { case "port": if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv4 := &x.Port - yym5 := z.DecBinary() - _ = yym5 + yyv1261 := &x.Port + yym1262 := z.DecBinary() + _ = yym1262 if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else if !yym5 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4) + } else if z.HasExtensions() && z.DecExt(yyv1261) { + } else if !yym1262 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1261) } else { - z.DecFallback(yyv4, false) + z.DecFallback(yyv1261, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1260) + } // end switch yys1260 + } // end for yyj1260 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17631,16 +17631,16 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1263 int + var yyb1263 bool + var yyhl1263 bool = l >= 0 + yyj1263++ + if yyhl1263 { + yyb1263 = yyj1263 > l } else { - yyb6 = r.CheckBreak() + yyb1263 = r.CheckBreak() } - if yyb6 { + if yyb1263 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17648,29 +17648,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv7 := &x.Port - yym8 := z.DecBinary() - _ = yym8 + yyv1264 := &x.Port + yym1265 := z.DecBinary() + _ = yym1265 if false { - } else if z.HasExtensions() && z.DecExt(yyv7) { - } else if !yym8 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv7) + } else if z.HasExtensions() && z.DecExt(yyv1264) { + } else if !yym1265 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1264) } else { - z.DecFallback(yyv7, false) + z.DecFallback(yyv1264, false) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1263++ + if yyhl1263 { + yyb1263 = yyj1263 > l } else { - yyb6 = r.CheckBreak() + yyb1263 = r.CheckBreak() } - if yyb6 { + if yyb1263 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1263-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17682,38 +17682,38 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1266 := z.EncBinary() + _ = yym1266 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Command) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1267 := !z.EncBinary() + yy2arr1267 := z.EncBasicHandle().StructToArray + var yyq1267 [1]bool + _, _, _ = yysep1267, yyq1267, yy2arr1267 + const yyr1267 bool = false + yyq1267[0] = len(x.Command) != 0 + var yynn1267 int + if yyr1267 || yy2arr1267 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1267 = 0 + for _, b := range yyq1267 { if b { - yynn2++ + yynn1267++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1267) + yynn1267 = 0 } - if yyr2 || yy2arr2 { + if yyr1267 || yy2arr1267 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1267[0] { if x.Command == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1269 := z.EncBinary() + _ = yym1269 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -17723,15 +17723,15 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1267[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1270 := z.EncBinary() + _ = yym1270 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -17739,7 +17739,7 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1267 || yy2arr1267 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17752,25 +17752,25 @@ func (x *ExecAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1271 := z.DecBinary() + _ = yym1271 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1272 := r.ContainerType() + if yyct1272 == codecSelferValueTypeMap1234 { + yyl1272 := r.ReadMapStart() + if yyl1272 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1272, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1272 == codecSelferValueTypeArray1234 { + yyl1272 := r.ReadArrayStart() + if yyl1272 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1272, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17782,12 +17782,12 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1273Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1273Slc + var yyhl1273 bool = l >= 0 + for yyj1273 := 0; ; yyj1273++ { + if yyhl1273 { + if yyj1273 >= l { break } } else { @@ -17796,26 +17796,26 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1273Slc = r.DecodeBytes(yys1273Slc, true, true) + yys1273 := string(yys1273Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1273 { case "command": if r.TryDecodeAsNil() { x.Command = nil } else { - yyv4 := &x.Command - yym5 := z.DecBinary() - _ = yym5 + yyv1274 := &x.Command + yym1275 := z.DecBinary() + _ = yym1275 if false { } else { - z.F.DecSliceStringX(yyv4, false, d) + z.F.DecSliceStringX(yyv1274, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1273) + } // end switch yys1273 + } // end for yyj1273 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17823,16 +17823,16 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1276 int + var yyb1276 bool + var yyhl1276 bool = l >= 0 + yyj1276++ + if yyhl1276 { + yyb1276 = yyj1276 > l } else { - yyb6 = r.CheckBreak() + yyb1276 = r.CheckBreak() } - if yyb6 { + if yyb1276 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17840,26 +17840,26 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv7 := &x.Command - yym8 := z.DecBinary() - _ = yym8 + yyv1277 := &x.Command + yym1278 := z.DecBinary() + _ = yym1278 if false { } else { - z.F.DecSliceStringX(yyv7, false, d) + z.F.DecSliceStringX(yyv1277, false, d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1276++ + if yyhl1276 { + yyb1276 = yyj1276 > l } else { - yyb6 = r.CheckBreak() + yyb1276 = r.CheckBreak() } - if yyb6 { + if yyb1276 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1276-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17871,174 +17871,49 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1279 := z.EncBinary() + _ = yym1279 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [8]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.InitialDelaySeconds != 0 - yyq2[1] = x.TimeoutSeconds != 0 - yyq2[2] = x.PeriodSeconds != 0 - yyq2[3] = x.SuccessThreshold != 0 - yyq2[4] = x.FailureThreshold != 0 - yyq2[5] = x.Handler.Exec != nil && x.Exec != nil - yyq2[6] = x.Handler.HTTPGet != nil && x.HTTPGet != nil - yyq2[7] = x.Handler.TCPSocket != nil && x.TCPSocket != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1280 := !z.EncBinary() + yy2arr1280 := z.EncBasicHandle().StructToArray + var yyq1280 [8]bool + _, _, _ = yysep1280, yyq1280, yy2arr1280 + const yyr1280 bool = false + yyq1280[0] = x.Handler.Exec != nil && x.Exec != nil + yyq1280[1] = x.Handler.HTTPGet != nil && x.HTTPGet != nil + yyq1280[2] = x.Handler.TCPSocket != nil && x.TCPSocket != nil + yyq1280[3] = x.InitialDelaySeconds != 0 + yyq1280[4] = x.TimeoutSeconds != 0 + yyq1280[5] = x.PeriodSeconds != 0 + yyq1280[6] = x.SuccessThreshold != 0 + yyq1280[7] = x.FailureThreshold != 0 + var yynn1280 int + if yyr1280 || yy2arr1280 { r.EncodeArrayStart(8) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1280 = 0 + for _, b := range yyq1280 { if b { - yynn2++ + yynn1280++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1280) + yynn1280 = 0 } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 - if false { - } else { - r.EncodeInt(int64(x.InitialDelaySeconds)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("initialDelaySeconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 - if false { - } else { - r.EncodeInt(int64(x.InitialDelaySeconds)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 - if false { - } else { - r.EncodeInt(int64(x.TimeoutSeconds)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 - if false { - } else { - r.EncodeInt(int64(x.TimeoutSeconds)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 - if false { - } else { - r.EncodeInt(int64(x.PeriodSeconds)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("periodSeconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 - if false { - } else { - r.EncodeInt(int64(x.PeriodSeconds)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeInt(int64(x.SuccessThreshold)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("successThreshold")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 - if false { - } else { - r.EncodeInt(int64(x.SuccessThreshold)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeInt(int64(x.FailureThreshold)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("failureThreshold")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 - if false { - } else { - r.EncodeInt(int64(x.FailureThreshold)) - } - } - } - var yyn18 bool + var yyn1281 bool if x.Handler.Exec == nil { - yyn18 = true - goto LABEL18 + yyn1281 = true + goto LABEL1281 } - LABEL18: - if yyr2 || yy2arr2 { - if yyn18 { + LABEL1281: + if yyr1280 || yy2arr1280 { + if yyn1281 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq1280[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -18049,11 +17924,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[5] { + if yyq1280[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn18 { + if yyn1281 { r.EncodeNil() } else { if x.Exec == nil { @@ -18064,18 +17939,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn21 bool + var yyn1282 bool if x.Handler.HTTPGet == nil { - yyn21 = true - goto LABEL21 + yyn1282 = true + goto LABEL1282 } - LABEL21: - if yyr2 || yy2arr2 { - if yyn21 { + LABEL1282: + if yyr1280 || yy2arr1280 { + if yyn1282 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq1280[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -18086,11 +17961,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[6] { + if yyq1280[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn21 { + if yyn1282 { r.EncodeNil() } else { if x.HTTPGet == nil { @@ -18101,18 +17976,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn24 bool + var yyn1283 bool if x.Handler.TCPSocket == nil { - yyn24 = true - goto LABEL24 + yyn1283 = true + goto LABEL1283 } - LABEL24: - if yyr2 || yy2arr2 { - if yyn24 { + LABEL1283: + if yyr1280 || yy2arr1280 { + if yyn1283 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq1280[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -18123,11 +17998,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[7] { + if yyq1280[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn24 { + if yyn1283 { r.EncodeNil() } else { if x.TCPSocket == nil { @@ -18138,7 +18013,132 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1280 || yy2arr1280 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1280[3] { + yym1285 := z.EncBinary() + _ = yym1285 + if false { + } else { + r.EncodeInt(int64(x.InitialDelaySeconds)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq1280[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("initialDelaySeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1286 := z.EncBinary() + _ = yym1286 + if false { + } else { + r.EncodeInt(int64(x.InitialDelaySeconds)) + } + } + } + if yyr1280 || yy2arr1280 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1280[4] { + yym1288 := z.EncBinary() + _ = yym1288 + if false { + } else { + r.EncodeInt(int64(x.TimeoutSeconds)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq1280[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1289 := z.EncBinary() + _ = yym1289 + if false { + } else { + r.EncodeInt(int64(x.TimeoutSeconds)) + } + } + } + if yyr1280 || yy2arr1280 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1280[5] { + yym1291 := z.EncBinary() + _ = yym1291 + if false { + } else { + r.EncodeInt(int64(x.PeriodSeconds)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq1280[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("periodSeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1292 := z.EncBinary() + _ = yym1292 + if false { + } else { + r.EncodeInt(int64(x.PeriodSeconds)) + } + } + } + if yyr1280 || yy2arr1280 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1280[6] { + yym1294 := z.EncBinary() + _ = yym1294 + if false { + } else { + r.EncodeInt(int64(x.SuccessThreshold)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq1280[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("successThreshold")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1295 := z.EncBinary() + _ = yym1295 + if false { + } else { + r.EncodeInt(int64(x.SuccessThreshold)) + } + } + } + if yyr1280 || yy2arr1280 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1280[7] { + yym1297 := z.EncBinary() + _ = yym1297 + if false { + } else { + r.EncodeInt(int64(x.FailureThreshold)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq1280[7] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("failureThreshold")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1298 := z.EncBinary() + _ = yym1298 + if false { + } else { + r.EncodeInt(int64(x.FailureThreshold)) + } + } + } + if yyr1280 || yy2arr1280 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18151,25 +18151,25 @@ func (x *Probe) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1299 := z.DecBinary() + _ = yym1299 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1300 := r.ContainerType() + if yyct1300 == codecSelferValueTypeMap1234 { + yyl1300 := r.ReadMapStart() + if yyl1300 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1300, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1300 == codecSelferValueTypeArray1234 { + yyl1300 := r.ReadArrayStart() + if yyl1300 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1300, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18181,12 +18181,12 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1301Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1301Slc + var yyhl1301 bool = l >= 0 + for yyj1301 := 0; ; yyj1301++ { + if yyhl1301 { + if yyj1301 >= l { break } } else { @@ -18195,40 +18195,10 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1301Slc = r.DecodeBytes(yys1301Slc, true, true) + yys1301 := string(yys1301Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "initialDelaySeconds": - if r.TryDecodeAsNil() { - x.InitialDelaySeconds = 0 - } else { - x.InitialDelaySeconds = int32(r.DecodeInt(32)) - } - case "timeoutSeconds": - if r.TryDecodeAsNil() { - x.TimeoutSeconds = 0 - } else { - x.TimeoutSeconds = int32(r.DecodeInt(32)) - } - case "periodSeconds": - if r.TryDecodeAsNil() { - x.PeriodSeconds = 0 - } else { - x.PeriodSeconds = int32(r.DecodeInt(32)) - } - case "successThreshold": - if r.TryDecodeAsNil() { - x.SuccessThreshold = 0 - } else { - x.SuccessThreshold = int32(r.DecodeInt(32)) - } - case "failureThreshold": - if r.TryDecodeAsNil() { - x.FailureThreshold = 0 - } else { - x.FailureThreshold = int32(r.DecodeInt(32)) - } + switch yys1301 { case "exec": if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) @@ -18271,10 +18241,40 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } x.TCPSocket.CodecDecodeSelf(d) } + case "initialDelaySeconds": + if r.TryDecodeAsNil() { + x.InitialDelaySeconds = 0 + } else { + x.InitialDelaySeconds = int32(r.DecodeInt(32)) + } + case "timeoutSeconds": + if r.TryDecodeAsNil() { + x.TimeoutSeconds = 0 + } else { + x.TimeoutSeconds = int32(r.DecodeInt(32)) + } + case "periodSeconds": + if r.TryDecodeAsNil() { + x.PeriodSeconds = 0 + } else { + x.PeriodSeconds = int32(r.DecodeInt(32)) + } + case "successThreshold": + if r.TryDecodeAsNil() { + x.SuccessThreshold = 0 + } else { + x.SuccessThreshold = int32(r.DecodeInt(32)) + } + case "failureThreshold": + if r.TryDecodeAsNil() { + x.FailureThreshold = 0 + } else { + x.FailureThreshold = int32(r.DecodeInt(32)) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1301) + } // end switch yys1301 + } // end for yyj1301 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18282,99 +18282,19 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.InitialDelaySeconds = 0 - } else { - x.InitialDelaySeconds = int32(r.DecodeInt(32)) - } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TimeoutSeconds = 0 - } else { - x.TimeoutSeconds = int32(r.DecodeInt(32)) - } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PeriodSeconds = 0 - } else { - x.PeriodSeconds = int32(r.DecodeInt(32)) - } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SuccessThreshold = 0 - } else { - x.SuccessThreshold = int32(r.DecodeInt(32)) - } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.FailureThreshold = 0 - } else { - x.FailureThreshold = int32(r.DecodeInt(32)) - } + var yyj1310 int + var yyb1310 bool + var yyhl1310 bool = l >= 0 if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1310++ + if yyhl1310 { + yyb1310 = yyj1310 > l } else { - yyb12 = r.CheckBreak() + yyb1310 = r.CheckBreak() } - if yyb12 { + if yyb1310 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18392,13 +18312,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.HTTPGet == nil { x.Handler.HTTPGet = new(HTTPGetAction) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1310++ + if yyhl1310 { + yyb1310 = yyj1310 > l } else { - yyb12 = r.CheckBreak() + yyb1310 = r.CheckBreak() } - if yyb12 { + if yyb1310 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18416,13 +18336,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.TCPSocket == nil { x.Handler.TCPSocket = new(TCPSocketAction) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1310++ + if yyhl1310 { + yyb1310 = yyj1310 > l } else { - yyb12 = r.CheckBreak() + yyb1310 = r.CheckBreak() } - if yyb12 { + if yyb1310 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18437,18 +18357,98 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.TCPSocket.CodecDecodeSelf(d) } + yyj1310++ + if yyhl1310 { + yyb1310 = yyj1310 > l + } else { + yyb1310 = r.CheckBreak() + } + if yyb1310 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.InitialDelaySeconds = 0 + } else { + x.InitialDelaySeconds = int32(r.DecodeInt(32)) + } + yyj1310++ + if yyhl1310 { + yyb1310 = yyj1310 > l + } else { + yyb1310 = r.CheckBreak() + } + if yyb1310 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TimeoutSeconds = 0 + } else { + x.TimeoutSeconds = int32(r.DecodeInt(32)) + } + yyj1310++ + if yyhl1310 { + yyb1310 = yyj1310 > l + } else { + yyb1310 = r.CheckBreak() + } + if yyb1310 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PeriodSeconds = 0 + } else { + x.PeriodSeconds = int32(r.DecodeInt(32)) + } + yyj1310++ + if yyhl1310 { + yyb1310 = yyj1310 > l + } else { + yyb1310 = r.CheckBreak() + } + if yyb1310 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.SuccessThreshold = 0 + } else { + x.SuccessThreshold = int32(r.DecodeInt(32)) + } + yyj1310++ + if yyhl1310 { + yyb1310 = yyj1310 > l + } else { + yyb1310 = r.CheckBreak() + } + if yyb1310 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.FailureThreshold = 0 + } else { + x.FailureThreshold = int32(r.DecodeInt(32)) + } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1310++ + if yyhl1310 { + yyb1310 = yyj1310 > l } else { - yyb12 = r.CheckBreak() + yyb1310 = r.CheckBreak() } - if yyb12 { + if yyb1310 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj1310-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18457,8 +18457,8 @@ func (x PullPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1319 := z.EncBinary() + _ = yym1319 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18470,8 +18470,8 @@ func (x *PullPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1320 := z.DecBinary() + _ = yym1320 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18483,8 +18483,8 @@ func (x Capability) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1321 := z.EncBinary() + _ = yym1321 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18496,8 +18496,8 @@ func (x *Capability) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1322 := z.DecBinary() + _ = yym1322 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18512,39 +18512,39 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1323 := z.EncBinary() + _ = yym1323 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Add) != 0 - yyq2[1] = len(x.Drop) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1324 := !z.EncBinary() + yy2arr1324 := z.EncBasicHandle().StructToArray + var yyq1324 [2]bool + _, _, _ = yysep1324, yyq1324, yy2arr1324 + const yyr1324 bool = false + yyq1324[0] = len(x.Add) != 0 + yyq1324[1] = len(x.Drop) != 0 + var yynn1324 int + if yyr1324 || yy2arr1324 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1324 = 0 + for _, b := range yyq1324 { if b { - yynn2++ + yynn1324++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1324) + yynn1324 = 0 } - if yyr2 || yy2arr2 { + if yyr1324 || yy2arr1324 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1324[0] { if x.Add == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1326 := z.EncBinary() + _ = yym1326 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -18554,15 +18554,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1324[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("add")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Add == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1327 := z.EncBinary() + _ = yym1327 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -18570,14 +18570,14 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1324 || yy2arr1324 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1324[1] { if x.Drop == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1329 := z.EncBinary() + _ = yym1329 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -18587,15 +18587,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1324[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("drop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Drop == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1330 := z.EncBinary() + _ = yym1330 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -18603,7 +18603,7 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1324 || yy2arr1324 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18616,25 +18616,25 @@ func (x *Capabilities) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1331 := z.DecBinary() + _ = yym1331 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1332 := r.ContainerType() + if yyct1332 == codecSelferValueTypeMap1234 { + yyl1332 := r.ReadMapStart() + if yyl1332 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1332, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1332 == codecSelferValueTypeArray1234 { + yyl1332 := r.ReadArrayStart() + if yyl1332 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1332, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18646,12 +18646,12 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1333Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1333Slc + var yyhl1333 bool = l >= 0 + for yyj1333 := 0; ; yyj1333++ { + if yyhl1333 { + if yyj1333 >= l { break } } else { @@ -18660,38 +18660,38 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1333Slc = r.DecodeBytes(yys1333Slc, true, true) + yys1333 := string(yys1333Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1333 { case "add": if r.TryDecodeAsNil() { x.Add = nil } else { - yyv4 := &x.Add - yym5 := z.DecBinary() - _ = yym5 + yyv1334 := &x.Add + yym1335 := z.DecBinary() + _ = yym1335 if false { } else { - h.decSliceCapability((*[]Capability)(yyv4), d) + h.decSliceCapability((*[]Capability)(yyv1334), d) } } case "drop": if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv6 := &x.Drop - yym7 := z.DecBinary() - _ = yym7 + yyv1336 := &x.Drop + yym1337 := z.DecBinary() + _ = yym1337 if false { } else { - h.decSliceCapability((*[]Capability)(yyv6), d) + h.decSliceCapability((*[]Capability)(yyv1336), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1333) + } // end switch yys1333 + } // end for yyj1333 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18699,16 +18699,16 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1338 int + var yyb1338 bool + var yyhl1338 bool = l >= 0 + yyj1338++ + if yyhl1338 { + yyb1338 = yyj1338 > l } else { - yyb8 = r.CheckBreak() + yyb1338 = r.CheckBreak() } - if yyb8 { + if yyb1338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18716,21 +18716,21 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Add = nil } else { - yyv9 := &x.Add - yym10 := z.DecBinary() - _ = yym10 + yyv1339 := &x.Add + yym1340 := z.DecBinary() + _ = yym1340 if false { } else { - h.decSliceCapability((*[]Capability)(yyv9), d) + h.decSliceCapability((*[]Capability)(yyv1339), d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1338++ + if yyhl1338 { + yyb1338 = yyj1338 > l } else { - yyb8 = r.CheckBreak() + yyb1338 = r.CheckBreak() } - if yyb8 { + if yyb1338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18738,26 +18738,26 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv11 := &x.Drop - yym12 := z.DecBinary() - _ = yym12 + yyv1341 := &x.Drop + yym1342 := z.DecBinary() + _ = yym1342 if false { } else { - h.decSliceCapability((*[]Capability)(yyv11), d) + h.decSliceCapability((*[]Capability)(yyv1341), d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1338++ + if yyhl1338 { + yyb1338 = yyj1338 > l } else { - yyb8 = r.CheckBreak() + yyb1338 = r.CheckBreak() } - if yyb8 { + if yyb1338 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1338-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18769,34 +18769,34 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1343 := z.EncBinary() + _ = yym1343 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Limits) != 0 - yyq2[1] = len(x.Requests) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1344 := !z.EncBinary() + yy2arr1344 := z.EncBasicHandle().StructToArray + var yyq1344 [2]bool + _, _, _ = yysep1344, yyq1344, yy2arr1344 + const yyr1344 bool = false + yyq1344[0] = len(x.Limits) != 0 + yyq1344[1] = len(x.Requests) != 0 + var yynn1344 int + if yyr1344 || yy2arr1344 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1344 = 0 + for _, b := range yyq1344 { if b { - yynn2++ + yynn1344++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1344) + yynn1344 = 0 } - if yyr2 || yy2arr2 { + if yyr1344 || yy2arr1344 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1344[0] { if x.Limits == nil { r.EncodeNil() } else { @@ -18806,7 +18806,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1344[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("limits")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18817,9 +18817,9 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1344 || yy2arr1344 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1344[1] { if x.Requests == nil { r.EncodeNil() } else { @@ -18829,7 +18829,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1344[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requests")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18840,7 +18840,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1344 || yy2arr1344 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18853,25 +18853,25 @@ func (x *ResourceRequirements) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1347 := z.DecBinary() + _ = yym1347 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1348 := r.ContainerType() + if yyct1348 == codecSelferValueTypeMap1234 { + yyl1348 := r.ReadMapStart() + if yyl1348 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1348, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1348 == codecSelferValueTypeArray1234 { + yyl1348 := r.ReadArrayStart() + if yyl1348 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1348, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18883,12 +18883,12 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1349Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1349Slc + var yyhl1349 bool = l >= 0 + for yyj1349 := 0; ; yyj1349++ { + if yyhl1349 { + if yyj1349 >= l { break } } else { @@ -18897,28 +18897,28 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1349Slc = r.DecodeBytes(yys1349Slc, true, true) + yys1349 := string(yys1349Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1349 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv4 := &x.Limits - yyv4.CodecDecodeSelf(d) + yyv1350 := &x.Limits + yyv1350.CodecDecodeSelf(d) } case "requests": if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv5 := &x.Requests - yyv5.CodecDecodeSelf(d) + yyv1351 := &x.Requests + yyv1351.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1349) + } // end switch yys1349 + } // end for yyj1349 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18926,16 +18926,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1352 int + var yyb1352 bool + var yyhl1352 bool = l >= 0 + yyj1352++ + if yyhl1352 { + yyb1352 = yyj1352 > l } else { - yyb6 = r.CheckBreak() + yyb1352 = r.CheckBreak() } - if yyb6 { + if yyb1352 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18943,16 +18943,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv7 := &x.Limits - yyv7.CodecDecodeSelf(d) + yyv1353 := &x.Limits + yyv1353.CodecDecodeSelf(d) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1352++ + if yyhl1352 { + yyb1352 = yyj1352 > l } else { - yyb6 = r.CheckBreak() + yyb1352 = r.CheckBreak() } - if yyb6 { + if yyb1352 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18960,21 +18960,21 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv8 := &x.Requests - yyv8.CodecDecodeSelf(d) + yyv1354 := &x.Requests + yyv1354.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1352++ + if yyhl1352 { + yyb1352 = yyj1352 > l } else { - yyb6 = r.CheckBreak() + yyb1352 = r.CheckBreak() } - if yyb6 { + if yyb1352 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1352-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18986,48 +18986,48 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1355 := z.EncBinary() + _ = yym1355 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [18]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = len(x.Command) != 0 - yyq2[3] = len(x.Args) != 0 - yyq2[4] = x.WorkingDir != "" - yyq2[5] = len(x.Ports) != 0 - yyq2[6] = len(x.Env) != 0 - yyq2[7] = true - yyq2[8] = len(x.VolumeMounts) != 0 - yyq2[9] = x.LivenessProbe != nil - yyq2[10] = x.ReadinessProbe != nil - yyq2[11] = x.Lifecycle != nil - yyq2[12] = x.TerminationMessagePath != "" - yyq2[14] = x.SecurityContext != nil - yyq2[15] = x.Stdin != false - yyq2[16] = x.StdinOnce != false - yyq2[17] = x.TTY != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1356 := !z.EncBinary() + yy2arr1356 := z.EncBasicHandle().StructToArray + var yyq1356 [18]bool + _, _, _ = yysep1356, yyq1356, yy2arr1356 + const yyr1356 bool = false + yyq1356[2] = len(x.Command) != 0 + yyq1356[3] = len(x.Args) != 0 + yyq1356[4] = x.WorkingDir != "" + yyq1356[5] = len(x.Ports) != 0 + yyq1356[6] = len(x.Env) != 0 + yyq1356[7] = true + yyq1356[8] = len(x.VolumeMounts) != 0 + yyq1356[9] = x.LivenessProbe != nil + yyq1356[10] = x.ReadinessProbe != nil + yyq1356[11] = x.Lifecycle != nil + yyq1356[12] = x.TerminationMessagePath != "" + yyq1356[14] = x.SecurityContext != nil + yyq1356[15] = x.Stdin != false + yyq1356[16] = x.StdinOnce != false + yyq1356[17] = x.TTY != false + var yynn1356 int + if yyr1356 || yy2arr1356 { r.EncodeArrayStart(18) } else { - yynn2 = 3 - for _, b := range yyq2 { + yynn1356 = 3 + for _, b := range yyq1356 { if b { - yynn2++ + yynn1356++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1356) + yynn1356 = 0 } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1358 := z.EncBinary() + _ = yym1358 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -19036,17 +19036,17 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1359 := z.EncBinary() + _ = yym1359 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1361 := z.EncBinary() + _ = yym1361 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -19055,21 +19055,21 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1362 := z.EncBinary() + _ = yym1362 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1356[2] { if x.Command == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1364 := z.EncBinary() + _ = yym1364 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -19079,15 +19079,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1356[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym1365 := z.EncBinary() + _ = yym1365 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -19095,14 +19095,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq1356[3] { if x.Args == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym1367 := z.EncBinary() + _ = yym1367 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -19112,15 +19112,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq1356[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("args")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Args == nil { r.EncodeNil() } else { - yym14 := z.EncBinary() - _ = yym14 + yym1368 := z.EncBinary() + _ = yym1368 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -19128,11 +19128,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq1356[4] { + yym1370 := z.EncBinary() + _ = yym1370 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) @@ -19141,26 +19141,26 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq1356[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("workingDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym1371 := z.EncBinary() + _ = yym1371 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) } } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq1356[5] { if x.Ports == nil { r.EncodeNil() } else { - yym19 := z.EncBinary() - _ = yym19 + yym1373 := z.EncBinary() + _ = yym1373 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -19170,15 +19170,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[5] { + if yyq1356[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym20 := z.EncBinary() - _ = yym20 + yym1374 := z.EncBinary() + _ = yym1374 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -19186,14 +19186,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq1356[6] { if x.Env == nil { r.EncodeNil() } else { - yym22 := z.EncBinary() - _ = yym22 + yym1376 := z.EncBinary() + _ = yym1376 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -19203,15 +19203,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[6] { + if yyq1356[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("env")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Env == nil { r.EncodeNil() } else { - yym23 := z.EncBinary() - _ = yym23 + yym1377 := z.EncBinary() + _ = yym1377 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -19219,31 +19219,31 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yy25 := &x.Resources - yy25.CodecEncodeSelf(e) + if yyq1356[7] { + yy1379 := &x.Resources + yy1379.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[7] { + if yyq1356[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy27 := &x.Resources - yy27.CodecEncodeSelf(e) + yy1380 := &x.Resources + yy1380.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { + if yyq1356[8] { if x.VolumeMounts == nil { r.EncodeNil() } else { - yym30 := z.EncBinary() - _ = yym30 + yym1382 := z.EncBinary() + _ = yym1382 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -19253,15 +19253,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[8] { + if yyq1356[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeMounts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumeMounts == nil { r.EncodeNil() } else { - yym31 := z.EncBinary() - _ = yym31 + yym1383 := z.EncBinary() + _ = yym1383 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -19269,9 +19269,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { + if yyq1356[9] { if x.LivenessProbe == nil { r.EncodeNil() } else { @@ -19281,7 +19281,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[9] { + if yyq1356[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("livenessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19292,9 +19292,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { + if yyq1356[10] { if x.ReadinessProbe == nil { r.EncodeNil() } else { @@ -19304,7 +19304,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[10] { + if yyq1356[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readinessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19315,9 +19315,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { + if yyq1356[11] { if x.Lifecycle == nil { r.EncodeNil() } else { @@ -19327,7 +19327,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[11] { + if yyq1356[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lifecycle")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19338,11 +19338,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { - yym42 := z.EncBinary() - _ = yym42 + if yyq1356[12] { + yym1388 := z.EncBinary() + _ = yym1388 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) @@ -19351,19 +19351,19 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[12] { + if yyq1356[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationMessagePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym43 := z.EncBinary() - _ = yym43 + yym1389 := z.EncBinary() + _ = yym1389 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) } } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.ImagePullPolicy.CodecEncodeSelf(e) } else { @@ -19372,9 +19372,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.ImagePullPolicy.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[14] { + if yyq1356[14] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -19384,7 +19384,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[14] { + if yyq1356[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19395,11 +19395,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[15] { - yym51 := z.EncBinary() - _ = yym51 + if yyq1356[15] { + yym1393 := z.EncBinary() + _ = yym1393 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -19408,23 +19408,23 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[15] { + if yyq1356[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym52 := z.EncBinary() - _ = yym52 + yym1394 := z.EncBinary() + _ = yym1394 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[16] { - yym54 := z.EncBinary() - _ = yym54 + if yyq1356[16] { + yym1396 := z.EncBinary() + _ = yym1396 if false { } else { r.EncodeBool(bool(x.StdinOnce)) @@ -19433,23 +19433,23 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[16] { + if yyq1356[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdinOnce")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym55 := z.EncBinary() - _ = yym55 + yym1397 := z.EncBinary() + _ = yym1397 if false { } else { r.EncodeBool(bool(x.StdinOnce)) } } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[17] { - yym57 := z.EncBinary() - _ = yym57 + if yyq1356[17] { + yym1399 := z.EncBinary() + _ = yym1399 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -19458,19 +19458,19 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[17] { + if yyq1356[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym58 := z.EncBinary() - _ = yym58 + yym1400 := z.EncBinary() + _ = yym1400 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr2 || yy2arr2 { + if yyr1356 || yy2arr1356 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19483,25 +19483,25 @@ func (x *Container) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1401 := z.DecBinary() + _ = yym1401 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1402 := r.ContainerType() + if yyct1402 == codecSelferValueTypeMap1234 { + yyl1402 := r.ReadMapStart() + if yyl1402 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1402, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1402 == codecSelferValueTypeArray1234 { + yyl1402 := r.ReadArrayStart() + if yyl1402 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1402, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19513,12 +19513,12 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1403Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1403Slc + var yyhl1403 bool = l >= 0 + for yyj1403 := 0; ; yyj1403++ { + if yyhl1403 { + if yyj1403 >= l { break } } else { @@ -19527,10 +19527,10 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1403Slc = r.DecodeBytes(yys1403Slc, true, true) + yys1403 := string(yys1403Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1403 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -19547,24 +19547,24 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv6 := &x.Command - yym7 := z.DecBinary() - _ = yym7 + yyv1406 := &x.Command + yym1407 := z.DecBinary() + _ = yym1407 if false { } else { - z.F.DecSliceStringX(yyv6, false, d) + z.F.DecSliceStringX(yyv1406, false, d) } } case "args": if r.TryDecodeAsNil() { x.Args = nil } else { - yyv8 := &x.Args - yym9 := z.DecBinary() - _ = yym9 + yyv1408 := &x.Args + yym1409 := z.DecBinary() + _ = yym1409 if false { } else { - z.F.DecSliceStringX(yyv8, false, d) + z.F.DecSliceStringX(yyv1408, false, d) } } case "workingDir": @@ -19577,43 +19577,43 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv11 := &x.Ports - yym12 := z.DecBinary() - _ = yym12 + yyv1411 := &x.Ports + yym1412 := z.DecBinary() + _ = yym1412 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv11), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1411), d) } } case "env": if r.TryDecodeAsNil() { x.Env = nil } else { - yyv13 := &x.Env - yym14 := z.DecBinary() - _ = yym14 + yyv1413 := &x.Env + yym1414 := z.DecBinary() + _ = yym1414 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv13), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1413), d) } } case "resources": if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv15 := &x.Resources - yyv15.CodecDecodeSelf(d) + yyv1415 := &x.Resources + yyv1415.CodecDecodeSelf(d) } case "volumeMounts": if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv16 := &x.VolumeMounts - yym17 := z.DecBinary() - _ = yym17 + yyv1416 := &x.VolumeMounts + yym1417 := z.DecBinary() + _ = yym1417 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv16), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1416), d) } } case "livenessProbe": @@ -19691,9 +19691,9 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1403) + } // end switch yys1403 + } // end for yyj1403 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19701,16 +19701,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj27 int - var yyb27 bool - var yyhl27 bool = l >= 0 - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + var yyj1427 int + var yyb1427 bool + var yyhl1427 bool = l >= 0 + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19720,13 +19720,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19736,13 +19736,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Image = string(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19750,21 +19750,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv30 := &x.Command - yym31 := z.DecBinary() - _ = yym31 + yyv1430 := &x.Command + yym1431 := z.DecBinary() + _ = yym1431 if false { } else { - z.F.DecSliceStringX(yyv30, false, d) + z.F.DecSliceStringX(yyv1430, false, d) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19772,21 +19772,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Args = nil } else { - yyv32 := &x.Args - yym33 := z.DecBinary() - _ = yym33 + yyv1432 := &x.Args + yym1433 := z.DecBinary() + _ = yym1433 if false { } else { - z.F.DecSliceStringX(yyv32, false, d) + z.F.DecSliceStringX(yyv1432, false, d) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19796,13 +19796,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.WorkingDir = string(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19810,21 +19810,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv35 := &x.Ports - yym36 := z.DecBinary() - _ = yym36 + yyv1435 := &x.Ports + yym1436 := z.DecBinary() + _ = yym1436 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv35), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1435), d) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19832,21 +19832,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Env = nil } else { - yyv37 := &x.Env - yym38 := z.DecBinary() - _ = yym38 + yyv1437 := &x.Env + yym1438 := z.DecBinary() + _ = yym1438 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv37), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1437), d) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19854,16 +19854,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv39 := &x.Resources - yyv39.CodecDecodeSelf(d) + yyv1439 := &x.Resources + yyv1439.CodecDecodeSelf(d) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19871,21 +19871,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv40 := &x.VolumeMounts - yym41 := z.DecBinary() - _ = yym41 + yyv1440 := &x.VolumeMounts + yym1441 := z.DecBinary() + _ = yym1441 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv40), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1440), d) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19900,13 +19900,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.LivenessProbe.CodecDecodeSelf(d) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19921,13 +19921,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ReadinessProbe.CodecDecodeSelf(d) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19942,13 +19942,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Lifecycle.CodecDecodeSelf(d) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19958,13 +19958,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TerminationMessagePath = string(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19974,13 +19974,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ImagePullPolicy = PullPolicy(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19995,13 +19995,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20011,13 +20011,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20027,13 +20027,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.StdinOnce = bool(r.DecodeBool()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20044,17 +20044,17 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } for { - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb27 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb27 { + if yyb1427 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj27-1, "") + z.DecStructFieldNotFound(yyj1427-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20066,35 +20066,35 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1451 := z.EncBinary() + _ = yym1451 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Exec != nil - yyq2[1] = x.HTTPGet != nil - yyq2[2] = x.TCPSocket != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1452 := !z.EncBinary() + yy2arr1452 := z.EncBasicHandle().StructToArray + var yyq1452 [3]bool + _, _, _ = yysep1452, yyq1452, yy2arr1452 + const yyr1452 bool = false + yyq1452[0] = x.Exec != nil + yyq1452[1] = x.HTTPGet != nil + yyq1452[2] = x.TCPSocket != nil + var yynn1452 int + if yyr1452 || yy2arr1452 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1452 = 0 + for _, b := range yyq1452 { if b { - yynn2++ + yynn1452++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1452) + yynn1452 = 0 } - if yyr2 || yy2arr2 { + if yyr1452 || yy2arr1452 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1452[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -20104,7 +20104,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1452[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20115,9 +20115,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1452 || yy2arr1452 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1452[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -20127,7 +20127,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1452[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20138,9 +20138,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1452 || yy2arr1452 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1452[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -20150,7 +20150,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1452[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20161,7 +20161,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1452 || yy2arr1452 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20174,25 +20174,25 @@ func (x *Handler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1456 := z.DecBinary() + _ = yym1456 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1457 := r.ContainerType() + if yyct1457 == codecSelferValueTypeMap1234 { + yyl1457 := r.ReadMapStart() + if yyl1457 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1457, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1457 == codecSelferValueTypeArray1234 { + yyl1457 := r.ReadArrayStart() + if yyl1457 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1457, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20204,12 +20204,12 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -20218,10 +20218,10 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1458Slc = r.DecodeBytes(yys1458Slc, true, true) + yys1458 := string(yys1458Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1458 { case "exec": if r.TryDecodeAsNil() { if x.Exec != nil { @@ -20256,9 +20256,9 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1458) + } // end switch yys1458 + } // end for yyj1458 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20266,16 +20266,16 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1462 int + var yyb1462 bool + var yyhl1462 bool = l >= 0 + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb7 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb7 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20290,13 +20290,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Exec.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb7 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb7 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20311,13 +20311,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HTTPGet.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb7 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb7 { + if yyb1462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20333,17 +20333,17 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1462++ + if yyhl1462 { + yyb1462 = yyj1462 > l } else { - yyb7 = r.CheckBreak() + yyb1462 = r.CheckBreak() } - if yyb7 { + if yyb1462 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1462-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20355,34 +20355,34 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1466 := z.EncBinary() + _ = yym1466 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.PostStart != nil - yyq2[1] = x.PreStop != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1467 := !z.EncBinary() + yy2arr1467 := z.EncBasicHandle().StructToArray + var yyq1467 [2]bool + _, _, _ = yysep1467, yyq1467, yy2arr1467 + const yyr1467 bool = false + yyq1467[0] = x.PostStart != nil + yyq1467[1] = x.PreStop != nil + var yynn1467 int + if yyr1467 || yy2arr1467 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1467 = 0 + for _, b := range yyq1467 { if b { - yynn2++ + yynn1467++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1467) + yynn1467 = 0 } - if yyr2 || yy2arr2 { + if yyr1467 || yy2arr1467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1467[0] { if x.PostStart == nil { r.EncodeNil() } else { @@ -20392,7 +20392,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1467[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("postStart")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20403,9 +20403,9 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1467 || yy2arr1467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1467[1] { if x.PreStop == nil { r.EncodeNil() } else { @@ -20415,7 +20415,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1467[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preStop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20426,7 +20426,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1467 || yy2arr1467 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20439,25 +20439,25 @@ func (x *Lifecycle) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1470 := z.DecBinary() + _ = yym1470 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1471 := r.ContainerType() + if yyct1471 == codecSelferValueTypeMap1234 { + yyl1471 := r.ReadMapStart() + if yyl1471 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1471, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1471 == codecSelferValueTypeArray1234 { + yyl1471 := r.ReadArrayStart() + if yyl1471 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1471, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20469,12 +20469,12 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1472Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1472Slc + var yyhl1472 bool = l >= 0 + for yyj1472 := 0; ; yyj1472++ { + if yyhl1472 { + if yyj1472 >= l { break } } else { @@ -20483,10 +20483,10 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1472Slc = r.DecodeBytes(yys1472Slc, true, true) + yys1472 := string(yys1472Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1472 { case "postStart": if r.TryDecodeAsNil() { if x.PostStart != nil { @@ -20510,9 +20510,9 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PreStop.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1472) + } // end switch yys1472 + } // end for yyj1472 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20520,16 +20520,16 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1475 int + var yyb1475 bool + var yyhl1475 bool = l >= 0 + yyj1475++ + if yyhl1475 { + yyb1475 = yyj1475 > l } else { - yyb6 = r.CheckBreak() + yyb1475 = r.CheckBreak() } - if yyb6 { + if yyb1475 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20544,13 +20544,13 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PostStart.CodecDecodeSelf(d) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1475++ + if yyhl1475 { + yyb1475 = yyj1475 > l } else { - yyb6 = r.CheckBreak() + yyb1475 = r.CheckBreak() } - if yyb6 { + if yyb1475 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20566,17 +20566,17 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PreStop.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1475++ + if yyhl1475 { + yyb1475 = yyj1475 > l } else { - yyb6 = r.CheckBreak() + yyb1475 = r.CheckBreak() } - if yyb6 { + if yyb1475 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1475-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20585,8 +20585,8 @@ func (x ConditionStatus) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1478 := z.EncBinary() + _ = yym1478 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -20598,8 +20598,8 @@ func (x *ConditionStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1479 := z.DecBinary() + _ = yym1479 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -20614,36 +20614,36 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1480 := z.EncBinary() + _ = yym1480 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Reason != "" - yyq2[1] = x.Message != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1481 := !z.EncBinary() + yy2arr1481 := z.EncBasicHandle().StructToArray + var yyq1481 [2]bool + _, _, _ = yysep1481, yyq1481, yy2arr1481 + const yyr1481 bool = false + yyq1481[0] = x.Reason != "" + yyq1481[1] = x.Message != "" + var yynn1481 int + if yyr1481 || yy2arr1481 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1481 = 0 + for _, b := range yyq1481 { if b { - yynn2++ + yynn1481++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1481) + yynn1481 = 0 } - if yyr2 || yy2arr2 { + if yyr1481 || yy2arr1481 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq1481[0] { + yym1483 := z.EncBinary() + _ = yym1483 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -20652,23 +20652,23 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1481[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1484 := z.EncBinary() + _ = yym1484 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr1481 || yy2arr1481 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1481[1] { + yym1486 := z.EncBinary() + _ = yym1486 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -20677,19 +20677,19 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq1481[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1487 := z.EncBinary() + _ = yym1487 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr1481 || yy2arr1481 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20702,25 +20702,25 @@ func (x *ContainerStateWaiting) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1488 := z.DecBinary() + _ = yym1488 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1489 := r.ContainerType() + if yyct1489 == codecSelferValueTypeMap1234 { + yyl1489 := r.ReadMapStart() + if yyl1489 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1489, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1489 == codecSelferValueTypeArray1234 { + yyl1489 := r.ReadArrayStart() + if yyl1489 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1489, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20732,12 +20732,12 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1490Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1490Slc + var yyhl1490 bool = l >= 0 + for yyj1490 := 0; ; yyj1490++ { + if yyhl1490 { + if yyj1490 >= l { break } } else { @@ -20746,10 +20746,10 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1490Slc = r.DecodeBytes(yys1490Slc, true, true) + yys1490 := string(yys1490Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1490 { case "reason": if r.TryDecodeAsNil() { x.Reason = "" @@ -20763,9 +20763,9 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1490) + } // end switch yys1490 + } // end for yyj1490 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20773,16 +20773,16 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1493 int + var yyb1493 bool + var yyhl1493 bool = l >= 0 + yyj1493++ + if yyhl1493 { + yyb1493 = yyj1493 > l } else { - yyb6 = r.CheckBreak() + yyb1493 = r.CheckBreak() } - if yyb6 { + if yyb1493 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20792,13 +20792,13 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Reason = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1493++ + if yyhl1493 { + yyb1493 = yyj1493 > l } else { - yyb6 = r.CheckBreak() + yyb1493 = r.CheckBreak() } - if yyb6 { + if yyb1493 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20809,17 +20809,17 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.Message = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1493++ + if yyhl1493 { + yyb1493 = yyj1493 > l } else { - yyb6 = r.CheckBreak() + yyb1493 = r.CheckBreak() } - if yyb6 { + if yyb1493 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1493-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20831,68 +20831,68 @@ func (x *ContainerStateRunning) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1496 := z.EncBinary() + _ = yym1496 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep1497 := !z.EncBinary() + yy2arr1497 := z.EncBasicHandle().StructToArray + var yyq1497 [1]bool + _, _, _ = yysep1497, yyq1497, yy2arr1497 + const yyr1497 bool = false + yyq1497[0] = true + var yynn1497 int + if yyr1497 || yy2arr1497 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1497 = 0 + for _, b := range yyq1497 { if b { - yynn2++ + yynn1497++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1497) + yynn1497 = 0 } - if yyr2 || yy2arr2 { + if yyr1497 || yy2arr1497 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.StartedAt - yym5 := z.EncBinary() - _ = yym5 + if yyq1497[0] { + yy1499 := &x.StartedAt + yym1500 := z.EncBinary() + _ = yym1500 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { - } else if yym5 { - z.EncBinaryMarshal(yy4) - } else if !yym5 && z.IsJSONHandle() { - z.EncJSONMarshal(yy4) + } else if z.HasExtensions() && z.EncExt(yy1499) { + } else if yym1500 { + z.EncBinaryMarshal(yy1499) + } else if !yym1500 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1499) } else { - z.EncFallback(yy4) + z.EncFallback(yy1499) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1497[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.StartedAt - yym7 := z.EncBinary() - _ = yym7 + yy1501 := &x.StartedAt + yym1502 := z.EncBinary() + _ = yym1502 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { - } else if yym7 { - z.EncBinaryMarshal(yy6) - } else if !yym7 && z.IsJSONHandle() { - z.EncJSONMarshal(yy6) + } else if z.HasExtensions() && z.EncExt(yy1501) { + } else if yym1502 { + z.EncBinaryMarshal(yy1501) + } else if !yym1502 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1501) } else { - z.EncFallback(yy6) + z.EncFallback(yy1501) } } } - if yyr2 || yy2arr2 { + if yyr1497 || yy2arr1497 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20905,25 +20905,25 @@ func (x *ContainerStateRunning) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1503 := z.DecBinary() + _ = yym1503 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1504 := r.ContainerType() + if yyct1504 == codecSelferValueTypeMap1234 { + yyl1504 := r.ReadMapStart() + if yyl1504 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1504, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1504 == codecSelferValueTypeArray1234 { + yyl1504 := r.ReadArrayStart() + if yyl1504 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1504, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20935,12 +20935,12 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1505Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1505Slc + var yyhl1505 bool = l >= 0 + for yyj1505 := 0; ; yyj1505++ { + if yyhl1505 { + if yyj1505 >= l { break } } else { @@ -20949,31 +20949,31 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1505Slc = r.DecodeBytes(yys1505Slc, true, true) + yys1505 := string(yys1505Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1505 { case "startedAt": if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv4 := &x.StartedAt - yym5 := z.DecBinary() - _ = yym5 + yyv1506 := &x.StartedAt + yym1507 := z.DecBinary() + _ = yym1507 if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else if yym5 { - z.DecBinaryUnmarshal(yyv4) - } else if !yym5 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4) + } else if z.HasExtensions() && z.DecExt(yyv1506) { + } else if yym1507 { + z.DecBinaryUnmarshal(yyv1506) + } else if !yym1507 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1506) } else { - z.DecFallback(yyv4, false) + z.DecFallback(yyv1506, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1505) + } // end switch yys1505 + } // end for yyj1505 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20981,16 +20981,16 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1508 int + var yyb1508 bool + var yyhl1508 bool = l >= 0 + yyj1508++ + if yyhl1508 { + yyb1508 = yyj1508 > l } else { - yyb6 = r.CheckBreak() + yyb1508 = r.CheckBreak() } - if yyb6 { + if yyb1508 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20998,31 +20998,31 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv7 := &x.StartedAt - yym8 := z.DecBinary() - _ = yym8 + yyv1509 := &x.StartedAt + yym1510 := z.DecBinary() + _ = yym1510 if false { - } else if z.HasExtensions() && z.DecExt(yyv7) { - } else if yym8 { - z.DecBinaryUnmarshal(yyv7) - } else if !yym8 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv7) + } else if z.HasExtensions() && z.DecExt(yyv1509) { + } else if yym1510 { + z.DecBinaryUnmarshal(yyv1509) + } else if !yym1510 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1509) } else { - z.DecFallback(yyv7, false) + z.DecFallback(yyv1509, false) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1508++ + if yyhl1508 { + yyb1508 = yyj1508 > l } else { - yyb6 = r.CheckBreak() + yyb1508 = r.CheckBreak() } - if yyb6 { + if yyb1508 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1508-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21034,39 +21034,39 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1511 := z.EncBinary() + _ = yym1511 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [7]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Signal != 0 - yyq2[2] = x.Reason != "" - yyq2[3] = x.Message != "" - yyq2[4] = true - yyq2[5] = true - yyq2[6] = x.ContainerID != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1512 := !z.EncBinary() + yy2arr1512 := z.EncBasicHandle().StructToArray + var yyq1512 [7]bool + _, _, _ = yysep1512, yyq1512, yy2arr1512 + const yyr1512 bool = false + yyq1512[1] = x.Signal != 0 + yyq1512[2] = x.Reason != "" + yyq1512[3] = x.Message != "" + yyq1512[4] = true + yyq1512[5] = true + yyq1512[6] = x.ContainerID != "" + var yynn1512 int + if yyr1512 || yy2arr1512 { r.EncodeArrayStart(7) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1512 = 1 + for _, b := range yyq1512 { if b { - yynn2++ + yynn1512++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1512) + yynn1512 = 0 } - if yyr2 || yy2arr2 { + if yyr1512 || yy2arr1512 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1514 := z.EncBinary() + _ = yym1514 if false { } else { r.EncodeInt(int64(x.ExitCode)) @@ -21075,18 +21075,18 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exitCode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1515 := z.EncBinary() + _ = yym1515 if false { } else { r.EncodeInt(int64(x.ExitCode)) } } - if yyr2 || yy2arr2 { + if yyr1512 || yy2arr1512 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1512[1] { + yym1517 := z.EncBinary() + _ = yym1517 if false { } else { r.EncodeInt(int64(x.Signal)) @@ -21095,23 +21095,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[1] { + if yyq1512[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("signal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1518 := z.EncBinary() + _ = yym1518 if false { } else { r.EncodeInt(int64(x.Signal)) } } } - if yyr2 || yy2arr2 { + if yyr1512 || yy2arr1512 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq1512[2] { + yym1520 := z.EncBinary() + _ = yym1520 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -21120,23 +21120,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq1512[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym1521 := z.EncBinary() + _ = yym1521 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr1512 || yy2arr1512 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq1512[3] { + yym1523 := z.EncBinary() + _ = yym1523 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -21145,97 +21145,97 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq1512[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym1524 := z.EncBinary() + _ = yym1524 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr1512 || yy2arr1512 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yy16 := &x.StartedAt - yym17 := z.EncBinary() - _ = yym17 + if yyq1512[4] { + yy1526 := &x.StartedAt + yym1527 := z.EncBinary() + _ = yym1527 if false { - } else if z.HasExtensions() && z.EncExt(yy16) { - } else if yym17 { - z.EncBinaryMarshal(yy16) - } else if !yym17 && z.IsJSONHandle() { - z.EncJSONMarshal(yy16) + } else if z.HasExtensions() && z.EncExt(yy1526) { + } else if yym1527 { + z.EncBinaryMarshal(yy1526) + } else if !yym1527 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1526) } else { - z.EncFallback(yy16) + z.EncFallback(yy1526) } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq1512[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy18 := &x.StartedAt - yym19 := z.EncBinary() - _ = yym19 + yy1528 := &x.StartedAt + yym1529 := z.EncBinary() + _ = yym1529 if false { - } else if z.HasExtensions() && z.EncExt(yy18) { - } else if yym19 { - z.EncBinaryMarshal(yy18) - } else if !yym19 && z.IsJSONHandle() { - z.EncJSONMarshal(yy18) + } else if z.HasExtensions() && z.EncExt(yy1528) { + } else if yym1529 { + z.EncBinaryMarshal(yy1528) + } else if !yym1529 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1528) } else { - z.EncFallback(yy18) + z.EncFallback(yy1528) } } } - if yyr2 || yy2arr2 { + if yyr1512 || yy2arr1512 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yy21 := &x.FinishedAt - yym22 := z.EncBinary() - _ = yym22 + if yyq1512[5] { + yy1531 := &x.FinishedAt + yym1532 := z.EncBinary() + _ = yym1532 if false { - } else if z.HasExtensions() && z.EncExt(yy21) { - } else if yym22 { - z.EncBinaryMarshal(yy21) - } else if !yym22 && z.IsJSONHandle() { - z.EncJSONMarshal(yy21) + } else if z.HasExtensions() && z.EncExt(yy1531) { + } else if yym1532 { + z.EncBinaryMarshal(yy1531) + } else if !yym1532 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1531) } else { - z.EncFallback(yy21) + z.EncFallback(yy1531) } } else { r.EncodeNil() } } else { - if yyq2[5] { + if yyq1512[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finishedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy23 := &x.FinishedAt - yym24 := z.EncBinary() - _ = yym24 + yy1533 := &x.FinishedAt + yym1534 := z.EncBinary() + _ = yym1534 if false { - } else if z.HasExtensions() && z.EncExt(yy23) { - } else if yym24 { - z.EncBinaryMarshal(yy23) - } else if !yym24 && z.IsJSONHandle() { - z.EncJSONMarshal(yy23) + } else if z.HasExtensions() && z.EncExt(yy1533) { + } else if yym1534 { + z.EncBinaryMarshal(yy1533) + } else if !yym1534 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1533) } else { - z.EncFallback(yy23) + z.EncFallback(yy1533) } } } - if yyr2 || yy2arr2 { + if yyr1512 || yy2arr1512 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym26 := z.EncBinary() - _ = yym26 + if yyq1512[6] { + yym1536 := z.EncBinary() + _ = yym1536 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -21244,19 +21244,19 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[6] { + if yyq1512[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym27 := z.EncBinary() - _ = yym27 + yym1537 := z.EncBinary() + _ = yym1537 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr2 || yy2arr2 { + if yyr1512 || yy2arr1512 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21269,25 +21269,25 @@ func (x *ContainerStateTerminated) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1538 := z.DecBinary() + _ = yym1538 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1539 := r.ContainerType() + if yyct1539 == codecSelferValueTypeMap1234 { + yyl1539 := r.ReadMapStart() + if yyl1539 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1539, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1539 == codecSelferValueTypeArray1234 { + yyl1539 := r.ReadArrayStart() + if yyl1539 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1539, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21299,12 +21299,12 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1540Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1540Slc + var yyhl1540 bool = l >= 0 + for yyj1540 := 0; ; yyj1540++ { + if yyhl1540 { + if yyj1540 >= l { break } } else { @@ -21313,10 +21313,10 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1540Slc = r.DecodeBytes(yys1540Slc, true, true) + yys1540 := string(yys1540Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1540 { case "exitCode": if r.TryDecodeAsNil() { x.ExitCode = 0 @@ -21345,34 +21345,34 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv8 := &x.StartedAt - yym9 := z.DecBinary() - _ = yym9 + yyv1545 := &x.StartedAt + yym1546 := z.DecBinary() + _ = yym1546 if false { - } else if z.HasExtensions() && z.DecExt(yyv8) { - } else if yym9 { - z.DecBinaryUnmarshal(yyv8) - } else if !yym9 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv8) + } else if z.HasExtensions() && z.DecExt(yyv1545) { + } else if yym1546 { + z.DecBinaryUnmarshal(yyv1545) + } else if !yym1546 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1545) } else { - z.DecFallback(yyv8, false) + z.DecFallback(yyv1545, false) } } case "finishedAt": if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv10 := &x.FinishedAt - yym11 := z.DecBinary() - _ = yym11 + yyv1547 := &x.FinishedAt + yym1548 := z.DecBinary() + _ = yym1548 if false { - } else if z.HasExtensions() && z.DecExt(yyv10) { - } else if yym11 { - z.DecBinaryUnmarshal(yyv10) - } else if !yym11 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv10) + } else if z.HasExtensions() && z.DecExt(yyv1547) { + } else if yym1548 { + z.DecBinaryUnmarshal(yyv1547) + } else if !yym1548 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1547) } else { - z.DecFallback(yyv10, false) + z.DecFallback(yyv1547, false) } } case "containerID": @@ -21382,9 +21382,9 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1540) + } // end switch yys1540 + } // end for yyj1540 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21392,16 +21392,16 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj13 int - var yyb13 bool - var yyhl13 bool = l >= 0 - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + var yyj1550 int + var yyb1550 bool + var yyhl1550 bool = l >= 0 + yyj1550++ + if yyhl1550 { + yyb1550 = yyj1550 > l } else { - yyb13 = r.CheckBreak() + yyb1550 = r.CheckBreak() } - if yyb13 { + if yyb1550 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21411,13 +21411,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.ExitCode = int32(r.DecodeInt(32)) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1550++ + if yyhl1550 { + yyb1550 = yyj1550 > l } else { - yyb13 = r.CheckBreak() + yyb1550 = r.CheckBreak() } - if yyb13 { + if yyb1550 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21427,13 +21427,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Signal = int32(r.DecodeInt(32)) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1550++ + if yyhl1550 { + yyb1550 = yyj1550 > l } else { - yyb13 = r.CheckBreak() + yyb1550 = r.CheckBreak() } - if yyb13 { + if yyb1550 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21443,13 +21443,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Reason = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1550++ + if yyhl1550 { + yyb1550 = yyj1550 > l } else { - yyb13 = r.CheckBreak() + yyb1550 = r.CheckBreak() } - if yyb13 { + if yyb1550 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21459,13 +21459,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Message = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1550++ + if yyhl1550 { + yyb1550 = yyj1550 > l } else { - yyb13 = r.CheckBreak() + yyb1550 = r.CheckBreak() } - if yyb13 { + if yyb1550 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21473,26 +21473,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv18 := &x.StartedAt - yym19 := z.DecBinary() - _ = yym19 + yyv1555 := &x.StartedAt + yym1556 := z.DecBinary() + _ = yym1556 if false { - } else if z.HasExtensions() && z.DecExt(yyv18) { - } else if yym19 { - z.DecBinaryUnmarshal(yyv18) - } else if !yym19 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv18) + } else if z.HasExtensions() && z.DecExt(yyv1555) { + } else if yym1556 { + z.DecBinaryUnmarshal(yyv1555) + } else if !yym1556 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1555) } else { - z.DecFallback(yyv18, false) + z.DecFallback(yyv1555, false) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1550++ + if yyhl1550 { + yyb1550 = yyj1550 > l } else { - yyb13 = r.CheckBreak() + yyb1550 = r.CheckBreak() } - if yyb13 { + if yyb1550 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21500,26 +21500,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv20 := &x.FinishedAt - yym21 := z.DecBinary() - _ = yym21 + yyv1557 := &x.FinishedAt + yym1558 := z.DecBinary() + _ = yym1558 if false { - } else if z.HasExtensions() && z.DecExt(yyv20) { - } else if yym21 { - z.DecBinaryUnmarshal(yyv20) - } else if !yym21 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv20) + } else if z.HasExtensions() && z.DecExt(yyv1557) { + } else if yym1558 { + z.DecBinaryUnmarshal(yyv1557) + } else if !yym1558 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1557) } else { - z.DecFallback(yyv20, false) + z.DecFallback(yyv1557, false) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1550++ + if yyhl1550 { + yyb1550 = yyj1550 > l } else { - yyb13 = r.CheckBreak() + yyb1550 = r.CheckBreak() } - if yyb13 { + if yyb1550 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21530,17 +21530,17 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. x.ContainerID = string(r.DecodeString()) } for { - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1550++ + if yyhl1550 { + yyb1550 = yyj1550 > l } else { - yyb13 = r.CheckBreak() + yyb1550 = r.CheckBreak() } - if yyb13 { + if yyb1550 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj13-1, "") + z.DecStructFieldNotFound(yyj1550-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21552,35 +21552,35 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1560 := z.EncBinary() + _ = yym1560 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Waiting != nil - yyq2[1] = x.Running != nil - yyq2[2] = x.Terminated != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1561 := !z.EncBinary() + yy2arr1561 := z.EncBasicHandle().StructToArray + var yyq1561 [3]bool + _, _, _ = yysep1561, yyq1561, yy2arr1561 + const yyr1561 bool = false + yyq1561[0] = x.Waiting != nil + yyq1561[1] = x.Running != nil + yyq1561[2] = x.Terminated != nil + var yynn1561 int + if yyr1561 || yy2arr1561 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1561 = 0 + for _, b := range yyq1561 { if b { - yynn2++ + yynn1561++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1561) + yynn1561 = 0 } - if yyr2 || yy2arr2 { + if yyr1561 || yy2arr1561 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1561[0] { if x.Waiting == nil { r.EncodeNil() } else { @@ -21590,7 +21590,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1561[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("waiting")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21601,9 +21601,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1561 || yy2arr1561 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1561[1] { if x.Running == nil { r.EncodeNil() } else { @@ -21613,7 +21613,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1561[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("running")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21624,9 +21624,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1561 || yy2arr1561 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1561[2] { if x.Terminated == nil { r.EncodeNil() } else { @@ -21636,7 +21636,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1561[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminated")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21647,7 +21647,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1561 || yy2arr1561 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21660,25 +21660,25 @@ func (x *ContainerState) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1565 := z.DecBinary() + _ = yym1565 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1566 := r.ContainerType() + if yyct1566 == codecSelferValueTypeMap1234 { + yyl1566 := r.ReadMapStart() + if yyl1566 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1566, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1566 == codecSelferValueTypeArray1234 { + yyl1566 := r.ReadArrayStart() + if yyl1566 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1566, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21690,12 +21690,12 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1567Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1567Slc + var yyhl1567 bool = l >= 0 + for yyj1567 := 0; ; yyj1567++ { + if yyhl1567 { + if yyj1567 >= l { break } } else { @@ -21704,10 +21704,10 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1567Slc = r.DecodeBytes(yys1567Slc, true, true) + yys1567 := string(yys1567Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1567 { case "waiting": if r.TryDecodeAsNil() { if x.Waiting != nil { @@ -21742,9 +21742,9 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1567) + } // end switch yys1567 + } // end for yyj1567 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21752,16 +21752,16 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1571 int + var yyb1571 bool + var yyhl1571 bool = l >= 0 + yyj1571++ + if yyhl1571 { + yyb1571 = yyj1571 > l } else { - yyb7 = r.CheckBreak() + yyb1571 = r.CheckBreak() } - if yyb7 { + if yyb1571 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21776,13 +21776,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Waiting.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1571++ + if yyhl1571 { + yyb1571 = yyj1571 > l } else { - yyb7 = r.CheckBreak() + yyb1571 = r.CheckBreak() } - if yyb7 { + if yyb1571 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21797,13 +21797,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Running.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1571++ + if yyhl1571 { + yyb1571 = yyj1571 > l } else { - yyb7 = r.CheckBreak() + yyb1571 = r.CheckBreak() } - if yyb7 { + if yyb1571 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21819,17 +21819,17 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1571++ + if yyhl1571 { + yyb1571 = yyj1571 > l } else { - yyb7 = r.CheckBreak() + yyb1571 = r.CheckBreak() } - if yyb7 { + if yyb1571 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1571-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21841,36 +21841,36 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1575 := z.EncBinary() + _ = yym1575 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [8]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = true - yyq2[2] = true - yyq2[7] = x.ContainerID != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1576 := !z.EncBinary() + yy2arr1576 := z.EncBasicHandle().StructToArray + var yyq1576 [8]bool + _, _, _ = yysep1576, yyq1576, yy2arr1576 + const yyr1576 bool = false + yyq1576[1] = true + yyq1576[2] = true + yyq1576[7] = x.ContainerID != "" + var yynn1576 int + if yyr1576 || yy2arr1576 { r.EncodeArrayStart(8) } else { - yynn2 = 5 - for _, b := range yyq2 { + yynn1576 = 5 + for _, b := range yyq1576 { if b { - yynn2++ + yynn1576++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1576) + yynn1576 = 0 } - if yyr2 || yy2arr2 { + if yyr1576 || yy2arr1576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1578 := z.EncBinary() + _ = yym1578 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -21879,51 +21879,51 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1579 := z.EncBinary() + _ = yym1579 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr1576 || yy2arr1576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy7 := &x.State - yy7.CodecEncodeSelf(e) + if yyq1576[1] { + yy1581 := &x.State + yy1581.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1576[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("state")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.State - yy9.CodecEncodeSelf(e) + yy1582 := &x.State + yy1582.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1576 || yy2arr1576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy12 := &x.LastTerminationState - yy12.CodecEncodeSelf(e) + if yyq1576[2] { + yy1584 := &x.LastTerminationState + yy1584.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1576[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastState")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.LastTerminationState - yy14.CodecEncodeSelf(e) + yy1585 := &x.LastTerminationState + yy1585.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1576 || yy2arr1576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym17 := z.EncBinary() - _ = yym17 + yym1587 := z.EncBinary() + _ = yym1587 if false { } else { r.EncodeBool(bool(x.Ready)) @@ -21932,17 +21932,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ready")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym1588 := z.EncBinary() + _ = yym1588 if false { } else { r.EncodeBool(bool(x.Ready)) } } - if yyr2 || yy2arr2 { + if yyr1576 || yy2arr1576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym20 := z.EncBinary() - _ = yym20 + yym1590 := z.EncBinary() + _ = yym1590 if false { } else { r.EncodeInt(int64(x.RestartCount)) @@ -21951,17 +21951,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartCount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym1591 := z.EncBinary() + _ = yym1591 if false { } else { r.EncodeInt(int64(x.RestartCount)) } } - if yyr2 || yy2arr2 { + if yyr1576 || yy2arr1576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym23 := z.EncBinary() - _ = yym23 + yym1593 := z.EncBinary() + _ = yym1593 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -21970,17 +21970,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 + yym1594 := z.EncBinary() + _ = yym1594 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } - if yyr2 || yy2arr2 { + if yyr1576 || yy2arr1576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym26 := z.EncBinary() - _ = yym26 + yym1596 := z.EncBinary() + _ = yym1596 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) @@ -21989,18 +21989,18 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imageID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym27 := z.EncBinary() - _ = yym27 + yym1597 := z.EncBinary() + _ = yym1597 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) } } - if yyr2 || yy2arr2 { + if yyr1576 || yy2arr1576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym29 := z.EncBinary() - _ = yym29 + if yyq1576[7] { + yym1599 := z.EncBinary() + _ = yym1599 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -22009,19 +22009,19 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[7] { + if yyq1576[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym30 := z.EncBinary() - _ = yym30 + yym1600 := z.EncBinary() + _ = yym1600 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr2 || yy2arr2 { + if yyr1576 || yy2arr1576 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22034,25 +22034,25 @@ func (x *ContainerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1601 := z.DecBinary() + _ = yym1601 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1602 := r.ContainerType() + if yyct1602 == codecSelferValueTypeMap1234 { + yyl1602 := r.ReadMapStart() + if yyl1602 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1602, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1602 == codecSelferValueTypeArray1234 { + yyl1602 := r.ReadArrayStart() + if yyl1602 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1602, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22064,12 +22064,12 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1603Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1603Slc + var yyhl1603 bool = l >= 0 + for yyj1603 := 0; ; yyj1603++ { + if yyhl1603 { + if yyj1603 >= l { break } } else { @@ -22078,10 +22078,10 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1603Slc = r.DecodeBytes(yys1603Slc, true, true) + yys1603 := string(yys1603Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1603 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -22092,15 +22092,15 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv5 := &x.State - yyv5.CodecDecodeSelf(d) + yyv1605 := &x.State + yyv1605.CodecDecodeSelf(d) } case "lastState": if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv6 := &x.LastTerminationState - yyv6.CodecDecodeSelf(d) + yyv1606 := &x.LastTerminationState + yyv1606.CodecDecodeSelf(d) } case "ready": if r.TryDecodeAsNil() { @@ -22133,9 +22133,9 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1603) + } // end switch yys1603 + } // end for yyj1603 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22143,16 +22143,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj1612 int + var yyb1612 bool + var yyhl1612 bool = l >= 0 + yyj1612++ + if yyhl1612 { + yyb1612 = yyj1612 > l } else { - yyb12 = r.CheckBreak() + yyb1612 = r.CheckBreak() } - if yyb12 { + if yyb1612 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22162,13 +22162,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1612++ + if yyhl1612 { + yyb1612 = yyj1612 > l } else { - yyb12 = r.CheckBreak() + yyb1612 = r.CheckBreak() } - if yyb12 { + if yyb1612 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22176,16 +22176,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv14 := &x.State - yyv14.CodecDecodeSelf(d) + yyv1614 := &x.State + yyv1614.CodecDecodeSelf(d) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1612++ + if yyhl1612 { + yyb1612 = yyj1612 > l } else { - yyb12 = r.CheckBreak() + yyb1612 = r.CheckBreak() } - if yyb12 { + if yyb1612 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22193,16 +22193,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv15 := &x.LastTerminationState - yyv15.CodecDecodeSelf(d) + yyv1615 := &x.LastTerminationState + yyv1615.CodecDecodeSelf(d) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1612++ + if yyhl1612 { + yyb1612 = yyj1612 > l } else { - yyb12 = r.CheckBreak() + yyb1612 = r.CheckBreak() } - if yyb12 { + if yyb1612 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22212,13 +22212,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Ready = bool(r.DecodeBool()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1612++ + if yyhl1612 { + yyb1612 = yyj1612 > l } else { - yyb12 = r.CheckBreak() + yyb1612 = r.CheckBreak() } - if yyb12 { + if yyb1612 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22228,13 +22228,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RestartCount = int32(r.DecodeInt(32)) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1612++ + if yyhl1612 { + yyb1612 = yyj1612 > l } else { - yyb12 = r.CheckBreak() + yyb1612 = r.CheckBreak() } - if yyb12 { + if yyb1612 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22244,13 +22244,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Image = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1612++ + if yyhl1612 { + yyb1612 = yyj1612 > l } else { - yyb12 = r.CheckBreak() + yyb1612 = r.CheckBreak() } - if yyb12 { + if yyb1612 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22260,13 +22260,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ImageID = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1612++ + if yyhl1612 { + yyb1612 = yyj1612 > l } else { - yyb12 = r.CheckBreak() + yyb1612 = r.CheckBreak() } - if yyb12 { + if yyb1612 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22277,17 +22277,17 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ContainerID = string(r.DecodeString()) } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1612++ + if yyhl1612 { + yyb1612 = yyj1612 > l } else { - yyb12 = r.CheckBreak() + yyb1612 = r.CheckBreak() } - if yyb12 { + if yyb1612 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj1612-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22296,8 +22296,8 @@ func (x PodPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1621 := z.EncBinary() + _ = yym1621 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -22309,8 +22309,8 @@ func (x *PodPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1622 := z.DecBinary() + _ = yym1622 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -22322,8 +22322,8 @@ func (x PodConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1623 := z.EncBinary() + _ = yym1623 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -22335,8 +22335,8 @@ func (x *PodConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1624 := z.DecBinary() + _ = yym1624 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -22351,34 +22351,34 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1625 := z.EncBinary() + _ = yym1625 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = true - yyq2[3] = true - yyq2[4] = x.Reason != "" - yyq2[5] = x.Message != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1626 := !z.EncBinary() + yy2arr1626 := z.EncBasicHandle().StructToArray + var yyq1626 [6]bool + _, _, _ = yysep1626, yyq1626, yy2arr1626 + const yyr1626 bool = false + yyq1626[2] = true + yyq1626[3] = true + yyq1626[4] = x.Reason != "" + yyq1626[5] = x.Message != "" + var yynn1626 int + if yyr1626 || yy2arr1626 { r.EncodeArrayStart(6) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1626 = 2 + for _, b := range yyq1626 { if b { - yynn2++ + yynn1626++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1626) + yynn1626 = 0 } - if yyr2 || yy2arr2 { + if yyr1626 || yy2arr1626 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -22387,7 +22387,7 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1626 || yy2arr1626 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -22396,85 +22396,85 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1626 || yy2arr1626 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy10 := &x.LastProbeTime - yym11 := z.EncBinary() - _ = yym11 + if yyq1626[2] { + yy1630 := &x.LastProbeTime + yym1631 := z.EncBinary() + _ = yym1631 if false { - } else if z.HasExtensions() && z.EncExt(yy10) { - } else if yym11 { - z.EncBinaryMarshal(yy10) - } else if !yym11 && z.IsJSONHandle() { - z.EncJSONMarshal(yy10) + } else if z.HasExtensions() && z.EncExt(yy1630) { + } else if yym1631 { + z.EncBinaryMarshal(yy1630) + } else if !yym1631 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1630) } else { - z.EncFallback(yy10) + z.EncFallback(yy1630) } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1626[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.LastProbeTime - yym13 := z.EncBinary() - _ = yym13 + yy1632 := &x.LastProbeTime + yym1633 := z.EncBinary() + _ = yym1633 if false { - } else if z.HasExtensions() && z.EncExt(yy12) { - } else if yym13 { - z.EncBinaryMarshal(yy12) - } else if !yym13 && z.IsJSONHandle() { - z.EncJSONMarshal(yy12) + } else if z.HasExtensions() && z.EncExt(yy1632) { + } else if yym1633 { + z.EncBinaryMarshal(yy1632) + } else if !yym1633 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1632) } else { - z.EncFallback(yy12) + z.EncFallback(yy1632) } } } - if yyr2 || yy2arr2 { + if yyr1626 || yy2arr1626 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yy15 := &x.LastTransitionTime - yym16 := z.EncBinary() - _ = yym16 + if yyq1626[3] { + yy1635 := &x.LastTransitionTime + yym1636 := z.EncBinary() + _ = yym1636 if false { - } else if z.HasExtensions() && z.EncExt(yy15) { - } else if yym16 { - z.EncBinaryMarshal(yy15) - } else if !yym16 && z.IsJSONHandle() { - z.EncJSONMarshal(yy15) + } else if z.HasExtensions() && z.EncExt(yy1635) { + } else if yym1636 { + z.EncBinaryMarshal(yy1635) + } else if !yym1636 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1635) } else { - z.EncFallback(yy15) + z.EncFallback(yy1635) } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq1626[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.LastTransitionTime - yym18 := z.EncBinary() - _ = yym18 + yy1637 := &x.LastTransitionTime + yym1638 := z.EncBinary() + _ = yym1638 if false { - } else if z.HasExtensions() && z.EncExt(yy17) { - } else if yym18 { - z.EncBinaryMarshal(yy17) - } else if !yym18 && z.IsJSONHandle() { - z.EncJSONMarshal(yy17) + } else if z.HasExtensions() && z.EncExt(yy1637) { + } else if yym1638 { + z.EncBinaryMarshal(yy1637) + } else if !yym1638 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1637) } else { - z.EncFallback(yy17) + z.EncFallback(yy1637) } } } - if yyr2 || yy2arr2 { + if yyr1626 || yy2arr1626 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 + if yyq1626[4] { + yym1640 := z.EncBinary() + _ = yym1640 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -22483,23 +22483,23 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq1626[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym1641 := z.EncBinary() + _ = yym1641 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr1626 || yy2arr1626 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym23 := z.EncBinary() - _ = yym23 + if yyq1626[5] { + yym1643 := z.EncBinary() + _ = yym1643 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -22508,19 +22508,19 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq1626[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 + yym1644 := z.EncBinary() + _ = yym1644 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr1626 || yy2arr1626 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22533,25 +22533,25 @@ func (x *PodCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1645 := z.DecBinary() + _ = yym1645 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1646 := r.ContainerType() + if yyct1646 == codecSelferValueTypeMap1234 { + yyl1646 := r.ReadMapStart() + if yyl1646 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1646, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1646 == codecSelferValueTypeArray1234 { + yyl1646 := r.ReadArrayStart() + if yyl1646 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1646, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22563,12 +22563,12 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1647Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1647Slc + var yyhl1647 bool = l >= 0 + for yyj1647 := 0; ; yyj1647++ { + if yyhl1647 { + if yyj1647 >= l { break } } else { @@ -22577,10 +22577,10 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1647Slc = r.DecodeBytes(yys1647Slc, true, true) + yys1647 := string(yys1647Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1647 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -22597,34 +22597,34 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv6 := &x.LastProbeTime - yym7 := z.DecBinary() - _ = yym7 + yyv1650 := &x.LastProbeTime + yym1651 := z.DecBinary() + _ = yym1651 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if yym7 { - z.DecBinaryUnmarshal(yyv6) - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv1650) { + } else if yym1651 { + z.DecBinaryUnmarshal(yyv1650) + } else if !yym1651 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1650) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv1650, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv8 := &x.LastTransitionTime - yym9 := z.DecBinary() - _ = yym9 + yyv1652 := &x.LastTransitionTime + yym1653 := z.DecBinary() + _ = yym1653 if false { - } else if z.HasExtensions() && z.DecExt(yyv8) { - } else if yym9 { - z.DecBinaryUnmarshal(yyv8) - } else if !yym9 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv8) + } else if z.HasExtensions() && z.DecExt(yyv1652) { + } else if yym1653 { + z.DecBinaryUnmarshal(yyv1652) + } else if !yym1653 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1652) } else { - z.DecFallback(yyv8, false) + z.DecFallback(yyv1652, false) } } case "reason": @@ -22640,9 +22640,9 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1647) + } // end switch yys1647 + } // end for yyj1647 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22650,16 +22650,16 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj1656 int + var yyb1656 bool + var yyhl1656 bool = l >= 0 + yyj1656++ + if yyhl1656 { + yyb1656 = yyj1656 > l } else { - yyb12 = r.CheckBreak() + yyb1656 = r.CheckBreak() } - if yyb12 { + if yyb1656 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22669,13 +22669,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = PodConditionType(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1656++ + if yyhl1656 { + yyb1656 = yyj1656 > l } else { - yyb12 = r.CheckBreak() + yyb1656 = r.CheckBreak() } - if yyb12 { + if yyb1656 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22685,13 +22685,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1656++ + if yyhl1656 { + yyb1656 = yyj1656 > l } else { - yyb12 = r.CheckBreak() + yyb1656 = r.CheckBreak() } - if yyb12 { + if yyb1656 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22699,26 +22699,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv15 := &x.LastProbeTime - yym16 := z.DecBinary() - _ = yym16 + yyv1659 := &x.LastProbeTime + yym1660 := z.DecBinary() + _ = yym1660 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { - } else if yym16 { - z.DecBinaryUnmarshal(yyv15) - } else if !yym16 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv15) + } else if z.HasExtensions() && z.DecExt(yyv1659) { + } else if yym1660 { + z.DecBinaryUnmarshal(yyv1659) + } else if !yym1660 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1659) } else { - z.DecFallback(yyv15, false) + z.DecFallback(yyv1659, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1656++ + if yyhl1656 { + yyb1656 = yyj1656 > l } else { - yyb12 = r.CheckBreak() + yyb1656 = r.CheckBreak() } - if yyb12 { + if yyb1656 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22726,26 +22726,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv17 := &x.LastTransitionTime - yym18 := z.DecBinary() - _ = yym18 + yyv1661 := &x.LastTransitionTime + yym1662 := z.DecBinary() + _ = yym1662 if false { - } else if z.HasExtensions() && z.DecExt(yyv17) { - } else if yym18 { - z.DecBinaryUnmarshal(yyv17) - } else if !yym18 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv17) + } else if z.HasExtensions() && z.DecExt(yyv1661) { + } else if yym1662 { + z.DecBinaryUnmarshal(yyv1661) + } else if !yym1662 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1661) } else { - z.DecFallback(yyv17, false) + z.DecFallback(yyv1661, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1656++ + if yyhl1656 { + yyb1656 = yyj1656 > l } else { - yyb12 = r.CheckBreak() + yyb1656 = r.CheckBreak() } - if yyb12 { + if yyb1656 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22755,13 +22755,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1656++ + if yyhl1656 { + yyb1656 = yyj1656 > l } else { - yyb12 = r.CheckBreak() + yyb1656 = r.CheckBreak() } - if yyb12 { + if yyb1656 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22772,17 +22772,17 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1656++ + if yyhl1656 { + yyb1656 = yyj1656 > l } else { - yyb12 = r.CheckBreak() + yyb1656 = r.CheckBreak() } - if yyb12 { + if yyb1656 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj1656-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22791,8 +22791,8 @@ func (x RestartPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1665 := z.EncBinary() + _ = yym1665 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -22804,8 +22804,8 @@ func (x *RestartPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1666 := z.DecBinary() + _ = yym1666 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -22820,68 +22820,118 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1667 := z.EncBinary() + _ = yym1667 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1668 := !z.EncBinary() + yy2arr1668 := z.EncBasicHandle().StructToArray + var yyq1668 [4]bool + _, _, _ = yysep1668, yyq1668, yy2arr1668 + const yyr1668 bool = false + yyq1668[0] = x.Kind != "" + yyq1668[1] = x.APIVersion != "" + yyq1668[2] = true + var yynn1668 int + if yyr1668 || yy2arr1668 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1668 = 1 + for _, b := range yyq1668 { if b { - yynn2++ + yynn1668++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1668) + yynn1668 = 0 } - if yyr2 || yy2arr2 { + if yyr1668 || yy2arr1668 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq1668[0] { + yym1670 := z.EncBinary() + _ = yym1670 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1668[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1671 := z.EncBinary() + _ = yym1671 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1668 || yy2arr1668 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1668[1] { + yym1673 := z.EncBinary() + _ = yym1673 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1668[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1674 := z.EncBinary() + _ = yym1674 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1668 || yy2arr1668 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1668[2] { + yy1676 := &x.ListMeta + yym1677 := z.EncBinary() + _ = yym1677 + if false { + } else if z.HasExtensions() && z.EncExt(yy1676) { + } else { + z.EncFallback(yy1676) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1668[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy1678 := &x.ListMeta + yym1679 := z.EncBinary() + _ = yym1679 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy1678) { } else { - z.EncFallback(yy6) + z.EncFallback(yy1678) } } } - if yyr2 || yy2arr2 { + if yyr1668 || yy2arr1668 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym1681 := z.EncBinary() + _ = yym1681 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) @@ -22894,65 +22944,15 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1682 := z.EncBinary() + _ = yym1682 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr1668 || yy2arr1668 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22965,25 +22965,25 @@ func (x *PodList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1683 := z.DecBinary() + _ = yym1683 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1684 := r.ContainerType() + if yyct1684 == codecSelferValueTypeMap1234 { + yyl1684 := r.ReadMapStart() + if yyl1684 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1684, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1684 == codecSelferValueTypeArray1234 { + yyl1684 := r.ReadArrayStart() + if yyl1684 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1684, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22995,12 +22995,12 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1685Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1685Slc + var yyhl1685 bool = l >= 0 + for yyj1685 := 0; ; yyj1685++ { + if yyhl1685 { + if yyj1685 >= l { break } } else { @@ -23009,35 +23009,10 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1685Slc = r.DecodeBytes(yys1685Slc, true, true) + yys1685 := string(yys1685Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSlicePod((*[]Pod)(yyv6), d) - } - } + switch yys1685 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -23050,10 +23025,35 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv1688 := &x.ListMeta + yym1689 := z.DecBinary() + _ = yym1689 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1688) { + } else { + z.DecFallback(yyv1688, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1690 := &x.Items + yym1691 := z.DecBinary() + _ = yym1691 + if false { + } else { + h.decSlicePod((*[]Pod)(yyv1690), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1685) + } // end switch yys1685 + } // end for yyj1685 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23061,61 +23061,16 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj1692 int + var yyb1692 bool + var yyhl1692 bool = l >= 0 + yyj1692++ + if yyhl1692 { + yyb1692 = yyj1692 > l } else { - yyb10 = r.CheckBreak() + yyb1692 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSlicePod((*[]Pod)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb1692 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23125,13 +23080,13 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1692++ + if yyhl1692 { + yyb1692 = yyj1692 > l } else { - yyb10 = r.CheckBreak() + yyb1692 = r.CheckBreak() } - if yyb10 { + if yyb1692 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23141,18 +23096,63 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1692++ + if yyhl1692 { + yyb1692 = yyj1692 > l + } else { + yyb1692 = r.CheckBreak() + } + if yyb1692 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv1695 := &x.ListMeta + yym1696 := z.DecBinary() + _ = yym1696 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1695) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv1695, false) } - if yyb10 { + } + yyj1692++ + if yyhl1692 { + yyb1692 = yyj1692 > l + } else { + yyb1692 = r.CheckBreak() + } + if yyb1692 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1697 := &x.Items + yym1698 := z.DecBinary() + _ = yym1698 + if false { + } else { + h.decSlicePod((*[]Pod)(yyv1697), d) + } + } + for { + yyj1692++ + if yyhl1692 { + yyb1692 = yyj1692 > l + } else { + yyb1692 = r.CheckBreak() + } + if yyb1692 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj1692-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23161,8 +23161,8 @@ func (x DNSPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1699 := z.EncBinary() + _ = yym1699 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -23174,8 +23174,8 @@ func (x *DNSPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1700 := z.DecBinary() + _ = yym1700 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -23190,36 +23190,36 @@ func (x *NodeSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1701 := z.EncBinary() + _ = yym1701 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1702 := !z.EncBinary() + yy2arr1702 := z.EncBasicHandle().StructToArray + var yyq1702 [1]bool + _, _, _ = yysep1702, yyq1702, yy2arr1702 + const yyr1702 bool = false + var yynn1702 int + if yyr1702 || yy2arr1702 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1702 = 1 + for _, b := range yyq1702 { if b { - yynn2++ + yynn1702++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1702) + yynn1702 = 0 } - if yyr2 || yy2arr2 { + if yyr1702 || yy2arr1702 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.NodeSelectorTerms == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1704 := z.EncBinary() + _ = yym1704 if false { } else { h.encSliceNodeSelectorTerm(([]NodeSelectorTerm)(x.NodeSelectorTerms), e) @@ -23232,15 +23232,15 @@ func (x *NodeSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x.NodeSelectorTerms == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1705 := z.EncBinary() + _ = yym1705 if false { } else { h.encSliceNodeSelectorTerm(([]NodeSelectorTerm)(x.NodeSelectorTerms), e) } } } - if yyr2 || yy2arr2 { + if yyr1702 || yy2arr1702 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23253,25 +23253,25 @@ func (x *NodeSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1706 := z.DecBinary() + _ = yym1706 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1707 := r.ContainerType() + if yyct1707 == codecSelferValueTypeMap1234 { + yyl1707 := r.ReadMapStart() + if yyl1707 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1707, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1707 == codecSelferValueTypeArray1234 { + yyl1707 := r.ReadArrayStart() + if yyl1707 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1707, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23283,12 +23283,12 @@ func (x *NodeSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1708Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1708Slc + var yyhl1708 bool = l >= 0 + for yyj1708 := 0; ; yyj1708++ { + if yyhl1708 { + if yyj1708 >= l { break } } else { @@ -23297,26 +23297,26 @@ func (x *NodeSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1708Slc = r.DecodeBytes(yys1708Slc, true, true) + yys1708 := string(yys1708Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1708 { case "nodeSelectorTerms": if r.TryDecodeAsNil() { x.NodeSelectorTerms = nil } else { - yyv4 := &x.NodeSelectorTerms - yym5 := z.DecBinary() - _ = yym5 + yyv1709 := &x.NodeSelectorTerms + yym1710 := z.DecBinary() + _ = yym1710 if false { } else { - h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv4), d) + h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1709), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1708) + } // end switch yys1708 + } // end for yyj1708 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23324,16 +23324,16 @@ func (x *NodeSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1711 int + var yyb1711 bool + var yyhl1711 bool = l >= 0 + yyj1711++ + if yyhl1711 { + yyb1711 = yyj1711 > l } else { - yyb6 = r.CheckBreak() + yyb1711 = r.CheckBreak() } - if yyb6 { + if yyb1711 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23341,26 +23341,26 @@ func (x *NodeSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelectorTerms = nil } else { - yyv7 := &x.NodeSelectorTerms - yym8 := z.DecBinary() - _ = yym8 + yyv1712 := &x.NodeSelectorTerms + yym1713 := z.DecBinary() + _ = yym1713 if false { } else { - h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv7), d) + h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1712), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1711++ + if yyhl1711 { + yyb1711 = yyj1711 > l } else { - yyb6 = r.CheckBreak() + yyb1711 = r.CheckBreak() } - if yyb6 { + if yyb1711 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1711-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23372,36 +23372,36 @@ func (x *NodeSelectorTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1714 := z.EncBinary() + _ = yym1714 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1715 := !z.EncBinary() + yy2arr1715 := z.EncBasicHandle().StructToArray + var yyq1715 [1]bool + _, _, _ = yysep1715, yyq1715, yy2arr1715 + const yyr1715 bool = false + var yynn1715 int + if yyr1715 || yy2arr1715 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1715 = 1 + for _, b := range yyq1715 { if b { - yynn2++ + yynn1715++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1715) + yynn1715 = 0 } - if yyr2 || yy2arr2 { + if yyr1715 || yy2arr1715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.MatchExpressions == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1717 := z.EncBinary() + _ = yym1717 if false { } else { h.encSliceNodeSelectorRequirement(([]NodeSelectorRequirement)(x.MatchExpressions), e) @@ -23414,15 +23414,15 @@ func (x *NodeSelectorTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x.MatchExpressions == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1718 := z.EncBinary() + _ = yym1718 if false { } else { h.encSliceNodeSelectorRequirement(([]NodeSelectorRequirement)(x.MatchExpressions), e) } } } - if yyr2 || yy2arr2 { + if yyr1715 || yy2arr1715 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23435,25 +23435,25 @@ func (x *NodeSelectorTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1719 := z.DecBinary() + _ = yym1719 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1720 := r.ContainerType() + if yyct1720 == codecSelferValueTypeMap1234 { + yyl1720 := r.ReadMapStart() + if yyl1720 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1720, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1720 == codecSelferValueTypeArray1234 { + yyl1720 := r.ReadArrayStart() + if yyl1720 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1720, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23465,12 +23465,12 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1721Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1721Slc + var yyhl1721 bool = l >= 0 + for yyj1721 := 0; ; yyj1721++ { + if yyhl1721 { + if yyj1721 >= l { break } } else { @@ -23479,26 +23479,26 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1721Slc = r.DecodeBytes(yys1721Slc, true, true) + yys1721 := string(yys1721Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1721 { case "matchExpressions": if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv4 := &x.MatchExpressions - yym5 := z.DecBinary() - _ = yym5 + yyv1722 := &x.MatchExpressions + yym1723 := z.DecBinary() + _ = yym1723 if false { } else { - h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv4), d) + h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1722), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1721) + } // end switch yys1721 + } // end for yyj1721 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23506,16 +23506,16 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1724 int + var yyb1724 bool + var yyhl1724 bool = l >= 0 + yyj1724++ + if yyhl1724 { + yyb1724 = yyj1724 > l } else { - yyb6 = r.CheckBreak() + yyb1724 = r.CheckBreak() } - if yyb6 { + if yyb1724 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23523,26 +23523,26 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv7 := &x.MatchExpressions - yym8 := z.DecBinary() - _ = yym8 + yyv1725 := &x.MatchExpressions + yym1726 := z.DecBinary() + _ = yym1726 if false { } else { - h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv7), d) + h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1725), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1724++ + if yyhl1724 { + yyb1724 = yyj1724 > l } else { - yyb6 = r.CheckBreak() + yyb1724 = r.CheckBreak() } - if yyb6 { + if yyb1724 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1724-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23554,34 +23554,34 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1727 := z.EncBinary() + _ = yym1727 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = len(x.Values) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1728 := !z.EncBinary() + yy2arr1728 := z.EncBasicHandle().StructToArray + var yyq1728 [3]bool + _, _, _ = yysep1728, yyq1728, yy2arr1728 + const yyr1728 bool = false + yyq1728[2] = len(x.Values) != 0 + var yynn1728 int + if yyr1728 || yy2arr1728 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1728 = 2 + for _, b := range yyq1728 { if b { - yynn2++ + yynn1728++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1728) + yynn1728 = 0 } - if yyr2 || yy2arr2 { + if yyr1728 || yy2arr1728 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1730 := z.EncBinary() + _ = yym1730 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -23590,14 +23590,14 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1731 := z.EncBinary() + _ = yym1731 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr2 || yy2arr2 { + if yyr1728 || yy2arr1728 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Operator.CodecEncodeSelf(e) } else { @@ -23606,14 +23606,14 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1728 || yy2arr1728 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1728[2] { if x.Values == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1734 := z.EncBinary() + _ = yym1734 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -23623,15 +23623,15 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1728[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("values")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Values == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym1735 := z.EncBinary() + _ = yym1735 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -23639,7 +23639,7 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1728 || yy2arr1728 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23652,25 +23652,25 @@ func (x *NodeSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1736 := z.DecBinary() + _ = yym1736 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1737 := r.ContainerType() + if yyct1737 == codecSelferValueTypeMap1234 { + yyl1737 := r.ReadMapStart() + if yyl1737 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1737, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1737 == codecSelferValueTypeArray1234 { + yyl1737 := r.ReadArrayStart() + if yyl1737 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1737, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23682,12 +23682,12 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1738Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1738Slc + var yyhl1738 bool = l >= 0 + for yyj1738 := 0; ; yyj1738++ { + if yyhl1738 { + if yyj1738 >= l { break } } else { @@ -23696,10 +23696,10 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1738Slc = r.DecodeBytes(yys1738Slc, true, true) + yys1738 := string(yys1738Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1738 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -23716,18 +23716,18 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Values = nil } else { - yyv6 := &x.Values - yym7 := z.DecBinary() - _ = yym7 + yyv1741 := &x.Values + yym1742 := z.DecBinary() + _ = yym1742 if false { } else { - z.F.DecSliceStringX(yyv6, false, d) + z.F.DecSliceStringX(yyv1741, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1738) + } // end switch yys1738 + } // end for yyj1738 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23735,16 +23735,16 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1743 int + var yyb1743 bool + var yyhl1743 bool = l >= 0 + yyj1743++ + if yyhl1743 { + yyb1743 = yyj1743 > l } else { - yyb8 = r.CheckBreak() + yyb1743 = r.CheckBreak() } - if yyb8 { + if yyb1743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23754,13 +23754,13 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Key = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1743++ + if yyhl1743 { + yyb1743 = yyj1743 > l } else { - yyb8 = r.CheckBreak() + yyb1743 = r.CheckBreak() } - if yyb8 { + if yyb1743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23770,13 +23770,13 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Operator = NodeSelectorOperator(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1743++ + if yyhl1743 { + yyb1743 = yyj1743 > l } else { - yyb8 = r.CheckBreak() + yyb1743 = r.CheckBreak() } - if yyb8 { + if yyb1743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23784,26 +23784,26 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Values = nil } else { - yyv11 := &x.Values - yym12 := z.DecBinary() - _ = yym12 + yyv1746 := &x.Values + yym1747 := z.DecBinary() + _ = yym1747 if false { } else { - z.F.DecSliceStringX(yyv11, false, d) + z.F.DecSliceStringX(yyv1746, false, d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1743++ + if yyhl1743 { + yyb1743 = yyj1743 > l } else { - yyb8 = r.CheckBreak() + yyb1743 = r.CheckBreak() } - if yyb8 { + if yyb1743 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1743-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23812,8 +23812,8 @@ func (x NodeSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1748 := z.EncBinary() + _ = yym1748 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -23825,8 +23825,8 @@ func (x *NodeSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1749 := z.DecBinary() + _ = yym1749 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -23841,35 +23841,35 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1750 := z.EncBinary() + _ = yym1750 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.NodeAffinity != nil - yyq2[1] = x.PodAffinity != nil - yyq2[2] = x.PodAntiAffinity != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1751 := !z.EncBinary() + yy2arr1751 := z.EncBasicHandle().StructToArray + var yyq1751 [3]bool + _, _, _ = yysep1751, yyq1751, yy2arr1751 + const yyr1751 bool = false + yyq1751[0] = x.NodeAffinity != nil + yyq1751[1] = x.PodAffinity != nil + yyq1751[2] = x.PodAntiAffinity != nil + var yynn1751 int + if yyr1751 || yy2arr1751 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1751 = 0 + for _, b := range yyq1751 { if b { - yynn2++ + yynn1751++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1751) + yynn1751 = 0 } - if yyr2 || yy2arr2 { + if yyr1751 || yy2arr1751 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1751[0] { if x.NodeAffinity == nil { r.EncodeNil() } else { @@ -23879,7 +23879,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1751[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -23890,9 +23890,9 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1751 || yy2arr1751 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1751[1] { if x.PodAffinity == nil { r.EncodeNil() } else { @@ -23902,7 +23902,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1751[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -23913,9 +23913,9 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1751 || yy2arr1751 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1751[2] { if x.PodAntiAffinity == nil { r.EncodeNil() } else { @@ -23925,7 +23925,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1751[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podAntiAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -23936,7 +23936,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1751 || yy2arr1751 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23949,25 +23949,25 @@ func (x *Affinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1755 := z.DecBinary() + _ = yym1755 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1756 := r.ContainerType() + if yyct1756 == codecSelferValueTypeMap1234 { + yyl1756 := r.ReadMapStart() + if yyl1756 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1756, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1756 == codecSelferValueTypeArray1234 { + yyl1756 := r.ReadArrayStart() + if yyl1756 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1756, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23979,12 +23979,12 @@ func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1757Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1757Slc + var yyhl1757 bool = l >= 0 + for yyj1757 := 0; ; yyj1757++ { + if yyhl1757 { + if yyj1757 >= l { break } } else { @@ -23993,10 +23993,10 @@ func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1757Slc = r.DecodeBytes(yys1757Slc, true, true) + yys1757 := string(yys1757Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1757 { case "nodeAffinity": if r.TryDecodeAsNil() { if x.NodeAffinity != nil { @@ -24031,9 +24031,9 @@ func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PodAntiAffinity.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1757) + } // end switch yys1757 + } // end for yyj1757 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24041,16 +24041,16 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1761 int + var yyb1761 bool + var yyhl1761 bool = l >= 0 + yyj1761++ + if yyhl1761 { + yyb1761 = yyj1761 > l } else { - yyb7 = r.CheckBreak() + yyb1761 = r.CheckBreak() } - if yyb7 { + if yyb1761 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24065,13 +24065,13 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.NodeAffinity.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1761++ + if yyhl1761 { + yyb1761 = yyj1761 > l } else { - yyb7 = r.CheckBreak() + yyb1761 = r.CheckBreak() } - if yyb7 { + if yyb1761 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24086,13 +24086,13 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PodAffinity.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1761++ + if yyhl1761 { + yyb1761 = yyj1761 > l } else { - yyb7 = r.CheckBreak() + yyb1761 = r.CheckBreak() } - if yyb7 { + if yyb1761 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24108,17 +24108,17 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PodAntiAffinity.CodecDecodeSelf(d) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1761++ + if yyhl1761 { + yyb1761 = yyj1761 > l } else { - yyb7 = r.CheckBreak() + yyb1761 = r.CheckBreak() } - if yyb7 { + if yyb1761 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1761-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24130,39 +24130,39 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1765 := z.EncBinary() + _ = yym1765 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 - yyq2[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1766 := !z.EncBinary() + yy2arr1766 := z.EncBasicHandle().StructToArray + var yyq1766 [2]bool + _, _, _ = yysep1766, yyq1766, yy2arr1766 + const yyr1766 bool = false + yyq1766[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 + yyq1766[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn1766 int + if yyr1766 || yy2arr1766 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1766 = 0 + for _, b := range yyq1766 { if b { - yynn2++ + yynn1766++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1766) + yynn1766 = 0 } - if yyr2 || yy2arr2 { + if yyr1766 || yy2arr1766 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1766[0] { if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1768 := z.EncBinary() + _ = yym1768 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -24172,15 +24172,15 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1766[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1769 := z.EncBinary() + _ = yym1769 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -24188,14 +24188,14 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1766 || yy2arr1766 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1766[1] { if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1771 := z.EncBinary() + _ = yym1771 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -24205,15 +24205,15 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1766[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1772 := z.EncBinary() + _ = yym1772 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -24221,7 +24221,7 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1766 || yy2arr1766 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24234,25 +24234,25 @@ func (x *PodAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1773 := z.DecBinary() + _ = yym1773 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1774 := r.ContainerType() + if yyct1774 == codecSelferValueTypeMap1234 { + yyl1774 := r.ReadMapStart() + if yyl1774 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1774, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1774 == codecSelferValueTypeArray1234 { + yyl1774 := r.ReadArrayStart() + if yyl1774 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1774, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24264,12 +24264,12 @@ func (x *PodAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1775Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1775Slc + var yyhl1775 bool = l >= 0 + for yyj1775 := 0; ; yyj1775++ { + if yyhl1775 { + if yyj1775 >= l { break } } else { @@ -24278,38 +24278,38 @@ func (x *PodAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1775Slc = r.DecodeBytes(yys1775Slc, true, true) + yys1775 := string(yys1775Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1775 { case "requiredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv4 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym5 := z.DecBinary() - _ = yym5 + yyv1776 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1777 := z.DecBinary() + _ = yym1777 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv4), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1776), d) } } case "preferredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv6 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym7 := z.DecBinary() - _ = yym7 + yyv1778 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1779 := z.DecBinary() + _ = yym1779 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv6), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1778), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1775) + } // end switch yys1775 + } // end for yyj1775 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24317,16 +24317,16 @@ func (x *PodAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1780 int + var yyb1780 bool + var yyhl1780 bool = l >= 0 + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l } else { - yyb8 = r.CheckBreak() + yyb1780 = r.CheckBreak() } - if yyb8 { + if yyb1780 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24334,21 +24334,21 @@ func (x *PodAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv9 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym10 := z.DecBinary() - _ = yym10 + yyv1781 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1782 := z.DecBinary() + _ = yym1782 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv9), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1781), d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l } else { - yyb8 = r.CheckBreak() + yyb1780 = r.CheckBreak() } - if yyb8 { + if yyb1780 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24356,26 +24356,26 @@ func (x *PodAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv11 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym12 := z.DecBinary() - _ = yym12 + yyv1783 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1784 := z.DecBinary() + _ = yym1784 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv11), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1783), d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l } else { - yyb8 = r.CheckBreak() + yyb1780 = r.CheckBreak() } - if yyb8 { + if yyb1780 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1780-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24387,39 +24387,39 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1785 := z.EncBinary() + _ = yym1785 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 - yyq2[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1786 := !z.EncBinary() + yy2arr1786 := z.EncBasicHandle().StructToArray + var yyq1786 [2]bool + _, _, _ = yysep1786, yyq1786, yy2arr1786 + const yyr1786 bool = false + yyq1786[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 + yyq1786[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn1786 int + if yyr1786 || yy2arr1786 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1786 = 0 + for _, b := range yyq1786 { if b { - yynn2++ + yynn1786++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1786) + yynn1786 = 0 } - if yyr2 || yy2arr2 { + if yyr1786 || yy2arr1786 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1786[0] { if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1788 := z.EncBinary() + _ = yym1788 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -24429,15 +24429,15 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1786[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1789 := z.EncBinary() + _ = yym1789 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -24445,14 +24445,14 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1786 || yy2arr1786 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1786[1] { if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1791 := z.EncBinary() + _ = yym1791 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -24462,15 +24462,15 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1786[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1792 := z.EncBinary() + _ = yym1792 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -24478,7 +24478,7 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1786 || yy2arr1786 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24491,25 +24491,25 @@ func (x *PodAntiAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1793 := z.DecBinary() + _ = yym1793 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1794 := r.ContainerType() + if yyct1794 == codecSelferValueTypeMap1234 { + yyl1794 := r.ReadMapStart() + if yyl1794 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1794, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1794 == codecSelferValueTypeArray1234 { + yyl1794 := r.ReadArrayStart() + if yyl1794 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1794, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24521,12 +24521,12 @@ func (x *PodAntiAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1795Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1795Slc + var yyhl1795 bool = l >= 0 + for yyj1795 := 0; ; yyj1795++ { + if yyhl1795 { + if yyj1795 >= l { break } } else { @@ -24535,38 +24535,38 @@ func (x *PodAntiAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1795Slc = r.DecodeBytes(yys1795Slc, true, true) + yys1795 := string(yys1795Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1795 { case "requiredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv4 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym5 := z.DecBinary() - _ = yym5 + yyv1796 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1797 := z.DecBinary() + _ = yym1797 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv4), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1796), d) } } case "preferredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv6 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym7 := z.DecBinary() - _ = yym7 + yyv1798 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1799 := z.DecBinary() + _ = yym1799 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv6), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1798), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1795) + } // end switch yys1795 + } // end for yyj1795 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24574,16 +24574,16 @@ func (x *PodAntiAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1800 int + var yyb1800 bool + var yyhl1800 bool = l >= 0 + yyj1800++ + if yyhl1800 { + yyb1800 = yyj1800 > l } else { - yyb8 = r.CheckBreak() + yyb1800 = r.CheckBreak() } - if yyb8 { + if yyb1800 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24591,21 +24591,21 @@ func (x *PodAntiAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv9 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym10 := z.DecBinary() - _ = yym10 + yyv1801 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1802 := z.DecBinary() + _ = yym1802 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv9), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1801), d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1800++ + if yyhl1800 { + yyb1800 = yyj1800 > l } else { - yyb8 = r.CheckBreak() + yyb1800 = r.CheckBreak() } - if yyb8 { + if yyb1800 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24613,26 +24613,26 @@ func (x *PodAntiAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv11 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym12 := z.DecBinary() - _ = yym12 + yyv1803 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1804 := z.DecBinary() + _ = yym1804 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv11), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1803), d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1800++ + if yyhl1800 { + yyb1800 = yyj1800 > l } else { - yyb8 = r.CheckBreak() + yyb1800 = r.CheckBreak() } - if yyb8 { + if yyb1800 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1800-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24644,33 +24644,33 @@ func (x *WeightedPodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1805 := z.EncBinary() + _ = yym1805 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1806 := !z.EncBinary() + yy2arr1806 := z.EncBasicHandle().StructToArray + var yyq1806 [2]bool + _, _, _ = yysep1806, yyq1806, yy2arr1806 + const yyr1806 bool = false + var yynn1806 int + if yyr1806 || yy2arr1806 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1806 = 2 + for _, b := range yyq1806 { if b { - yynn2++ + yynn1806++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1806) + yynn1806 = 0 } - if yyr2 || yy2arr2 { + if yyr1806 || yy2arr1806 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1808 := z.EncBinary() + _ = yym1808 if false { } else { r.EncodeInt(int64(x.Weight)) @@ -24679,25 +24679,25 @@ func (x *WeightedPodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("weight")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1809 := z.EncBinary() + _ = yym1809 if false { } else { r.EncodeInt(int64(x.Weight)) } } - if yyr2 || yy2arr2 { + if yyr1806 || yy2arr1806 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.PodAffinityTerm - yy7.CodecEncodeSelf(e) + yy1811 := &x.PodAffinityTerm + yy1811.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podAffinityTerm")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.PodAffinityTerm - yy9.CodecEncodeSelf(e) + yy1812 := &x.PodAffinityTerm + yy1812.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1806 || yy2arr1806 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24710,25 +24710,25 @@ func (x *WeightedPodAffinityTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1813 := z.DecBinary() + _ = yym1813 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1814 := r.ContainerType() + if yyct1814 == codecSelferValueTypeMap1234 { + yyl1814 := r.ReadMapStart() + if yyl1814 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1814, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1814 == codecSelferValueTypeArray1234 { + yyl1814 := r.ReadArrayStart() + if yyl1814 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1814, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24740,12 +24740,12 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1815Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1815Slc + var yyhl1815 bool = l >= 0 + for yyj1815 := 0; ; yyj1815++ { + if yyhl1815 { + if yyj1815 >= l { break } } else { @@ -24754,10 +24754,10 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1815Slc = r.DecodeBytes(yys1815Slc, true, true) + yys1815 := string(yys1815Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1815 { case "weight": if r.TryDecodeAsNil() { x.Weight = 0 @@ -24768,13 +24768,13 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.PodAffinityTerm = PodAffinityTerm{} } else { - yyv5 := &x.PodAffinityTerm - yyv5.CodecDecodeSelf(d) + yyv1817 := &x.PodAffinityTerm + yyv1817.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1815) + } // end switch yys1815 + } // end for yyj1815 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24782,16 +24782,16 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1818 int + var yyb1818 bool + var yyhl1818 bool = l >= 0 + yyj1818++ + if yyhl1818 { + yyb1818 = yyj1818 > l } else { - yyb6 = r.CheckBreak() + yyb1818 = r.CheckBreak() } - if yyb6 { + if yyb1818 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24801,13 +24801,13 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Weight = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1818++ + if yyhl1818 { + yyb1818 = yyj1818 > l } else { - yyb6 = r.CheckBreak() + yyb1818 = r.CheckBreak() } - if yyb6 { + if yyb1818 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24815,21 +24815,21 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.PodAffinityTerm = PodAffinityTerm{} } else { - yyv8 := &x.PodAffinityTerm - yyv8.CodecDecodeSelf(d) + yyv1820 := &x.PodAffinityTerm + yyv1820.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1818++ + if yyhl1818 { + yyb1818 = yyj1818 > l } else { - yyb6 = r.CheckBreak() + yyb1818 = r.CheckBreak() } - if yyb6 { + if yyb1818 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1818-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24841,39 +24841,39 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1821 := z.EncBinary() + _ = yym1821 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.LabelSelector != nil - yyq2[2] = x.TopologyKey != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1822 := !z.EncBinary() + yy2arr1822 := z.EncBasicHandle().StructToArray + var yyq1822 [3]bool + _, _, _ = yysep1822, yyq1822, yy2arr1822 + const yyr1822 bool = false + yyq1822[0] = x.LabelSelector != nil + yyq1822[2] = x.TopologyKey != "" + var yynn1822 int + if yyr1822 || yy2arr1822 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1822 = 1 + for _, b := range yyq1822 { if b { - yynn2++ + yynn1822++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1822) + yynn1822 = 0 } - if yyr2 || yy2arr2 { + if yyr1822 || yy2arr1822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1822[0] { if x.LabelSelector == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1824 := z.EncBinary() + _ = yym1824 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -24884,15 +24884,15 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1822[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LabelSelector == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1825 := z.EncBinary() + _ = yym1825 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -24901,13 +24901,13 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1822 || yy2arr1822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Namespaces == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1827 := z.EncBinary() + _ = yym1827 if false { } else { z.F.EncSliceStringV(x.Namespaces, false, e) @@ -24920,19 +24920,19 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x.Namespaces == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1828 := z.EncBinary() + _ = yym1828 if false { } else { z.F.EncSliceStringV(x.Namespaces, false, e) } } } - if yyr2 || yy2arr2 { + if yyr1822 || yy2arr1822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq1822[2] { + yym1830 := z.EncBinary() + _ = yym1830 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TopologyKey)) @@ -24941,19 +24941,19 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq1822[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("topologyKey")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym1831 := z.EncBinary() + _ = yym1831 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TopologyKey)) } } } - if yyr2 || yy2arr2 { + if yyr1822 || yy2arr1822 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24966,25 +24966,25 @@ func (x *PodAffinityTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1832 := z.DecBinary() + _ = yym1832 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1833 := r.ContainerType() + if yyct1833 == codecSelferValueTypeMap1234 { + yyl1833 := r.ReadMapStart() + if yyl1833 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1833, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1833 == codecSelferValueTypeArray1234 { + yyl1833 := r.ReadArrayStart() + if yyl1833 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1833, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24996,12 +24996,12 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1834Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1834Slc + var yyhl1834 bool = l >= 0 + for yyj1834 := 0; ; yyj1834++ { + if yyhl1834 { + if yyj1834 >= l { break } } else { @@ -25010,10 +25010,10 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1834Slc = r.DecodeBytes(yys1834Slc, true, true) + yys1834 := string(yys1834Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1834 { case "labelSelector": if r.TryDecodeAsNil() { if x.LabelSelector != nil { @@ -25023,8 +25023,8 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LabelSelector == nil { x.LabelSelector = new(pkg2_unversioned.LabelSelector) } - yym5 := z.DecBinary() - _ = yym5 + yym1836 := z.DecBinary() + _ = yym1836 if false { } else if z.HasExtensions() && z.DecExt(x.LabelSelector) { } else { @@ -25035,12 +25035,12 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Namespaces = nil } else { - yyv6 := &x.Namespaces - yym7 := z.DecBinary() - _ = yym7 + yyv1837 := &x.Namespaces + yym1838 := z.DecBinary() + _ = yym1838 if false { } else { - z.F.DecSliceStringX(yyv6, false, d) + z.F.DecSliceStringX(yyv1837, false, d) } } case "topologyKey": @@ -25050,9 +25050,9 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TopologyKey = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1834) + } // end switch yys1834 + } // end for yyj1834 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25060,16 +25060,16 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj1840 int + var yyb1840 bool + var yyhl1840 bool = l >= 0 + yyj1840++ + if yyhl1840 { + yyb1840 = yyj1840 > l } else { - yyb9 = r.CheckBreak() + yyb1840 = r.CheckBreak() } - if yyb9 { + if yyb1840 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25082,21 +25082,21 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.LabelSelector == nil { x.LabelSelector = new(pkg2_unversioned.LabelSelector) } - yym11 := z.DecBinary() - _ = yym11 + yym1842 := z.DecBinary() + _ = yym1842 if false { } else if z.HasExtensions() && z.DecExt(x.LabelSelector) { } else { z.DecFallback(x.LabelSelector, false) } } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1840++ + if yyhl1840 { + yyb1840 = yyj1840 > l } else { - yyb9 = r.CheckBreak() + yyb1840 = r.CheckBreak() } - if yyb9 { + if yyb1840 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25104,21 +25104,21 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Namespaces = nil } else { - yyv12 := &x.Namespaces - yym13 := z.DecBinary() - _ = yym13 + yyv1843 := &x.Namespaces + yym1844 := z.DecBinary() + _ = yym1844 if false { } else { - z.F.DecSliceStringX(yyv12, false, d) + z.F.DecSliceStringX(yyv1843, false, d) } } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1840++ + if yyhl1840 { + yyb1840 = yyj1840 > l } else { - yyb9 = r.CheckBreak() + yyb1840 = r.CheckBreak() } - if yyb9 { + if yyb1840 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25129,17 +25129,17 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.TopologyKey = string(r.DecodeString()) } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1840++ + if yyhl1840 { + yyb1840 = yyj1840 > l } else { - yyb9 = r.CheckBreak() + yyb1840 = r.CheckBreak() } - if yyb9 { + if yyb1840 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj1840-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25151,34 +25151,34 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1846 := z.EncBinary() + _ = yym1846 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.RequiredDuringSchedulingIgnoredDuringExecution != nil - yyq2[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1847 := !z.EncBinary() + yy2arr1847 := z.EncBasicHandle().StructToArray + var yyq1847 [2]bool + _, _, _ = yysep1847, yyq1847, yy2arr1847 + const yyr1847 bool = false + yyq1847[0] = x.RequiredDuringSchedulingIgnoredDuringExecution != nil + yyq1847[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn1847 int + if yyr1847 || yy2arr1847 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1847 = 0 + for _, b := range yyq1847 { if b { - yynn2++ + yynn1847++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1847) + yynn1847 = 0 } - if yyr2 || yy2arr2 { + if yyr1847 || yy2arr1847 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1847[0] { if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { @@ -25188,7 +25188,7 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1847[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -25199,14 +25199,14 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1847 || yy2arr1847 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1847[1] { if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1850 := z.EncBinary() + _ = yym1850 if false { } else { h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -25216,15 +25216,15 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1847[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1851 := z.EncBinary() + _ = yym1851 if false { } else { h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -25232,7 +25232,7 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1847 || yy2arr1847 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25245,25 +25245,25 @@ func (x *NodeAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1852 := z.DecBinary() + _ = yym1852 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1853 := r.ContainerType() + if yyct1853 == codecSelferValueTypeMap1234 { + yyl1853 := r.ReadMapStart() + if yyl1853 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1853, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1853 == codecSelferValueTypeArray1234 { + yyl1853 := r.ReadArrayStart() + if yyl1853 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1853, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25275,12 +25275,12 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1854Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1854Slc + var yyhl1854 bool = l >= 0 + for yyj1854 := 0; ; yyj1854++ { + if yyhl1854 { + if yyj1854 >= l { break } } else { @@ -25289,10 +25289,10 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1854Slc = r.DecodeBytes(yys1854Slc, true, true) + yys1854 := string(yys1854Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1854 { case "requiredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { if x.RequiredDuringSchedulingIgnoredDuringExecution != nil { @@ -25308,18 +25308,18 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv5 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym6 := z.DecBinary() - _ = yym6 + yyv1856 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1857 := z.DecBinary() + _ = yym1857 if false { } else { - h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv5), d) + h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1856), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1854) + } // end switch yys1854 + } // end for yyj1854 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25327,16 +25327,16 @@ func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1858 int + var yyb1858 bool + var yyhl1858 bool = l >= 0 + yyj1858++ + if yyhl1858 { + yyb1858 = yyj1858 > l } else { - yyb7 = r.CheckBreak() + yyb1858 = r.CheckBreak() } - if yyb7 { + if yyb1858 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25351,13 +25351,13 @@ func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RequiredDuringSchedulingIgnoredDuringExecution.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1858++ + if yyhl1858 { + yyb1858 = yyj1858 > l } else { - yyb7 = r.CheckBreak() + yyb1858 = r.CheckBreak() } - if yyb7 { + if yyb1858 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25365,26 +25365,26 @@ func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv9 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym10 := z.DecBinary() - _ = yym10 + yyv1860 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1861 := z.DecBinary() + _ = yym1861 if false { } else { - h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv9), d) + h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1860), d) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1858++ + if yyhl1858 { + yyb1858 = yyj1858 > l } else { - yyb7 = r.CheckBreak() + yyb1858 = r.CheckBreak() } - if yyb7 { + if yyb1858 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1858-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25396,33 +25396,33 @@ func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1862 := z.EncBinary() + _ = yym1862 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1863 := !z.EncBinary() + yy2arr1863 := z.EncBasicHandle().StructToArray + var yyq1863 [2]bool + _, _, _ = yysep1863, yyq1863, yy2arr1863 + const yyr1863 bool = false + var yynn1863 int + if yyr1863 || yy2arr1863 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1863 = 2 + for _, b := range yyq1863 { if b { - yynn2++ + yynn1863++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1863) + yynn1863 = 0 } - if yyr2 || yy2arr2 { + if yyr1863 || yy2arr1863 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1865 := z.EncBinary() + _ = yym1865 if false { } else { r.EncodeInt(int64(x.Weight)) @@ -25431,25 +25431,25 @@ func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("weight")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1866 := z.EncBinary() + _ = yym1866 if false { } else { r.EncodeInt(int64(x.Weight)) } } - if yyr2 || yy2arr2 { + if yyr1863 || yy2arr1863 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.Preference - yy7.CodecEncodeSelf(e) + yy1868 := &x.Preference + yy1868.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.Preference - yy9.CodecEncodeSelf(e) + yy1869 := &x.Preference + yy1869.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1863 || yy2arr1863 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25462,25 +25462,25 @@ func (x *PreferredSchedulingTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1870 := z.DecBinary() + _ = yym1870 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1871 := r.ContainerType() + if yyct1871 == codecSelferValueTypeMap1234 { + yyl1871 := r.ReadMapStart() + if yyl1871 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1871, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1871 == codecSelferValueTypeArray1234 { + yyl1871 := r.ReadArrayStart() + if yyl1871 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1871, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25492,12 +25492,12 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1872Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1872Slc + var yyhl1872 bool = l >= 0 + for yyj1872 := 0; ; yyj1872++ { + if yyhl1872 { + if yyj1872 >= l { break } } else { @@ -25506,10 +25506,10 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1872Slc = r.DecodeBytes(yys1872Slc, true, true) + yys1872 := string(yys1872Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1872 { case "weight": if r.TryDecodeAsNil() { x.Weight = 0 @@ -25520,13 +25520,13 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Preference = NodeSelectorTerm{} } else { - yyv5 := &x.Preference - yyv5.CodecDecodeSelf(d) + yyv1874 := &x.Preference + yyv1874.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1872) + } // end switch yys1872 + } // end for yyj1872 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25534,16 +25534,16 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1875 int + var yyb1875 bool + var yyhl1875 bool = l >= 0 + yyj1875++ + if yyhl1875 { + yyb1875 = yyj1875 > l } else { - yyb6 = r.CheckBreak() + yyb1875 = r.CheckBreak() } - if yyb6 { + if yyb1875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25553,13 +25553,13 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Weight = int32(r.DecodeInt(32)) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1875++ + if yyhl1875 { + yyb1875 = yyj1875 > l } else { - yyb6 = r.CheckBreak() + yyb1875 = r.CheckBreak() } - if yyb6 { + if yyb1875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25567,21 +25567,21 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Preference = NodeSelectorTerm{} } else { - yyv8 := &x.Preference - yyv8.CodecDecodeSelf(d) + yyv1877 := &x.Preference + yyv1877.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1875++ + if yyhl1875 { + yyb1875 = yyj1875 > l } else { - yyb6 = r.CheckBreak() + yyb1875 = r.CheckBreak() } - if yyb6 { + if yyb1875 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1875-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25593,34 +25593,34 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1878 := z.EncBinary() + _ = yym1878 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Value != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1879 := !z.EncBinary() + yy2arr1879 := z.EncBasicHandle().StructToArray + var yyq1879 [3]bool + _, _, _ = yysep1879, yyq1879, yy2arr1879 + const yyr1879 bool = false + yyq1879[1] = x.Value != "" + var yynn1879 int + if yyr1879 || yy2arr1879 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1879 = 2 + for _, b := range yyq1879 { if b { - yynn2++ + yynn1879++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1879) + yynn1879 = 0 } - if yyr2 || yy2arr2 { + if yyr1879 || yy2arr1879 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1881 := z.EncBinary() + _ = yym1881 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -25629,18 +25629,18 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1882 := z.EncBinary() + _ = yym1882 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr2 || yy2arr2 { + if yyr1879 || yy2arr1879 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1879[1] { + yym1884 := z.EncBinary() + _ = yym1884 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -25649,19 +25649,19 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq1879[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1885 := z.EncBinary() + _ = yym1885 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr2 || yy2arr2 { + if yyr1879 || yy2arr1879 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Effect.CodecEncodeSelf(e) } else { @@ -25670,7 +25670,7 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Effect.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1879 || yy2arr1879 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25683,25 +25683,25 @@ func (x *Taint) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1887 := z.DecBinary() + _ = yym1887 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1888 := r.ContainerType() + if yyct1888 == codecSelferValueTypeMap1234 { + yyl1888 := r.ReadMapStart() + if yyl1888 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1888, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1888 == codecSelferValueTypeArray1234 { + yyl1888 := r.ReadArrayStart() + if yyl1888 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1888, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25713,12 +25713,12 @@ func (x *Taint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1889Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1889Slc + var yyhl1889 bool = l >= 0 + for yyj1889 := 0; ; yyj1889++ { + if yyhl1889 { + if yyj1889 >= l { break } } else { @@ -25727,10 +25727,10 @@ func (x *Taint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1889Slc = r.DecodeBytes(yys1889Slc, true, true) + yys1889 := string(yys1889Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1889 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -25750,9 +25750,9 @@ func (x *Taint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1889) + } // end switch yys1889 + } // end for yyj1889 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25760,16 +25760,16 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1893 int + var yyb1893 bool + var yyhl1893 bool = l >= 0 + yyj1893++ + if yyhl1893 { + yyb1893 = yyj1893 > l } else { - yyb7 = r.CheckBreak() + yyb1893 = r.CheckBreak() } - if yyb7 { + if yyb1893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25779,13 +25779,13 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Key = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1893++ + if yyhl1893 { + yyb1893 = yyj1893 > l } else { - yyb7 = r.CheckBreak() + yyb1893 = r.CheckBreak() } - if yyb7 { + if yyb1893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25795,13 +25795,13 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1893++ + if yyhl1893 { + yyb1893 = yyj1893 > l } else { - yyb7 = r.CheckBreak() + yyb1893 = r.CheckBreak() } - if yyb7 { + if yyb1893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25812,17 +25812,17 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1893++ + if yyhl1893 { + yyb1893 = yyj1893 > l } else { - yyb7 = r.CheckBreak() + yyb1893 = r.CheckBreak() } - if yyb7 { + if yyb1893 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1893-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25831,8 +25831,8 @@ func (x TaintEffect) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1897 := z.EncBinary() + _ = yym1897 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -25844,8 +25844,8 @@ func (x *TaintEffect) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1898 := z.DecBinary() + _ = yym1898 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -25860,38 +25860,38 @@ func (x *Toleration) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1899 := z.EncBinary() + _ = yym1899 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Key != "" - yyq2[1] = x.Operator != "" - yyq2[2] = x.Value != "" - yyq2[3] = x.Effect != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1900 := !z.EncBinary() + yy2arr1900 := z.EncBasicHandle().StructToArray + var yyq1900 [4]bool + _, _, _ = yysep1900, yyq1900, yy2arr1900 + const yyr1900 bool = false + yyq1900[0] = x.Key != "" + yyq1900[1] = x.Operator != "" + yyq1900[2] = x.Value != "" + yyq1900[3] = x.Effect != "" + var yynn1900 int + if yyr1900 || yy2arr1900 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1900 = 0 + for _, b := range yyq1900 { if b { - yynn2++ + yynn1900++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1900) + yynn1900 = 0 } - if yyr2 || yy2arr2 { + if yyr1900 || yy2arr1900 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq1900[0] { + yym1902 := z.EncBinary() + _ = yym1902 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -25900,38 +25900,38 @@ func (x *Toleration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1900[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1903 := z.EncBinary() + _ = yym1903 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } } - if yyr2 || yy2arr2 { + if yyr1900 || yy2arr1900 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1900[1] { x.Operator.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq1900[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("operator")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1900 || yy2arr1900 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq1900[2] { + yym1906 := z.EncBinary() + _ = yym1906 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -25940,34 +25940,34 @@ func (x *Toleration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq1900[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym1907 := z.EncBinary() + _ = yym1907 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr2 || yy2arr2 { + if yyr1900 || yy2arr1900 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq1900[3] { x.Effect.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq1900[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("effect")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Effect.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1900 || yy2arr1900 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25980,25 +25980,25 @@ func (x *Toleration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1909 := z.DecBinary() + _ = yym1909 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1910 := r.ContainerType() + if yyct1910 == codecSelferValueTypeMap1234 { + yyl1910 := r.ReadMapStart() + if yyl1910 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1910, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1910 == codecSelferValueTypeArray1234 { + yyl1910 := r.ReadArrayStart() + if yyl1910 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1910, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26010,12 +26010,12 @@ func (x *Toleration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1911Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1911Slc + var yyhl1911 bool = l >= 0 + for yyj1911 := 0; ; yyj1911++ { + if yyhl1911 { + if yyj1911 >= l { break } } else { @@ -26024,10 +26024,10 @@ func (x *Toleration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1911Slc = r.DecodeBytes(yys1911Slc, true, true) + yys1911 := string(yys1911Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1911 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -26053,9 +26053,9 @@ func (x *Toleration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1911) + } // end switch yys1911 + } // end for yyj1911 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26063,16 +26063,16 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1916 int + var yyb1916 bool + var yyhl1916 bool = l >= 0 + yyj1916++ + if yyhl1916 { + yyb1916 = yyj1916 > l } else { - yyb8 = r.CheckBreak() + yyb1916 = r.CheckBreak() } - if yyb8 { + if yyb1916 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26082,13 +26082,13 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Key = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1916++ + if yyhl1916 { + yyb1916 = yyj1916 > l } else { - yyb8 = r.CheckBreak() + yyb1916 = r.CheckBreak() } - if yyb8 { + if yyb1916 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26098,13 +26098,13 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Operator = TolerationOperator(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1916++ + if yyhl1916 { + yyb1916 = yyj1916 > l } else { - yyb8 = r.CheckBreak() + yyb1916 = r.CheckBreak() } - if yyb8 { + if yyb1916 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26114,13 +26114,13 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1916++ + if yyhl1916 { + yyb1916 = yyj1916 > l } else { - yyb8 = r.CheckBreak() + yyb1916 = r.CheckBreak() } - if yyb8 { + if yyb1916 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26131,17 +26131,17 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1916++ + if yyhl1916 { + yyb1916 = yyj1916 > l } else { - yyb8 = r.CheckBreak() + yyb1916 = r.CheckBreak() } - if yyb8 { + if yyb1916 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1916-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26150,8 +26150,8 @@ func (x TolerationOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1921 := z.EncBinary() + _ = yym1921 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -26163,8 +26163,8 @@ func (x *TolerationOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1922 := z.DecBinary() + _ = yym1922 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -26179,46 +26179,46 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1923 := z.EncBinary() + _ = yym1923 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [13]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.RestartPolicy != "" - yyq2[3] = x.TerminationGracePeriodSeconds != nil - yyq2[4] = x.ActiveDeadlineSeconds != nil - yyq2[5] = x.DNSPolicy != "" - yyq2[6] = len(x.NodeSelector) != 0 - yyq2[8] = x.NodeName != "" - yyq2[9] = x.SecurityContext != nil - yyq2[10] = len(x.ImagePullSecrets) != 0 - yyq2[11] = x.Hostname != "" - yyq2[12] = x.Subdomain != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1924 := !z.EncBinary() + yy2arr1924 := z.EncBasicHandle().StructToArray + var yyq1924 [13]bool + _, _, _ = yysep1924, yyq1924, yy2arr1924 + const yyr1924 bool = false + yyq1924[2] = x.RestartPolicy != "" + yyq1924[3] = x.TerminationGracePeriodSeconds != nil + yyq1924[4] = x.ActiveDeadlineSeconds != nil + yyq1924[5] = x.DNSPolicy != "" + yyq1924[6] = len(x.NodeSelector) != 0 + yyq1924[8] = x.NodeName != "" + yyq1924[9] = x.SecurityContext != nil + yyq1924[10] = len(x.ImagePullSecrets) != 0 + yyq1924[11] = x.Hostname != "" + yyq1924[12] = x.Subdomain != "" + var yynn1924 int + if yyr1924 || yy2arr1924 { r.EncodeArrayStart(13) } else { - yynn2 = 3 - for _, b := range yyq2 { + yynn1924 = 3 + for _, b := range yyq1924 { if b { - yynn2++ + yynn1924++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1924) + yynn1924 = 0 } - if yyr2 || yy2arr2 { + if yyr1924 || yy2arr1924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Volumes == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1926 := z.EncBinary() + _ = yym1926 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) @@ -26231,21 +26231,21 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Volumes == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1927 := z.EncBinary() + _ = yym1927 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) } } } - if yyr2 || yy2arr2 { + if yyr1924 || yy2arr1924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Containers == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1929 := z.EncBinary() + _ = yym1929 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) @@ -26258,122 +26258,122 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Containers == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1930 := z.EncBinary() + _ = yym1930 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) } } } - if yyr2 || yy2arr2 { + if yyr1924 || yy2arr1924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1924[2] { x.RestartPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq1924[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.RestartPolicy.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1924 || yy2arr1924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq1924[3] { if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy13 := *x.TerminationGracePeriodSeconds - yym14 := z.EncBinary() - _ = yym14 + yy1933 := *x.TerminationGracePeriodSeconds + yym1934 := z.EncBinary() + _ = yym1934 if false { } else { - r.EncodeInt(int64(yy13)) + r.EncodeInt(int64(yy1933)) } } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq1924[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationGracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy15 := *x.TerminationGracePeriodSeconds - yym16 := z.EncBinary() - _ = yym16 + yy1935 := *x.TerminationGracePeriodSeconds + yym1936 := z.EncBinary() + _ = yym1936 if false { } else { - r.EncodeInt(int64(yy15)) + r.EncodeInt(int64(yy1935)) } } } } - if yyr2 || yy2arr2 { + if yyr1924 || yy2arr1924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq1924[4] { if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy18 := *x.ActiveDeadlineSeconds - yym19 := z.EncBinary() - _ = yym19 + yy1938 := *x.ActiveDeadlineSeconds + yym1939 := z.EncBinary() + _ = yym1939 if false { } else { - r.EncodeInt(int64(yy18)) + r.EncodeInt(int64(yy1938)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq1924[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy20 := *x.ActiveDeadlineSeconds - yym21 := z.EncBinary() - _ = yym21 + yy1940 := *x.ActiveDeadlineSeconds + yym1941 := z.EncBinary() + _ = yym1941 if false { } else { - r.EncodeInt(int64(yy20)) + r.EncodeInt(int64(yy1940)) } } } } - if yyr2 || yy2arr2 { + if yyr1924 || yy2arr1924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq1924[5] { x.DNSPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq1924[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("dnsPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.DNSPolicy.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1924 || yy2arr1924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq1924[6] { if x.NodeSelector == nil { r.EncodeNil() } else { - yym26 := z.EncBinary() - _ = yym26 + yym1944 := z.EncBinary() + _ = yym1944 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -26383,15 +26383,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[6] { + if yyq1924[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NodeSelector == nil { r.EncodeNil() } else { - yym27 := z.EncBinary() - _ = yym27 + yym1945 := z.EncBinary() + _ = yym1945 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -26399,10 +26399,10 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1924 || yy2arr1924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym29 := z.EncBinary() - _ = yym29 + yym1947 := z.EncBinary() + _ = yym1947 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) @@ -26411,18 +26411,18 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceAccountName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym30 := z.EncBinary() - _ = yym30 + yym1948 := z.EncBinary() + _ = yym1948 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) } } - if yyr2 || yy2arr2 { + if yyr1924 || yy2arr1924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { - yym32 := z.EncBinary() - _ = yym32 + if yyq1924[8] { + yym1950 := z.EncBinary() + _ = yym1950 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) @@ -26431,21 +26431,21 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[8] { + if yyq1924[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym33 := z.EncBinary() - _ = yym33 + yym1951 := z.EncBinary() + _ = yym1951 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) } } } - if yyr2 || yy2arr2 { + if yyr1924 || yy2arr1924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { + if yyq1924[9] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -26455,7 +26455,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[9] { + if yyq1924[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -26466,14 +26466,14 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1924 || yy2arr1924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { + if yyq1924[10] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym38 := z.EncBinary() - _ = yym38 + yym1954 := z.EncBinary() + _ = yym1954 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -26483,15 +26483,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[10] { + if yyq1924[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym39 := z.EncBinary() - _ = yym39 + yym1955 := z.EncBinary() + _ = yym1955 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -26499,11 +26499,11 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1924 || yy2arr1924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { - yym41 := z.EncBinary() - _ = yym41 + if yyq1924[11] { + yym1957 := z.EncBinary() + _ = yym1957 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -26512,23 +26512,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[11] { + if yyq1924[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym42 := z.EncBinary() - _ = yym42 + yym1958 := z.EncBinary() + _ = yym1958 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2 || yy2arr2 { + if yyr1924 || yy2arr1924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { - yym44 := z.EncBinary() - _ = yym44 + if yyq1924[12] { + yym1960 := z.EncBinary() + _ = yym1960 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subdomain)) @@ -26537,19 +26537,19 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[12] { + if yyq1924[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subdomain")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym45 := z.EncBinary() - _ = yym45 + yym1961 := z.EncBinary() + _ = yym1961 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subdomain)) } } } - if yyr2 || yy2arr2 { + if yyr1924 || yy2arr1924 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26562,25 +26562,25 @@ func (x *PodSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1962 := z.DecBinary() + _ = yym1962 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1963 := r.ContainerType() + if yyct1963 == codecSelferValueTypeMap1234 { + yyl1963 := r.ReadMapStart() + if yyl1963 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1963, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1963 == codecSelferValueTypeArray1234 { + yyl1963 := r.ReadArrayStart() + if yyl1963 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1963, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26592,12 +26592,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1964Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1964Slc + var yyhl1964 bool = l >= 0 + for yyj1964 := 0; ; yyj1964++ { + if yyhl1964 { + if yyj1964 >= l { break } } else { @@ -26606,32 +26606,32 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1964Slc = r.DecodeBytes(yys1964Slc, true, true) + yys1964 := string(yys1964Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1964 { case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv4 := &x.Volumes - yym5 := z.DecBinary() - _ = yym5 + yyv1965 := &x.Volumes + yym1966 := z.DecBinary() + _ = yym1966 if false { } else { - h.decSliceVolume((*[]Volume)(yyv4), d) + h.decSliceVolume((*[]Volume)(yyv1965), d) } } case "containers": if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv6 := &x.Containers - yym7 := z.DecBinary() - _ = yym7 + yyv1967 := &x.Containers + yym1968 := z.DecBinary() + _ = yym1968 if false { } else { - h.decSliceContainer((*[]Container)(yyv6), d) + h.decSliceContainer((*[]Container)(yyv1967), d) } } case "restartPolicy": @@ -26649,8 +26649,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym10 := z.DecBinary() - _ = yym10 + yym1971 := z.DecBinary() + _ = yym1971 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -26665,8 +26665,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym12 := z.DecBinary() - _ = yym12 + yym1973 := z.DecBinary() + _ = yym1973 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -26682,12 +26682,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv14 := &x.NodeSelector - yym15 := z.DecBinary() - _ = yym15 + yyv1975 := &x.NodeSelector + yym1976 := z.DecBinary() + _ = yym1976 if false { } else { - z.F.DecMapStringStringX(yyv14, false, d) + z.F.DecMapStringStringX(yyv1975, false, d) } } case "serviceAccountName": @@ -26717,12 +26717,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv19 := &x.ImagePullSecrets - yym20 := z.DecBinary() - _ = yym20 + yyv1980 := &x.ImagePullSecrets + yym1981 := z.DecBinary() + _ = yym1981 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv19), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1980), d) } } case "hostname": @@ -26738,9 +26738,9 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Subdomain = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1964) + } // end switch yys1964 + } // end for yyj1964 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26748,16 +26748,16 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj23 int - var yyb23 bool - var yyhl23 bool = l >= 0 - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + var yyj1984 int + var yyb1984 bool + var yyhl1984 bool = l >= 0 + yyj1984++ + if yyhl1984 { + yyb1984 = yyj1984 > l } else { - yyb23 = r.CheckBreak() + yyb1984 = r.CheckBreak() } - if yyb23 { + if yyb1984 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26765,21 +26765,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv24 := &x.Volumes - yym25 := z.DecBinary() - _ = yym25 + yyv1985 := &x.Volumes + yym1986 := z.DecBinary() + _ = yym1986 if false { } else { - h.decSliceVolume((*[]Volume)(yyv24), d) + h.decSliceVolume((*[]Volume)(yyv1985), d) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1984++ + if yyhl1984 { + yyb1984 = yyj1984 > l } else { - yyb23 = r.CheckBreak() + yyb1984 = r.CheckBreak() } - if yyb23 { + if yyb1984 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26787,21 +26787,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv26 := &x.Containers - yym27 := z.DecBinary() - _ = yym27 + yyv1987 := &x.Containers + yym1988 := z.DecBinary() + _ = yym1988 if false { } else { - h.decSliceContainer((*[]Container)(yyv26), d) + h.decSliceContainer((*[]Container)(yyv1987), d) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1984++ + if yyhl1984 { + yyb1984 = yyj1984 > l } else { - yyb23 = r.CheckBreak() + yyb1984 = r.CheckBreak() } - if yyb23 { + if yyb1984 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26811,13 +26811,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.RestartPolicy = RestartPolicy(r.DecodeString()) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1984++ + if yyhl1984 { + yyb1984 = yyj1984 > l } else { - yyb23 = r.CheckBreak() + yyb1984 = r.CheckBreak() } - if yyb23 { + if yyb1984 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26830,20 +26830,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym30 := z.DecBinary() - _ = yym30 + yym1991 := z.DecBinary() + _ = yym1991 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1984++ + if yyhl1984 { + yyb1984 = yyj1984 > l } else { - yyb23 = r.CheckBreak() + yyb1984 = r.CheckBreak() } - if yyb23 { + if yyb1984 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26856,20 +26856,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym32 := z.DecBinary() - _ = yym32 + yym1993 := z.DecBinary() + _ = yym1993 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1984++ + if yyhl1984 { + yyb1984 = yyj1984 > l } else { - yyb23 = r.CheckBreak() + yyb1984 = r.CheckBreak() } - if yyb23 { + if yyb1984 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26879,13 +26879,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.DNSPolicy = DNSPolicy(r.DecodeString()) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1984++ + if yyhl1984 { + yyb1984 = yyj1984 > l } else { - yyb23 = r.CheckBreak() + yyb1984 = r.CheckBreak() } - if yyb23 { + if yyb1984 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26893,21 +26893,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv34 := &x.NodeSelector - yym35 := z.DecBinary() - _ = yym35 + yyv1995 := &x.NodeSelector + yym1996 := z.DecBinary() + _ = yym1996 if false { } else { - z.F.DecMapStringStringX(yyv34, false, d) + z.F.DecMapStringStringX(yyv1995, false, d) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1984++ + if yyhl1984 { + yyb1984 = yyj1984 > l } else { - yyb23 = r.CheckBreak() + yyb1984 = r.CheckBreak() } - if yyb23 { + if yyb1984 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26917,13 +26917,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ServiceAccountName = string(r.DecodeString()) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1984++ + if yyhl1984 { + yyb1984 = yyj1984 > l } else { - yyb23 = r.CheckBreak() + yyb1984 = r.CheckBreak() } - if yyb23 { + if yyb1984 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26933,13 +26933,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.NodeName = string(r.DecodeString()) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1984++ + if yyhl1984 { + yyb1984 = yyj1984 > l } else { - yyb23 = r.CheckBreak() + yyb1984 = r.CheckBreak() } - if yyb23 { + if yyb1984 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26954,13 +26954,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1984++ + if yyhl1984 { + yyb1984 = yyj1984 > l } else { - yyb23 = r.CheckBreak() + yyb1984 = r.CheckBreak() } - if yyb23 { + if yyb1984 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26968,21 +26968,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv39 := &x.ImagePullSecrets - yym40 := z.DecBinary() - _ = yym40 + yyv2000 := &x.ImagePullSecrets + yym2001 := z.DecBinary() + _ = yym2001 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv39), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2000), d) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1984++ + if yyhl1984 { + yyb1984 = yyj1984 > l } else { - yyb23 = r.CheckBreak() + yyb1984 = r.CheckBreak() } - if yyb23 { + if yyb1984 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26992,13 +26992,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Hostname = string(r.DecodeString()) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1984++ + if yyhl1984 { + yyb1984 = yyj1984 > l } else { - yyb23 = r.CheckBreak() + yyb1984 = r.CheckBreak() } - if yyb23 { + if yyb1984 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27009,17 +27009,17 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Subdomain = string(r.DecodeString()) } for { - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1984++ + if yyhl1984 { + yyb1984 = yyj1984 > l } else { - yyb23 = r.CheckBreak() + yyb1984 = r.CheckBreak() } - if yyb23 { + if yyb1984 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj23-1, "") + z.DecStructFieldNotFound(yyj1984-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27031,42 +27031,42 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2004 := z.EncBinary() + _ = yym2004 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [8]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.HostNetwork != false - yyq2[1] = x.HostPID != false - yyq2[2] = x.HostIPC != false - yyq2[3] = x.SELinuxOptions != nil - yyq2[4] = x.RunAsUser != nil - yyq2[5] = x.RunAsNonRoot != nil - yyq2[6] = len(x.SupplementalGroups) != 0 - yyq2[7] = x.FSGroup != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep2005 := !z.EncBinary() + yy2arr2005 := z.EncBasicHandle().StructToArray + var yyq2005 [8]bool + _, _, _ = yysep2005, yyq2005, yy2arr2005 + const yyr2005 bool = false + yyq2005[0] = x.HostNetwork != false + yyq2005[1] = x.HostPID != false + yyq2005[2] = x.HostIPC != false + yyq2005[3] = x.SELinuxOptions != nil + yyq2005[4] = x.RunAsUser != nil + yyq2005[5] = x.RunAsNonRoot != nil + yyq2005[6] = len(x.SupplementalGroups) != 0 + yyq2005[7] = x.FSGroup != nil + var yynn2005 int + if yyr2005 || yy2arr2005 { r.EncodeArrayStart(8) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2005 = 0 + for _, b := range yyq2005 { if b { - yynn2++ + yynn2005++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2005) + yynn2005 = 0 } - if yyr2 || yy2arr2 { + if yyr2005 || yy2arr2005 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq2005[0] { + yym2007 := z.EncBinary() + _ = yym2007 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -27075,23 +27075,23 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[0] { + if yyq2005[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2008 := z.EncBinary() + _ = yym2008 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr2 || yy2arr2 { + if yyr2005 || yy2arr2005 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq2005[1] { + yym2010 := z.EncBinary() + _ = yym2010 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -27100,23 +27100,23 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[1] { + if yyq2005[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2011 := z.EncBinary() + _ = yym2011 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr2 || yy2arr2 { + if yyr2005 || yy2arr2005 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq2005[2] { + yym2013 := z.EncBinary() + _ = yym2013 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -27125,21 +27125,21 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[2] { + if yyq2005[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym2014 := z.EncBinary() + _ = yym2014 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr2 || yy2arr2 { + if yyr2005 || yy2arr2005 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq2005[3] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -27149,7 +27149,7 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq2005[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -27160,84 +27160,84 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2005 || yy2arr2005 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq2005[4] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy16 := *x.RunAsUser - yym17 := z.EncBinary() - _ = yym17 + yy2017 := *x.RunAsUser + yym2018 := z.EncBinary() + _ = yym2018 if false { } else { - r.EncodeInt(int64(yy16)) + r.EncodeInt(int64(yy2017)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq2005[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy18 := *x.RunAsUser - yym19 := z.EncBinary() - _ = yym19 + yy2019 := *x.RunAsUser + yym2020 := z.EncBinary() + _ = yym2020 if false { } else { - r.EncodeInt(int64(yy18)) + r.EncodeInt(int64(yy2019)) } } } } - if yyr2 || yy2arr2 { + if yyr2005 || yy2arr2005 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq2005[5] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy21 := *x.RunAsNonRoot - yym22 := z.EncBinary() - _ = yym22 + yy2022 := *x.RunAsNonRoot + yym2023 := z.EncBinary() + _ = yym2023 if false { } else { - r.EncodeBool(bool(yy21)) + r.EncodeBool(bool(yy2022)) } } } else { r.EncodeNil() } } else { - if yyq2[5] { + if yyq2005[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy23 := *x.RunAsNonRoot - yym24 := z.EncBinary() - _ = yym24 + yy2024 := *x.RunAsNonRoot + yym2025 := z.EncBinary() + _ = yym2025 if false { } else { - r.EncodeBool(bool(yy23)) + r.EncodeBool(bool(yy2024)) } } } } - if yyr2 || yy2arr2 { + if yyr2005 || yy2arr2005 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq2005[6] { if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym26 := z.EncBinary() - _ = yym26 + yym2027 := z.EncBinary() + _ = yym2027 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -27247,15 +27247,15 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[6] { + if yyq2005[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym27 := z.EncBinary() - _ = yym27 + yym2028 := z.EncBinary() + _ = yym2028 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -27263,42 +27263,42 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2005 || yy2arr2005 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq2005[7] { if x.FSGroup == nil { r.EncodeNil() } else { - yy29 := *x.FSGroup - yym30 := z.EncBinary() - _ = yym30 + yy2030 := *x.FSGroup + yym2031 := z.EncBinary() + _ = yym2031 if false { } else { - r.EncodeInt(int64(yy29)) + r.EncodeInt(int64(yy2030)) } } } else { r.EncodeNil() } } else { - if yyq2[7] { + if yyq2005[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.FSGroup == nil { r.EncodeNil() } else { - yy31 := *x.FSGroup - yym32 := z.EncBinary() - _ = yym32 + yy2032 := *x.FSGroup + yym2033 := z.EncBinary() + _ = yym2033 if false { } else { - r.EncodeInt(int64(yy31)) + r.EncodeInt(int64(yy2032)) } } } } - if yyr2 || yy2arr2 { + if yyr2005 || yy2arr2005 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27311,25 +27311,25 @@ func (x *PodSecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2034 := z.DecBinary() + _ = yym2034 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2035 := r.ContainerType() + if yyct2035 == codecSelferValueTypeMap1234 { + yyl2035 := r.ReadMapStart() + if yyl2035 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2035, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2035 == codecSelferValueTypeArray1234 { + yyl2035 := r.ReadArrayStart() + if yyl2035 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2035, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27341,12 +27341,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2036Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2036Slc + var yyhl2036 bool = l >= 0 + for yyj2036 := 0; ; yyj2036++ { + if yyhl2036 { + if yyj2036 >= l { break } } else { @@ -27355,10 +27355,10 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2036Slc = r.DecodeBytes(yys2036Slc, true, true) + yys2036 := string(yys2036Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2036 { case "hostNetwork": if r.TryDecodeAsNil() { x.HostNetwork = false @@ -27397,8 +27397,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym9 := z.DecBinary() - _ = yym9 + yym2042 := z.DecBinary() + _ = yym2042 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -27413,8 +27413,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym11 := z.DecBinary() - _ = yym11 + yym2044 := z.DecBinary() + _ = yym2044 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -27424,12 +27424,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv12 := &x.SupplementalGroups - yym13 := z.DecBinary() - _ = yym13 + yyv2045 := &x.SupplementalGroups + yym2046 := z.DecBinary() + _ = yym2046 if false { } else { - z.F.DecSliceInt64X(yyv12, false, d) + z.F.DecSliceInt64X(yyv2045, false, d) } } case "fsGroup": @@ -27441,17 +27441,17 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.FSGroup == nil { x.FSGroup = new(int64) } - yym15 := z.DecBinary() - _ = yym15 + yym2048 := z.DecBinary() + _ = yym2048 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2036) + } // end switch yys2036 + } // end for yyj2036 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27459,16 +27459,16 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj16 int - var yyb16 bool - var yyhl16 bool = l >= 0 - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + var yyj2049 int + var yyb2049 bool + var yyhl2049 bool = l >= 0 + yyj2049++ + if yyhl2049 { + yyb2049 = yyj2049 > l } else { - yyb16 = r.CheckBreak() + yyb2049 = r.CheckBreak() } - if yyb16 { + if yyb2049 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27478,13 +27478,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2049++ + if yyhl2049 { + yyb2049 = yyj2049 > l } else { - yyb16 = r.CheckBreak() + yyb2049 = r.CheckBreak() } - if yyb16 { + if yyb2049 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27494,13 +27494,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.HostPID = bool(r.DecodeBool()) } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2049++ + if yyhl2049 { + yyb2049 = yyj2049 > l } else { - yyb16 = r.CheckBreak() + yyb2049 = r.CheckBreak() } - if yyb16 { + if yyb2049 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27510,13 +27510,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.HostIPC = bool(r.DecodeBool()) } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2049++ + if yyhl2049 { + yyb2049 = yyj2049 > l } else { - yyb16 = r.CheckBreak() + yyb2049 = r.CheckBreak() } - if yyb16 { + if yyb2049 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27531,13 +27531,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2049++ + if yyhl2049 { + yyb2049 = yyj2049 > l } else { - yyb16 = r.CheckBreak() + yyb2049 = r.CheckBreak() } - if yyb16 { + if yyb2049 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27550,20 +27550,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym22 := z.DecBinary() - _ = yym22 + yym2055 := z.DecBinary() + _ = yym2055 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2049++ + if yyhl2049 { + yyb2049 = yyj2049 > l } else { - yyb16 = r.CheckBreak() + yyb2049 = r.CheckBreak() } - if yyb16 { + if yyb2049 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27576,20 +27576,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym24 := z.DecBinary() - _ = yym24 + yym2057 := z.DecBinary() + _ = yym2057 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2049++ + if yyhl2049 { + yyb2049 = yyj2049 > l } else { - yyb16 = r.CheckBreak() + yyb2049 = r.CheckBreak() } - if yyb16 { + if yyb2049 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27597,21 +27597,21 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv25 := &x.SupplementalGroups - yym26 := z.DecBinary() - _ = yym26 + yyv2058 := &x.SupplementalGroups + yym2059 := z.DecBinary() + _ = yym2059 if false { } else { - z.F.DecSliceInt64X(yyv25, false, d) + z.F.DecSliceInt64X(yyv2058, false, d) } } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2049++ + if yyhl2049 { + yyb2049 = yyj2049 > l } else { - yyb16 = r.CheckBreak() + yyb2049 = r.CheckBreak() } - if yyb16 { + if yyb2049 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27624,25 +27624,25 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.FSGroup == nil { x.FSGroup = new(int64) } - yym28 := z.DecBinary() - _ = yym28 + yym2061 := z.DecBinary() + _ = yym2061 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } for { - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2049++ + if yyhl2049 { + yyb2049 = yyj2049 > l } else { - yyb16 = r.CheckBreak() + yyb2049 = r.CheckBreak() } - if yyb16 { + if yyb2049 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj16-1, "") + z.DecStructFieldNotFound(yyj2049-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27654,60 +27654,60 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2062 := z.EncBinary() + _ = yym2062 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [8]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Phase != "" - yyq2[1] = len(x.Conditions) != 0 - yyq2[2] = x.Message != "" - yyq2[3] = x.Reason != "" - yyq2[4] = x.HostIP != "" - yyq2[5] = x.PodIP != "" - yyq2[6] = x.StartTime != nil - yyq2[7] = len(x.ContainerStatuses) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2063 := !z.EncBinary() + yy2arr2063 := z.EncBasicHandle().StructToArray + var yyq2063 [8]bool + _, _, _ = yysep2063, yyq2063, yy2arr2063 + const yyr2063 bool = false + yyq2063[0] = x.Phase != "" + yyq2063[1] = len(x.Conditions) != 0 + yyq2063[2] = x.Message != "" + yyq2063[3] = x.Reason != "" + yyq2063[4] = x.HostIP != "" + yyq2063[5] = x.PodIP != "" + yyq2063[6] = x.StartTime != nil + yyq2063[7] = len(x.ContainerStatuses) != 0 + var yynn2063 int + if yyr2063 || yy2arr2063 { r.EncodeArrayStart(8) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2063 = 0 + for _, b := range yyq2063 { if b { - yynn2++ + yynn2063++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2063) + yynn2063 = 0 } - if yyr2 || yy2arr2 { + if yyr2063 || yy2arr2063 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq2063[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq2063[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2063 || yy2arr2063 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq2063[1] { if x.Conditions == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym2066 := z.EncBinary() + _ = yym2066 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -27717,15 +27717,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq2063[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym2067 := z.EncBinary() + _ = yym2067 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -27733,11 +27733,11 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2063 || yy2arr2063 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq2063[2] { + yym2069 := z.EncBinary() + _ = yym2069 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -27746,23 +27746,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq2063[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym2070 := z.EncBinary() + _ = yym2070 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr2063 || yy2arr2063 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq2063[3] { + yym2072 := z.EncBinary() + _ = yym2072 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -27771,23 +27771,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2063[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym2073 := z.EncBinary() + _ = yym2073 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr2063 || yy2arr2063 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq2063[4] { + yym2075 := z.EncBinary() + _ = yym2075 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -27796,23 +27796,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq2063[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym2076 := z.EncBinary() + _ = yym2076 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr2 || yy2arr2 { + if yyr2063 || yy2arr2063 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq2063[5] { + yym2078 := z.EncBinary() + _ = yym2078 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) @@ -27821,31 +27821,31 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq2063[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym2079 := z.EncBinary() + _ = yym2079 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) } } } - if yyr2 || yy2arr2 { + if yyr2063 || yy2arr2063 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq2063[6] { if x.StartTime == nil { r.EncodeNil() } else { - yym22 := z.EncBinary() - _ = yym22 + yym2081 := z.EncBinary() + _ = yym2081 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym22 { + } else if yym2081 { z.EncBinaryMarshal(x.StartTime) - } else if !yym22 && z.IsJSONHandle() { + } else if !yym2081 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -27855,20 +27855,20 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[6] { + if yyq2063[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym23 := z.EncBinary() - _ = yym23 + yym2082 := z.EncBinary() + _ = yym2082 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym23 { + } else if yym2082 { z.EncBinaryMarshal(x.StartTime) - } else if !yym23 && z.IsJSONHandle() { + } else if !yym2082 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -27876,14 +27876,14 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2063 || yy2arr2063 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq2063[7] { if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym25 := z.EncBinary() - _ = yym25 + yym2084 := z.EncBinary() + _ = yym2084 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -27893,15 +27893,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[7] { + if yyq2063[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerStatuses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym26 := z.EncBinary() - _ = yym26 + yym2085 := z.EncBinary() + _ = yym2085 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -27909,7 +27909,7 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2063 || yy2arr2063 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27922,25 +27922,25 @@ func (x *PodStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2086 := z.DecBinary() + _ = yym2086 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2087 := r.ContainerType() + if yyct2087 == codecSelferValueTypeMap1234 { + yyl2087 := r.ReadMapStart() + if yyl2087 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2087, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2087 == codecSelferValueTypeArray1234 { + yyl2087 := r.ReadArrayStart() + if yyl2087 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2087, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27952,12 +27952,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2088Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2088Slc + var yyhl2088 bool = l >= 0 + for yyj2088 := 0; ; yyj2088++ { + if yyhl2088 { + if yyj2088 >= l { break } } else { @@ -27966,10 +27966,10 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2088Slc = r.DecodeBytes(yys2088Slc, true, true) + yys2088 := string(yys2088Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2088 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -27980,12 +27980,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv5 := &x.Conditions - yym6 := z.DecBinary() - _ = yym6 + yyv2090 := &x.Conditions + yym2091 := z.DecBinary() + _ = yym2091 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv5), d) + h.decSlicePodCondition((*[]PodCondition)(yyv2090), d) } } case "message": @@ -28021,13 +28021,13 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_unversioned.Time) } - yym12 := z.DecBinary() - _ = yym12 + yym2097 := z.DecBinary() + _ = yym2097 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym12 { + } else if yym2097 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym12 && z.IsJSONHandle() { + } else if !yym2097 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -28037,18 +28037,18 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv13 := &x.ContainerStatuses - yym14 := z.DecBinary() - _ = yym14 + yyv2098 := &x.ContainerStatuses + yym2099 := z.DecBinary() + _ = yym2099 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv13), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv2098), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2088) + } // end switch yys2088 + } // end for yyj2088 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28056,16 +28056,16 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj15 int - var yyb15 bool - var yyhl15 bool = l >= 0 - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + var yyj2100 int + var yyb2100 bool + var yyhl2100 bool = l >= 0 + yyj2100++ + if yyhl2100 { + yyb2100 = yyj2100 > l } else { - yyb15 = r.CheckBreak() + yyb2100 = r.CheckBreak() } - if yyb15 { + if yyb2100 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28075,13 +28075,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = PodPhase(r.DecodeString()) } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2100++ + if yyhl2100 { + yyb2100 = yyj2100 > l } else { - yyb15 = r.CheckBreak() + yyb2100 = r.CheckBreak() } - if yyb15 { + if yyb2100 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28089,21 +28089,21 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv17 := &x.Conditions - yym18 := z.DecBinary() - _ = yym18 + yyv2102 := &x.Conditions + yym2103 := z.DecBinary() + _ = yym2103 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv17), d) + h.decSlicePodCondition((*[]PodCondition)(yyv2102), d) } } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2100++ + if yyhl2100 { + yyb2100 = yyj2100 > l } else { - yyb15 = r.CheckBreak() + yyb2100 = r.CheckBreak() } - if yyb15 { + if yyb2100 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28113,13 +28113,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2100++ + if yyhl2100 { + yyb2100 = yyj2100 > l } else { - yyb15 = r.CheckBreak() + yyb2100 = r.CheckBreak() } - if yyb15 { + if yyb2100 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28129,13 +28129,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2100++ + if yyhl2100 { + yyb2100 = yyj2100 > l } else { - yyb15 = r.CheckBreak() + yyb2100 = r.CheckBreak() } - if yyb15 { + if yyb2100 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28145,13 +28145,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostIP = string(r.DecodeString()) } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2100++ + if yyhl2100 { + yyb2100 = yyj2100 > l } else { - yyb15 = r.CheckBreak() + yyb2100 = r.CheckBreak() } - if yyb15 { + if yyb2100 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28161,13 +28161,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodIP = string(r.DecodeString()) } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2100++ + if yyhl2100 { + yyb2100 = yyj2100 > l } else { - yyb15 = r.CheckBreak() + yyb2100 = r.CheckBreak() } - if yyb15 { + if yyb2100 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28180,25 +28180,25 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_unversioned.Time) } - yym24 := z.DecBinary() - _ = yym24 + yym2109 := z.DecBinary() + _ = yym2109 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym24 { + } else if yym2109 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym24 && z.IsJSONHandle() { + } else if !yym2109 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2100++ + if yyhl2100 { + yyb2100 = yyj2100 > l } else { - yyb15 = r.CheckBreak() + yyb2100 = r.CheckBreak() } - if yyb15 { + if yyb2100 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28206,26 +28206,26 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv25 := &x.ContainerStatuses - yym26 := z.DecBinary() - _ = yym26 + yyv2110 := &x.ContainerStatuses + yym2111 := z.DecBinary() + _ = yym2111 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv25), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv2110), d) } } for { - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2100++ + if yyhl2100 { + yyb2100 = yyj2100 > l } else { - yyb15 = r.CheckBreak() + yyb2100 = r.CheckBreak() } - if yyb15 { + if yyb2100 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj15-1, "") + z.DecStructFieldNotFound(yyj2100-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28237,72 +28237,38 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2112 := z.EncBinary() + _ = yym2112 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2113 := !z.EncBinary() + yy2arr2113 := z.EncBasicHandle().StructToArray + var yyq2113 [4]bool + _, _, _ = yysep2113, yyq2113, yy2arr2113 + const yyr2113 bool = false + yyq2113[0] = x.Kind != "" + yyq2113[1] = x.APIVersion != "" + yyq2113[2] = true + yyq2113[3] = true + var yynn2113 int + if yyr2113 || yy2arr2113 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2113 = 0 + for _, b := range yyq2113 { if b { - yynn2++ + yynn2113++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2113) + yynn2113 = 0 } - if yyr2 || yy2arr2 { + if yyr2113 || yy2arr2113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Status - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Status - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq2113[0] { + yym2115 := z.EncBinary() + _ = yym2115 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -28311,23 +28277,23 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq2113[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym2116 := z.EncBinary() + _ = yym2116 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr2113 || yy2arr2113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq2113[1] { + yym2118 := z.EncBinary() + _ = yym2118 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -28336,19 +28302,53 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2113[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym2119 := z.EncBinary() + _ = yym2119 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr2113 || yy2arr2113 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2113[2] { + yy2121 := &x.ObjectMeta + yy2121.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2113[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2122 := &x.ObjectMeta + yy2122.CodecEncodeSelf(e) + } + } + if yyr2113 || yy2arr2113 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2113[3] { + yy2124 := &x.Status + yy2124.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2113[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2125 := &x.Status + yy2125.CodecEncodeSelf(e) + } + } + if yyr2113 || yy2arr2113 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28361,25 +28361,25 @@ func (x *PodStatusResult) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2126 := z.DecBinary() + _ = yym2126 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2127 := r.ContainerType() + if yyct2127 == codecSelferValueTypeMap1234 { + yyl2127 := r.ReadMapStart() + if yyl2127 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2127, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2127 == codecSelferValueTypeArray1234 { + yyl2127 := r.ReadArrayStart() + if yyl2127 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2127, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -28391,12 +28391,12 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2128Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2128Slc + var yyhl2128 bool = l >= 0 + for yyj2128 := 0; ; yyj2128++ { + if yyhl2128 { + if yyj2128 >= l { break } } else { @@ -28405,24 +28405,10 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2128Slc = r.DecodeBytes(yys2128Slc, true, true) + yys2128 := string(yys2128Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = PodStatus{} - } else { - yyv5 := &x.Status - yyv5.CodecDecodeSelf(d) - } + switch yys2128 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -28435,10 +28421,24 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2131 := &x.ObjectMeta + yyv2131.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = PodStatus{} + } else { + yyv2132 := &x.Status + yyv2132.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2128) + } // end switch yys2128 + } // end for yyj2128 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28446,50 +28446,16 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj2133 int + var yyb2133 bool + var yyhl2133 bool = l >= 0 + yyj2133++ + if yyhl2133 { + yyb2133 = yyj2133 > l } else { - yyb8 = r.CheckBreak() + yyb2133 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv9 := &x.ObjectMeta - yyv9.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = PodStatus{} - } else { - yyv10 := &x.Status - yyv10.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb2133 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28499,13 +28465,13 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2133++ + if yyhl2133 { + yyb2133 = yyj2133 > l } else { - yyb8 = r.CheckBreak() + yyb2133 = r.CheckBreak() } - if yyb8 { + if yyb2133 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28515,18 +28481,52 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + yyj2133++ + if yyhl2133 { + yyb2133 = yyj2133 > l + } else { + yyb2133 = r.CheckBreak() + } + if yyb2133 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2136 := &x.ObjectMeta + yyv2136.CodecDecodeSelf(d) + } + yyj2133++ + if yyhl2133 { + yyb2133 = yyj2133 > l + } else { + yyb2133 = r.CheckBreak() + } + if yyb2133 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = PodStatus{} + } else { + yyv2137 := &x.Status + yyv2137.CodecDecodeSelf(d) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2133++ + if yyhl2133 { + yyb2133 = yyj2133 > l } else { - yyb8 = r.CheckBreak() + yyb2133 = r.CheckBreak() } - if yyb8 { + if yyb2133 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj2133-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28538,90 +28538,39 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2138 := z.EncBinary() + _ = yym2138 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2139 := !z.EncBinary() + yy2arr2139 := z.EncBasicHandle().StructToArray + var yyq2139 [5]bool + _, _, _ = yysep2139, yyq2139, yy2arr2139 + const yyr2139 bool = false + yyq2139[0] = x.Kind != "" + yyq2139[1] = x.APIVersion != "" + yyq2139[2] = true + yyq2139[3] = true + yyq2139[4] = true + var yynn2139 int + if yyr2139 || yy2arr2139 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2139 = 0 + for _, b := range yyq2139 { if b { - yynn2++ + yynn2139++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2139) + yynn2139 = 0 } - if yyr2 || yy2arr2 { + if yyr2139 || yy2arr2139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq2139[0] { + yym2141 := z.EncBinary() + _ = yym2141 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -28630,23 +28579,23 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2139[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym2142 := z.EncBinary() + _ = yym2142 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr2139 || yy2arr2139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq2139[1] { + yym2144 := z.EncBinary() + _ = yym2144 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -28655,19 +28604,70 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq2139[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym2145 := z.EncBinary() + _ = yym2145 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr2139 || yy2arr2139 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2139[2] { + yy2147 := &x.ObjectMeta + yy2147.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2139[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2148 := &x.ObjectMeta + yy2148.CodecEncodeSelf(e) + } + } + if yyr2139 || yy2arr2139 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2139[3] { + yy2150 := &x.Spec + yy2150.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2139[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2151 := &x.Spec + yy2151.CodecEncodeSelf(e) + } + } + if yyr2139 || yy2arr2139 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2139[4] { + yy2153 := &x.Status + yy2153.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2139[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2154 := &x.Status + yy2154.CodecEncodeSelf(e) + } + } + if yyr2139 || yy2arr2139 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28680,25 +28680,25 @@ func (x *Pod) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2155 := z.DecBinary() + _ = yym2155 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2156 := r.ContainerType() + if yyct2156 == codecSelferValueTypeMap1234 { + yyl2156 := r.ReadMapStart() + if yyl2156 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2156, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2156 == codecSelferValueTypeArray1234 { + yyl2156 := r.ReadArrayStart() + if yyl2156 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2156, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -28710,12 +28710,12 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2157Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2157Slc + var yyhl2157 bool = l >= 0 + for yyj2157 := 0; ; yyj2157++ { + if yyhl2157 { + if yyj2157 >= l { break } } else { @@ -28724,31 +28724,10 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2157Slc = r.DecodeBytes(yys2157Slc, true, true) + yys2157 := string(yys2157Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = PodSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = PodStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys2157 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -28761,10 +28740,31 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2160 := &x.ObjectMeta + yyv2160.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = PodSpec{} + } else { + yyv2161 := &x.Spec + yyv2161.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = PodStatus{} + } else { + yyv2162 := &x.Status + yyv2162.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2157) + } // end switch yys2157 + } // end for yyj2157 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28772,67 +28772,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj2163 int + var yyb2163 bool + var yyhl2163 bool = l >= 0 + yyj2163++ + if yyhl2163 { + yyb2163 = yyj2163 > l } else { - yyb9 = r.CheckBreak() + yyb2163 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = PodSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = PodStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb2163 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28842,13 +28791,13 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2163++ + if yyhl2163 { + yyb2163 = yyj2163 > l } else { - yyb9 = r.CheckBreak() + yyb2163 = r.CheckBreak() } - if yyb9 { + if yyb2163 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28858,18 +28807,69 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj2163++ + if yyhl2163 { + yyb2163 = yyj2163 > l + } else { + yyb2163 = r.CheckBreak() + } + if yyb2163 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2166 := &x.ObjectMeta + yyv2166.CodecDecodeSelf(d) + } + yyj2163++ + if yyhl2163 { + yyb2163 = yyj2163 > l + } else { + yyb2163 = r.CheckBreak() + } + if yyb2163 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = PodSpec{} + } else { + yyv2167 := &x.Spec + yyv2167.CodecDecodeSelf(d) + } + yyj2163++ + if yyhl2163 { + yyb2163 = yyj2163 > l + } else { + yyb2163 = r.CheckBreak() + } + if yyb2163 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = PodStatus{} + } else { + yyv2168 := &x.Status + yyv2168.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2163++ + if yyhl2163 { + yyb2163 = yyj2163 > l } else { - yyb9 = r.CheckBreak() + yyb2163 = r.CheckBreak() } - if yyb9 { + if yyb2163 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj2163-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28881,66 +28881,66 @@ func (x *PodTemplateSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2169 := z.EncBinary() + _ = yym2169 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep2170 := !z.EncBinary() + yy2arr2170 := z.EncBasicHandle().StructToArray + var yyq2170 [2]bool + _, _, _ = yysep2170, yyq2170, yy2arr2170 + const yyr2170 bool = false + yyq2170[0] = true + yyq2170[1] = true + var yynn2170 int + if yyr2170 || yy2arr2170 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2170 = 0 + for _, b := range yyq2170 { if b { - yynn2++ + yynn2170++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2170) + yynn2170 = 0 } - if yyr2 || yy2arr2 { + if yyr2170 || yy2arr2170 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq2170[0] { + yy2172 := &x.ObjectMeta + yy2172.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2170[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy2173 := &x.ObjectMeta + yy2173.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2170 || yy2arr2170 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) + if yyq2170[1] { + yy2175 := &x.Spec + yy2175.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq2170[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) + yy2176 := &x.Spec + yy2176.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2170 || yy2arr2170 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28953,25 +28953,25 @@ func (x *PodTemplateSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2177 := z.DecBinary() + _ = yym2177 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2178 := r.ContainerType() + if yyct2178 == codecSelferValueTypeMap1234 { + yyl2178 := r.ReadMapStart() + if yyl2178 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2178, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2178 == codecSelferValueTypeArray1234 { + yyl2178 := r.ReadArrayStart() + if yyl2178 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2178, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -28983,12 +28983,12 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2179Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2179Slc + var yyhl2179 bool = l >= 0 + for yyj2179 := 0; ; yyj2179++ { + if yyhl2179 { + if yyj2179 >= l { break } } else { @@ -28997,28 +28997,28 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2179Slc = r.DecodeBytes(yys2179Slc, true, true) + yys2179 := string(yys2179Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2179 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) + yyv2180 := &x.ObjectMeta + yyv2180.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) + yyv2181 := &x.Spec + yyv2181.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2179) + } // end switch yys2179 + } // end for yyj2179 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29026,16 +29026,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj2182 int + var yyb2182 bool + var yyhl2182 bool = l >= 0 + yyj2182++ + if yyhl2182 { + yyb2182 = yyj2182 > l } else { - yyb6 = r.CheckBreak() + yyb2182 = r.CheckBreak() } - if yyb6 { + if yyb2182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29043,16 +29043,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv7 := &x.ObjectMeta - yyv7.CodecDecodeSelf(d) + yyv2183 := &x.ObjectMeta + yyv2183.CodecDecodeSelf(d) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2182++ + if yyhl2182 { + yyb2182 = yyj2182 > l } else { - yyb6 = r.CheckBreak() + yyb2182 = r.CheckBreak() } - if yyb6 { + if yyb2182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29060,21 +29060,21 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv8 := &x.Spec - yyv8.CodecDecodeSelf(d) + yyv2184 := &x.Spec + yyv2184.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2182++ + if yyhl2182 { + yyb2182 = yyj2182 > l } else { - yyb6 = r.CheckBreak() + yyb2182 = r.CheckBreak() } - if yyb6 { + if yyb2182 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj2182-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29086,72 +29086,38 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2185 := z.EncBinary() + _ = yym2185 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2186 := !z.EncBinary() + yy2arr2186 := z.EncBasicHandle().StructToArray + var yyq2186 [4]bool + _, _, _ = yysep2186, yyq2186, yy2arr2186 + const yyr2186 bool = false + yyq2186[0] = x.Kind != "" + yyq2186[1] = x.APIVersion != "" + yyq2186[2] = true + yyq2186[3] = true + var yynn2186 int + if yyr2186 || yy2arr2186 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2186 = 0 + for _, b := range yyq2186 { if b { - yynn2++ + yynn2186++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2186) + yynn2186 = 0 } - if yyr2 || yy2arr2 { + if yyr2186 || yy2arr2186 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Template - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("template")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Template - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq2186[0] { + yym2188 := z.EncBinary() + _ = yym2188 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -29160,23 +29126,23 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq2186[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym2189 := z.EncBinary() + _ = yym2189 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr2186 || yy2arr2186 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq2186[1] { + yym2191 := z.EncBinary() + _ = yym2191 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -29185,19 +29151,53 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2186[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym2192 := z.EncBinary() + _ = yym2192 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr2186 || yy2arr2186 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2186[2] { + yy2194 := &x.ObjectMeta + yy2194.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2186[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2195 := &x.ObjectMeta + yy2195.CodecEncodeSelf(e) + } + } + if yyr2186 || yy2arr2186 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2186[3] { + yy2197 := &x.Template + yy2197.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2186[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("template")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2198 := &x.Template + yy2198.CodecEncodeSelf(e) + } + } + if yyr2186 || yy2arr2186 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29210,25 +29210,25 @@ func (x *PodTemplate) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2199 := z.DecBinary() + _ = yym2199 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2200 := r.ContainerType() + if yyct2200 == codecSelferValueTypeMap1234 { + yyl2200 := r.ReadMapStart() + if yyl2200 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2200, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2200 == codecSelferValueTypeArray1234 { + yyl2200 := r.ReadArrayStart() + if yyl2200 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2200, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29240,12 +29240,12 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2201Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2201Slc + var yyhl2201 bool = l >= 0 + for yyj2201 := 0; ; yyj2201++ { + if yyhl2201 { + if yyj2201 >= l { break } } else { @@ -29254,24 +29254,10 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2201Slc = r.DecodeBytes(yys2201Slc, true, true) + yys2201 := string(yys2201Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "template": - if r.TryDecodeAsNil() { - x.Template = PodTemplateSpec{} - } else { - yyv5 := &x.Template - yyv5.CodecDecodeSelf(d) - } + switch yys2201 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -29284,10 +29270,24 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2204 := &x.ObjectMeta + yyv2204.CodecDecodeSelf(d) + } + case "template": + if r.TryDecodeAsNil() { + x.Template = PodTemplateSpec{} + } else { + yyv2205 := &x.Template + yyv2205.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2201) + } // end switch yys2201 + } // end for yyj2201 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29295,50 +29295,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj2206 int + var yyb2206 bool + var yyhl2206 bool = l >= 0 + yyj2206++ + if yyhl2206 { + yyb2206 = yyj2206 > l } else { - yyb8 = r.CheckBreak() + yyb2206 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv9 := &x.ObjectMeta - yyv9.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Template = PodTemplateSpec{} - } else { - yyv10 := &x.Template - yyv10.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb2206 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29348,13 +29314,13 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2206++ + if yyhl2206 { + yyb2206 = yyj2206 > l } else { - yyb8 = r.CheckBreak() + yyb2206 = r.CheckBreak() } - if yyb8 { + if yyb2206 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29364,18 +29330,52 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj2206++ + if yyhl2206 { + yyb2206 = yyj2206 > l + } else { + yyb2206 = r.CheckBreak() + } + if yyb2206 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2209 := &x.ObjectMeta + yyv2209.CodecDecodeSelf(d) + } + yyj2206++ + if yyhl2206 { + yyb2206 = yyj2206 > l + } else { + yyb2206 = r.CheckBreak() + } + if yyb2206 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Template = PodTemplateSpec{} + } else { + yyv2210 := &x.Template + yyv2210.CodecDecodeSelf(d) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2206++ + if yyhl2206 { + yyb2206 = yyj2206 > l } else { - yyb8 = r.CheckBreak() + yyb2206 = r.CheckBreak() } - if yyb8 { + if yyb2206 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj2206-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29387,68 +29387,118 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2211 := z.EncBinary() + _ = yym2211 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2212 := !z.EncBinary() + yy2arr2212 := z.EncBasicHandle().StructToArray + var yyq2212 [4]bool + _, _, _ = yysep2212, yyq2212, yy2arr2212 + const yyr2212 bool = false + yyq2212[0] = x.Kind != "" + yyq2212[1] = x.APIVersion != "" + yyq2212[2] = true + var yynn2212 int + if yyr2212 || yy2arr2212 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2212 = 1 + for _, b := range yyq2212 { if b { - yynn2++ + yynn2212++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2212) + yynn2212 = 0 } - if yyr2 || yy2arr2 { + if yyr2212 || yy2arr2212 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq2212[0] { + yym2214 := z.EncBinary() + _ = yym2214 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2212[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2215 := z.EncBinary() + _ = yym2215 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2212 || yy2arr2212 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2212[1] { + yym2217 := z.EncBinary() + _ = yym2217 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2212[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2218 := z.EncBinary() + _ = yym2218 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2212 || yy2arr2212 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2212[2] { + yy2220 := &x.ListMeta + yym2221 := z.EncBinary() + _ = yym2221 + if false { + } else if z.HasExtensions() && z.EncExt(yy2220) { + } else { + z.EncFallback(yy2220) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2212[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy2222 := &x.ListMeta + yym2223 := z.EncBinary() + _ = yym2223 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy2222) { } else { - z.EncFallback(yy6) + z.EncFallback(yy2222) } } } - if yyr2 || yy2arr2 { + if yyr2212 || yy2arr2212 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2225 := z.EncBinary() + _ = yym2225 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) @@ -29461,65 +29511,15 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2226 := z.EncBinary() + _ = yym2226 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr2212 || yy2arr2212 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29532,25 +29532,25 @@ func (x *PodTemplateList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2227 := z.DecBinary() + _ = yym2227 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2228 := r.ContainerType() + if yyct2228 == codecSelferValueTypeMap1234 { + yyl2228 := r.ReadMapStart() + if yyl2228 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2228, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2228 == codecSelferValueTypeArray1234 { + yyl2228 := r.ReadArrayStart() + if yyl2228 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2228, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29562,12 +29562,12 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + 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 { @@ -29576,35 +29576,10 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2229Slc = r.DecodeBytes(yys2229Slc, true, true) + yys2229 := string(yys2229Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv6), d) - } - } + switch yys2229 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -29617,10 +29592,35 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2232 := &x.ListMeta + yym2233 := z.DecBinary() + _ = yym2233 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2232) { + } else { + z.DecFallback(yyv2232, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2234 := &x.Items + yym2235 := z.DecBinary() + _ = yym2235 + if false { + } else { + h.decSlicePodTemplate((*[]PodTemplate)(yyv2234), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2229) + } // end switch yys2229 + } // end for yyj2229 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29628,61 +29628,16 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj2236 int + var yyb2236 bool + var yyhl2236 bool = l >= 0 + yyj2236++ + if yyhl2236 { + yyb2236 = yyj2236 > l } else { - yyb10 = r.CheckBreak() + yyb2236 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb2236 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29692,13 +29647,13 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2236++ + if yyhl2236 { + yyb2236 = yyj2236 > l } else { - yyb10 = r.CheckBreak() + yyb2236 = r.CheckBreak() } - if yyb10 { + if yyb2236 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29708,18 +29663,63 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2236++ + if yyhl2236 { + yyb2236 = yyj2236 > l + } else { + yyb2236 = r.CheckBreak() + } + if yyb2236 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2239 := &x.ListMeta + yym2240 := z.DecBinary() + _ = yym2240 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2239) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv2239, false) } - if yyb10 { + } + yyj2236++ + if yyhl2236 { + yyb2236 = yyj2236 > l + } else { + yyb2236 = r.CheckBreak() + } + if yyb2236 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2241 := &x.Items + yym2242 := z.DecBinary() + _ = yym2242 + if false { + } else { + h.decSlicePodTemplate((*[]PodTemplate)(yyv2241), d) + } + } + for { + yyj2236++ + if yyhl2236 { + yyb2236 = yyj2236 > l + } else { + yyb2236 = r.CheckBreak() + } + if yyb2236 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj2236-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29731,34 +29731,34 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2243 := z.EncBinary() + _ = yym2243 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.Template != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep2244 := !z.EncBinary() + yy2arr2244 := z.EncBasicHandle().StructToArray + var yyq2244 [3]bool + _, _, _ = yysep2244, yyq2244, yy2arr2244 + const yyr2244 bool = false + yyq2244[2] = x.Template != nil + var yynn2244 int + if yyr2244 || yy2arr2244 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn2244 = 2 + for _, b := range yyq2244 { if b { - yynn2++ + yynn2244++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2244) + yynn2244 = 0 } - if yyr2 || yy2arr2 { + if yyr2244 || yy2arr2244 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym2246 := z.EncBinary() + _ = yym2246 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -29767,20 +29767,20 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2247 := z.EncBinary() + _ = yym2247 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2 || yy2arr2 { + if yyr2244 || yy2arr2244 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Selector == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym2249 := z.EncBinary() + _ = yym2249 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -29793,17 +29793,17 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym2250 := z.EncBinary() + _ = yym2250 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) } } } - if yyr2 || yy2arr2 { + if yyr2244 || yy2arr2244 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq2244[2] { if x.Template == nil { r.EncodeNil() } else { @@ -29813,7 +29813,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq2244[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -29824,7 +29824,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2244 || yy2arr2244 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29837,25 +29837,25 @@ func (x *ReplicationControllerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2252 := z.DecBinary() + _ = yym2252 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2253 := r.ContainerType() + if yyct2253 == codecSelferValueTypeMap1234 { + yyl2253 := r.ReadMapStart() + if yyl2253 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2253, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2253 == codecSelferValueTypeArray1234 { + yyl2253 := r.ReadArrayStart() + if yyl2253 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2253, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29867,12 +29867,12 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2254Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2254Slc + var yyhl2254 bool = l >= 0 + for yyj2254 := 0; ; yyj2254++ { + if yyhl2254 { + if yyj2254 >= l { break } } else { @@ -29881,10 +29881,10 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2254Slc = r.DecodeBytes(yys2254Slc, true, true) + yys2254 := string(yys2254Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2254 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -29895,12 +29895,12 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv5 := &x.Selector - yym6 := z.DecBinary() - _ = yym6 + yyv2256 := &x.Selector + yym2257 := z.DecBinary() + _ = yym2257 if false { } else { - z.F.DecMapStringStringX(yyv5, false, d) + z.F.DecMapStringStringX(yyv2256, false, d) } } case "template": @@ -29915,9 +29915,9 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D x.Template.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2254) + } // end switch yys2254 + } // end for yyj2254 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29925,16 +29925,16 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj2259 int + var yyb2259 bool + var yyhl2259 bool = l >= 0 + yyj2259++ + if yyhl2259 { + yyb2259 = yyj2259 > l } else { - yyb8 = r.CheckBreak() + yyb2259 = r.CheckBreak() } - if yyb8 { + if yyb2259 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29944,13 +29944,13 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2259++ + if yyhl2259 { + yyb2259 = yyj2259 > l } else { - yyb8 = r.CheckBreak() + yyb2259 = r.CheckBreak() } - if yyb8 { + if yyb2259 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29958,21 +29958,21 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv10 := &x.Selector - yym11 := z.DecBinary() - _ = yym11 + yyv2261 := &x.Selector + yym2262 := z.DecBinary() + _ = yym2262 if false { } else { - z.F.DecMapStringStringX(yyv10, false, d) + z.F.DecMapStringStringX(yyv2261, false, d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2259++ + if yyhl2259 { + yyb2259 = yyj2259 > l } else { - yyb8 = r.CheckBreak() + yyb2259 = r.CheckBreak() } - if yyb8 { + if yyb2259 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29988,17 +29988,17 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 x.Template.CodecDecodeSelf(d) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2259++ + if yyhl2259 { + yyb2259 = yyj2259 > l } else { - yyb8 = r.CheckBreak() + yyb2259 = r.CheckBreak() } - if yyb8 { + if yyb2259 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj2259-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30010,35 +30010,35 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2264 := z.EncBinary() + _ = yym2264 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FullyLabeledReplicas != 0 - yyq2[2] = x.ObservedGeneration != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2265 := !z.EncBinary() + yy2arr2265 := z.EncBasicHandle().StructToArray + var yyq2265 [3]bool + _, _, _ = yysep2265, yyq2265, yy2arr2265 + const yyr2265 bool = false + yyq2265[1] = x.FullyLabeledReplicas != 0 + yyq2265[2] = x.ObservedGeneration != 0 + var yynn2265 int + if yyr2265 || yy2arr2265 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2265 = 1 + for _, b := range yyq2265 { if b { - yynn2++ + yynn2265++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2265) + yynn2265 = 0 } - if yyr2 || yy2arr2 { + if yyr2265 || yy2arr2265 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym2267 := z.EncBinary() + _ = yym2267 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -30047,18 +30047,18 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2268 := z.EncBinary() + _ = yym2268 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2 || yy2arr2 { + if yyr2265 || yy2arr2265 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq2265[1] { + yym2270 := z.EncBinary() + _ = yym2270 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -30067,23 +30067,23 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[1] { + if yyq2265[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2271 := z.EncBinary() + _ = yym2271 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr2 || yy2arr2 { + if yyr2265 || yy2arr2265 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq2265[2] { + yym2273 := z.EncBinary() + _ = yym2273 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -30092,19 +30092,19 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[2] { + if yyq2265[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym2274 := z.EncBinary() + _ = yym2274 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr2 || yy2arr2 { + if yyr2265 || yy2arr2265 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30117,25 +30117,25 @@ func (x *ReplicationControllerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2275 := z.DecBinary() + _ = yym2275 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2276 := r.ContainerType() + if yyct2276 == codecSelferValueTypeMap1234 { + yyl2276 := r.ReadMapStart() + if yyl2276 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2276, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2276 == codecSelferValueTypeArray1234 { + yyl2276 := r.ReadArrayStart() + if yyl2276 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2276, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30147,12 +30147,12 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2277Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2277Slc + var yyhl2277 bool = l >= 0 + for yyj2277 := 0; ; yyj2277++ { + if yyhl2277 { + if yyj2277 >= l { break } } else { @@ -30161,10 +30161,10 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2277Slc = r.DecodeBytes(yys2277Slc, true, true) + yys2277 := string(yys2277Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2277 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -30184,9 +30184,9 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 x.ObservedGeneration = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2277) + } // end switch yys2277 + } // end for yyj2277 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30194,16 +30194,16 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj2281 int + var yyb2281 bool + var yyhl2281 bool = l >= 0 + yyj2281++ + if yyhl2281 { + yyb2281 = yyj2281 > l } else { - yyb7 = r.CheckBreak() + yyb2281 = r.CheckBreak() } - if yyb7 { + if yyb2281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30213,13 +30213,13 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2281++ + if yyhl2281 { + yyb2281 = yyj2281 > l } else { - yyb7 = r.CheckBreak() + yyb2281 = r.CheckBreak() } - if yyb7 { + if yyb2281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30229,13 +30229,13 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.FullyLabeledReplicas = int32(r.DecodeInt(32)) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2281++ + if yyhl2281 { + yyb2281 = yyj2281 > l } else { - yyb7 = r.CheckBreak() + yyb2281 = r.CheckBreak() } - if yyb7 { + if yyb2281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30246,17 +30246,17 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 x.ObservedGeneration = int64(r.DecodeInt(64)) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2281++ + if yyhl2281 { + yyb2281 = yyj2281 > l } else { - yyb7 = r.CheckBreak() + yyb2281 = r.CheckBreak() } - if yyb7 { + if yyb2281 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj2281-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30268,90 +30268,39 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2285 := z.EncBinary() + _ = yym2285 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2286 := !z.EncBinary() + yy2arr2286 := z.EncBasicHandle().StructToArray + var yyq2286 [5]bool + _, _, _ = yysep2286, yyq2286, yy2arr2286 + const yyr2286 bool = false + yyq2286[0] = x.Kind != "" + yyq2286[1] = x.APIVersion != "" + yyq2286[2] = true + yyq2286[3] = true + yyq2286[4] = true + var yynn2286 int + if yyr2286 || yy2arr2286 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2286 = 0 + for _, b := range yyq2286 { if b { - yynn2++ + yynn2286++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2286) + yynn2286 = 0 } - if yyr2 || yy2arr2 { + if yyr2286 || yy2arr2286 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq2286[0] { + yym2288 := z.EncBinary() + _ = yym2288 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -30360,23 +30309,23 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2286[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym2289 := z.EncBinary() + _ = yym2289 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr2286 || yy2arr2286 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq2286[1] { + yym2291 := z.EncBinary() + _ = yym2291 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -30385,19 +30334,70 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq2286[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym2292 := z.EncBinary() + _ = yym2292 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr2286 || yy2arr2286 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2286[2] { + yy2294 := &x.ObjectMeta + yy2294.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2286[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2295 := &x.ObjectMeta + yy2295.CodecEncodeSelf(e) + } + } + if yyr2286 || yy2arr2286 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2286[3] { + yy2297 := &x.Spec + yy2297.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2286[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2298 := &x.Spec + yy2298.CodecEncodeSelf(e) + } + } + if yyr2286 || yy2arr2286 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2286[4] { + yy2300 := &x.Status + yy2300.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2286[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2301 := &x.Status + yy2301.CodecEncodeSelf(e) + } + } + if yyr2286 || yy2arr2286 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30410,25 +30410,25 @@ func (x *ReplicationController) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2302 := z.DecBinary() + _ = yym2302 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2303 := r.ContainerType() + if yyct2303 == codecSelferValueTypeMap1234 { + yyl2303 := r.ReadMapStart() + if yyl2303 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2303, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2303 == codecSelferValueTypeArray1234 { + yyl2303 := r.ReadArrayStart() + if yyl2303 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2303, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30440,12 +30440,12 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2304Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2304Slc + var yyhl2304 bool = l >= 0 + for yyj2304 := 0; ; yyj2304++ { + if yyhl2304 { + if yyj2304 >= l { break } } else { @@ -30454,31 +30454,10 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2304Slc = r.DecodeBytes(yys2304Slc, true, true) + yys2304 := string(yys2304Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ReplicationControllerSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ReplicationControllerStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys2304 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -30491,10 +30470,31 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2307 := &x.ObjectMeta + yyv2307.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ReplicationControllerSpec{} + } else { + yyv2308 := &x.Spec + yyv2308.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ReplicationControllerStatus{} + } else { + yyv2309 := &x.Status + yyv2309.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2304) + } // end switch yys2304 + } // end for yyj2304 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30502,67 +30502,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj2310 int + var yyb2310 bool + var yyhl2310 bool = l >= 0 + yyj2310++ + if yyhl2310 { + yyb2310 = yyj2310 > l } else { - yyb9 = r.CheckBreak() + yyb2310 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ReplicationControllerSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ReplicationControllerStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb2310 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30572,13 +30521,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2310++ + if yyhl2310 { + yyb2310 = yyj2310 > l } else { - yyb9 = r.CheckBreak() + yyb2310 = r.CheckBreak() } - if yyb9 { + if yyb2310 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30588,18 +30537,69 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } + yyj2310++ + if yyhl2310 { + yyb2310 = yyj2310 > l + } else { + yyb2310 = r.CheckBreak() + } + if yyb2310 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2313 := &x.ObjectMeta + yyv2313.CodecDecodeSelf(d) + } + yyj2310++ + if yyhl2310 { + yyb2310 = yyj2310 > l + } else { + yyb2310 = r.CheckBreak() + } + if yyb2310 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ReplicationControllerSpec{} + } else { + yyv2314 := &x.Spec + yyv2314.CodecDecodeSelf(d) + } + yyj2310++ + if yyhl2310 { + yyb2310 = yyj2310 > l + } else { + yyb2310 = r.CheckBreak() + } + if yyb2310 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ReplicationControllerStatus{} + } else { + yyv2315 := &x.Status + yyv2315.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2310++ + if yyhl2310 { + yyb2310 = yyj2310 > l } else { - yyb9 = r.CheckBreak() + yyb2310 = r.CheckBreak() } - if yyb9 { + if yyb2310 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj2310-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30611,68 +30611,118 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2316 := z.EncBinary() + _ = yym2316 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2317 := !z.EncBinary() + yy2arr2317 := z.EncBasicHandle().StructToArray + var yyq2317 [4]bool + _, _, _ = yysep2317, yyq2317, yy2arr2317 + const yyr2317 bool = false + yyq2317[0] = x.Kind != "" + yyq2317[1] = x.APIVersion != "" + yyq2317[2] = true + var yynn2317 int + if yyr2317 || yy2arr2317 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2317 = 1 + for _, b := range yyq2317 { if b { - yynn2++ + yynn2317++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2317) + yynn2317 = 0 } - if yyr2 || yy2arr2 { + if yyr2317 || yy2arr2317 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq2317[0] { + yym2319 := z.EncBinary() + _ = yym2319 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2317[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2320 := z.EncBinary() + _ = yym2320 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2317 || yy2arr2317 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2317[1] { + yym2322 := z.EncBinary() + _ = yym2322 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2317[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2323 := z.EncBinary() + _ = yym2323 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2317 || yy2arr2317 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2317[2] { + yy2325 := &x.ListMeta + yym2326 := z.EncBinary() + _ = yym2326 + if false { + } else if z.HasExtensions() && z.EncExt(yy2325) { + } else { + z.EncFallback(yy2325) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2317[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy2327 := &x.ListMeta + yym2328 := z.EncBinary() + _ = yym2328 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy2327) { } else { - z.EncFallback(yy6) + z.EncFallback(yy2327) } } } - if yyr2 || yy2arr2 { + if yyr2317 || yy2arr2317 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2330 := z.EncBinary() + _ = yym2330 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) @@ -30685,65 +30735,15 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2331 := z.EncBinary() + _ = yym2331 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr2317 || yy2arr2317 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30756,25 +30756,25 @@ func (x *ReplicationControllerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2332 := z.DecBinary() + _ = yym2332 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2333 := r.ContainerType() + if yyct2333 == codecSelferValueTypeMap1234 { + yyl2333 := r.ReadMapStart() + if yyl2333 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2333, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2333 == codecSelferValueTypeArray1234 { + yyl2333 := r.ReadArrayStart() + if yyl2333 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2333, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30786,12 +30786,12 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2334Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2334Slc + var yyhl2334 bool = l >= 0 + for yyj2334 := 0; ; yyj2334++ { + if yyhl2334 { + if yyj2334 >= l { break } } else { @@ -30800,35 +30800,10 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2334Slc = r.DecodeBytes(yys2334Slc, true, true) + yys2334 := string(yys2334Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv6), d) - } - } + switch yys2334 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -30841,10 +30816,35 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2337 := &x.ListMeta + yym2338 := z.DecBinary() + _ = yym2338 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2337) { + } else { + z.DecFallback(yyv2337, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2339 := &x.Items + yym2340 := z.DecBinary() + _ = yym2340 + if false { + } else { + h.decSliceReplicationController((*[]ReplicationController)(yyv2339), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2334) + } // end switch yys2334 + } // end for yyj2334 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30852,61 +30852,16 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj2341 int + var yyb2341 bool + var yyhl2341 bool = l >= 0 + yyj2341++ + if yyhl2341 { + yyb2341 = yyj2341 > l } else { - yyb10 = r.CheckBreak() + yyb2341 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb2341 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30916,13 +30871,13 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2341++ + if yyhl2341 { + yyb2341 = yyj2341 > l } else { - yyb10 = r.CheckBreak() + yyb2341 = r.CheckBreak() } - if yyb10 { + if yyb2341 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30932,18 +30887,63 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2341++ + if yyhl2341 { + yyb2341 = yyj2341 > l + } else { + yyb2341 = r.CheckBreak() + } + if yyb2341 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2344 := &x.ListMeta + yym2345 := z.DecBinary() + _ = yym2345 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2344) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv2344, false) } - if yyb10 { + } + yyj2341++ + if yyhl2341 { + yyb2341 = yyj2341 > l + } else { + yyb2341 = r.CheckBreak() + } + if yyb2341 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2346 := &x.Items + yym2347 := z.DecBinary() + _ = yym2347 + if false { + } else { + h.decSliceReplicationController((*[]ReplicationController)(yyv2346), d) + } + } + for { + yyj2341++ + if yyhl2341 { + yyb2341 = yyj2341 > l + } else { + yyb2341 = r.CheckBreak() + } + if yyb2341 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj2341-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30955,68 +30955,118 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2348 := z.EncBinary() + _ = yym2348 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2349 := !z.EncBinary() + yy2arr2349 := z.EncBasicHandle().StructToArray + var yyq2349 [4]bool + _, _, _ = yysep2349, yyq2349, yy2arr2349 + const yyr2349 bool = false + yyq2349[0] = x.Kind != "" + yyq2349[1] = x.APIVersion != "" + yyq2349[2] = true + var yynn2349 int + if yyr2349 || yy2arr2349 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2349 = 1 + for _, b := range yyq2349 { if b { - yynn2++ + yynn2349++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2349) + yynn2349 = 0 } - if yyr2 || yy2arr2 { + if yyr2349 || yy2arr2349 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq2349[0] { + yym2351 := z.EncBinary() + _ = yym2351 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2349[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2352 := z.EncBinary() + _ = yym2352 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2349 || yy2arr2349 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2349[1] { + yym2354 := z.EncBinary() + _ = yym2354 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2349[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2355 := z.EncBinary() + _ = yym2355 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2349 || yy2arr2349 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2349[2] { + yy2357 := &x.ListMeta + yym2358 := z.EncBinary() + _ = yym2358 + if false { + } else if z.HasExtensions() && z.EncExt(yy2357) { + } else { + z.EncFallback(yy2357) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2349[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy2359 := &x.ListMeta + yym2360 := z.EncBinary() + _ = yym2360 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy2359) { } else { - z.EncFallback(yy6) + z.EncFallback(yy2359) } } } - if yyr2 || yy2arr2 { + if yyr2349 || yy2arr2349 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2362 := z.EncBinary() + _ = yym2362 if false { } else { h.encSliceService(([]Service)(x.Items), e) @@ -31029,65 +31079,15 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2363 := z.EncBinary() + _ = yym2363 if false { } else { h.encSliceService(([]Service)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr2349 || yy2arr2349 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31100,25 +31100,25 @@ func (x *ServiceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2364 := z.DecBinary() + _ = yym2364 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2365 := r.ContainerType() + if yyct2365 == codecSelferValueTypeMap1234 { + yyl2365 := r.ReadMapStart() + if yyl2365 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2365, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2365 == codecSelferValueTypeArray1234 { + yyl2365 := r.ReadArrayStart() + if yyl2365 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2365, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31130,12 +31130,12 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2366Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2366Slc + var yyhl2366 bool = l >= 0 + for yyj2366 := 0; ; yyj2366++ { + if yyhl2366 { + if yyj2366 >= l { break } } else { @@ -31144,35 +31144,10 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2366Slc = r.DecodeBytes(yys2366Slc, true, true) + yys2366 := string(yys2366Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceService((*[]Service)(yyv6), d) - } - } + switch yys2366 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -31185,10 +31160,35 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2369 := &x.ListMeta + yym2370 := z.DecBinary() + _ = yym2370 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2369) { + } else { + z.DecFallback(yyv2369, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2371 := &x.Items + yym2372 := z.DecBinary() + _ = yym2372 + if false { + } else { + h.decSliceService((*[]Service)(yyv2371), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2366) + } // end switch yys2366 + } // end for yyj2366 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31196,61 +31196,16 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj2373 int + var yyb2373 bool + var yyhl2373 bool = l >= 0 + yyj2373++ + if yyhl2373 { + yyb2373 = yyj2373 > l } else { - yyb10 = r.CheckBreak() + yyb2373 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceService((*[]Service)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb2373 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31260,13 +31215,13 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2373++ + if yyhl2373 { + yyb2373 = yyj2373 > l } else { - yyb10 = r.CheckBreak() + yyb2373 = r.CheckBreak() } - if yyb10 { + if yyb2373 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31276,18 +31231,63 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2373++ + if yyhl2373 { + yyb2373 = yyj2373 > l + } else { + yyb2373 = r.CheckBreak() + } + if yyb2373 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2376 := &x.ListMeta + yym2377 := z.DecBinary() + _ = yym2377 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2376) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv2376, false) } - if yyb10 { + } + yyj2373++ + if yyhl2373 { + yyb2373 = yyj2373 > l + } else { + yyb2373 = r.CheckBreak() + } + if yyb2373 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2378 := &x.Items + yym2379 := z.DecBinary() + _ = yym2379 + if false { + } else { + h.decSliceService((*[]Service)(yyv2378), d) + } + } + for { + yyj2373++ + if yyhl2373 { + yyb2373 = yyj2373 > l + } else { + yyb2373 = r.CheckBreak() + } + if yyb2373 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj2373-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31296,8 +31296,8 @@ func (x ServiceAffinity) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym2380 := z.EncBinary() + _ = yym2380 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -31309,8 +31309,8 @@ func (x *ServiceAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2381 := z.DecBinary() + _ = yym2381 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -31322,8 +31322,8 @@ func (x ServiceType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym2382 := z.EncBinary() + _ = yym2382 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -31335,8 +31335,8 @@ func (x *ServiceType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2383 := z.DecBinary() + _ = yym2383 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -31351,48 +31351,48 @@ func (x *ServiceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2384 := z.EncBinary() + _ = yym2384 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep2385 := !z.EncBinary() + yy2arr2385 := z.EncBasicHandle().StructToArray + var yyq2385 [1]bool + _, _, _ = yysep2385, yyq2385, yy2arr2385 + const yyr2385 bool = false + yyq2385[0] = true + var yynn2385 int + if yyr2385 || yy2arr2385 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2385 = 0 + for _, b := range yyq2385 { if b { - yynn2++ + yynn2385++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2385) + yynn2385 = 0 } - if yyr2 || yy2arr2 { + if yyr2385 || yy2arr2385 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.LoadBalancer - yy4.CodecEncodeSelf(e) + if yyq2385[0] { + yy2387 := &x.LoadBalancer + yy2387.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2385[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.LoadBalancer - yy6.CodecEncodeSelf(e) + yy2388 := &x.LoadBalancer + yy2388.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2385 || yy2arr2385 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31405,25 +31405,25 @@ func (x *ServiceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2389 := z.DecBinary() + _ = yym2389 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2390 := r.ContainerType() + if yyct2390 == codecSelferValueTypeMap1234 { + yyl2390 := r.ReadMapStart() + if yyl2390 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2390, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2390 == codecSelferValueTypeArray1234 { + yyl2390 := r.ReadArrayStart() + if yyl2390 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2390, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31435,12 +31435,12 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2391Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2391Slc + var yyhl2391 bool = l >= 0 + for yyj2391 := 0; ; yyj2391++ { + if yyhl2391 { + if yyj2391 >= l { break } } else { @@ -31449,21 +31449,21 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2391Slc = r.DecodeBytes(yys2391Slc, true, true) + yys2391 := string(yys2391Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2391 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv4 := &x.LoadBalancer - yyv4.CodecDecodeSelf(d) + yyv2392 := &x.LoadBalancer + yyv2392.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2391) + } // end switch yys2391 + } // end for yyj2391 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31471,16 +31471,16 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj2393 int + var yyb2393 bool + var yyhl2393 bool = l >= 0 + yyj2393++ + if yyhl2393 { + yyb2393 = yyj2393 > l } else { - yyb5 = r.CheckBreak() + yyb2393 = r.CheckBreak() } - if yyb5 { + if yyb2393 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31488,21 +31488,21 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv6 := &x.LoadBalancer - yyv6.CodecDecodeSelf(d) + yyv2394 := &x.LoadBalancer + yyv2394.CodecDecodeSelf(d) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj2393++ + if yyhl2393 { + yyb2393 = yyj2393 > l } else { - yyb5 = r.CheckBreak() + yyb2393 = r.CheckBreak() } - if yyb5 { + if yyb2393 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj2393-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31514,38 +31514,38 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2395 := z.EncBinary() + _ = yym2395 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Ingress) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2396 := !z.EncBinary() + yy2arr2396 := z.EncBasicHandle().StructToArray + var yyq2396 [1]bool + _, _, _ = yysep2396, yyq2396, yy2arr2396 + const yyr2396 bool = false + yyq2396[0] = len(x.Ingress) != 0 + var yynn2396 int + if yyr2396 || yy2arr2396 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2396 = 0 + for _, b := range yyq2396 { if b { - yynn2++ + yynn2396++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2396) + yynn2396 = 0 } - if yyr2 || yy2arr2 { + if yyr2396 || yy2arr2396 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq2396[0] { if x.Ingress == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym2398 := z.EncBinary() + _ = yym2398 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -31555,15 +31555,15 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2396[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym2399 := z.EncBinary() + _ = yym2399 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -31571,7 +31571,7 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2396 || yy2arr2396 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31584,25 +31584,25 @@ func (x *LoadBalancerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2400 := z.DecBinary() + _ = yym2400 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2401 := r.ContainerType() + if yyct2401 == codecSelferValueTypeMap1234 { + yyl2401 := r.ReadMapStart() + if yyl2401 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2401, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2401 == codecSelferValueTypeArray1234 { + yyl2401 := r.ReadArrayStart() + if yyl2401 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2401, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31614,12 +31614,12 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2402Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2402Slc + var yyhl2402 bool = l >= 0 + for yyj2402 := 0; ; yyj2402++ { + if yyhl2402 { + if yyj2402 >= l { break } } else { @@ -31628,26 +31628,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2402Slc = r.DecodeBytes(yys2402Slc, true, true) + yys2402 := string(yys2402Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2402 { case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv4 := &x.Ingress - yym5 := z.DecBinary() - _ = yym5 + yyv2403 := &x.Ingress + yym2404 := z.DecBinary() + _ = yym2404 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv4), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2403), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2402) + } // end switch yys2402 + } // end for yyj2402 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31655,16 +31655,16 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj2405 int + var yyb2405 bool + var yyhl2405 bool = l >= 0 + yyj2405++ + if yyhl2405 { + yyb2405 = yyj2405 > l } else { - yyb6 = r.CheckBreak() + yyb2405 = r.CheckBreak() } - if yyb6 { + if yyb2405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31672,26 +31672,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv7 := &x.Ingress - yym8 := z.DecBinary() - _ = yym8 + yyv2406 := &x.Ingress + yym2407 := z.DecBinary() + _ = yym2407 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv7), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2406), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2405++ + if yyhl2405 { + yyb2405 = yyj2405 > l } else { - yyb6 = r.CheckBreak() + yyb2405 = r.CheckBreak() } - if yyb6 { + if yyb2405 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj2405-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31703,36 +31703,36 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2408 := z.EncBinary() + _ = yym2408 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.IP != "" - yyq2[1] = x.Hostname != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2409 := !z.EncBinary() + yy2arr2409 := z.EncBasicHandle().StructToArray + var yyq2409 [2]bool + _, _, _ = yysep2409, yyq2409, yy2arr2409 + const yyr2409 bool = false + yyq2409[0] = x.IP != "" + yyq2409[1] = x.Hostname != "" + var yynn2409 int + if yyr2409 || yy2arr2409 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2409 = 0 + for _, b := range yyq2409 { if b { - yynn2++ + yynn2409++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2409) + yynn2409 = 0 } - if yyr2 || yy2arr2 { + if yyr2409 || yy2arr2409 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq2409[0] { + yym2411 := z.EncBinary() + _ = yym2411 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -31741,23 +31741,23 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq2409[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2412 := z.EncBinary() + _ = yym2412 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } } - if yyr2 || yy2arr2 { + if yyr2409 || yy2arr2409 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq2409[1] { + yym2414 := z.EncBinary() + _ = yym2414 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -31766,19 +31766,19 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq2409[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2415 := z.EncBinary() + _ = yym2415 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2 || yy2arr2 { + if yyr2409 || yy2arr2409 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31791,25 +31791,25 @@ func (x *LoadBalancerIngress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2416 := z.DecBinary() + _ = yym2416 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2417 := r.ContainerType() + if yyct2417 == codecSelferValueTypeMap1234 { + yyl2417 := r.ReadMapStart() + if yyl2417 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2417, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2417 == codecSelferValueTypeArray1234 { + yyl2417 := r.ReadArrayStart() + if yyl2417 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2417, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31821,12 +31821,12 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2418Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2418Slc + var yyhl2418 bool = l >= 0 + for yyj2418 := 0; ; yyj2418++ { + if yyhl2418 { + if yyj2418 >= l { break } } else { @@ -31835,10 +31835,10 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2418Slc = r.DecodeBytes(yys2418Slc, true, true) + yys2418 := string(yys2418Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2418 { case "ip": if r.TryDecodeAsNil() { x.IP = "" @@ -31852,9 +31852,9 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Hostname = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2418) + } // end switch yys2418 + } // end for yyj2418 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31862,16 +31862,16 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj2421 int + var yyb2421 bool + var yyhl2421 bool = l >= 0 + yyj2421++ + if yyhl2421 { + yyb2421 = yyj2421 > l } else { - yyb6 = r.CheckBreak() + yyb2421 = r.CheckBreak() } - if yyb6 { + if yyb2421 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31881,13 +31881,13 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.IP = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2421++ + if yyhl2421 { + yyb2421 = yyj2421 > l } else { - yyb6 = r.CheckBreak() + yyb2421 = r.CheckBreak() } - if yyb6 { + if yyb2421 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31898,17 +31898,17 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Hostname = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2421++ + if yyhl2421 { + yyb2421 = yyj2421 > l } else { - yyb6 = r.CheckBreak() + yyb2421 = r.CheckBreak() } - if yyb6 { + if yyb2421 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj2421-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31920,57 +31920,57 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2424 := z.EncBinary() + _ = yym2424 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [8]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Type != "" - yyq2[3] = x.ClusterIP != "" - yyq2[4] = len(x.ExternalIPs) != 0 - yyq2[5] = x.LoadBalancerIP != "" - yyq2[6] = x.SessionAffinity != "" - yyq2[7] = len(x.LoadBalancerSourceRanges) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2425 := !z.EncBinary() + yy2arr2425 := z.EncBasicHandle().StructToArray + var yyq2425 [8]bool + _, _, _ = yysep2425, yyq2425, yy2arr2425 + const yyr2425 bool = false + yyq2425[0] = x.Type != "" + yyq2425[3] = x.ClusterIP != "" + yyq2425[4] = len(x.ExternalIPs) != 0 + yyq2425[5] = x.LoadBalancerIP != "" + yyq2425[6] = x.SessionAffinity != "" + yyq2425[7] = len(x.LoadBalancerSourceRanges) != 0 + var yynn2425 int + if yyr2425 || yy2arr2425 { r.EncodeArrayStart(8) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn2425 = 2 + for _, b := range yyq2425 { if b { - yynn2++ + yynn2425++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2425) + yynn2425 = 0 } - if yyr2 || yy2arr2 { + if yyr2425 || yy2arr2425 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq2425[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq2425[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2425 || yy2arr2425 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Ports == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym2428 := z.EncBinary() + _ = yym2428 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) @@ -31983,21 +31983,21 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Ports == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym2429 := z.EncBinary() + _ = yym2429 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) } } } - if yyr2 || yy2arr2 { + if yyr2425 || yy2arr2425 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Selector == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2431 := z.EncBinary() + _ = yym2431 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -32010,19 +32010,19 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym2432 := z.EncBinary() + _ = yym2432 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) } } } - if yyr2 || yy2arr2 { + if yyr2425 || yy2arr2425 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq2425[3] { + yym2434 := z.EncBinary() + _ = yym2434 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) @@ -32031,26 +32031,26 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2425[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym2435 := z.EncBinary() + _ = yym2435 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) } } } - if yyr2 || yy2arr2 { + if yyr2425 || yy2arr2425 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq2425[4] { if x.ExternalIPs == nil { r.EncodeNil() } else { - yym16 := z.EncBinary() - _ = yym16 + yym2437 := z.EncBinary() + _ = yym2437 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -32060,15 +32060,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq2425[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ExternalIPs == nil { r.EncodeNil() } else { - yym17 := z.EncBinary() - _ = yym17 + yym2438 := z.EncBinary() + _ = yym2438 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -32076,11 +32076,11 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2425 || yy2arr2425 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq2425[5] { + yym2440 := z.EncBinary() + _ = yym2440 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) @@ -32089,41 +32089,41 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq2425[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym2441 := z.EncBinary() + _ = yym2441 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) } } } - if yyr2 || yy2arr2 { + if yyr2425 || yy2arr2425 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq2425[6] { x.SessionAffinity.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[6] { + if yyq2425[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sessionAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.SessionAffinity.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2425 || yy2arr2425 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq2425[7] { if x.LoadBalancerSourceRanges == nil { r.EncodeNil() } else { - yym25 := z.EncBinary() - _ = yym25 + yym2444 := z.EncBinary() + _ = yym2444 if false { } else { z.F.EncSliceStringV(x.LoadBalancerSourceRanges, false, e) @@ -32133,15 +32133,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[7] { + if yyq2425[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerSourceRanges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LoadBalancerSourceRanges == nil { r.EncodeNil() } else { - yym26 := z.EncBinary() - _ = yym26 + yym2445 := z.EncBinary() + _ = yym2445 if false { } else { z.F.EncSliceStringV(x.LoadBalancerSourceRanges, false, e) @@ -32149,7 +32149,7 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2425 || yy2arr2425 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32162,25 +32162,25 @@ func (x *ServiceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2446 := z.DecBinary() + _ = yym2446 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2447 := r.ContainerType() + if yyct2447 == codecSelferValueTypeMap1234 { + yyl2447 := r.ReadMapStart() + if yyl2447 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2447, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2447 == codecSelferValueTypeArray1234 { + yyl2447 := r.ReadArrayStart() + if yyl2447 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2447, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32192,12 +32192,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2448Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2448Slc + var yyhl2448 bool = l >= 0 + for yyj2448 := 0; ; yyj2448++ { + if yyhl2448 { + if yyj2448 >= l { break } } else { @@ -32206,10 +32206,10 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2448Slc = r.DecodeBytes(yys2448Slc, true, true) + yys2448 := string(yys2448Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2448 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -32220,24 +32220,24 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv5 := &x.Ports - yym6 := z.DecBinary() - _ = yym6 + yyv2450 := &x.Ports + yym2451 := z.DecBinary() + _ = yym2451 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv5), d) + h.decSliceServicePort((*[]ServicePort)(yyv2450), d) } } case "selector": if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv7 := &x.Selector - yym8 := z.DecBinary() - _ = yym8 + yyv2452 := &x.Selector + yym2453 := z.DecBinary() + _ = yym2453 if false { } else { - z.F.DecMapStringStringX(yyv7, false, d) + z.F.DecMapStringStringX(yyv2452, false, d) } } case "clusterIP": @@ -32250,12 +32250,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv10 := &x.ExternalIPs - yym11 := z.DecBinary() - _ = yym11 + yyv2455 := &x.ExternalIPs + yym2456 := z.DecBinary() + _ = yym2456 if false { } else { - z.F.DecSliceStringX(yyv10, false, d) + z.F.DecSliceStringX(yyv2455, false, d) } } case "loadBalancerIP": @@ -32274,18 +32274,18 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancerSourceRanges = nil } else { - yyv14 := &x.LoadBalancerSourceRanges - yym15 := z.DecBinary() - _ = yym15 + yyv2459 := &x.LoadBalancerSourceRanges + yym2460 := z.DecBinary() + _ = yym2460 if false { } else { - z.F.DecSliceStringX(yyv14, false, d) + z.F.DecSliceStringX(yyv2459, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2448) + } // end switch yys2448 + } // end for yyj2448 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32293,16 +32293,16 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj16 int - var yyb16 bool - var yyhl16 bool = l >= 0 - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + var yyj2461 int + var yyb2461 bool + var yyhl2461 bool = l >= 0 + yyj2461++ + if yyhl2461 { + yyb2461 = yyj2461 > l } else { - yyb16 = r.CheckBreak() + yyb2461 = r.CheckBreak() } - if yyb16 { + if yyb2461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32312,13 +32312,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = ServiceType(r.DecodeString()) } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2461++ + if yyhl2461 { + yyb2461 = yyj2461 > l } else { - yyb16 = r.CheckBreak() + yyb2461 = r.CheckBreak() } - if yyb16 { + if yyb2461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32326,21 +32326,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv18 := &x.Ports - yym19 := z.DecBinary() - _ = yym19 + yyv2463 := &x.Ports + yym2464 := z.DecBinary() + _ = yym2464 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv18), d) + h.decSliceServicePort((*[]ServicePort)(yyv2463), d) } } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2461++ + if yyhl2461 { + yyb2461 = yyj2461 > l } else { - yyb16 = r.CheckBreak() + yyb2461 = r.CheckBreak() } - if yyb16 { + if yyb2461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32348,21 +32348,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv20 := &x.Selector - yym21 := z.DecBinary() - _ = yym21 + yyv2465 := &x.Selector + yym2466 := z.DecBinary() + _ = yym2466 if false { } else { - z.F.DecMapStringStringX(yyv20, false, d) + z.F.DecMapStringStringX(yyv2465, false, d) } } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2461++ + if yyhl2461 { + yyb2461 = yyj2461 > l } else { - yyb16 = r.CheckBreak() + yyb2461 = r.CheckBreak() } - if yyb16 { + if yyb2461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32372,13 +32372,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ClusterIP = string(r.DecodeString()) } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2461++ + if yyhl2461 { + yyb2461 = yyj2461 > l } else { - yyb16 = r.CheckBreak() + yyb2461 = r.CheckBreak() } - if yyb16 { + if yyb2461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32386,21 +32386,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv23 := &x.ExternalIPs - yym24 := z.DecBinary() - _ = yym24 + yyv2468 := &x.ExternalIPs + yym2469 := z.DecBinary() + _ = yym2469 if false { } else { - z.F.DecSliceStringX(yyv23, false, d) + z.F.DecSliceStringX(yyv2468, false, d) } } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2461++ + if yyhl2461 { + yyb2461 = yyj2461 > l } else { - yyb16 = r.CheckBreak() + yyb2461 = r.CheckBreak() } - if yyb16 { + if yyb2461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32410,13 +32410,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LoadBalancerIP = string(r.DecodeString()) } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2461++ + if yyhl2461 { + yyb2461 = yyj2461 > l } else { - yyb16 = r.CheckBreak() + yyb2461 = r.CheckBreak() } - if yyb16 { + if yyb2461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32426,13 +32426,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SessionAffinity = ServiceAffinity(r.DecodeString()) } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2461++ + if yyhl2461 { + yyb2461 = yyj2461 > l } else { - yyb16 = r.CheckBreak() + yyb2461 = r.CheckBreak() } - if yyb16 { + if yyb2461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32440,26 +32440,26 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancerSourceRanges = nil } else { - yyv27 := &x.LoadBalancerSourceRanges - yym28 := z.DecBinary() - _ = yym28 + yyv2472 := &x.LoadBalancerSourceRanges + yym2473 := z.DecBinary() + _ = yym2473 if false { } else { - z.F.DecSliceStringX(yyv27, false, d) + z.F.DecSliceStringX(yyv2472, false, d) } } for { - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj2461++ + if yyhl2461 { + yyb2461 = yyj2461 > l } else { - yyb16 = r.CheckBreak() + yyb2461 = r.CheckBreak() } - if yyb16 { + if yyb2461 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj16-1, "") + z.DecStructFieldNotFound(yyj2461-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32471,33 +32471,33 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2474 := z.EncBinary() + _ = yym2474 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep2475 := !z.EncBinary() + yy2arr2475 := z.EncBasicHandle().StructToArray + var yyq2475 [5]bool + _, _, _ = yysep2475, yyq2475, yy2arr2475 + const yyr2475 bool = false + var yynn2475 int + if yyr2475 || yy2arr2475 { r.EncodeArrayStart(5) } else { - yynn2 = 5 - for _, b := range yyq2 { + yynn2475 = 5 + for _, b := range yyq2475 { if b { - yynn2++ + yynn2475++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2475) + yynn2475 = 0 } - if yyr2 || yy2arr2 { + if yyr2475 || yy2arr2475 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym2477 := z.EncBinary() + _ = yym2477 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -32506,14 +32506,14 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2478 := z.EncBinary() + _ = yym2478 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr2475 || yy2arr2475 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Protocol.CodecEncodeSelf(e) } else { @@ -32522,10 +32522,10 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr2475 || yy2arr2475 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym2481 := z.EncBinary() + _ = yym2481 if false { } else { r.EncodeInt(int64(x.Port)) @@ -32534,44 +32534,44 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym2482 := z.EncBinary() + _ = yym2482 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2 || yy2arr2 { + if yyr2475 || yy2arr2475 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy13 := &x.TargetPort - yym14 := z.EncBinary() - _ = yym14 + yy2484 := &x.TargetPort + yym2485 := z.EncBinary() + _ = yym2485 if false { - } else if z.HasExtensions() && z.EncExt(yy13) { - } else if !yym14 && z.IsJSONHandle() { - z.EncJSONMarshal(yy13) + } else if z.HasExtensions() && z.EncExt(yy2484) { + } else if !yym2485 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2484) } else { - z.EncFallback(yy13) + z.EncFallback(yy2484) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy15 := &x.TargetPort - yym16 := z.EncBinary() - _ = yym16 + yy2486 := &x.TargetPort + yym2487 := z.EncBinary() + _ = yym2487 if false { - } else if z.HasExtensions() && z.EncExt(yy15) { - } else if !yym16 && z.IsJSONHandle() { - z.EncJSONMarshal(yy15) + } else if z.HasExtensions() && z.EncExt(yy2486) { + } else if !yym2487 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2486) } else { - z.EncFallback(yy15) + z.EncFallback(yy2486) } } - if yyr2 || yy2arr2 { + if yyr2475 || yy2arr2475 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym18 := z.EncBinary() - _ = yym18 + yym2489 := z.EncBinary() + _ = yym2489 if false { } else { r.EncodeInt(int64(x.NodePort)) @@ -32580,14 +32580,14 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym19 := z.EncBinary() - _ = yym19 + yym2490 := z.EncBinary() + _ = yym2490 if false { } else { r.EncodeInt(int64(x.NodePort)) } } - if yyr2 || yy2arr2 { + if yyr2475 || yy2arr2475 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32600,25 +32600,25 @@ func (x *ServicePort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2491 := z.DecBinary() + _ = yym2491 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2492 := r.ContainerType() + if yyct2492 == codecSelferValueTypeMap1234 { + yyl2492 := r.ReadMapStart() + if yyl2492 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2492, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2492 == codecSelferValueTypeArray1234 { + yyl2492 := r.ReadArrayStart() + if yyl2492 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2492, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32630,12 +32630,12 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2493Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2493Slc + var yyhl2493 bool = l >= 0 + for yyj2493 := 0; ; yyj2493++ { + if yyhl2493 { + if yyj2493 >= l { break } } else { @@ -32644,10 +32644,10 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2493Slc = r.DecodeBytes(yys2493Slc, true, true) + yys2493 := string(yys2493Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2493 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -32670,15 +32670,15 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetPort = pkg4_intstr.IntOrString{} } else { - yyv7 := &x.TargetPort - yym8 := z.DecBinary() - _ = yym8 + yyv2497 := &x.TargetPort + yym2498 := z.DecBinary() + _ = yym2498 if false { - } else if z.HasExtensions() && z.DecExt(yyv7) { - } else if !yym8 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv7) + } else if z.HasExtensions() && z.DecExt(yyv2497) { + } else if !yym2498 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2497) } else { - z.DecFallback(yyv7, false) + z.DecFallback(yyv2497, false) } } case "nodePort": @@ -32688,9 +32688,9 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.NodePort = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2493) + } // end switch yys2493 + } // end for yyj2493 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32698,16 +32698,16 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj2500 int + var yyb2500 bool + var yyhl2500 bool = l >= 0 + yyj2500++ + if yyhl2500 { + yyb2500 = yyj2500 > l } else { - yyb10 = r.CheckBreak() + yyb2500 = r.CheckBreak() } - if yyb10 { + if yyb2500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32717,13 +32717,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2500++ + if yyhl2500 { + yyb2500 = yyj2500 > l } else { - yyb10 = r.CheckBreak() + yyb2500 = r.CheckBreak() } - if yyb10 { + if yyb2500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32733,13 +32733,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Protocol = Protocol(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2500++ + if yyhl2500 { + yyb2500 = yyj2500 > l } else { - yyb10 = r.CheckBreak() + yyb2500 = r.CheckBreak() } - if yyb10 { + if yyb2500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32749,13 +32749,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Port = int32(r.DecodeInt(32)) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2500++ + if yyhl2500 { + yyb2500 = yyj2500 > l } else { - yyb10 = r.CheckBreak() + yyb2500 = r.CheckBreak() } - if yyb10 { + if yyb2500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32763,24 +32763,24 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetPort = pkg4_intstr.IntOrString{} } else { - yyv14 := &x.TargetPort - yym15 := z.DecBinary() - _ = yym15 + yyv2504 := &x.TargetPort + yym2505 := z.DecBinary() + _ = yym2505 if false { - } else if z.HasExtensions() && z.DecExt(yyv14) { - } else if !yym15 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv14) + } else if z.HasExtensions() && z.DecExt(yyv2504) { + } else if !yym2505 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2504) } else { - z.DecFallback(yyv14, false) + z.DecFallback(yyv2504, false) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2500++ + if yyhl2500 { + yyb2500 = yyj2500 > l } else { - yyb10 = r.CheckBreak() + yyb2500 = r.CheckBreak() } - if yyb10 { + if yyb2500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32791,17 +32791,17 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.NodePort = int32(r.DecodeInt(32)) } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2500++ + if yyhl2500 { + yyb2500 = yyj2500 > l } else { - yyb10 = r.CheckBreak() + yyb2500 = r.CheckBreak() } - if yyb10 { + if yyb2500 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj2500-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32813,90 +32813,39 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2507 := z.EncBinary() + _ = yym2507 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2508 := !z.EncBinary() + yy2arr2508 := z.EncBasicHandle().StructToArray + var yyq2508 [5]bool + _, _, _ = yysep2508, yyq2508, yy2arr2508 + const yyr2508 bool = false + yyq2508[0] = x.Kind != "" + yyq2508[1] = x.APIVersion != "" + yyq2508[2] = true + yyq2508[3] = true + yyq2508[4] = true + var yynn2508 int + if yyr2508 || yy2arr2508 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2508 = 0 + for _, b := range yyq2508 { if b { - yynn2++ + yynn2508++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2508) + yynn2508 = 0 } - if yyr2 || yy2arr2 { + if yyr2508 || yy2arr2508 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq2508[0] { + yym2510 := z.EncBinary() + _ = yym2510 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -32905,23 +32854,23 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2508[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym2511 := z.EncBinary() + _ = yym2511 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr2508 || yy2arr2508 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq2508[1] { + yym2513 := z.EncBinary() + _ = yym2513 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -32930,19 +32879,70 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq2508[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym2514 := z.EncBinary() + _ = yym2514 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr2508 || yy2arr2508 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2508[2] { + yy2516 := &x.ObjectMeta + yy2516.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2508[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2517 := &x.ObjectMeta + yy2517.CodecEncodeSelf(e) + } + } + if yyr2508 || yy2arr2508 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2508[3] { + yy2519 := &x.Spec + yy2519.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2508[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2520 := &x.Spec + yy2520.CodecEncodeSelf(e) + } + } + if yyr2508 || yy2arr2508 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2508[4] { + yy2522 := &x.Status + yy2522.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2508[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2523 := &x.Status + yy2523.CodecEncodeSelf(e) + } + } + if yyr2508 || yy2arr2508 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32955,25 +32955,25 @@ func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2524 := z.DecBinary() + _ = yym2524 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2525 := r.ContainerType() + if yyct2525 == codecSelferValueTypeMap1234 { + yyl2525 := r.ReadMapStart() + if yyl2525 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2525, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2525 == codecSelferValueTypeArray1234 { + yyl2525 := r.ReadArrayStart() + if yyl2525 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2525, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32985,12 +32985,12 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2526Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2526Slc + var yyhl2526 bool = l >= 0 + for yyj2526 := 0; ; yyj2526++ { + if yyhl2526 { + if yyj2526 >= l { break } } else { @@ -32999,31 +32999,10 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2526Slc = r.DecodeBytes(yys2526Slc, true, true) + yys2526 := string(yys2526Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ServiceSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ServiceStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys2526 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33036,10 +33015,31 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2529 := &x.ObjectMeta + yyv2529.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ServiceSpec{} + } else { + yyv2530 := &x.Spec + yyv2530.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ServiceStatus{} + } else { + yyv2531 := &x.Status + yyv2531.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2526) + } // end switch yys2526 + } // end for yyj2526 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33047,67 +33047,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj2532 int + var yyb2532 bool + var yyhl2532 bool = l >= 0 + yyj2532++ + if yyhl2532 { + yyb2532 = yyj2532 > l } else { - yyb9 = r.CheckBreak() + yyb2532 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ServiceSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ServiceStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb2532 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33117,13 +33066,13 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2532++ + if yyhl2532 { + yyb2532 = yyj2532 > l } else { - yyb9 = r.CheckBreak() + yyb2532 = r.CheckBreak() } - if yyb9 { + if yyb2532 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33133,18 +33082,69 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj2532++ + if yyhl2532 { + yyb2532 = yyj2532 > l + } else { + yyb2532 = r.CheckBreak() + } + if yyb2532 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2535 := &x.ObjectMeta + yyv2535.CodecDecodeSelf(d) + } + yyj2532++ + if yyhl2532 { + yyb2532 = yyj2532 > l + } else { + yyb2532 = r.CheckBreak() + } + if yyb2532 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ServiceSpec{} + } else { + yyv2536 := &x.Spec + yyv2536.CodecDecodeSelf(d) + } + yyj2532++ + if yyhl2532 { + yyb2532 = yyj2532 > l + } else { + yyb2532 = r.CheckBreak() + } + if yyb2532 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ServiceStatus{} + } else { + yyv2537 := &x.Status + yyv2537.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2532++ + if yyhl2532 { + yyb2532 = yyj2532 > l } else { - yyb9 = r.CheckBreak() + yyb2532 = r.CheckBreak() } - if yyb9 { + if yyb2532 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj2532-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33156,57 +33156,107 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2538 := z.EncBinary() + _ = yym2538 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = len(x.ImagePullSecrets) != 0 - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2539 := !z.EncBinary() + yy2arr2539 := z.EncBasicHandle().StructToArray + var yyq2539 [5]bool + _, _, _ = yysep2539, yyq2539, yy2arr2539 + const yyr2539 bool = false + yyq2539[0] = x.Kind != "" + yyq2539[1] = x.APIVersion != "" + yyq2539[2] = true + yyq2539[4] = len(x.ImagePullSecrets) != 0 + var yynn2539 int + if yyr2539 || yy2arr2539 { r.EncodeArrayStart(5) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2539 = 1 + for _, b := range yyq2539 { if b { - yynn2++ + yynn2539++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2539) + yynn2539 = 0 } - if yyr2 || yy2arr2 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq2539[0] { + yym2541 := z.EncBinary() + _ = yym2541 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2539[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2542 := z.EncBinary() + _ = yym2542 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2539 || yy2arr2539 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2539[1] { + yym2544 := z.EncBinary() + _ = yym2544 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2539[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2545 := z.EncBinary() + _ = yym2545 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2539 || yy2arr2539 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2539[2] { + yy2547 := &x.ObjectMeta + yy2547.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2539[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy2548 := &x.ObjectMeta + yy2548.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Secrets == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2550 := z.EncBinary() + _ = yym2550 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) @@ -33219,22 +33269,22 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { if x.Secrets == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2551 := z.EncBinary() + _ = yym2551 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) } } } - if yyr2 || yy2arr2 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq2539[4] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym12 := z.EncBinary() - _ = yym12 + yym2553 := z.EncBinary() + _ = yym2553 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -33244,15 +33294,15 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq2539[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym2554 := z.EncBinary() + _ = yym2554 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -33260,57 +33310,7 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr2539 || yy2arr2539 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33323,25 +33323,25 @@ func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2555 := z.DecBinary() + _ = yym2555 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2556 := r.ContainerType() + if yyct2556 == codecSelferValueTypeMap1234 { + yyl2556 := r.ReadMapStart() + if yyl2556 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2556, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2556 == codecSelferValueTypeArray1234 { + yyl2556 := r.ReadArrayStart() + if yyl2556 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2556, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33353,12 +33353,12 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2557Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2557Slc + var yyhl2557 bool = l >= 0 + for yyj2557 := 0; ; yyj2557++ { + if yyhl2557 { + if yyj2557 >= l { break } } else { @@ -33367,41 +33367,10 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2557Slc = r.DecodeBytes(yys2557Slc, true, true) + yys2557 := string(yys2557Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "secrets": - if r.TryDecodeAsNil() { - x.Secrets = nil - } else { - yyv5 := &x.Secrets - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv5), d) - } - } - case "imagePullSecrets": - if r.TryDecodeAsNil() { - x.ImagePullSecrets = nil - } else { - yyv7 := &x.ImagePullSecrets - yym8 := z.DecBinary() - _ = yym8 - if false { - } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv7), d) - } - } + switch yys2557 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33414,10 +33383,41 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2560 := &x.ObjectMeta + yyv2560.CodecDecodeSelf(d) + } + case "secrets": + if r.TryDecodeAsNil() { + x.Secrets = nil + } else { + yyv2561 := &x.Secrets + yym2562 := z.DecBinary() + _ = yym2562 + if false { + } else { + h.decSliceObjectReference((*[]ObjectReference)(yyv2561), d) + } + } + case "imagePullSecrets": + if r.TryDecodeAsNil() { + x.ImagePullSecrets = nil + } else { + yyv2563 := &x.ImagePullSecrets + yym2564 := z.DecBinary() + _ = yym2564 + if false { + } else { + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2563), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2557) + } // end switch yys2557 + } // end for yyj2557 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33425,77 +33425,16 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj2565 int + var yyb2565 bool + var yyhl2565 bool = l >= 0 + yyj2565++ + if yyhl2565 { + yyb2565 = yyj2565 > l } else { - yyb11 = r.CheckBreak() + yyb2565 = r.CheckBreak() } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv12 := &x.ObjectMeta - yyv12.CodecDecodeSelf(d) - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Secrets = nil - } else { - yyv13 := &x.Secrets - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv13), d) - } - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ImagePullSecrets = nil - } else { - yyv15 := &x.ImagePullSecrets - yym16 := z.DecBinary() - _ = yym16 - if false { - } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv15), d) - } - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { + if yyb2565 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33505,13 +33444,13 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj2565++ + if yyhl2565 { + yyb2565 = yyj2565 > l } else { - yyb11 = r.CheckBreak() + yyb2565 = r.CheckBreak() } - if yyb11 { + if yyb2565 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33521,18 +33460,79 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj2565++ + if yyhl2565 { + yyb2565 = yyj2565 > l + } else { + yyb2565 = r.CheckBreak() + } + if yyb2565 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2568 := &x.ObjectMeta + yyv2568.CodecDecodeSelf(d) + } + yyj2565++ + if yyhl2565 { + yyb2565 = yyj2565 > l + } else { + yyb2565 = r.CheckBreak() + } + if yyb2565 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Secrets = nil + } else { + yyv2569 := &x.Secrets + yym2570 := z.DecBinary() + _ = yym2570 + if false { } else { - yyb11 = r.CheckBreak() + h.decSliceObjectReference((*[]ObjectReference)(yyv2569), d) } - if yyb11 { + } + yyj2565++ + if yyhl2565 { + yyb2565 = yyj2565 > l + } else { + yyb2565 = r.CheckBreak() + } + if yyb2565 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ImagePullSecrets = nil + } else { + yyv2571 := &x.ImagePullSecrets + yym2572 := z.DecBinary() + _ = yym2572 + if false { + } else { + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2571), d) + } + } + for { + yyj2565++ + if yyhl2565 { + yyb2565 = yyj2565 > l + } else { + yyb2565 = r.CheckBreak() + } + if yyb2565 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj2565-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33544,68 +33544,118 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2573 := z.EncBinary() + _ = yym2573 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2574 := !z.EncBinary() + yy2arr2574 := z.EncBasicHandle().StructToArray + var yyq2574 [4]bool + _, _, _ = yysep2574, yyq2574, yy2arr2574 + const yyr2574 bool = false + yyq2574[0] = x.Kind != "" + yyq2574[1] = x.APIVersion != "" + yyq2574[2] = true + var yynn2574 int + if yyr2574 || yy2arr2574 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2574 = 1 + for _, b := range yyq2574 { if b { - yynn2++ + yynn2574++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2574) + yynn2574 = 0 } - if yyr2 || yy2arr2 { + if yyr2574 || yy2arr2574 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq2574[0] { + yym2576 := z.EncBinary() + _ = yym2576 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2574[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2577 := z.EncBinary() + _ = yym2577 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2574 || yy2arr2574 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2574[1] { + yym2579 := z.EncBinary() + _ = yym2579 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2574[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2580 := z.EncBinary() + _ = yym2580 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2574 || yy2arr2574 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2574[2] { + yy2582 := &x.ListMeta + yym2583 := z.EncBinary() + _ = yym2583 + if false { + } else if z.HasExtensions() && z.EncExt(yy2582) { + } else { + z.EncFallback(yy2582) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2574[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy2584 := &x.ListMeta + yym2585 := z.EncBinary() + _ = yym2585 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy2584) { } else { - z.EncFallback(yy6) + z.EncFallback(yy2584) } } } - if yyr2 || yy2arr2 { + if yyr2574 || yy2arr2574 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2587 := z.EncBinary() + _ = yym2587 if false { } else { h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) @@ -33618,65 +33668,15 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2588 := z.EncBinary() + _ = yym2588 if false { } else { h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr2574 || yy2arr2574 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33689,25 +33689,25 @@ func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2589 := z.DecBinary() + _ = yym2589 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2590 := r.ContainerType() + if yyct2590 == codecSelferValueTypeMap1234 { + yyl2590 := r.ReadMapStart() + if yyl2590 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2590, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2590 == codecSelferValueTypeArray1234 { + yyl2590 := r.ReadArrayStart() + if yyl2590 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2590, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33719,12 +33719,12 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2591Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2591Slc + var yyhl2591 bool = l >= 0 + for yyj2591 := 0; ; yyj2591++ { + if yyhl2591 { + if yyj2591 >= l { break } } else { @@ -33733,35 +33733,10 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2591Slc = r.DecodeBytes(yys2591Slc, true, true) + yys2591 := string(yys2591Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv6), d) - } - } + switch yys2591 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33774,10 +33749,35 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2594 := &x.ListMeta + yym2595 := z.DecBinary() + _ = yym2595 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2594) { + } else { + z.DecFallback(yyv2594, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2596 := &x.Items + yym2597 := z.DecBinary() + _ = yym2597 + if false { + } else { + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2596), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2591) + } // end switch yys2591 + } // end for yyj2591 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33785,61 +33785,16 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj2598 int + var yyb2598 bool + var yyhl2598 bool = l >= 0 + yyj2598++ + if yyhl2598 { + yyb2598 = yyj2598 > l } else { - yyb10 = r.CheckBreak() + yyb2598 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb2598 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33849,13 +33804,13 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2598++ + if yyhl2598 { + yyb2598 = yyj2598 > l } else { - yyb10 = r.CheckBreak() + yyb2598 = r.CheckBreak() } - if yyb10 { + if yyb2598 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33865,18 +33820,63 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2598++ + if yyhl2598 { + yyb2598 = yyj2598 > l + } else { + yyb2598 = r.CheckBreak() + } + if yyb2598 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2601 := &x.ListMeta + yym2602 := z.DecBinary() + _ = yym2602 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2601) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv2601, false) } - if yyb10 { + } + yyj2598++ + if yyhl2598 { + yyb2598 = yyj2598 > l + } else { + yyb2598 = r.CheckBreak() + } + if yyb2598 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2603 := &x.Items + yym2604 := z.DecBinary() + _ = yym2604 + if false { + } else { + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2603), d) + } + } + for { + yyj2598++ + if yyhl2598 { + yyb2598 = yyj2598 > l + } else { + yyb2598 = r.CheckBreak() + } + if yyb2598 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj2598-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33888,56 +33888,106 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2605 := z.EncBinary() + _ = yym2605 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2606 := !z.EncBinary() + yy2arr2606 := z.EncBasicHandle().StructToArray + var yyq2606 [4]bool + _, _, _ = yysep2606, yyq2606, yy2arr2606 + const yyr2606 bool = false + yyq2606[0] = x.Kind != "" + yyq2606[1] = x.APIVersion != "" + yyq2606[2] = true + var yynn2606 int + if yyr2606 || yy2arr2606 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2606 = 1 + for _, b := range yyq2606 { if b { - yynn2++ + yynn2606++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2606) + yynn2606 = 0 } - if yyr2 || yy2arr2 { + if yyr2606 || yy2arr2606 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq2606[0] { + yym2608 := z.EncBinary() + _ = yym2608 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2606[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2609 := z.EncBinary() + _ = yym2609 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2606 || yy2arr2606 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2606[1] { + yym2611 := z.EncBinary() + _ = yym2611 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2606[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2612 := z.EncBinary() + _ = yym2612 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2606 || yy2arr2606 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2606[2] { + yy2614 := &x.ObjectMeta + yy2614.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2606[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy2615 := &x.ObjectMeta + yy2615.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2606 || yy2arr2606 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Subsets == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2617 := z.EncBinary() + _ = yym2617 if false { } else { h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) @@ -33950,65 +34000,15 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x.Subsets == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2618 := z.EncBinary() + _ = yym2618 if false { } else { h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr2606 || yy2arr2606 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34021,25 +34021,25 @@ func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2619 := z.DecBinary() + _ = yym2619 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2620 := r.ContainerType() + if yyct2620 == codecSelferValueTypeMap1234 { + yyl2620 := r.ReadMapStart() + if yyl2620 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2620, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2620 == codecSelferValueTypeArray1234 { + yyl2620 := r.ReadArrayStart() + if yyl2620 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2620, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34051,12 +34051,12 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2621Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2621Slc + var yyhl2621 bool = l >= 0 + for yyj2621 := 0; ; yyj2621++ { + if yyhl2621 { + if yyj2621 >= l { break } } else { @@ -34065,29 +34065,10 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2621Slc = r.DecodeBytes(yys2621Slc, true, true) + yys2621 := string(yys2621Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "Subsets": - if r.TryDecodeAsNil() { - x.Subsets = nil - } else { - yyv5 := &x.Subsets - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv5), d) - } - } + switch yys2621 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -34100,10 +34081,29 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2624 := &x.ObjectMeta + yyv2624.CodecDecodeSelf(d) + } + case "Subsets": + if r.TryDecodeAsNil() { + x.Subsets = nil + } else { + yyv2625 := &x.Subsets + yym2626 := z.DecBinary() + _ = yym2626 + if false { + } else { + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2625), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2621) + } // end switch yys2621 + } // end for yyj2621 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34111,55 +34111,16 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj2627 int + var yyb2627 bool + var yyhl2627 bool = l >= 0 + yyj2627++ + if yyhl2627 { + yyb2627 = yyj2627 > l } else { - yyb9 = r.CheckBreak() + yyb2627 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Subsets = nil - } else { - yyv11 := &x.Subsets - yym12 := z.DecBinary() - _ = yym12 - if false { - } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv11), d) - } - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb2627 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34169,13 +34130,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2627++ + if yyhl2627 { + yyb2627 = yyj2627 > l } else { - yyb9 = r.CheckBreak() + yyb2627 = r.CheckBreak() } - if yyb9 { + if yyb2627 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34185,18 +34146,57 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2627++ + if yyhl2627 { + yyb2627 = yyj2627 > l + } else { + yyb2627 = r.CheckBreak() + } + if yyb2627 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2630 := &x.ObjectMeta + yyv2630.CodecDecodeSelf(d) + } + yyj2627++ + if yyhl2627 { + yyb2627 = yyj2627 > l + } else { + yyb2627 = r.CheckBreak() + } + if yyb2627 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Subsets = nil + } else { + yyv2631 := &x.Subsets + yym2632 := z.DecBinary() + _ = yym2632 + if false { } else { - yyb9 = r.CheckBreak() + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2631), d) } - if yyb9 { + } + for { + yyj2627++ + if yyhl2627 { + yyb2627 = yyj2627 > l + } else { + yyb2627 = r.CheckBreak() + } + if yyb2627 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj2627-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34208,36 +34208,36 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2633 := z.EncBinary() + _ = yym2633 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep2634 := !z.EncBinary() + yy2arr2634 := z.EncBasicHandle().StructToArray + var yyq2634 [3]bool + _, _, _ = yysep2634, yyq2634, yy2arr2634 + const yyr2634 bool = false + var yynn2634 int + if yyr2634 || yy2arr2634 { r.EncodeArrayStart(3) } else { - yynn2 = 3 - for _, b := range yyq2 { + yynn2634 = 3 + for _, b := range yyq2634 { if b { - yynn2++ + yynn2634++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2634) + yynn2634 = 0 } - if yyr2 || yy2arr2 { + if yyr2634 || yy2arr2634 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Addresses == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym2636 := z.EncBinary() + _ = yym2636 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -34250,21 +34250,21 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x.Addresses == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym2637 := z.EncBinary() + _ = yym2637 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) } } } - if yyr2 || yy2arr2 { + if yyr2634 || yy2arr2634 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym2639 := z.EncBinary() + _ = yym2639 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -34277,21 +34277,21 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym2640 := z.EncBinary() + _ = yym2640 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) } } } - if yyr2 || yy2arr2 { + if yyr2634 || yy2arr2634 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Ports == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2642 := z.EncBinary() + _ = yym2642 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -34304,15 +34304,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x.Ports == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym2643 := z.EncBinary() + _ = yym2643 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) } } } - if yyr2 || yy2arr2 { + if yyr2634 || yy2arr2634 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34325,25 +34325,25 @@ func (x *EndpointSubset) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2644 := z.DecBinary() + _ = yym2644 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2645 := r.ContainerType() + if yyct2645 == codecSelferValueTypeMap1234 { + yyl2645 := r.ReadMapStart() + if yyl2645 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2645, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2645 == codecSelferValueTypeArray1234 { + yyl2645 := r.ReadArrayStart() + if yyl2645 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2645, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34355,12 +34355,12 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2646Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2646Slc + var yyhl2646 bool = l >= 0 + for yyj2646 := 0; ; yyj2646++ { + if yyhl2646 { + if yyj2646 >= l { break } } else { @@ -34369,50 +34369,50 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2646Slc = r.DecodeBytes(yys2646Slc, true, true) + yys2646 := string(yys2646Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2646 { case "Addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv4 := &x.Addresses - yym5 := z.DecBinary() - _ = yym5 + yyv2647 := &x.Addresses + yym2648 := z.DecBinary() + _ = yym2648 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv4), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2647), d) } } case "NotReadyAddresses": if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv6 := &x.NotReadyAddresses - yym7 := z.DecBinary() - _ = yym7 + yyv2649 := &x.NotReadyAddresses + yym2650 := z.DecBinary() + _ = yym2650 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv6), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2649), d) } } case "Ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv8 := &x.Ports - yym9 := z.DecBinary() - _ = yym9 + yyv2651 := &x.Ports + yym2652 := z.DecBinary() + _ = yym2652 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv8), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2651), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2646) + } // end switch yys2646 + } // end for yyj2646 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34420,16 +34420,16 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj2653 int + var yyb2653 bool + var yyhl2653 bool = l >= 0 + yyj2653++ + if yyhl2653 { + yyb2653 = yyj2653 > l } else { - yyb10 = r.CheckBreak() + yyb2653 = r.CheckBreak() } - if yyb10 { + if yyb2653 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34437,21 +34437,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv11 := &x.Addresses - yym12 := z.DecBinary() - _ = yym12 + yyv2654 := &x.Addresses + yym2655 := z.DecBinary() + _ = yym2655 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv11), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2654), d) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2653++ + if yyhl2653 { + yyb2653 = yyj2653 > l } else { - yyb10 = r.CheckBreak() + yyb2653 = r.CheckBreak() } - if yyb10 { + if yyb2653 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34459,21 +34459,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv13 := &x.NotReadyAddresses - yym14 := z.DecBinary() - _ = yym14 + yyv2656 := &x.NotReadyAddresses + yym2657 := z.DecBinary() + _ = yym2657 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv13), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2656), d) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2653++ + if yyhl2653 { + yyb2653 = yyj2653 > l } else { - yyb10 = r.CheckBreak() + yyb2653 = r.CheckBreak() } - if yyb10 { + if yyb2653 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34481,26 +34481,26 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv15 := &x.Ports - yym16 := z.DecBinary() - _ = yym16 + yyv2658 := &x.Ports + yym2659 := z.DecBinary() + _ = yym2659 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv15), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2658), d) } } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2653++ + if yyhl2653 { + yyb2653 = yyj2653 > l } else { - yyb10 = r.CheckBreak() + yyb2653 = r.CheckBreak() } - if yyb10 { + if yyb2653 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj2653-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34512,34 +34512,34 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2660 := z.EncBinary() + _ = yym2660 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Hostname != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2661 := !z.EncBinary() + yy2arr2661 := z.EncBasicHandle().StructToArray + var yyq2661 [3]bool + _, _, _ = yysep2661, yyq2661, yy2arr2661 + const yyr2661 bool = false + yyq2661[1] = x.Hostname != "" + var yynn2661 int + if yyr2661 || yy2arr2661 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn2661 = 2 + for _, b := range yyq2661 { if b { - yynn2++ + yynn2661++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2661) + yynn2661 = 0 } - if yyr2 || yy2arr2 { + if yyr2661 || yy2arr2661 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym2663 := z.EncBinary() + _ = yym2663 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -34548,18 +34548,18 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("IP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2664 := z.EncBinary() + _ = yym2664 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } - if yyr2 || yy2arr2 { + if yyr2661 || yy2arr2661 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq2661[1] { + yym2666 := z.EncBinary() + _ = yym2666 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -34568,19 +34568,19 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq2661[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2667 := z.EncBinary() + _ = yym2667 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2 || yy2arr2 { + if yyr2661 || yy2arr2661 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TargetRef == nil { r.EncodeNil() @@ -34597,7 +34597,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { x.TargetRef.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2661 || yy2arr2661 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34610,25 +34610,25 @@ func (x *EndpointAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2669 := z.DecBinary() + _ = yym2669 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2670 := r.ContainerType() + if yyct2670 == codecSelferValueTypeMap1234 { + yyl2670 := r.ReadMapStart() + if yyl2670 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2670, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2670 == codecSelferValueTypeArray1234 { + yyl2670 := r.ReadArrayStart() + if yyl2670 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2670, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34640,12 +34640,12 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + 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 { @@ -34654,10 +34654,10 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2671Slc = r.DecodeBytes(yys2671Slc, true, true) + yys2671 := string(yys2671Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2671 { case "IP": if r.TryDecodeAsNil() { x.IP = "" @@ -34682,9 +34682,9 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TargetRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2671) + } // end switch yys2671 + } // end for yyj2671 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34692,16 +34692,16 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj2675 int + var yyb2675 bool + var yyhl2675 bool = l >= 0 + yyj2675++ + if yyhl2675 { + yyb2675 = yyj2675 > l } else { - yyb7 = r.CheckBreak() + yyb2675 = r.CheckBreak() } - if yyb7 { + if yyb2675 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34711,13 +34711,13 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.IP = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2675++ + if yyhl2675 { + yyb2675 = yyj2675 > l } else { - yyb7 = r.CheckBreak() + yyb2675 = r.CheckBreak() } - if yyb7 { + if yyb2675 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34727,13 +34727,13 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Hostname = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2675++ + if yyhl2675 { + yyb2675 = yyj2675 > l } else { - yyb7 = r.CheckBreak() + yyb2675 = r.CheckBreak() } - if yyb7 { + if yyb2675 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34749,17 +34749,17 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.TargetRef.CodecDecodeSelf(d) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2675++ + if yyhl2675 { + yyb2675 = yyj2675 > l } else { - yyb7 = r.CheckBreak() + yyb2675 = r.CheckBreak() } - if yyb7 { + if yyb2675 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj2675-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34771,33 +34771,33 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2679 := z.EncBinary() + _ = yym2679 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep2680 := !z.EncBinary() + yy2arr2680 := z.EncBasicHandle().StructToArray + var yyq2680 [3]bool + _, _, _ = yysep2680, yyq2680, yy2arr2680 + const yyr2680 bool = false + var yynn2680 int + if yyr2680 || yy2arr2680 { r.EncodeArrayStart(3) } else { - yynn2 = 3 - for _, b := range yyq2 { + yynn2680 = 3 + for _, b := range yyq2680 { if b { - yynn2++ + yynn2680++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2680) + yynn2680 = 0 } - if yyr2 || yy2arr2 { + if yyr2680 || yy2arr2680 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym2682 := z.EncBinary() + _ = yym2682 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -34806,17 +34806,17 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2683 := z.EncBinary() + _ = yym2683 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr2680 || yy2arr2680 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym2685 := z.EncBinary() + _ = yym2685 if false { } else { r.EncodeInt(int64(x.Port)) @@ -34825,14 +34825,14 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2686 := z.EncBinary() + _ = yym2686 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2 || yy2arr2 { + if yyr2680 || yy2arr2680 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Protocol.CodecEncodeSelf(e) } else { @@ -34841,7 +34841,7 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr2680 || yy2arr2680 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34854,25 +34854,25 @@ func (x *EndpointPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2688 := z.DecBinary() + _ = yym2688 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2689 := r.ContainerType() + if yyct2689 == codecSelferValueTypeMap1234 { + yyl2689 := r.ReadMapStart() + if yyl2689 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2689, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2689 == codecSelferValueTypeArray1234 { + yyl2689 := r.ReadArrayStart() + if yyl2689 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2689, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34884,12 +34884,12 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2690Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2690Slc + var yyhl2690 bool = l >= 0 + for yyj2690 := 0; ; yyj2690++ { + if yyhl2690 { + if yyj2690 >= l { break } } else { @@ -34898,10 +34898,10 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2690Slc = r.DecodeBytes(yys2690Slc, true, true) + yys2690 := string(yys2690Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2690 { case "Name": if r.TryDecodeAsNil() { x.Name = "" @@ -34921,9 +34921,9 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2690) + } // end switch yys2690 + } // end for yyj2690 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34931,16 +34931,16 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj2694 int + var yyb2694 bool + var yyhl2694 bool = l >= 0 + yyj2694++ + if yyhl2694 { + yyb2694 = yyj2694 > l } else { - yyb7 = r.CheckBreak() + yyb2694 = r.CheckBreak() } - if yyb7 { + if yyb2694 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34950,13 +34950,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2694++ + if yyhl2694 { + yyb2694 = yyj2694 > l } else { - yyb7 = r.CheckBreak() + yyb2694 = r.CheckBreak() } - if yyb7 { + if yyb2694 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34966,13 +34966,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Port = int32(r.DecodeInt(32)) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2694++ + if yyhl2694 { + yyb2694 = yyj2694 > l } else { - yyb7 = r.CheckBreak() + yyb2694 = r.CheckBreak() } - if yyb7 { + if yyb2694 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34983,17 +34983,17 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2694++ + if yyhl2694 { + yyb2694 = yyj2694 > l } else { - yyb7 = r.CheckBreak() + yyb2694 = r.CheckBreak() } - if yyb7 { + if yyb2694 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj2694-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35005,68 +35005,118 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2698 := z.EncBinary() + _ = yym2698 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2699 := !z.EncBinary() + yy2arr2699 := z.EncBasicHandle().StructToArray + var yyq2699 [4]bool + _, _, _ = yysep2699, yyq2699, yy2arr2699 + const yyr2699 bool = false + yyq2699[0] = x.Kind != "" + yyq2699[1] = x.APIVersion != "" + yyq2699[2] = true + var yynn2699 int + if yyr2699 || yy2arr2699 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2699 = 1 + for _, b := range yyq2699 { if b { - yynn2++ + yynn2699++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2699) + yynn2699 = 0 } - if yyr2 || yy2arr2 { + if yyr2699 || yy2arr2699 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq2699[0] { + yym2701 := z.EncBinary() + _ = yym2701 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2699[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2702 := z.EncBinary() + _ = yym2702 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2699 || yy2arr2699 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2699[1] { + yym2704 := z.EncBinary() + _ = yym2704 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2699[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2705 := z.EncBinary() + _ = yym2705 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2699 || yy2arr2699 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2699[2] { + yy2707 := &x.ListMeta + yym2708 := z.EncBinary() + _ = yym2708 + if false { + } else if z.HasExtensions() && z.EncExt(yy2707) { + } else { + z.EncFallback(yy2707) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2699[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy2709 := &x.ListMeta + yym2710 := z.EncBinary() + _ = yym2710 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy2709) { } else { - z.EncFallback(yy6) + z.EncFallback(yy2709) } } } - if yyr2 || yy2arr2 { + if yyr2699 || yy2arr2699 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2712 := z.EncBinary() + _ = yym2712 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) @@ -35079,65 +35129,15 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2713 := z.EncBinary() + _ = yym2713 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr2699 || yy2arr2699 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35150,25 +35150,25 @@ func (x *EndpointsList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2714 := z.DecBinary() + _ = yym2714 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2715 := r.ContainerType() + if yyct2715 == codecSelferValueTypeMap1234 { + yyl2715 := r.ReadMapStart() + if yyl2715 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2715, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2715 == codecSelferValueTypeArray1234 { + yyl2715 := r.ReadArrayStart() + if yyl2715 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2715, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35180,12 +35180,12 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2716Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2716Slc + var yyhl2716 bool = l >= 0 + for yyj2716 := 0; ; yyj2716++ { + if yyhl2716 { + if yyj2716 >= l { break } } else { @@ -35194,35 +35194,10 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2716Slc = r.DecodeBytes(yys2716Slc, true, true) + yys2716 := string(yys2716Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceEndpoints((*[]Endpoints)(yyv6), d) - } - } + switch yys2716 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35235,10 +35210,35 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2719 := &x.ListMeta + yym2720 := z.DecBinary() + _ = yym2720 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2719) { + } else { + z.DecFallback(yyv2719, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2721 := &x.Items + yym2722 := z.DecBinary() + _ = yym2722 + if false { + } else { + h.decSliceEndpoints((*[]Endpoints)(yyv2721), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2716) + } // end switch yys2716 + } // end for yyj2716 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35246,61 +35246,16 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj2723 int + var yyb2723 bool + var yyhl2723 bool = l >= 0 + yyj2723++ + if yyhl2723 { + yyb2723 = yyj2723 > l } else { - yyb10 = r.CheckBreak() + yyb2723 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceEndpoints((*[]Endpoints)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb2723 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35310,13 +35265,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2723++ + if yyhl2723 { + yyb2723 = yyj2723 > l } else { - yyb10 = r.CheckBreak() + yyb2723 = r.CheckBreak() } - if yyb10 { + if yyb2723 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35326,18 +35281,63 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2723++ + if yyhl2723 { + yyb2723 = yyj2723 > l + } else { + yyb2723 = r.CheckBreak() + } + if yyb2723 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2726 := &x.ListMeta + yym2727 := z.DecBinary() + _ = yym2727 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2726) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv2726, false) } - if yyb10 { + } + yyj2723++ + if yyhl2723 { + yyb2723 = yyj2723 > l + } else { + yyb2723 = r.CheckBreak() + } + if yyb2723 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2728 := &x.Items + yym2729 := z.DecBinary() + _ = yym2729 + if false { + } else { + h.decSliceEndpoints((*[]Endpoints)(yyv2728), d) + } + } + for { + yyj2723++ + if yyhl2723 { + yyb2723 = yyj2723 > l + } else { + yyb2723 = r.CheckBreak() + } + if yyb2723 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj2723-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35349,38 +35349,38 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2730 := z.EncBinary() + _ = yym2730 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.PodCIDR != "" - yyq2[1] = x.ExternalID != "" - yyq2[2] = x.ProviderID != "" - yyq2[3] = x.Unschedulable != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep2731 := !z.EncBinary() + yy2arr2731 := z.EncBasicHandle().StructToArray + var yyq2731 [4]bool + _, _, _ = yysep2731, yyq2731, yy2arr2731 + const yyr2731 bool = false + yyq2731[0] = x.PodCIDR != "" + yyq2731[1] = x.ExternalID != "" + yyq2731[2] = x.ProviderID != "" + yyq2731[3] = x.Unschedulable != false + var yynn2731 int + if yyr2731 || yy2arr2731 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2731 = 0 + for _, b := range yyq2731 { if b { - yynn2++ + yynn2731++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2731) + yynn2731 = 0 } - if yyr2 || yy2arr2 { + if yyr2731 || yy2arr2731 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq2731[0] { + yym2733 := z.EncBinary() + _ = yym2733 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) @@ -35389,23 +35389,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq2731[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2734 := z.EncBinary() + _ = yym2734 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } } - if yyr2 || yy2arr2 { + if yyr2731 || yy2arr2731 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq2731[1] { + yym2736 := z.EncBinary() + _ = yym2736 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) @@ -35414,23 +35414,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq2731[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2737 := z.EncBinary() + _ = yym2737 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) } } } - if yyr2 || yy2arr2 { + if yyr2731 || yy2arr2731 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq2731[2] { + yym2739 := z.EncBinary() + _ = yym2739 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) @@ -35439,23 +35439,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq2731[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("providerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym2740 := z.EncBinary() + _ = yym2740 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) } } } - if yyr2 || yy2arr2 { + if yyr2731 || yy2arr2731 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq2731[3] { + yym2742 := z.EncBinary() + _ = yym2742 if false { } else { r.EncodeBool(bool(x.Unschedulable)) @@ -35464,19 +35464,19 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[3] { + if yyq2731[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unschedulable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym2743 := z.EncBinary() + _ = yym2743 if false { } else { r.EncodeBool(bool(x.Unschedulable)) } } } - if yyr2 || yy2arr2 { + if yyr2731 || yy2arr2731 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35489,25 +35489,25 @@ func (x *NodeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2744 := z.DecBinary() + _ = yym2744 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2745 := r.ContainerType() + if yyct2745 == codecSelferValueTypeMap1234 { + yyl2745 := r.ReadMapStart() + if yyl2745 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2745, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2745 == codecSelferValueTypeArray1234 { + yyl2745 := r.ReadArrayStart() + if yyl2745 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2745, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35519,12 +35519,12 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2746Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2746Slc + var yyhl2746 bool = l >= 0 + for yyj2746 := 0; ; yyj2746++ { + if yyhl2746 { + if yyj2746 >= l { break } } else { @@ -35533,10 +35533,10 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2746Slc = r.DecodeBytes(yys2746Slc, true, true) + yys2746 := string(yys2746Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2746 { case "podCIDR": if r.TryDecodeAsNil() { x.PodCIDR = "" @@ -35562,9 +35562,9 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2746) + } // end switch yys2746 + } // end for yyj2746 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35572,16 +35572,16 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj2751 int + var yyb2751 bool + var yyhl2751 bool = l >= 0 + yyj2751++ + if yyhl2751 { + yyb2751 = yyj2751 > l } else { - yyb8 = r.CheckBreak() + yyb2751 = r.CheckBreak() } - if yyb8 { + if yyb2751 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35591,13 +35591,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodCIDR = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2751++ + if yyhl2751 { + yyb2751 = yyj2751 > l } else { - yyb8 = r.CheckBreak() + yyb2751 = r.CheckBreak() } - if yyb8 { + if yyb2751 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35607,13 +35607,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ExternalID = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2751++ + if yyhl2751 { + yyb2751 = yyj2751 > l } else { - yyb8 = r.CheckBreak() + yyb2751 = r.CheckBreak() } - if yyb8 { + if yyb2751 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35623,13 +35623,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ProviderID = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2751++ + if yyhl2751 { + yyb2751 = yyj2751 > l } else { - yyb8 = r.CheckBreak() + yyb2751 = r.CheckBreak() } - if yyb8 { + if yyb2751 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35640,17 +35640,17 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2751++ + if yyhl2751 { + yyb2751 = yyj2751 > l } else { - yyb8 = r.CheckBreak() + yyb2751 = r.CheckBreak() } - if yyb8 { + if yyb2751 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj2751-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35662,33 +35662,33 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2756 := z.EncBinary() + _ = yym2756 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep2757 := !z.EncBinary() + yy2arr2757 := z.EncBasicHandle().StructToArray + var yyq2757 [1]bool + _, _, _ = yysep2757, yyq2757, yy2arr2757 + const yyr2757 bool = false + var yynn2757 int + if yyr2757 || yy2arr2757 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2757 = 1 + for _, b := range yyq2757 { if b { - yynn2++ + yynn2757++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2757) + yynn2757 = 0 } - if yyr2 || yy2arr2 { + if yyr2757 || yy2arr2757 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym2759 := z.EncBinary() + _ = yym2759 if false { } else { r.EncodeInt(int64(x.Port)) @@ -35697,14 +35697,14 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2760 := z.EncBinary() + _ = yym2760 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2 || yy2arr2 { + if yyr2757 || yy2arr2757 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35717,25 +35717,25 @@ func (x *DaemonEndpoint) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2761 := z.DecBinary() + _ = yym2761 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2762 := r.ContainerType() + if yyct2762 == codecSelferValueTypeMap1234 { + yyl2762 := r.ReadMapStart() + if yyl2762 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2762, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2762 == codecSelferValueTypeArray1234 { + yyl2762 := r.ReadArrayStart() + if yyl2762 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2762, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35747,12 +35747,12 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2763Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2763Slc + var yyhl2763 bool = l >= 0 + for yyj2763 := 0; ; yyj2763++ { + if yyhl2763 { + if yyj2763 >= l { break } } else { @@ -35761,10 +35761,10 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2763Slc = r.DecodeBytes(yys2763Slc, true, true) + yys2763 := string(yys2763Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2763 { case "Port": if r.TryDecodeAsNil() { x.Port = 0 @@ -35772,9 +35772,9 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Port = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2763) + } // end switch yys2763 + } // end for yyj2763 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35782,16 +35782,16 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj2765 int + var yyb2765 bool + var yyhl2765 bool = l >= 0 + yyj2765++ + if yyhl2765 { + yyb2765 = yyj2765 > l } else { - yyb5 = r.CheckBreak() + yyb2765 = r.CheckBreak() } - if yyb5 { + if yyb2765 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35802,17 +35802,17 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Port = int32(r.DecodeInt(32)) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj2765++ + if yyhl2765 { + yyb2765 = yyj2765 > l } else { - yyb5 = r.CheckBreak() + yyb2765 = r.CheckBreak() } - if yyb5 { + if yyb2765 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj2765-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35824,48 +35824,48 @@ func (x *NodeDaemonEndpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2767 := z.EncBinary() + _ = yym2767 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep2768 := !z.EncBinary() + yy2arr2768 := z.EncBasicHandle().StructToArray + var yyq2768 [1]bool + _, _, _ = yysep2768, yyq2768, yy2arr2768 + const yyr2768 bool = false + yyq2768[0] = true + var yynn2768 int + if yyr2768 || yy2arr2768 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2768 = 0 + for _, b := range yyq2768 { if b { - yynn2++ + yynn2768++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2768) + yynn2768 = 0 } - if yyr2 || yy2arr2 { + if yyr2768 || yy2arr2768 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.KubeletEndpoint - yy4.CodecEncodeSelf(e) + if yyq2768[0] { + yy2770 := &x.KubeletEndpoint + yy2770.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2768[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletEndpoint")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.KubeletEndpoint - yy6.CodecEncodeSelf(e) + yy2771 := &x.KubeletEndpoint + yy2771.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2768 || yy2arr2768 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35878,25 +35878,25 @@ func (x *NodeDaemonEndpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2772 := z.DecBinary() + _ = yym2772 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2773 := r.ContainerType() + if yyct2773 == codecSelferValueTypeMap1234 { + yyl2773 := r.ReadMapStart() + if yyl2773 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2773, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2773 == codecSelferValueTypeArray1234 { + yyl2773 := r.ReadArrayStart() + if yyl2773 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2773, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35908,12 +35908,12 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2774Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2774Slc + var yyhl2774 bool = l >= 0 + for yyj2774 := 0; ; yyj2774++ { + if yyhl2774 { + if yyj2774 >= l { break } } else { @@ -35922,21 +35922,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2774Slc = r.DecodeBytes(yys2774Slc, true, true) + yys2774 := string(yys2774Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2774 { case "kubeletEndpoint": if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv4 := &x.KubeletEndpoint - yyv4.CodecDecodeSelf(d) + yyv2775 := &x.KubeletEndpoint + yyv2775.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2774) + } // end switch yys2774 + } // end for yyj2774 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35944,16 +35944,16 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj2776 int + var yyb2776 bool + var yyhl2776 bool = l >= 0 + yyj2776++ + if yyhl2776 { + yyb2776 = yyj2776 > l } else { - yyb5 = r.CheckBreak() + yyb2776 = r.CheckBreak() } - if yyb5 { + if yyb2776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35961,21 +35961,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv6 := &x.KubeletEndpoint - yyv6.CodecDecodeSelf(d) + yyv2777 := &x.KubeletEndpoint + yyv2777.CodecDecodeSelf(d) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj2776++ + if yyhl2776 { + yyb2776 = yyj2776 > l } else { - yyb5 = r.CheckBreak() + yyb2776 = r.CheckBreak() } - if yyb5 { + if yyb2776 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj2776-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35987,33 +35987,33 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2778 := z.EncBinary() + _ = yym2778 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [10]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep2779 := !z.EncBinary() + yy2arr2779 := z.EncBasicHandle().StructToArray + var yyq2779 [10]bool + _, _, _ = yysep2779, yyq2779, yy2arr2779 + const yyr2779 bool = false + var yynn2779 int + if yyr2779 || yy2arr2779 { r.EncodeArrayStart(10) } else { - yynn2 = 10 - for _, b := range yyq2 { + yynn2779 = 10 + for _, b := range yyq2779 { if b { - yynn2++ + yynn2779++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2779) + yynn2779 = 0 } - if yyr2 || yy2arr2 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym2781 := z.EncBinary() + _ = yym2781 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) @@ -36022,17 +36022,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("machineID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2782 := z.EncBinary() + _ = yym2782 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) } } - if yyr2 || yy2arr2 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym2784 := z.EncBinary() + _ = yym2784 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) @@ -36041,17 +36041,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("systemUUID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2785 := z.EncBinary() + _ = yym2785 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) } } - if yyr2 || yy2arr2 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym2787 := z.EncBinary() + _ = yym2787 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) @@ -36060,17 +36060,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("bootID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym2788 := z.EncBinary() + _ = yym2788 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) } } - if yyr2 || yy2arr2 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 + yym2790 := z.EncBinary() + _ = yym2790 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) @@ -36079,17 +36079,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kernelVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym2791 := z.EncBinary() + _ = yym2791 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) } } - if yyr2 || yy2arr2 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym16 := z.EncBinary() - _ = yym16 + yym2793 := z.EncBinary() + _ = yym2793 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) @@ -36098,17 +36098,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("osImage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym2794 := z.EncBinary() + _ = yym2794 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) } } - if yyr2 || yy2arr2 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym19 := z.EncBinary() - _ = yym19 + yym2796 := z.EncBinary() + _ = yym2796 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) @@ -36117,17 +36117,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerRuntimeVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym2797 := z.EncBinary() + _ = yym2797 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) } } - if yyr2 || yy2arr2 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym22 := z.EncBinary() - _ = yym22 + yym2799 := z.EncBinary() + _ = yym2799 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) @@ -36136,17 +36136,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym2800 := z.EncBinary() + _ = yym2800 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) } } - if yyr2 || yy2arr2 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym25 := z.EncBinary() - _ = yym25 + yym2802 := z.EncBinary() + _ = yym2802 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) @@ -36155,17 +36155,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeProxyVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym26 := z.EncBinary() - _ = yym26 + yym2803 := z.EncBinary() + _ = yym2803 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) } } - if yyr2 || yy2arr2 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym28 := z.EncBinary() - _ = yym28 + yym2805 := z.EncBinary() + _ = yym2805 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OperatingSystem)) @@ -36174,17 +36174,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("operatingSystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym29 := z.EncBinary() - _ = yym29 + yym2806 := z.EncBinary() + _ = yym2806 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OperatingSystem)) } } - if yyr2 || yy2arr2 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym31 := z.EncBinary() - _ = yym31 + yym2808 := z.EncBinary() + _ = yym2808 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Architecture)) @@ -36193,14 +36193,14 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("architecture")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym32 := z.EncBinary() - _ = yym32 + yym2809 := z.EncBinary() + _ = yym2809 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Architecture)) } } - if yyr2 || yy2arr2 { + if yyr2779 || yy2arr2779 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36213,25 +36213,25 @@ func (x *NodeSystemInfo) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2810 := z.DecBinary() + _ = yym2810 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2811 := r.ContainerType() + if yyct2811 == codecSelferValueTypeMap1234 { + yyl2811 := r.ReadMapStart() + if yyl2811 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2811, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2811 == codecSelferValueTypeArray1234 { + yyl2811 := r.ReadArrayStart() + if yyl2811 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2811, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36243,12 +36243,12 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2812Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2812Slc + var yyhl2812 bool = l >= 0 + for yyj2812 := 0; ; yyj2812++ { + if yyhl2812 { + if yyj2812 >= l { break } } else { @@ -36257,10 +36257,10 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2812Slc = r.DecodeBytes(yys2812Slc, true, true) + yys2812 := string(yys2812Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2812 { case "machineID": if r.TryDecodeAsNil() { x.MachineID = "" @@ -36322,9 +36322,9 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Architecture = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2812) + } // end switch yys2812 + } // end for yyj2812 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36332,16 +36332,16 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj14 int - var yyb14 bool - var yyhl14 bool = l >= 0 - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + var yyj2823 int + var yyb2823 bool + var yyhl2823 bool = l >= 0 + yyj2823++ + if yyhl2823 { + yyb2823 = yyj2823 > l } else { - yyb14 = r.CheckBreak() + yyb2823 = r.CheckBreak() } - if yyb14 { + if yyb2823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36351,13 +36351,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MachineID = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2823++ + if yyhl2823 { + yyb2823 = yyj2823 > l } else { - yyb14 = r.CheckBreak() + yyb2823 = r.CheckBreak() } - if yyb14 { + if yyb2823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36367,13 +36367,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SystemUUID = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2823++ + if yyhl2823 { + yyb2823 = yyj2823 > l } else { - yyb14 = r.CheckBreak() + yyb2823 = r.CheckBreak() } - if yyb14 { + if yyb2823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36383,13 +36383,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.BootID = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2823++ + if yyhl2823 { + yyb2823 = yyj2823 > l } else { - yyb14 = r.CheckBreak() + yyb2823 = r.CheckBreak() } - if yyb14 { + if yyb2823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36399,13 +36399,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KernelVersion = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2823++ + if yyhl2823 { + yyb2823 = yyj2823 > l } else { - yyb14 = r.CheckBreak() + yyb2823 = r.CheckBreak() } - if yyb14 { + if yyb2823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36415,13 +36415,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OSImage = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2823++ + if yyhl2823 { + yyb2823 = yyj2823 > l } else { - yyb14 = r.CheckBreak() + yyb2823 = r.CheckBreak() } - if yyb14 { + if yyb2823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36431,13 +36431,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerRuntimeVersion = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2823++ + if yyhl2823 { + yyb2823 = yyj2823 > l } else { - yyb14 = r.CheckBreak() + yyb2823 = r.CheckBreak() } - if yyb14 { + if yyb2823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36447,13 +36447,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeletVersion = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2823++ + if yyhl2823 { + yyb2823 = yyj2823 > l } else { - yyb14 = r.CheckBreak() + yyb2823 = r.CheckBreak() } - if yyb14 { + if yyb2823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36463,13 +36463,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeProxyVersion = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2823++ + if yyhl2823 { + yyb2823 = yyj2823 > l } else { - yyb14 = r.CheckBreak() + yyb2823 = r.CheckBreak() } - if yyb14 { + if yyb2823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36479,13 +36479,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OperatingSystem = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2823++ + if yyhl2823 { + yyb2823 = yyj2823 > l } else { - yyb14 = r.CheckBreak() + yyb2823 = r.CheckBreak() } - if yyb14 { + if yyb2823 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36496,17 +36496,17 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Architecture = string(r.DecodeString()) } for { - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2823++ + if yyhl2823 { + yyb2823 = yyj2823 > l } else { - yyb14 = r.CheckBreak() + yyb2823 = r.CheckBreak() } - if yyb14 { + if yyb2823 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj14-1, "") + z.DecStructFieldNotFound(yyj2823-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36518,42 +36518,42 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2834 := z.EncBinary() + _ = yym2834 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [10]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Capacity) != 0 - yyq2[1] = len(x.Allocatable) != 0 - yyq2[2] = x.Phase != "" - yyq2[3] = len(x.Conditions) != 0 - yyq2[4] = len(x.Addresses) != 0 - yyq2[5] = true - yyq2[6] = true - yyq2[7] = len(x.Images) != 0 - yyq2[8] = len(x.VolumesInUse) != 0 - yyq2[9] = len(x.VolumesAttached) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2835 := !z.EncBinary() + yy2arr2835 := z.EncBasicHandle().StructToArray + var yyq2835 [10]bool + _, _, _ = yysep2835, yyq2835, yy2arr2835 + const yyr2835 bool = false + yyq2835[0] = len(x.Capacity) != 0 + yyq2835[1] = len(x.Allocatable) != 0 + yyq2835[2] = x.Phase != "" + yyq2835[3] = len(x.Conditions) != 0 + yyq2835[4] = len(x.Addresses) != 0 + yyq2835[5] = true + yyq2835[6] = true + yyq2835[7] = len(x.Images) != 0 + yyq2835[8] = len(x.VolumesInUse) != 0 + yyq2835[9] = len(x.VolumesAttached) != 0 + var yynn2835 int + if yyr2835 || yy2arr2835 { r.EncodeArrayStart(10) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2835 = 0 + for _, b := range yyq2835 { if b { - yynn2++ + yynn2835++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2835) + yynn2835 = 0 } - if yyr2 || yy2arr2 { + if yyr2835 || yy2arr2835 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq2835[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -36563,7 +36563,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2835[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -36574,9 +36574,9 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2835 || yy2arr2835 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq2835[1] { if x.Allocatable == nil { r.EncodeNil() } else { @@ -36586,7 +36586,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq2835[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allocatable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -36597,29 +36597,29 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2835 || yy2arr2835 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq2835[2] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq2835[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2835 || yy2arr2835 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq2835[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym2840 := z.EncBinary() + _ = yym2840 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -36629,15 +36629,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq2835[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym14 := z.EncBinary() - _ = yym14 + yym2841 := z.EncBinary() + _ = yym2841 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -36645,14 +36645,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2835 || yy2arr2835 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq2835[4] { if x.Addresses == nil { r.EncodeNil() } else { - yym16 := z.EncBinary() - _ = yym16 + yym2843 := z.EncBinary() + _ = yym2843 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -36662,15 +36662,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq2835[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym17 := z.EncBinary() - _ = yym17 + yym2844 := z.EncBinary() + _ = yym2844 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -36678,48 +36678,48 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2835 || yy2arr2835 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yy19 := &x.DaemonEndpoints - yy19.CodecEncodeSelf(e) + if yyq2835[5] { + yy2846 := &x.DaemonEndpoints + yy2846.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[5] { + if yyq2835[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("daemonEndpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy21 := &x.DaemonEndpoints - yy21.CodecEncodeSelf(e) + yy2847 := &x.DaemonEndpoints + yy2847.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2835 || yy2arr2835 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yy24 := &x.NodeInfo - yy24.CodecEncodeSelf(e) + if yyq2835[6] { + yy2849 := &x.NodeInfo + yy2849.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[6] { + if yyq2835[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeInfo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy26 := &x.NodeInfo - yy26.CodecEncodeSelf(e) + yy2850 := &x.NodeInfo + yy2850.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2835 || yy2arr2835 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq2835[7] { if x.Images == nil { r.EncodeNil() } else { - yym29 := z.EncBinary() - _ = yym29 + yym2852 := z.EncBinary() + _ = yym2852 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -36729,15 +36729,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[7] { + if yyq2835[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("images")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Images == nil { r.EncodeNil() } else { - yym30 := z.EncBinary() - _ = yym30 + yym2853 := z.EncBinary() + _ = yym2853 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -36745,14 +36745,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2835 || yy2arr2835 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { + if yyq2835[8] { if x.VolumesInUse == nil { r.EncodeNil() } else { - yym32 := z.EncBinary() - _ = yym32 + yym2855 := z.EncBinary() + _ = yym2855 if false { } else { h.encSliceUniqueVolumeName(([]UniqueVolumeName)(x.VolumesInUse), e) @@ -36762,15 +36762,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[8] { + if yyq2835[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumesInUse")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumesInUse == nil { r.EncodeNil() } else { - yym33 := z.EncBinary() - _ = yym33 + yym2856 := z.EncBinary() + _ = yym2856 if false { } else { h.encSliceUniqueVolumeName(([]UniqueVolumeName)(x.VolumesInUse), e) @@ -36778,14 +36778,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2835 || yy2arr2835 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { + if yyq2835[9] { if x.VolumesAttached == nil { r.EncodeNil() } else { - yym35 := z.EncBinary() - _ = yym35 + yym2858 := z.EncBinary() + _ = yym2858 if false { } else { h.encSliceAttachedVolume(([]AttachedVolume)(x.VolumesAttached), e) @@ -36795,15 +36795,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[9] { + if yyq2835[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumesAttached")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumesAttached == nil { r.EncodeNil() } else { - yym36 := z.EncBinary() - _ = yym36 + yym2859 := z.EncBinary() + _ = yym2859 if false { } else { h.encSliceAttachedVolume(([]AttachedVolume)(x.VolumesAttached), e) @@ -36811,7 +36811,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2835 || yy2arr2835 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36824,25 +36824,25 @@ func (x *NodeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2860 := z.DecBinary() + _ = yym2860 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2861 := r.ContainerType() + if yyct2861 == codecSelferValueTypeMap1234 { + yyl2861 := r.ReadMapStart() + if yyl2861 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2861, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2861 == codecSelferValueTypeArray1234 { + yyl2861 := r.ReadArrayStart() + if yyl2861 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2861, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36854,12 +36854,12 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2862Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2862Slc + var yyhl2862 bool = l >= 0 + for yyj2862 := 0; ; yyj2862++ { + if yyhl2862 { + if yyj2862 >= l { break } } else { @@ -36868,23 +36868,23 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2862Slc = r.DecodeBytes(yys2862Slc, true, true) + yys2862 := string(yys2862Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2862 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv4 := &x.Capacity - yyv4.CodecDecodeSelf(d) + yyv2863 := &x.Capacity + yyv2863.CodecDecodeSelf(d) } case "allocatable": if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv5 := &x.Allocatable - yyv5.CodecDecodeSelf(d) + yyv2864 := &x.Allocatable + yyv2864.CodecDecodeSelf(d) } case "phase": if r.TryDecodeAsNil() { @@ -36896,80 +36896,80 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv7 := &x.Conditions - yym8 := z.DecBinary() - _ = yym8 + yyv2866 := &x.Conditions + yym2867 := z.DecBinary() + _ = yym2867 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv7), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv2866), d) } } case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv9 := &x.Addresses - yym10 := z.DecBinary() - _ = yym10 + yyv2868 := &x.Addresses + yym2869 := z.DecBinary() + _ = yym2869 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv9), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv2868), d) } } case "daemonEndpoints": if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv11 := &x.DaemonEndpoints - yyv11.CodecDecodeSelf(d) + yyv2870 := &x.DaemonEndpoints + yyv2870.CodecDecodeSelf(d) } case "nodeInfo": if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv12 := &x.NodeInfo - yyv12.CodecDecodeSelf(d) + yyv2871 := &x.NodeInfo + yyv2871.CodecDecodeSelf(d) } case "images": if r.TryDecodeAsNil() { x.Images = nil } else { - yyv13 := &x.Images - yym14 := z.DecBinary() - _ = yym14 + yyv2872 := &x.Images + yym2873 := z.DecBinary() + _ = yym2873 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv13), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv2872), d) } } case "volumesInUse": if r.TryDecodeAsNil() { x.VolumesInUse = nil } else { - yyv15 := &x.VolumesInUse - yym16 := z.DecBinary() - _ = yym16 + yyv2874 := &x.VolumesInUse + yym2875 := z.DecBinary() + _ = yym2875 if false { } else { - h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv15), d) + h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv2874), d) } } case "volumesAttached": if r.TryDecodeAsNil() { x.VolumesAttached = nil } else { - yyv17 := &x.VolumesAttached - yym18 := z.DecBinary() - _ = yym18 + yyv2876 := &x.VolumesAttached + yym2877 := z.DecBinary() + _ = yym2877 if false { } else { - h.decSliceAttachedVolume((*[]AttachedVolume)(yyv17), d) + h.decSliceAttachedVolume((*[]AttachedVolume)(yyv2876), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2862) + } // end switch yys2862 + } // end for yyj2862 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36977,16 +36977,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj19 int - var yyb19 bool - var yyhl19 bool = l >= 0 - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + var yyj2878 int + var yyb2878 bool + var yyhl2878 bool = l >= 0 + yyj2878++ + if yyhl2878 { + yyb2878 = yyj2878 > l } else { - yyb19 = r.CheckBreak() + yyb2878 = r.CheckBreak() } - if yyb19 { + if yyb2878 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36994,16 +36994,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv20 := &x.Capacity - yyv20.CodecDecodeSelf(d) + yyv2879 := &x.Capacity + yyv2879.CodecDecodeSelf(d) } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2878++ + if yyhl2878 { + yyb2878 = yyj2878 > l } else { - yyb19 = r.CheckBreak() + yyb2878 = r.CheckBreak() } - if yyb19 { + if yyb2878 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37011,16 +37011,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv21 := &x.Allocatable - yyv21.CodecDecodeSelf(d) + yyv2880 := &x.Allocatable + yyv2880.CodecDecodeSelf(d) } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2878++ + if yyhl2878 { + yyb2878 = yyj2878 > l } else { - yyb19 = r.CheckBreak() + yyb2878 = r.CheckBreak() } - if yyb19 { + if yyb2878 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37030,13 +37030,13 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = NodePhase(r.DecodeString()) } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2878++ + if yyhl2878 { + yyb2878 = yyj2878 > l } else { - yyb19 = r.CheckBreak() + yyb2878 = r.CheckBreak() } - if yyb19 { + if yyb2878 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37044,21 +37044,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv23 := &x.Conditions - yym24 := z.DecBinary() - _ = yym24 + yyv2882 := &x.Conditions + yym2883 := z.DecBinary() + _ = yym2883 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv23), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv2882), d) } } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2878++ + if yyhl2878 { + yyb2878 = yyj2878 > l } else { - yyb19 = r.CheckBreak() + yyb2878 = r.CheckBreak() } - if yyb19 { + if yyb2878 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37066,21 +37066,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv25 := &x.Addresses - yym26 := z.DecBinary() - _ = yym26 + yyv2884 := &x.Addresses + yym2885 := z.DecBinary() + _ = yym2885 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv25), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv2884), d) } } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2878++ + if yyhl2878 { + yyb2878 = yyj2878 > l } else { - yyb19 = r.CheckBreak() + yyb2878 = r.CheckBreak() } - if yyb19 { + if yyb2878 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37088,16 +37088,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv27 := &x.DaemonEndpoints - yyv27.CodecDecodeSelf(d) + yyv2886 := &x.DaemonEndpoints + yyv2886.CodecDecodeSelf(d) } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2878++ + if yyhl2878 { + yyb2878 = yyj2878 > l } else { - yyb19 = r.CheckBreak() + yyb2878 = r.CheckBreak() } - if yyb19 { + if yyb2878 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37105,16 +37105,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv28 := &x.NodeInfo - yyv28.CodecDecodeSelf(d) + yyv2887 := &x.NodeInfo + yyv2887.CodecDecodeSelf(d) } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2878++ + if yyhl2878 { + yyb2878 = yyj2878 > l } else { - yyb19 = r.CheckBreak() + yyb2878 = r.CheckBreak() } - if yyb19 { + if yyb2878 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37122,21 +37122,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Images = nil } else { - yyv29 := &x.Images - yym30 := z.DecBinary() - _ = yym30 + yyv2888 := &x.Images + yym2889 := z.DecBinary() + _ = yym2889 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv29), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv2888), d) } } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2878++ + if yyhl2878 { + yyb2878 = yyj2878 > l } else { - yyb19 = r.CheckBreak() + yyb2878 = r.CheckBreak() } - if yyb19 { + if yyb2878 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37144,21 +37144,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumesInUse = nil } else { - yyv31 := &x.VolumesInUse - yym32 := z.DecBinary() - _ = yym32 + yyv2890 := &x.VolumesInUse + yym2891 := z.DecBinary() + _ = yym2891 if false { } else { - h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv31), d) + h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv2890), d) } } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2878++ + if yyhl2878 { + yyb2878 = yyj2878 > l } else { - yyb19 = r.CheckBreak() + yyb2878 = r.CheckBreak() } - if yyb19 { + if yyb2878 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37166,26 +37166,26 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumesAttached = nil } else { - yyv33 := &x.VolumesAttached - yym34 := z.DecBinary() - _ = yym34 + yyv2892 := &x.VolumesAttached + yym2893 := z.DecBinary() + _ = yym2893 if false { } else { - h.decSliceAttachedVolume((*[]AttachedVolume)(yyv33), d) + h.decSliceAttachedVolume((*[]AttachedVolume)(yyv2892), d) } } for { - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2878++ + if yyhl2878 { + yyb2878 = yyj2878 > l } else { - yyb19 = r.CheckBreak() + yyb2878 = r.CheckBreak() } - if yyb19 { + if yyb2878 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj19-1, "") + z.DecStructFieldNotFound(yyj2878-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37194,8 +37194,8 @@ func (x UniqueVolumeName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym2894 := z.EncBinary() + _ = yym2894 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -37207,8 +37207,8 @@ func (x *UniqueVolumeName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2895 := z.DecBinary() + _ = yym2895 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -37223,30 +37223,30 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2896 := z.EncBinary() + _ = yym2896 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep2897 := !z.EncBinary() + yy2arr2897 := z.EncBasicHandle().StructToArray + var yyq2897 [2]bool + _, _, _ = yysep2897, yyq2897, yy2arr2897 + const yyr2897 bool = false + var yynn2897 int + if yyr2897 || yy2arr2897 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn2897 = 2 + for _, b := range yyq2897 { if b { - yynn2++ + yynn2897++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2897) + yynn2897 = 0 } - if yyr2 || yy2arr2 { + if yyr2897 || yy2arr2897 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Name.CodecEncodeSelf(e) } else { @@ -37255,10 +37255,10 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Name.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr2897 || yy2arr2897 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym2900 := z.EncBinary() + _ = yym2900 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DevicePath)) @@ -37267,14 +37267,14 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("devicePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2901 := z.EncBinary() + _ = yym2901 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DevicePath)) } } - if yyr2 || yy2arr2 { + if yyr2897 || yy2arr2897 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37287,25 +37287,25 @@ func (x *AttachedVolume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2902 := z.DecBinary() + _ = yym2902 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2903 := r.ContainerType() + if yyct2903 == codecSelferValueTypeMap1234 { + yyl2903 := r.ReadMapStart() + if yyl2903 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2903, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2903 == codecSelferValueTypeArray1234 { + yyl2903 := r.ReadArrayStart() + if yyl2903 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2903, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37317,12 +37317,12 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2904Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2904Slc + var yyhl2904 bool = l >= 0 + for yyj2904 := 0; ; yyj2904++ { + if yyhl2904 { + if yyj2904 >= l { break } } else { @@ -37331,10 +37331,10 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2904Slc = r.DecodeBytes(yys2904Slc, true, true) + yys2904 := string(yys2904Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2904 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -37348,9 +37348,9 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.DevicePath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2904) + } // end switch yys2904 + } // end for yyj2904 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37358,16 +37358,16 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj2907 int + var yyb2907 bool + var yyhl2907 bool = l >= 0 + yyj2907++ + if yyhl2907 { + yyb2907 = yyj2907 > l } else { - yyb6 = r.CheckBreak() + yyb2907 = r.CheckBreak() } - if yyb6 { + if yyb2907 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37377,13 +37377,13 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = UniqueVolumeName(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2907++ + if yyhl2907 { + yyb2907 = yyj2907 > l } else { - yyb6 = r.CheckBreak() + yyb2907 = r.CheckBreak() } - if yyb6 { + if yyb2907 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37394,17 +37394,17 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.DevicePath = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2907++ + if yyhl2907 { + yyb2907 = yyj2907 > l } else { - yyb6 = r.CheckBreak() + yyb2907 = r.CheckBreak() } - if yyb6 { + if yyb2907 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj2907-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37416,38 +37416,38 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2910 := z.EncBinary() + _ = yym2910 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.PreferAvoidPods) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2911 := !z.EncBinary() + yy2arr2911 := z.EncBasicHandle().StructToArray + var yyq2911 [1]bool + _, _, _ = yysep2911, yyq2911, yy2arr2911 + const yyr2911 bool = false + yyq2911[0] = len(x.PreferAvoidPods) != 0 + var yynn2911 int + if yyr2911 || yy2arr2911 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2911 = 0 + for _, b := range yyq2911 { if b { - yynn2++ + yynn2911++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2911) + yynn2911 = 0 } - if yyr2 || yy2arr2 { + if yyr2911 || yy2arr2911 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq2911[0] { if x.PreferAvoidPods == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym2913 := z.EncBinary() + _ = yym2913 if false { } else { h.encSlicePreferAvoidPodsEntry(([]PreferAvoidPodsEntry)(x.PreferAvoidPods), e) @@ -37457,15 +37457,15 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2911[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferAvoidPods")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferAvoidPods == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym2914 := z.EncBinary() + _ = yym2914 if false { } else { h.encSlicePreferAvoidPodsEntry(([]PreferAvoidPodsEntry)(x.PreferAvoidPods), e) @@ -37473,7 +37473,7 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2911 || yy2arr2911 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37486,25 +37486,25 @@ func (x *AvoidPods) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2915 := z.DecBinary() + _ = yym2915 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2916 := r.ContainerType() + if yyct2916 == codecSelferValueTypeMap1234 { + yyl2916 := r.ReadMapStart() + if yyl2916 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2916, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2916 == codecSelferValueTypeArray1234 { + yyl2916 := r.ReadArrayStart() + if yyl2916 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2916, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37516,12 +37516,12 @@ func (x *AvoidPods) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2917Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2917Slc + var yyhl2917 bool = l >= 0 + for yyj2917 := 0; ; yyj2917++ { + if yyhl2917 { + if yyj2917 >= l { break } } else { @@ -37530,26 +37530,26 @@ func (x *AvoidPods) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2917Slc = r.DecodeBytes(yys2917Slc, true, true) + yys2917 := string(yys2917Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2917 { case "preferAvoidPods": if r.TryDecodeAsNil() { x.PreferAvoidPods = nil } else { - yyv4 := &x.PreferAvoidPods - yym5 := z.DecBinary() - _ = yym5 + yyv2918 := &x.PreferAvoidPods + yym2919 := z.DecBinary() + _ = yym2919 if false { } else { - h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv4), d) + h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv2918), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2917) + } // end switch yys2917 + } // end for yyj2917 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37557,16 +37557,16 @@ func (x *AvoidPods) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj2920 int + var yyb2920 bool + var yyhl2920 bool = l >= 0 + yyj2920++ + if yyhl2920 { + yyb2920 = yyj2920 > l } else { - yyb6 = r.CheckBreak() + yyb2920 = r.CheckBreak() } - if yyb6 { + if yyb2920 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37574,26 +37574,26 @@ func (x *AvoidPods) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferAvoidPods = nil } else { - yyv7 := &x.PreferAvoidPods - yym8 := z.DecBinary() - _ = yym8 + yyv2921 := &x.PreferAvoidPods + yym2922 := z.DecBinary() + _ = yym2922 if false { } else { - h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv7), d) + h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv2921), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2920++ + if yyhl2920 { + yyb2920 = yyj2920 > l } else { - yyb6 = r.CheckBreak() + yyb2920 = r.CheckBreak() } - if yyb6 { + if yyb2920 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj2920-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37605,85 +37605,85 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2923 := z.EncBinary() + _ = yym2923 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = true - yyq2[2] = x.Reason != "" - yyq2[3] = x.Message != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2924 := !z.EncBinary() + yy2arr2924 := z.EncBasicHandle().StructToArray + var yyq2924 [4]bool + _, _, _ = yysep2924, yyq2924, yy2arr2924 + const yyr2924 bool = false + yyq2924[1] = true + yyq2924[2] = x.Reason != "" + yyq2924[3] = x.Message != "" + var yynn2924 int + if yyr2924 || yy2arr2924 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2924 = 1 + for _, b := range yyq2924 { if b { - yynn2++ + yynn2924++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2924) + yynn2924 = 0 } - if yyr2 || yy2arr2 { + if yyr2924 || yy2arr2924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4 := &x.PodSignature - yy4.CodecEncodeSelf(e) + yy2926 := &x.PodSignature + yy2926.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSignature")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.PodSignature - yy6.CodecEncodeSelf(e) + yy2927 := &x.PodSignature + yy2927.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr2924 || yy2arr2924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.EvictionTime - yym10 := z.EncBinary() - _ = yym10 + if yyq2924[1] { + yy2929 := &x.EvictionTime + yym2930 := z.EncBinary() + _ = yym2930 if false { - } else if z.HasExtensions() && z.EncExt(yy9) { - } else if yym10 { - z.EncBinaryMarshal(yy9) - } else if !yym10 && z.IsJSONHandle() { - z.EncJSONMarshal(yy9) + } else if z.HasExtensions() && z.EncExt(yy2929) { + } else if yym2930 { + z.EncBinaryMarshal(yy2929) + } else if !yym2930 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2929) } else { - z.EncFallback(yy9) + z.EncFallback(yy2929) } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq2924[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.EvictionTime - yym12 := z.EncBinary() - _ = yym12 + yy2931 := &x.EvictionTime + yym2932 := z.EncBinary() + _ = yym2932 if false { - } else if z.HasExtensions() && z.EncExt(yy11) { - } else if yym12 { - z.EncBinaryMarshal(yy11) - } else if !yym12 && z.IsJSONHandle() { - z.EncJSONMarshal(yy11) + } else if z.HasExtensions() && z.EncExt(yy2931) { + } else if yym2932 { + z.EncBinaryMarshal(yy2931) + } else if !yym2932 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2931) } else { - z.EncFallback(yy11) + z.EncFallback(yy2931) } } } - if yyr2 || yy2arr2 { + if yyr2924 || yy2arr2924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq2924[2] { + yym2934 := z.EncBinary() + _ = yym2934 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -37692,23 +37692,23 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq2924[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym2935 := z.EncBinary() + _ = yym2935 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr2924 || yy2arr2924 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq2924[3] { + yym2937 := z.EncBinary() + _ = yym2937 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -37717,19 +37717,19 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2924[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym2938 := z.EncBinary() + _ = yym2938 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr2924 || yy2arr2924 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37742,25 +37742,25 @@ func (x *PreferAvoidPodsEntry) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2939 := z.DecBinary() + _ = yym2939 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2940 := r.ContainerType() + if yyct2940 == codecSelferValueTypeMap1234 { + yyl2940 := r.ReadMapStart() + if yyl2940 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2940, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2940 == codecSelferValueTypeArray1234 { + yyl2940 := r.ReadArrayStart() + if yyl2940 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2940, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37772,12 +37772,12 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -37786,32 +37786,32 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2941Slc = r.DecodeBytes(yys2941Slc, true, true) + yys2941 := string(yys2941Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2941 { case "podSignature": if r.TryDecodeAsNil() { x.PodSignature = PodSignature{} } else { - yyv4 := &x.PodSignature - yyv4.CodecDecodeSelf(d) + yyv2942 := &x.PodSignature + yyv2942.CodecDecodeSelf(d) } case "evictionTime": if r.TryDecodeAsNil() { x.EvictionTime = pkg2_unversioned.Time{} } else { - yyv5 := &x.EvictionTime - yym6 := z.DecBinary() - _ = yym6 + yyv2943 := &x.EvictionTime + yym2944 := z.DecBinary() + _ = yym2944 if false { - } else if z.HasExtensions() && z.DecExt(yyv5) { - } else if yym6 { - z.DecBinaryUnmarshal(yyv5) - } else if !yym6 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv5) + } else if z.HasExtensions() && z.DecExt(yyv2943) { + } else if yym2944 { + z.DecBinaryUnmarshal(yyv2943) + } else if !yym2944 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2943) } else { - z.DecFallback(yyv5, false) + z.DecFallback(yyv2943, false) } } case "reason": @@ -37827,9 +37827,9 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2941) + } // end switch yys2941 + } // end for yyj2941 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37837,16 +37837,16 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj2947 int + var yyb2947 bool + var yyhl2947 bool = l >= 0 + yyj2947++ + if yyhl2947 { + yyb2947 = yyj2947 > l } else { - yyb9 = r.CheckBreak() + yyb2947 = r.CheckBreak() } - if yyb9 { + if yyb2947 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37854,16 +37854,16 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.PodSignature = PodSignature{} } else { - yyv10 := &x.PodSignature - yyv10.CodecDecodeSelf(d) + yyv2948 := &x.PodSignature + yyv2948.CodecDecodeSelf(d) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2947++ + if yyhl2947 { + yyb2947 = yyj2947 > l } else { - yyb9 = r.CheckBreak() + yyb2947 = r.CheckBreak() } - if yyb9 { + if yyb2947 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37871,26 +37871,26 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.EvictionTime = pkg2_unversioned.Time{} } else { - yyv11 := &x.EvictionTime - yym12 := z.DecBinary() - _ = yym12 + yyv2949 := &x.EvictionTime + yym2950 := z.DecBinary() + _ = yym2950 if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else if yym12 { - z.DecBinaryUnmarshal(yyv11) - } else if !yym12 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv11) + } else if z.HasExtensions() && z.DecExt(yyv2949) { + } else if yym2950 { + z.DecBinaryUnmarshal(yyv2949) + } else if !yym2950 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2949) } else { - z.DecFallback(yyv11, false) + z.DecFallback(yyv2949, false) } } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2947++ + if yyhl2947 { + yyb2947 = yyj2947 > l } else { - yyb9 = r.CheckBreak() + yyb2947 = r.CheckBreak() } - if yyb9 { + if yyb2947 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37900,13 +37900,13 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Reason = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2947++ + if yyhl2947 { + yyb2947 = yyj2947 > l } else { - yyb9 = r.CheckBreak() + yyb2947 = r.CheckBreak() } - if yyb9 { + if yyb2947 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37917,17 +37917,17 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Message = string(r.DecodeString()) } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2947++ + if yyhl2947 { + yyb2947 = yyj2947 > l } else { - yyb9 = r.CheckBreak() + yyb2947 = r.CheckBreak() } - if yyb9 { + if yyb2947 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj2947-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37939,33 +37939,33 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2953 := z.EncBinary() + _ = yym2953 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.PodController != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep2954 := !z.EncBinary() + yy2arr2954 := z.EncBasicHandle().StructToArray + var yyq2954 [1]bool + _, _, _ = yysep2954, yyq2954, yy2arr2954 + const yyr2954 bool = false + yyq2954[0] = x.PodController != nil + var yynn2954 int + if yyr2954 || yy2arr2954 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2954 = 0 + for _, b := range yyq2954 { if b { - yynn2++ + yynn2954++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2954) + yynn2954 = 0 } - if yyr2 || yy2arr2 { + if yyr2954 || yy2arr2954 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq2954[0] { if x.PodController == nil { r.EncodeNil() } else { @@ -37975,7 +37975,7 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2954[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podController")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -37986,7 +37986,7 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2954 || yy2arr2954 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37999,25 +37999,25 @@ func (x *PodSignature) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2956 := z.DecBinary() + _ = yym2956 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2957 := r.ContainerType() + if yyct2957 == codecSelferValueTypeMap1234 { + yyl2957 := r.ReadMapStart() + if yyl2957 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2957, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2957 == codecSelferValueTypeArray1234 { + yyl2957 := r.ReadArrayStart() + if yyl2957 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2957, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38029,12 +38029,12 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2958Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2958Slc + var yyhl2958 bool = l >= 0 + for yyj2958 := 0; ; yyj2958++ { + if yyhl2958 { + if yyj2958 >= l { break } } else { @@ -38043,10 +38043,10 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2958Slc = r.DecodeBytes(yys2958Slc, true, true) + yys2958 := string(yys2958Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2958 { case "podController": if r.TryDecodeAsNil() { if x.PodController != nil { @@ -38059,9 +38059,9 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PodController.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2958) + } // end switch yys2958 + } // end for yyj2958 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38069,16 +38069,16 @@ func (x *PodSignature) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj2960 int + var yyb2960 bool + var yyhl2960 bool = l >= 0 + yyj2960++ + if yyhl2960 { + yyb2960 = yyj2960 > l } else { - yyb5 = r.CheckBreak() + yyb2960 = r.CheckBreak() } - if yyb5 { + if yyb2960 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38094,17 +38094,17 @@ func (x *PodSignature) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PodController.CodecDecodeSelf(d) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj2960++ + if yyhl2960 { + yyb2960 = yyj2960 > l } else { - yyb5 = r.CheckBreak() + yyb2960 = r.CheckBreak() } - if yyb5 { + if yyb2960 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj2960-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38116,37 +38116,37 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2962 := z.EncBinary() + _ = yym2962 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.SizeBytes != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2963 := !z.EncBinary() + yy2arr2963 := z.EncBasicHandle().StructToArray + var yyq2963 [2]bool + _, _, _ = yysep2963, yyq2963, yy2arr2963 + const yyr2963 bool = false + yyq2963[1] = x.SizeBytes != 0 + var yynn2963 int + if yyr2963 || yy2arr2963 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2963 = 1 + for _, b := range yyq2963 { if b { - yynn2++ + yynn2963++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2963) + yynn2963 = 0 } - if yyr2 || yy2arr2 { + if yyr2963 || yy2arr2963 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Names == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym2965 := z.EncBinary() + _ = yym2965 if false { } else { z.F.EncSliceStringV(x.Names, false, e) @@ -38159,19 +38159,19 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { if x.Names == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym2966 := z.EncBinary() + _ = yym2966 if false { } else { z.F.EncSliceStringV(x.Names, false, e) } } } - if yyr2 || yy2arr2 { + if yyr2963 || yy2arr2963 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq2963[1] { + yym2968 := z.EncBinary() + _ = yym2968 if false { } else { r.EncodeInt(int64(x.SizeBytes)) @@ -38180,19 +38180,19 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[1] { + if yyq2963[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sizeBytes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2969 := z.EncBinary() + _ = yym2969 if false { } else { r.EncodeInt(int64(x.SizeBytes)) } } } - if yyr2 || yy2arr2 { + if yyr2963 || yy2arr2963 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38205,25 +38205,25 @@ func (x *ContainerImage) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2970 := z.DecBinary() + _ = yym2970 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2971 := r.ContainerType() + if yyct2971 == codecSelferValueTypeMap1234 { + yyl2971 := r.ReadMapStart() + if yyl2971 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2971, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2971 == codecSelferValueTypeArray1234 { + yyl2971 := r.ReadArrayStart() + if yyl2971 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2971, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38235,12 +38235,12 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2972Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2972Slc + var yyhl2972 bool = l >= 0 + for yyj2972 := 0; ; yyj2972++ { + if yyhl2972 { + if yyj2972 >= l { break } } else { @@ -38249,20 +38249,20 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2972Slc = r.DecodeBytes(yys2972Slc, true, true) + yys2972 := string(yys2972Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2972 { case "names": if r.TryDecodeAsNil() { x.Names = nil } else { - yyv4 := &x.Names - yym5 := z.DecBinary() - _ = yym5 + yyv2973 := &x.Names + yym2974 := z.DecBinary() + _ = yym2974 if false { } else { - z.F.DecSliceStringX(yyv4, false, d) + z.F.DecSliceStringX(yyv2973, false, d) } } case "sizeBytes": @@ -38272,9 +38272,9 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SizeBytes = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2972) + } // end switch yys2972 + } // end for yyj2972 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38282,16 +38282,16 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj2976 int + var yyb2976 bool + var yyhl2976 bool = l >= 0 + yyj2976++ + if yyhl2976 { + yyb2976 = yyj2976 > l } else { - yyb7 = r.CheckBreak() + yyb2976 = r.CheckBreak() } - if yyb7 { + if yyb2976 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38299,21 +38299,21 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Names = nil } else { - yyv8 := &x.Names - yym9 := z.DecBinary() - _ = yym9 + yyv2977 := &x.Names + yym2978 := z.DecBinary() + _ = yym2978 if false { } else { - z.F.DecSliceStringX(yyv8, false, d) + z.F.DecSliceStringX(yyv2977, false, d) } } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2976++ + if yyhl2976 { + yyb2976 = yyj2976 > l } else { - yyb7 = r.CheckBreak() + yyb2976 = r.CheckBreak() } - if yyb7 { + if yyb2976 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38324,17 +38324,17 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SizeBytes = int64(r.DecodeInt(64)) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2976++ + if yyhl2976 { + yyb2976 = yyj2976 > l } else { - yyb7 = r.CheckBreak() + yyb2976 = r.CheckBreak() } - if yyb7 { + if yyb2976 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj2976-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38343,8 +38343,8 @@ func (x NodePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym2980 := z.EncBinary() + _ = yym2980 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -38356,8 +38356,8 @@ func (x *NodePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2981 := z.DecBinary() + _ = yym2981 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -38369,8 +38369,8 @@ func (x NodeConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym2982 := z.EncBinary() + _ = yym2982 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -38382,8 +38382,8 @@ func (x *NodeConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2983 := z.DecBinary() + _ = yym2983 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -38398,34 +38398,34 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2984 := z.EncBinary() + _ = yym2984 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = true - yyq2[3] = true - yyq2[4] = x.Reason != "" - yyq2[5] = x.Message != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2985 := !z.EncBinary() + yy2arr2985 := z.EncBasicHandle().StructToArray + var yyq2985 [6]bool + _, _, _ = yysep2985, yyq2985, yy2arr2985 + const yyr2985 bool = false + yyq2985[2] = true + yyq2985[3] = true + yyq2985[4] = x.Reason != "" + yyq2985[5] = x.Message != "" + var yynn2985 int + if yyr2985 || yy2arr2985 { r.EncodeArrayStart(6) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn2985 = 2 + for _, b := range yyq2985 { if b { - yynn2++ + yynn2985++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2985) + yynn2985 = 0 } - if yyr2 || yy2arr2 { + if yyr2985 || yy2arr2985 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -38434,7 +38434,7 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr2985 || yy2arr2985 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -38443,85 +38443,85 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr2985 || yy2arr2985 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy10 := &x.LastHeartbeatTime - yym11 := z.EncBinary() - _ = yym11 + if yyq2985[2] { + yy2989 := &x.LastHeartbeatTime + yym2990 := z.EncBinary() + _ = yym2990 if false { - } else if z.HasExtensions() && z.EncExt(yy10) { - } else if yym11 { - z.EncBinaryMarshal(yy10) - } else if !yym11 && z.IsJSONHandle() { - z.EncJSONMarshal(yy10) + } else if z.HasExtensions() && z.EncExt(yy2989) { + } else if yym2990 { + z.EncBinaryMarshal(yy2989) + } else if !yym2990 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2989) } else { - z.EncFallback(yy10) + z.EncFallback(yy2989) } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq2985[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastHeartbeatTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.LastHeartbeatTime - yym13 := z.EncBinary() - _ = yym13 + yy2991 := &x.LastHeartbeatTime + yym2992 := z.EncBinary() + _ = yym2992 if false { - } else if z.HasExtensions() && z.EncExt(yy12) { - } else if yym13 { - z.EncBinaryMarshal(yy12) - } else if !yym13 && z.IsJSONHandle() { - z.EncJSONMarshal(yy12) + } else if z.HasExtensions() && z.EncExt(yy2991) { + } else if yym2992 { + z.EncBinaryMarshal(yy2991) + } else if !yym2992 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2991) } else { - z.EncFallback(yy12) + z.EncFallback(yy2991) } } } - if yyr2 || yy2arr2 { + if yyr2985 || yy2arr2985 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yy15 := &x.LastTransitionTime - yym16 := z.EncBinary() - _ = yym16 + if yyq2985[3] { + yy2994 := &x.LastTransitionTime + yym2995 := z.EncBinary() + _ = yym2995 if false { - } else if z.HasExtensions() && z.EncExt(yy15) { - } else if yym16 { - z.EncBinaryMarshal(yy15) - } else if !yym16 && z.IsJSONHandle() { - z.EncJSONMarshal(yy15) + } else if z.HasExtensions() && z.EncExt(yy2994) { + } else if yym2995 { + z.EncBinaryMarshal(yy2994) + } else if !yym2995 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2994) } else { - z.EncFallback(yy15) + z.EncFallback(yy2994) } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq2985[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.LastTransitionTime - yym18 := z.EncBinary() - _ = yym18 + yy2996 := &x.LastTransitionTime + yym2997 := z.EncBinary() + _ = yym2997 if false { - } else if z.HasExtensions() && z.EncExt(yy17) { - } else if yym18 { - z.EncBinaryMarshal(yy17) - } else if !yym18 && z.IsJSONHandle() { - z.EncJSONMarshal(yy17) + } else if z.HasExtensions() && z.EncExt(yy2996) { + } else if yym2997 { + z.EncBinaryMarshal(yy2996) + } else if !yym2997 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2996) } else { - z.EncFallback(yy17) + z.EncFallback(yy2996) } } } - if yyr2 || yy2arr2 { + if yyr2985 || yy2arr2985 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 + if yyq2985[4] { + yym2999 := z.EncBinary() + _ = yym2999 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -38530,23 +38530,23 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq2985[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym3000 := z.EncBinary() + _ = yym3000 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr2985 || yy2arr2985 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym23 := z.EncBinary() - _ = yym23 + if yyq2985[5] { + yym3002 := z.EncBinary() + _ = yym3002 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -38555,19 +38555,19 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq2985[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 + yym3003 := z.EncBinary() + _ = yym3003 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr2985 || yy2arr2985 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38580,25 +38580,25 @@ func (x *NodeCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3004 := z.DecBinary() + _ = yym3004 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3005 := r.ContainerType() + if yyct3005 == codecSelferValueTypeMap1234 { + yyl3005 := r.ReadMapStart() + if yyl3005 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3005, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3005 == codecSelferValueTypeArray1234 { + yyl3005 := r.ReadArrayStart() + if yyl3005 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3005, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38610,12 +38610,12 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3006Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3006Slc + var yyhl3006 bool = l >= 0 + for yyj3006 := 0; ; yyj3006++ { + if yyhl3006 { + if yyj3006 >= l { break } } else { @@ -38624,10 +38624,10 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3006Slc = r.DecodeBytes(yys3006Slc, true, true) + yys3006 := string(yys3006Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3006 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -38644,34 +38644,34 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv6 := &x.LastHeartbeatTime - yym7 := z.DecBinary() - _ = yym7 + yyv3009 := &x.LastHeartbeatTime + yym3010 := z.DecBinary() + _ = yym3010 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if yym7 { - z.DecBinaryUnmarshal(yyv6) - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv3009) { + } else if yym3010 { + z.DecBinaryUnmarshal(yyv3009) + } else if !yym3010 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3009) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv3009, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv8 := &x.LastTransitionTime - yym9 := z.DecBinary() - _ = yym9 + yyv3011 := &x.LastTransitionTime + yym3012 := z.DecBinary() + _ = yym3012 if false { - } else if z.HasExtensions() && z.DecExt(yyv8) { - } else if yym9 { - z.DecBinaryUnmarshal(yyv8) - } else if !yym9 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv8) + } else if z.HasExtensions() && z.DecExt(yyv3011) { + } else if yym3012 { + z.DecBinaryUnmarshal(yyv3011) + } else if !yym3012 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3011) } else { - z.DecFallback(yyv8, false) + z.DecFallback(yyv3011, false) } } case "reason": @@ -38687,9 +38687,9 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3006) + } // end switch yys3006 + } // end for yyj3006 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38697,16 +38697,16 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj3015 int + var yyb3015 bool + var yyhl3015 bool = l >= 0 + yyj3015++ + if yyhl3015 { + yyb3015 = yyj3015 > l } else { - yyb12 = r.CheckBreak() + yyb3015 = r.CheckBreak() } - if yyb12 { + if yyb3015 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38716,13 +38716,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeConditionType(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3015++ + if yyhl3015 { + yyb3015 = yyj3015 > l } else { - yyb12 = r.CheckBreak() + yyb3015 = r.CheckBreak() } - if yyb12 { + if yyb3015 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38732,13 +38732,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3015++ + if yyhl3015 { + yyb3015 = yyj3015 > l } else { - yyb12 = r.CheckBreak() + yyb3015 = r.CheckBreak() } - if yyb12 { + if yyb3015 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38746,26 +38746,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv15 := &x.LastHeartbeatTime - yym16 := z.DecBinary() - _ = yym16 + yyv3018 := &x.LastHeartbeatTime + yym3019 := z.DecBinary() + _ = yym3019 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { - } else if yym16 { - z.DecBinaryUnmarshal(yyv15) - } else if !yym16 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv15) + } else if z.HasExtensions() && z.DecExt(yyv3018) { + } else if yym3019 { + z.DecBinaryUnmarshal(yyv3018) + } else if !yym3019 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3018) } else { - z.DecFallback(yyv15, false) + z.DecFallback(yyv3018, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3015++ + if yyhl3015 { + yyb3015 = yyj3015 > l } else { - yyb12 = r.CheckBreak() + yyb3015 = r.CheckBreak() } - if yyb12 { + if yyb3015 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38773,26 +38773,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv17 := &x.LastTransitionTime - yym18 := z.DecBinary() - _ = yym18 + yyv3020 := &x.LastTransitionTime + yym3021 := z.DecBinary() + _ = yym3021 if false { - } else if z.HasExtensions() && z.DecExt(yyv17) { - } else if yym18 { - z.DecBinaryUnmarshal(yyv17) - } else if !yym18 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv17) + } else if z.HasExtensions() && z.DecExt(yyv3020) { + } else if yym3021 { + z.DecBinaryUnmarshal(yyv3020) + } else if !yym3021 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3020) } else { - z.DecFallback(yyv17, false) + z.DecFallback(yyv3020, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3015++ + if yyhl3015 { + yyb3015 = yyj3015 > l } else { - yyb12 = r.CheckBreak() + yyb3015 = r.CheckBreak() } - if yyb12 { + if yyb3015 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38802,13 +38802,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3015++ + if yyhl3015 { + yyb3015 = yyj3015 > l } else { - yyb12 = r.CheckBreak() + yyb3015 = r.CheckBreak() } - if yyb12 { + if yyb3015 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38819,17 +38819,17 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3015++ + if yyhl3015 { + yyb3015 = yyj3015 > l } else { - yyb12 = r.CheckBreak() + yyb3015 = r.CheckBreak() } - if yyb12 { + if yyb3015 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj3015-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38838,8 +38838,8 @@ func (x NodeAddressType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym3024 := z.EncBinary() + _ = yym3024 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -38851,8 +38851,8 @@ func (x *NodeAddressType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3025 := z.DecBinary() + _ = yym3025 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -38867,30 +38867,30 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3026 := z.EncBinary() + _ = yym3026 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep3027 := !z.EncBinary() + yy2arr3027 := z.EncBasicHandle().StructToArray + var yyq3027 [2]bool + _, _, _ = yysep3027, yyq3027, yy2arr3027 + const yyr3027 bool = false + var yynn3027 int + if yyr3027 || yy2arr3027 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn3027 = 2 + for _, b := range yyq3027 { if b { - yynn2++ + yynn3027++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3027) + yynn3027 = 0 } - if yyr2 || yy2arr2 { + if yyr3027 || yy2arr3027 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -38899,10 +38899,10 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr3027 || yy2arr3027 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym3030 := z.EncBinary() + _ = yym3030 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -38911,14 +38911,14 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3031 := z.EncBinary() + _ = yym3031 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr2 || yy2arr2 { + if yyr3027 || yy2arr3027 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38931,25 +38931,25 @@ func (x *NodeAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3032 := z.DecBinary() + _ = yym3032 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3033 := r.ContainerType() + if yyct3033 == codecSelferValueTypeMap1234 { + yyl3033 := r.ReadMapStart() + if yyl3033 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3033, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3033 == codecSelferValueTypeArray1234 { + yyl3033 := r.ReadArrayStart() + if yyl3033 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3033, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38961,12 +38961,12 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3034Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3034Slc + var yyhl3034 bool = l >= 0 + for yyj3034 := 0; ; yyj3034++ { + if yyhl3034 { + if yyj3034 >= l { break } } else { @@ -38975,10 +38975,10 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3034Slc = r.DecodeBytes(yys3034Slc, true, true) + yys3034 := string(yys3034Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3034 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -38992,9 +38992,9 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3034) + } // end switch yys3034 + } // end for yyj3034 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39002,16 +39002,16 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj3037 int + var yyb3037 bool + var yyhl3037 bool = l >= 0 + yyj3037++ + if yyhl3037 { + yyb3037 = yyj3037 > l } else { - yyb6 = r.CheckBreak() + yyb3037 = r.CheckBreak() } - if yyb6 { + if yyb3037 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39021,13 +39021,13 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeAddressType(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3037++ + if yyhl3037 { + yyb3037 = yyj3037 > l } else { - yyb6 = r.CheckBreak() + yyb3037 = r.CheckBreak() } - if yyb6 { + if yyb3037 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39038,17 +39038,17 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3037++ + if yyhl3037 { + yyb3037 = yyj3037 > l } else { - yyb6 = r.CheckBreak() + yyb3037 = r.CheckBreak() } - if yyb6 { + if yyb3037 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj3037-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39060,33 +39060,33 @@ func (x *NodeResources) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3040 := z.EncBinary() + _ = yym3040 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Capacity) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep3041 := !z.EncBinary() + yy2arr3041 := z.EncBasicHandle().StructToArray + var yyq3041 [1]bool + _, _, _ = yysep3041, yyq3041, yy2arr3041 + const yyr3041 bool = false + yyq3041[0] = len(x.Capacity) != 0 + var yynn3041 int + if yyr3041 || yy2arr3041 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3041 = 0 + for _, b := range yyq3041 { if b { - yynn2++ + yynn3041++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3041) + yynn3041 = 0 } - if yyr2 || yy2arr2 { + if yyr3041 || yy2arr3041 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq3041[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -39096,7 +39096,7 @@ func (x *NodeResources) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3041[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -39107,7 +39107,7 @@ func (x *NodeResources) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3041 || yy2arr3041 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39120,25 +39120,25 @@ func (x *NodeResources) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3043 := z.DecBinary() + _ = yym3043 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3044 := r.ContainerType() + if yyct3044 == codecSelferValueTypeMap1234 { + yyl3044 := r.ReadMapStart() + if yyl3044 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3044, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3044 == codecSelferValueTypeArray1234 { + yyl3044 := r.ReadArrayStart() + if yyl3044 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3044, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39150,12 +39150,12 @@ func (x *NodeResources) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3045Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3045Slc + var yyhl3045 bool = l >= 0 + for yyj3045 := 0; ; yyj3045++ { + if yyhl3045 { + if yyj3045 >= l { break } } else { @@ -39164,21 +39164,21 @@ func (x *NodeResources) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3045Slc = r.DecodeBytes(yys3045Slc, true, true) + yys3045 := string(yys3045Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3045 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv4 := &x.Capacity - yyv4.CodecDecodeSelf(d) + yyv3046 := &x.Capacity + yyv3046.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3045) + } // end switch yys3045 + } // end for yyj3045 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39186,16 +39186,16 @@ func (x *NodeResources) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj3047 int + var yyb3047 bool + var yyhl3047 bool = l >= 0 + yyj3047++ + if yyhl3047 { + yyb3047 = yyj3047 > l } else { - yyb5 = r.CheckBreak() + yyb3047 = r.CheckBreak() } - if yyb5 { + if yyb3047 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39203,21 +39203,21 @@ func (x *NodeResources) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv6 := &x.Capacity - yyv6.CodecDecodeSelf(d) + yyv3048 := &x.Capacity + yyv3048.CodecDecodeSelf(d) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj3047++ + if yyhl3047 { + yyb3047 = yyj3047 > l } else { - yyb5 = r.CheckBreak() + yyb3047 = r.CheckBreak() } - if yyb5 { + if yyb3047 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj3047-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39226,8 +39226,8 @@ func (x ResourceName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym3049 := z.EncBinary() + _ = yym3049 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -39239,8 +39239,8 @@ func (x *ResourceName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3050 := z.DecBinary() + _ = yym3050 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -39255,8 +39255,8 @@ func (x ResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3051 := z.EncBinary() + _ = yym3051 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -39269,8 +39269,8 @@ func (x *ResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3052 := z.DecBinary() + _ = yym3052 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -39285,90 +39285,39 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3053 := z.EncBinary() + _ = yym3053 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3054 := !z.EncBinary() + yy2arr3054 := z.EncBasicHandle().StructToArray + var yyq3054 [5]bool + _, _, _ = yysep3054, yyq3054, yy2arr3054 + const yyr3054 bool = false + yyq3054[0] = x.Kind != "" + yyq3054[1] = x.APIVersion != "" + yyq3054[2] = true + yyq3054[3] = true + yyq3054[4] = true + var yynn3054 int + if yyr3054 || yy2arr3054 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3054 = 0 + for _, b := range yyq3054 { if b { - yynn2++ + yynn3054++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3054) + yynn3054 = 0 } - if yyr2 || yy2arr2 { + if yyr3054 || yy2arr3054 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq3054[0] { + yym3056 := z.EncBinary() + _ = yym3056 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -39377,23 +39326,23 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq3054[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym3057 := z.EncBinary() + _ = yym3057 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr3054 || yy2arr3054 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq3054[1] { + yym3059 := z.EncBinary() + _ = yym3059 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -39402,19 +39351,70 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq3054[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym3060 := z.EncBinary() + _ = yym3060 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3054 || yy2arr3054 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3054[2] { + yy3062 := &x.ObjectMeta + yy3062.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3054[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3063 := &x.ObjectMeta + yy3063.CodecEncodeSelf(e) + } + } + if yyr3054 || yy2arr3054 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3054[3] { + yy3065 := &x.Spec + yy3065.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3054[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3066 := &x.Spec + yy3066.CodecEncodeSelf(e) + } + } + if yyr3054 || yy2arr3054 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3054[4] { + yy3068 := &x.Status + yy3068.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3054[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3069 := &x.Status + yy3069.CodecEncodeSelf(e) + } + } + if yyr3054 || yy2arr3054 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39427,25 +39427,25 @@ func (x *Node) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3070 := z.DecBinary() + _ = yym3070 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3071 := r.ContainerType() + if yyct3071 == codecSelferValueTypeMap1234 { + yyl3071 := r.ReadMapStart() + if yyl3071 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3071, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3071 == codecSelferValueTypeArray1234 { + yyl3071 := r.ReadArrayStart() + if yyl3071 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3071, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39457,12 +39457,12 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3072Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3072Slc + var yyhl3072 bool = l >= 0 + for yyj3072 := 0; ; yyj3072++ { + if yyhl3072 { + if yyj3072 >= l { break } } else { @@ -39471,31 +39471,10 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3072Slc = r.DecodeBytes(yys3072Slc, true, true) + yys3072 := string(yys3072Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = NodeSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = NodeStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys3072 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -39508,10 +39487,31 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3075 := &x.ObjectMeta + yyv3075.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = NodeSpec{} + } else { + yyv3076 := &x.Spec + yyv3076.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = NodeStatus{} + } else { + yyv3077 := &x.Status + yyv3077.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3072) + } // end switch yys3072 + } // end for yyj3072 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39519,67 +39519,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj3078 int + var yyb3078 bool + var yyhl3078 bool = l >= 0 + yyj3078++ + if yyhl3078 { + yyb3078 = yyj3078 > l } else { - yyb9 = r.CheckBreak() + yyb3078 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = NodeSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = NodeStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb3078 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39589,13 +39538,13 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj3078++ + if yyhl3078 { + yyb3078 = yyj3078 > l } else { - yyb9 = r.CheckBreak() + yyb3078 = r.CheckBreak() } - if yyb9 { + if yyb3078 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39605,18 +39554,69 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj3078++ + if yyhl3078 { + yyb3078 = yyj3078 > l + } else { + yyb3078 = r.CheckBreak() + } + if yyb3078 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3081 := &x.ObjectMeta + yyv3081.CodecDecodeSelf(d) + } + yyj3078++ + if yyhl3078 { + yyb3078 = yyj3078 > l + } else { + yyb3078 = r.CheckBreak() + } + if yyb3078 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = NodeSpec{} + } else { + yyv3082 := &x.Spec + yyv3082.CodecDecodeSelf(d) + } + yyj3078++ + if yyhl3078 { + yyb3078 = yyj3078 > l + } else { + yyb3078 = r.CheckBreak() + } + if yyb3078 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = NodeStatus{} + } else { + yyv3083 := &x.Status + yyv3083.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj3078++ + if yyhl3078 { + yyb3078 = yyj3078 > l } else { - yyb9 = r.CheckBreak() + yyb3078 = r.CheckBreak() } - if yyb9 { + if yyb3078 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj3078-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39628,68 +39628,118 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3084 := z.EncBinary() + _ = yym3084 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3085 := !z.EncBinary() + yy2arr3085 := z.EncBasicHandle().StructToArray + var yyq3085 [4]bool + _, _, _ = yysep3085, yyq3085, yy2arr3085 + const yyr3085 bool = false + yyq3085[0] = x.Kind != "" + yyq3085[1] = x.APIVersion != "" + yyq3085[2] = true + var yynn3085 int + if yyr3085 || yy2arr3085 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3085 = 1 + for _, b := range yyq3085 { if b { - yynn2++ + yynn3085++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3085) + yynn3085 = 0 } - if yyr2 || yy2arr2 { + if yyr3085 || yy2arr3085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq3085[0] { + yym3087 := z.EncBinary() + _ = yym3087 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3085[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3088 := z.EncBinary() + _ = yym3088 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3085 || yy2arr3085 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3085[1] { + yym3090 := z.EncBinary() + _ = yym3090 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3085[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3091 := z.EncBinary() + _ = yym3091 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3085 || yy2arr3085 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3085[2] { + yy3093 := &x.ListMeta + yym3094 := z.EncBinary() + _ = yym3094 + if false { + } else if z.HasExtensions() && z.EncExt(yy3093) { + } else { + z.EncFallback(yy3093) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3085[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy3095 := &x.ListMeta + yym3096 := z.EncBinary() + _ = yym3096 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy3095) { } else { - z.EncFallback(yy6) + z.EncFallback(yy3095) } } } - if yyr2 || yy2arr2 { + if yyr3085 || yy2arr3085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym3098 := z.EncBinary() + _ = yym3098 if false { } else { h.encSliceNode(([]Node)(x.Items), e) @@ -39702,65 +39752,15 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym3099 := z.EncBinary() + _ = yym3099 if false { } else { h.encSliceNode(([]Node)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3085 || yy2arr3085 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39773,25 +39773,25 @@ func (x *NodeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3100 := z.DecBinary() + _ = yym3100 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3101 := r.ContainerType() + if yyct3101 == codecSelferValueTypeMap1234 { + yyl3101 := r.ReadMapStart() + if yyl3101 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3101, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3101 == codecSelferValueTypeArray1234 { + yyl3101 := r.ReadArrayStart() + if yyl3101 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3101, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39803,12 +39803,12 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + 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 { @@ -39817,35 +39817,10 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3102Slc = r.DecodeBytes(yys3102Slc, true, true) + yys3102 := string(yys3102Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceNode((*[]Node)(yyv6), d) - } - } + switch yys3102 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -39858,10 +39833,35 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3105 := &x.ListMeta + yym3106 := z.DecBinary() + _ = yym3106 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3105) { + } else { + z.DecFallback(yyv3105, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3107 := &x.Items + yym3108 := z.DecBinary() + _ = yym3108 + if false { + } else { + h.decSliceNode((*[]Node)(yyv3107), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3102) + } // end switch yys3102 + } // end for yyj3102 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39869,61 +39869,16 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj3109 int + var yyb3109 bool + var yyhl3109 bool = l >= 0 + yyj3109++ + if yyhl3109 { + yyb3109 = yyj3109 > l } else { - yyb10 = r.CheckBreak() + yyb3109 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceNode((*[]Node)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb3109 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39933,13 +39888,13 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3109++ + if yyhl3109 { + yyb3109 = yyj3109 > l } else { - yyb10 = r.CheckBreak() + yyb3109 = r.CheckBreak() } - if yyb10 { + if yyb3109 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39949,18 +39904,63 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3109++ + if yyhl3109 { + yyb3109 = yyj3109 > l + } else { + yyb3109 = r.CheckBreak() + } + if yyb3109 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3112 := &x.ListMeta + yym3113 := z.DecBinary() + _ = yym3113 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3112) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv3112, false) } - if yyb10 { + } + yyj3109++ + if yyhl3109 { + yyb3109 = yyj3109 > l + } else { + yyb3109 = r.CheckBreak() + } + if yyb3109 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3114 := &x.Items + yym3115 := z.DecBinary() + _ = yym3115 + if false { + } else { + h.decSliceNode((*[]Node)(yyv3114), d) + } + } + for { + yyj3109++ + if yyhl3109 { + yyb3109 = yyj3109 > l + } else { + yyb3109 = r.CheckBreak() + } + if yyb3109 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj3109-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39972,36 +39972,36 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3116 := z.EncBinary() + _ = yym3116 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep3117 := !z.EncBinary() + yy2arr3117 := z.EncBasicHandle().StructToArray + var yyq3117 [1]bool + _, _, _ = yysep3117, yyq3117, yy2arr3117 + const yyr3117 bool = false + var yynn3117 int + if yyr3117 || yy2arr3117 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3117 = 1 + for _, b := range yyq3117 { if b { - yynn2++ + yynn3117++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3117) + yynn3117 = 0 } - if yyr2 || yy2arr2 { + if yyr3117 || yy2arr3117 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Finalizers == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym3119 := z.EncBinary() + _ = yym3119 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) @@ -40014,15 +40014,15 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Finalizers == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym3120 := z.EncBinary() + _ = yym3120 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) } } } - if yyr2 || yy2arr2 { + if yyr3117 || yy2arr3117 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40035,25 +40035,25 @@ func (x *NamespaceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3121 := z.DecBinary() + _ = yym3121 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3122 := r.ContainerType() + if yyct3122 == codecSelferValueTypeMap1234 { + yyl3122 := r.ReadMapStart() + if yyl3122 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3122, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3122 == codecSelferValueTypeArray1234 { + yyl3122 := r.ReadArrayStart() + if yyl3122 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3122, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40065,12 +40065,12 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3123Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3123Slc + var yyhl3123 bool = l >= 0 + for yyj3123 := 0; ; yyj3123++ { + if yyhl3123 { + if yyj3123 >= l { break } } else { @@ -40079,26 +40079,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3123Slc = r.DecodeBytes(yys3123Slc, true, true) + yys3123 := string(yys3123Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3123 { case "Finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv4 := &x.Finalizers - yym5 := z.DecBinary() - _ = yym5 + yyv3124 := &x.Finalizers + yym3125 := z.DecBinary() + _ = yym3125 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv4), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv3124), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3123) + } // end switch yys3123 + } // end for yyj3123 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40106,16 +40106,16 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj3126 int + var yyb3126 bool + var yyhl3126 bool = l >= 0 + yyj3126++ + if yyhl3126 { + yyb3126 = yyj3126 > l } else { - yyb6 = r.CheckBreak() + yyb3126 = r.CheckBreak() } - if yyb6 { + if yyb3126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40123,26 +40123,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv7 := &x.Finalizers - yym8 := z.DecBinary() - _ = yym8 + yyv3127 := &x.Finalizers + yym3128 := z.DecBinary() + _ = yym3128 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv7), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv3127), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3126++ + if yyhl3126 { + yyb3126 = yyj3126 > l } else { - yyb6 = r.CheckBreak() + yyb3126 = r.CheckBreak() } - if yyb6 { + if yyb3126 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj3126-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40151,8 +40151,8 @@ func (x FinalizerName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym3129 := z.EncBinary() + _ = yym3129 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -40164,8 +40164,8 @@ func (x *FinalizerName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3130 := z.DecBinary() + _ = yym3130 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -40180,46 +40180,46 @@ func (x *NamespaceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3131 := z.EncBinary() + _ = yym3131 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Phase != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3132 := !z.EncBinary() + yy2arr3132 := z.EncBasicHandle().StructToArray + var yyq3132 [1]bool + _, _, _ = yysep3132, yyq3132, yy2arr3132 + const yyr3132 bool = false + yyq3132[0] = x.Phase != "" + var yynn3132 int + if yyr3132 || yy2arr3132 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3132 = 0 + for _, b := range yyq3132 { if b { - yynn2++ + yynn3132++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3132) + yynn3132 = 0 } - if yyr2 || yy2arr2 { + if yyr3132 || yy2arr3132 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq3132[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq3132[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr3132 || yy2arr3132 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40232,25 +40232,25 @@ func (x *NamespaceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3134 := z.DecBinary() + _ = yym3134 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3135 := r.ContainerType() + if yyct3135 == codecSelferValueTypeMap1234 { + yyl3135 := r.ReadMapStart() + if yyl3135 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3135, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3135 == codecSelferValueTypeArray1234 { + yyl3135 := r.ReadArrayStart() + if yyl3135 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3135, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40262,12 +40262,12 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3136Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3136Slc + var yyhl3136 bool = l >= 0 + for yyj3136 := 0; ; yyj3136++ { + if yyhl3136 { + if yyj3136 >= l { break } } else { @@ -40276,10 +40276,10 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3136Slc = r.DecodeBytes(yys3136Slc, true, true) + yys3136 := string(yys3136Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3136 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -40287,9 +40287,9 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Phase = NamespacePhase(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3136) + } // end switch yys3136 + } // end for yyj3136 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40297,16 +40297,16 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj3138 int + var yyb3138 bool + var yyhl3138 bool = l >= 0 + yyj3138++ + if yyhl3138 { + yyb3138 = yyj3138 > l } else { - yyb5 = r.CheckBreak() + yyb3138 = r.CheckBreak() } - if yyb5 { + if yyb3138 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40317,17 +40317,17 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Phase = NamespacePhase(r.DecodeString()) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj3138++ + if yyhl3138 { + yyb3138 = yyj3138 > l } else { - yyb5 = r.CheckBreak() + yyb3138 = r.CheckBreak() } - if yyb5 { + if yyb3138 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj3138-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40336,8 +40336,8 @@ func (x NamespacePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym3140 := z.EncBinary() + _ = yym3140 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -40349,8 +40349,8 @@ func (x *NamespacePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3141 := z.DecBinary() + _ = yym3141 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -40365,90 +40365,39 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3142 := z.EncBinary() + _ = yym3142 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3143 := !z.EncBinary() + yy2arr3143 := z.EncBasicHandle().StructToArray + var yyq3143 [5]bool + _, _, _ = yysep3143, yyq3143, yy2arr3143 + const yyr3143 bool = false + yyq3143[0] = x.Kind != "" + yyq3143[1] = x.APIVersion != "" + yyq3143[2] = true + yyq3143[3] = true + yyq3143[4] = true + var yynn3143 int + if yyr3143 || yy2arr3143 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3143 = 0 + for _, b := range yyq3143 { if b { - yynn2++ + yynn3143++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3143) + yynn3143 = 0 } - if yyr2 || yy2arr2 { + if yyr3143 || yy2arr3143 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq3143[0] { + yym3145 := z.EncBinary() + _ = yym3145 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40457,23 +40406,23 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq3143[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym3146 := z.EncBinary() + _ = yym3146 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr3143 || yy2arr3143 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq3143[1] { + yym3148 := z.EncBinary() + _ = yym3148 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40482,19 +40431,70 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq3143[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym3149 := z.EncBinary() + _ = yym3149 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3143 || yy2arr3143 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3143[2] { + yy3151 := &x.ObjectMeta + yy3151.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3143[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3152 := &x.ObjectMeta + yy3152.CodecEncodeSelf(e) + } + } + if yyr3143 || yy2arr3143 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3143[3] { + yy3154 := &x.Spec + yy3154.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3143[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3155 := &x.Spec + yy3155.CodecEncodeSelf(e) + } + } + if yyr3143 || yy2arr3143 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3143[4] { + yy3157 := &x.Status + yy3157.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3143[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3158 := &x.Status + yy3158.CodecEncodeSelf(e) + } + } + if yyr3143 || yy2arr3143 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40507,25 +40507,25 @@ func (x *Namespace) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3159 := z.DecBinary() + _ = yym3159 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3160 := r.ContainerType() + if yyct3160 == codecSelferValueTypeMap1234 { + yyl3160 := r.ReadMapStart() + if yyl3160 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3160, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3160 == codecSelferValueTypeArray1234 { + yyl3160 := r.ReadArrayStart() + if yyl3160 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3160, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40537,12 +40537,12 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3161Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3161Slc + var yyhl3161 bool = l >= 0 + for yyj3161 := 0; ; yyj3161++ { + if yyhl3161 { + if yyj3161 >= l { break } } else { @@ -40551,31 +40551,10 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3161Slc = r.DecodeBytes(yys3161Slc, true, true) + yys3161 := string(yys3161Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = NamespaceSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = NamespaceStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys3161 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -40588,10 +40567,31 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3164 := &x.ObjectMeta + yyv3164.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = NamespaceSpec{} + } else { + yyv3165 := &x.Spec + yyv3165.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = NamespaceStatus{} + } else { + yyv3166 := &x.Status + yyv3166.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3161) + } // end switch yys3161 + } // end for yyj3161 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40599,67 +40599,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj3167 int + var yyb3167 bool + var yyhl3167 bool = l >= 0 + yyj3167++ + if yyhl3167 { + yyb3167 = yyj3167 > l } else { - yyb9 = r.CheckBreak() + yyb3167 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = NamespaceSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = NamespaceStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb3167 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40669,13 +40618,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj3167++ + if yyhl3167 { + yyb3167 = yyj3167 > l } else { - yyb9 = r.CheckBreak() + yyb3167 = r.CheckBreak() } - if yyb9 { + if yyb3167 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40685,18 +40634,69 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj3167++ + if yyhl3167 { + yyb3167 = yyj3167 > l + } else { + yyb3167 = r.CheckBreak() + } + if yyb3167 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3170 := &x.ObjectMeta + yyv3170.CodecDecodeSelf(d) + } + yyj3167++ + if yyhl3167 { + yyb3167 = yyj3167 > l + } else { + yyb3167 = r.CheckBreak() + } + if yyb3167 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = NamespaceSpec{} + } else { + yyv3171 := &x.Spec + yyv3171.CodecDecodeSelf(d) + } + yyj3167++ + if yyhl3167 { + yyb3167 = yyj3167 > l + } else { + yyb3167 = r.CheckBreak() + } + if yyb3167 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = NamespaceStatus{} + } else { + yyv3172 := &x.Status + yyv3172.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj3167++ + if yyhl3167 { + yyb3167 = yyj3167 > l } else { - yyb9 = r.CheckBreak() + yyb3167 = r.CheckBreak() } - if yyb9 { + if yyb3167 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj3167-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40708,68 +40708,118 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3173 := z.EncBinary() + _ = yym3173 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3174 := !z.EncBinary() + yy2arr3174 := z.EncBasicHandle().StructToArray + var yyq3174 [4]bool + _, _, _ = yysep3174, yyq3174, yy2arr3174 + const yyr3174 bool = false + yyq3174[0] = x.Kind != "" + yyq3174[1] = x.APIVersion != "" + yyq3174[2] = true + var yynn3174 int + if yyr3174 || yy2arr3174 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3174 = 1 + for _, b := range yyq3174 { if b { - yynn2++ + yynn3174++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3174) + yynn3174 = 0 } - if yyr2 || yy2arr2 { + if yyr3174 || yy2arr3174 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq3174[0] { + yym3176 := z.EncBinary() + _ = yym3176 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3174[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3177 := z.EncBinary() + _ = yym3177 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3174 || yy2arr3174 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3174[1] { + yym3179 := z.EncBinary() + _ = yym3179 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3174[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3180 := z.EncBinary() + _ = yym3180 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3174 || yy2arr3174 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3174[2] { + yy3182 := &x.ListMeta + yym3183 := z.EncBinary() + _ = yym3183 + if false { + } else if z.HasExtensions() && z.EncExt(yy3182) { + } else { + z.EncFallback(yy3182) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3174[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy3184 := &x.ListMeta + yym3185 := z.EncBinary() + _ = yym3185 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy3184) { } else { - z.EncFallback(yy6) + z.EncFallback(yy3184) } } } - if yyr2 || yy2arr2 { + if yyr3174 || yy2arr3174 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym3187 := z.EncBinary() + _ = yym3187 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) @@ -40782,65 +40832,15 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym3188 := z.EncBinary() + _ = yym3188 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3174 || yy2arr3174 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40853,25 +40853,25 @@ func (x *NamespaceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3189 := z.DecBinary() + _ = yym3189 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3190 := r.ContainerType() + if yyct3190 == codecSelferValueTypeMap1234 { + yyl3190 := r.ReadMapStart() + if yyl3190 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3190, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3190 == codecSelferValueTypeArray1234 { + yyl3190 := r.ReadArrayStart() + if yyl3190 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3190, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40883,12 +40883,12 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3191Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3191Slc + var yyhl3191 bool = l >= 0 + for yyj3191 := 0; ; yyj3191++ { + if yyhl3191 { + if yyj3191 >= l { break } } else { @@ -40897,35 +40897,10 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3191Slc = r.DecodeBytes(yys3191Slc, true, true) + yys3191 := string(yys3191Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceNamespace((*[]Namespace)(yyv6), d) - } - } + switch yys3191 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -40938,10 +40913,35 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3194 := &x.ListMeta + yym3195 := z.DecBinary() + _ = yym3195 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3194) { + } else { + z.DecFallback(yyv3194, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3196 := &x.Items + yym3197 := z.DecBinary() + _ = yym3197 + if false { + } else { + h.decSliceNamespace((*[]Namespace)(yyv3196), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3191) + } // end switch yys3191 + } // end for yyj3191 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40949,61 +40949,16 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj3198 int + var yyb3198 bool + var yyhl3198 bool = l >= 0 + yyj3198++ + if yyhl3198 { + yyb3198 = yyj3198 > l } else { - yyb10 = r.CheckBreak() + yyb3198 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceNamespace((*[]Namespace)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb3198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41013,13 +40968,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3198++ + if yyhl3198 { + yyb3198 = yyj3198 > l } else { - yyb10 = r.CheckBreak() + yyb3198 = r.CheckBreak() } - if yyb10 { + if yyb3198 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41029,18 +40984,63 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3198++ + if yyhl3198 { + yyb3198 = yyj3198 > l + } else { + yyb3198 = r.CheckBreak() + } + if yyb3198 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3201 := &x.ListMeta + yym3202 := z.DecBinary() + _ = yym3202 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3201) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv3201, false) } - if yyb10 { + } + yyj3198++ + if yyhl3198 { + yyb3198 = yyj3198 > l + } else { + yyb3198 = r.CheckBreak() + } + if yyb3198 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3203 := &x.Items + yym3204 := z.DecBinary() + _ = yym3204 + if false { + } else { + h.decSliceNamespace((*[]Namespace)(yyv3203), d) + } + } + for { + yyj3198++ + if yyhl3198 { + yyb3198 = yyj3198 > l + } else { + yyb3198 = r.CheckBreak() + } + if yyb3198 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj3198-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41052,111 +41052,111 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3205 := z.EncBinary() + _ = yym3205 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3206 := !z.EncBinary() + yy2arr3206 := z.EncBasicHandle().StructToArray + var yyq3206 [4]bool + _, _, _ = yysep3206, yyq3206, yy2arr3206 + const yyr3206 bool = false + yyq3206[0] = x.Kind != "" + yyq3206[1] = x.APIVersion != "" + yyq3206[2] = true + var yynn3206 int + if yyr3206 || yy2arr3206 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3206 = 1 + for _, b := range yyq3206 { if b { - yynn2++ + yynn3206++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3206) + yynn3206 = 0 } - if yyr2 || yy2arr2 { + if yyr3206 || yy2arr3206 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq3206[0] { + yym3208 := z.EncBinary() + _ = yym3208 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3206[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3209 := z.EncBinary() + _ = yym3209 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3206 || yy2arr3206 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3206[1] { + yym3211 := z.EncBinary() + _ = yym3211 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3206[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3212 := z.EncBinary() + _ = yym3212 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3206 || yy2arr3206 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3206[2] { + yy3214 := &x.ObjectMeta + yy3214.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3206[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy3215 := &x.ObjectMeta + yy3215.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr3206 || yy2arr3206 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy9 := &x.Target - yy9.CodecEncodeSelf(e) + yy3217 := &x.Target + yy3217.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("target")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Target - yy11.CodecEncodeSelf(e) + yy3218 := &x.Target + yy3218.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3206 || yy2arr3206 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41169,25 +41169,25 @@ func (x *Binding) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3219 := z.DecBinary() + _ = yym3219 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3220 := r.ContainerType() + if yyct3220 == codecSelferValueTypeMap1234 { + yyl3220 := r.ReadMapStart() + if yyl3220 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3220, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3220 == codecSelferValueTypeArray1234 { + yyl3220 := r.ReadArrayStart() + if yyl3220 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3220, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41199,12 +41199,12 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -41213,24 +41213,10 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3221Slc = r.DecodeBytes(yys3221Slc, true, true) + yys3221 := string(yys3221Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "target": - if r.TryDecodeAsNil() { - x.Target = ObjectReference{} - } else { - yyv5 := &x.Target - yyv5.CodecDecodeSelf(d) - } + switch yys3221 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -41243,10 +41229,24 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3224 := &x.ObjectMeta + yyv3224.CodecDecodeSelf(d) + } + case "target": + if r.TryDecodeAsNil() { + x.Target = ObjectReference{} + } else { + yyv3225 := &x.Target + yyv3225.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3221) + } // end switch yys3221 + } // end for yyj3221 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41254,50 +41254,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj3226 int + var yyb3226 bool + var yyhl3226 bool = l >= 0 + yyj3226++ + if yyhl3226 { + yyb3226 = yyj3226 > l } else { - yyb8 = r.CheckBreak() + yyb3226 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv9 := &x.ObjectMeta - yyv9.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Target = ObjectReference{} - } else { - yyv10 := &x.Target - yyv10.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb3226 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41307,13 +41273,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj3226++ + if yyhl3226 { + yyb3226 = yyj3226 > l } else { - yyb8 = r.CheckBreak() + yyb3226 = r.CheckBreak() } - if yyb8 { + if yyb3226 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41323,18 +41289,52 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj3226++ + if yyhl3226 { + yyb3226 = yyj3226 > l + } else { + yyb3226 = r.CheckBreak() + } + if yyb3226 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3229 := &x.ObjectMeta + yyv3229.CodecDecodeSelf(d) + } + yyj3226++ + if yyhl3226 { + yyb3226 = yyj3226 > l + } else { + yyb3226 = r.CheckBreak() + } + if yyb3226 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Target = ObjectReference{} + } else { + yyv3230 := &x.Target + yyv3230.CodecDecodeSelf(d) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj3226++ + if yyhl3226 { + yyb3226 = yyj3226 > l } else { - yyb8 = r.CheckBreak() + yyb3226 = r.CheckBreak() } - if yyb8 { + if yyb3226 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj3226-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41346,68 +41346,68 @@ func (x *Preconditions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3231 := z.EncBinary() + _ = yym3231 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.UID != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep3232 := !z.EncBinary() + yy2arr3232 := z.EncBasicHandle().StructToArray + var yyq3232 [1]bool + _, _, _ = yysep3232, yyq3232, yy2arr3232 + const yyr3232 bool = false + yyq3232[0] = x.UID != nil + var yynn3232 int + if yyr3232 || yy2arr3232 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3232 = 0 + for _, b := range yyq3232 { if b { - yynn2++ + yynn3232++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3232) + yynn3232 = 0 } - if yyr2 || yy2arr2 { + if yyr3232 || yy2arr3232 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq3232[0] { if x.UID == nil { r.EncodeNil() } else { - yy4 := *x.UID - yym5 := z.EncBinary() - _ = yym5 + yy3234 := *x.UID + yym3235 := z.EncBinary() + _ = yym3235 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { + } else if z.HasExtensions() && z.EncExt(yy3234) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy4)) + r.EncodeString(codecSelferC_UTF81234, string(yy3234)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3232[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UID == nil { r.EncodeNil() } else { - yy6 := *x.UID - yym7 := z.EncBinary() - _ = yym7 + yy3236 := *x.UID + yym3237 := z.EncBinary() + _ = yym3237 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy3236) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy6)) + r.EncodeString(codecSelferC_UTF81234, string(yy3236)) } } } } - if yyr2 || yy2arr2 { + if yyr3232 || yy2arr3232 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41420,25 +41420,25 @@ func (x *Preconditions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3238 := z.DecBinary() + _ = yym3238 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3239 := r.ContainerType() + if yyct3239 == codecSelferValueTypeMap1234 { + yyl3239 := r.ReadMapStart() + if yyl3239 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3239, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3239 == codecSelferValueTypeArray1234 { + yyl3239 := r.ReadArrayStart() + if yyl3239 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3239, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41450,12 +41450,12 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -41464,10 +41464,10 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3240Slc = r.DecodeBytes(yys3240Slc, true, true) + yys3240 := string(yys3240Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3240 { case "uid": if r.TryDecodeAsNil() { if x.UID != nil { @@ -41477,8 +41477,8 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.UID == nil { x.UID = new(pkg1_types.UID) } - yym5 := z.DecBinary() - _ = yym5 + yym3242 := z.DecBinary() + _ = yym3242 if false { } else if z.HasExtensions() && z.DecExt(x.UID) { } else { @@ -41486,9 +41486,9 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3240) + } // end switch yys3240 + } // end for yyj3240 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41496,16 +41496,16 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj3243 int + var yyb3243 bool + var yyhl3243 bool = l >= 0 + yyj3243++ + if yyhl3243 { + yyb3243 = yyj3243 > l } else { - yyb6 = r.CheckBreak() + yyb3243 = r.CheckBreak() } - if yyb6 { + if yyb3243 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41518,8 +41518,8 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.UID == nil { x.UID = new(pkg1_types.UID) } - yym8 := z.DecBinary() - _ = yym8 + yym3245 := z.DecBinary() + _ = yym3245 if false { } else if z.HasExtensions() && z.DecExt(x.UID) { } else { @@ -41527,17 +41527,17 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3243++ + if yyhl3243 { + yyb3243 = yyj3243 > l } else { - yyb6 = r.CheckBreak() + yyb3243 = r.CheckBreak() } - if yyb6 { + if yyb3243 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj3243-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41549,72 +41549,122 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3246 := z.EncBinary() + _ = yym3246 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.GracePeriodSeconds != nil - yyq2[1] = x.Preconditions != nil - yyq2[2] = x.OrphanDependents != nil - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3247 := !z.EncBinary() + yy2arr3247 := z.EncBasicHandle().StructToArray + var yyq3247 [5]bool + _, _, _ = yysep3247, yyq3247, yy2arr3247 + const yyr3247 bool = false + yyq3247[0] = x.Kind != "" + yyq3247[1] = x.APIVersion != "" + yyq3247[2] = x.GracePeriodSeconds != nil + yyq3247[3] = x.Preconditions != nil + yyq3247[4] = x.OrphanDependents != nil + var yynn3247 int + if yyr3247 || yy2arr3247 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3247 = 0 + for _, b := range yyq3247 { if b { - yynn2++ + yynn3247++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3247) + yynn3247 = 0 } - if yyr2 || yy2arr2 { + if yyr3247 || yy2arr3247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq3247[0] { + yym3249 := z.EncBinary() + _ = yym3249 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3247[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3250 := z.EncBinary() + _ = yym3250 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3247 || yy2arr3247 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3247[1] { + yym3252 := z.EncBinary() + _ = yym3252 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3247[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3253 := z.EncBinary() + _ = yym3253 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3247 || yy2arr3247 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3247[2] { if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy4 := *x.GracePeriodSeconds - yym5 := z.EncBinary() - _ = yym5 + yy3255 := *x.GracePeriodSeconds + yym3256 := z.EncBinary() + _ = yym3256 if false { } else { - r.EncodeInt(int64(yy4)) + r.EncodeInt(int64(yy3255)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3247[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy6 := *x.GracePeriodSeconds - yym7 := z.EncBinary() - _ = yym7 + yy3257 := *x.GracePeriodSeconds + yym3258 := z.EncBinary() + _ = yym3258 if false { } else { - r.EncodeInt(int64(yy6)) + r.EncodeInt(int64(yy3257)) } } } } - if yyr2 || yy2arr2 { + if yyr3247 || yy2arr3247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq3247[3] { if x.Preconditions == nil { r.EncodeNil() } else { @@ -41624,7 +41674,7 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq3247[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preconditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -41635,92 +41685,42 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3247 || yy2arr3247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq3247[4] { if x.OrphanDependents == nil { r.EncodeNil() } else { - yy12 := *x.OrphanDependents - yym13 := z.EncBinary() - _ = yym13 + yy3261 := *x.OrphanDependents + yym3262 := z.EncBinary() + _ = yym3262 if false { } else { - r.EncodeBool(bool(yy12)) + r.EncodeBool(bool(yy3261)) } } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq3247[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("orphanDependents")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.OrphanDependents == nil { r.EncodeNil() } else { - yy14 := *x.OrphanDependents - yym15 := z.EncBinary() - _ = yym15 + yy3263 := *x.OrphanDependents + yym3264 := z.EncBinary() + _ = yym3264 if false { } else { - r.EncodeBool(bool(yy14)) + r.EncodeBool(bool(yy3263)) } } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3247 || yy2arr3247 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41733,25 +41733,25 @@ func (x *DeleteOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3265 := z.DecBinary() + _ = yym3265 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3266 := r.ContainerType() + if yyct3266 == codecSelferValueTypeMap1234 { + yyl3266 := r.ReadMapStart() + if yyl3266 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3266, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3266 == codecSelferValueTypeArray1234 { + yyl3266 := r.ReadArrayStart() + if yyl3266 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3266, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41763,12 +41763,12 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3267Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3267Slc + var yyhl3267 bool = l >= 0 + for yyj3267 := 0; ; yyj3267++ { + if yyhl3267 { + if yyj3267 >= l { break } } else { @@ -41777,10 +41777,22 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3267Slc = r.DecodeBytes(yys3267Slc, true, true) + yys3267 := string(yys3267Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3267 { + 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 "gracePeriodSeconds": if r.TryDecodeAsNil() { if x.GracePeriodSeconds != nil { @@ -41790,8 +41802,8 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym5 := z.DecBinary() - _ = yym5 + yym3271 := z.DecBinary() + _ = yym3271 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -41817,29 +41829,17 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.OrphanDependents == nil { x.OrphanDependents = new(bool) } - yym8 := z.DecBinary() - _ = yym8 + yym3274 := z.DecBinary() + _ = yym3274 if false { } else { *((*bool)(x.OrphanDependents)) = r.DecodeBool() } } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3267) + } // end switch yys3267 + } // end for yyj3267 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41847,16 +41847,48 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj3275 int + var yyb3275 bool + var yyhl3275 bool = l >= 0 + yyj3275++ + if yyhl3275 { + yyb3275 = yyj3275 > l } else { - yyb11 = r.CheckBreak() + yyb3275 = r.CheckBreak() } - if yyb11 { + if yyb3275 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3275++ + if yyhl3275 { + yyb3275 = yyj3275 > l + } else { + yyb3275 = r.CheckBreak() + } + if yyb3275 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3275++ + if yyhl3275 { + yyb3275 = yyj3275 > l + } else { + yyb3275 = r.CheckBreak() + } + if yyb3275 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41869,20 +41901,20 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym13 := z.DecBinary() - _ = yym13 + yym3279 := z.DecBinary() + _ = yym3279 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3275++ + if yyhl3275 { + yyb3275 = yyj3275 > l } else { - yyb11 = r.CheckBreak() + yyb3275 = r.CheckBreak() } - if yyb11 { + if yyb3275 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41897,13 +41929,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Preconditions.CodecDecodeSelf(d) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3275++ + if yyhl3275 { + yyb3275 = yyj3275 > l } else { - yyb11 = r.CheckBreak() + yyb3275 = r.CheckBreak() } - if yyb11 { + if yyb3275 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41916,57 +41948,25 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.OrphanDependents == nil { x.OrphanDependents = new(bool) } - yym16 := z.DecBinary() - _ = yym16 + yym3282 := z.DecBinary() + _ = yym3282 if false { } else { *((*bool)(x.OrphanDependents)) = r.DecodeBool() } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3275++ + if yyhl3275 { + yyb3275 = yyj3275 > l } else { - yyb11 = r.CheckBreak() + yyb3275 = r.CheckBreak() } - if yyb11 { + if yyb3275 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj3275-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41978,35 +41978,85 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3283 := z.EncBinary() + _ = yym3283 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + 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 != "" + var yynn3284 int + if yyr3284 || yy2arr3284 { r.EncodeArrayStart(4) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn3284 = 2 + for _, b := range yyq3284 { if b { - yynn2++ + yynn3284++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3284) + yynn3284 = 0 } - if yyr2 || yy2arr2 { + if yyr3284 || yy2arr3284 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + if yyq3284[0] { + yym3286 := z.EncBinary() + _ = yym3286 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3284[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3287 := z.EncBinary() + _ = yym3287 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3284 || yy2arr3284 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3284[1] { + yym3289 := z.EncBinary() + _ = yym3289 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3284[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3290 := z.EncBinary() + _ = yym3290 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3284 || yy2arr3284 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym3292 := z.EncBinary() + _ = yym3292 if false { } else { r.EncodeBool(bool(x.Export)) @@ -42015,17 +42065,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3293 := z.EncBinary() + _ = yym3293 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr2 || yy2arr2 { + if yyr3284 || yy2arr3284 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym3295 := z.EncBinary() + _ = yym3295 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -42034,64 +42084,14 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3296 := z.EncBinary() + _ = yym3296 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3284 || yy2arr3284 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42104,25 +42104,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3297 := z.DecBinary() + _ = yym3297 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3298 := r.ContainerType() + if yyct3298 == codecSelferValueTypeMap1234 { + yyl3298 := r.ReadMapStart() + if yyl3298 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3298, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3298 == codecSelferValueTypeArray1234 { + yyl3298 := r.ReadArrayStart() + if yyl3298 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3298, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42134,12 +42134,12 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3299Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3299Slc + var yyhl3299 bool = l >= 0 + for yyj3299 := 0; ; yyj3299++ { + if yyhl3299 { + if yyj3299 >= l { break } } else { @@ -42148,22 +42148,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3299Slc = r.DecodeBytes(yys3299Slc, true, true) + yys3299 := string(yys3299Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "export": - if r.TryDecodeAsNil() { - x.Export = false - } else { - x.Export = bool(r.DecodeBool()) - } - case "exact": - if r.TryDecodeAsNil() { - x.Exact = false - } else { - x.Exact = bool(r.DecodeBool()) - } + switch yys3299 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -42176,10 +42164,22 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "export": + if r.TryDecodeAsNil() { + x.Export = false + } else { + x.Export = bool(r.DecodeBool()) + } + case "exact": + if r.TryDecodeAsNil() { + x.Exact = false + } else { + x.Exact = bool(r.DecodeBool()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3299) + } // end switch yys3299 + } // end for yyj3299 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42187,48 +42187,16 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj3304 int + var yyb3304 bool + var yyhl3304 bool = l >= 0 + yyj3304++ + if yyhl3304 { + yyb3304 = yyj3304 > l } else { - yyb8 = r.CheckBreak() + yyb3304 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Export = false - } else { - x.Export = bool(r.DecodeBool()) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Exact = false - } else { - x.Exact = bool(r.DecodeBool()) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb3304 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42238,13 +42206,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj3304++ + if yyhl3304 { + yyb3304 = yyj3304 > l } else { - yyb8 = r.CheckBreak() + yyb3304 = r.CheckBreak() } - if yyb8 { + if yyb3304 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42254,18 +42222,50 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj3304++ + if yyhl3304 { + yyb3304 = yyj3304 > l + } else { + yyb3304 = r.CheckBreak() + } + if yyb3304 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Export = false + } else { + x.Export = bool(r.DecodeBool()) + } + yyj3304++ + if yyhl3304 { + yyb3304 = yyj3304 > l + } else { + yyb3304 = r.CheckBreak() + } + if yyb3304 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Exact = false + } else { + x.Exact = bool(r.DecodeBool()) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj3304++ + if yyhl3304 { + yyb3304 = yyj3304 > l } else { - yyb8 = r.CheckBreak() + yyb3304 = r.CheckBreak() } - if yyb8 { + if yyb3304 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj3304-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42277,38 +42277,88 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3309 := z.EncBinary() + _ = yym3309 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [7]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[5] = x.Kind != "" - yyq2[6] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3310 := !z.EncBinary() + yy2arr3310 := z.EncBasicHandle().StructToArray + var yyq3310 [7]bool + _, _, _ = yysep3310, yyq3310, yy2arr3310 + const yyr3310 bool = false + yyq3310[0] = x.Kind != "" + yyq3310[1] = x.APIVersion != "" + var yynn3310 int + if yyr3310 || yy2arr3310 { r.EncodeArrayStart(7) } else { - yynn2 = 5 - for _, b := range yyq2 { + yynn3310 = 5 + for _, b := range yyq3310 { if b { - yynn2++ + yynn3310++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3310) + yynn3310 = 0 } - if yyr2 || yy2arr2 { + if yyr3310 || yy2arr3310 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3310[0] { + yym3312 := z.EncBinary() + _ = yym3312 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3310[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3313 := z.EncBinary() + _ = yym3313 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3310 || yy2arr3310 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3310[1] { + yym3315 := z.EncBinary() + _ = yym3315 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3310[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3316 := z.EncBinary() + _ = yym3316 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3310 || yy2arr3310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.LabelSelector == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym3318 := z.EncBinary() + _ = yym3318 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -42322,8 +42372,8 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.LabelSelector == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym3319 := z.EncBinary() + _ = yym3319 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -42331,13 +42381,13 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3310 || yy2arr3310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.FieldSelector == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym3321 := z.EncBinary() + _ = yym3321 if false { } else if z.HasExtensions() && z.EncExt(x.FieldSelector) { } else { @@ -42351,8 +42401,8 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.FieldSelector == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym3322 := z.EncBinary() + _ = yym3322 if false { } else if z.HasExtensions() && z.EncExt(x.FieldSelector) { } else { @@ -42360,10 +42410,10 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3310 || yy2arr3310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym3324 := z.EncBinary() + _ = yym3324 if false { } else { r.EncodeBool(bool(x.Watch)) @@ -42372,17 +42422,17 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Watch")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym3325 := z.EncBinary() + _ = yym3325 if false { } else { r.EncodeBool(bool(x.Watch)) } } - if yyr2 || yy2arr2 { + if yyr3310 || yy2arr3310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 + yym3327 := z.EncBinary() + _ = yym3327 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -42391,24 +42441,24 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ResourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym3328 := z.EncBinary() + _ = yym3328 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } - if yyr2 || yy2arr2 { + if yyr3310 || yy2arr3310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy16 := *x.TimeoutSeconds - yym17 := z.EncBinary() - _ = yym17 + yy3330 := *x.TimeoutSeconds + yym3331 := z.EncBinary() + _ = yym3331 if false { } else { - r.EncodeInt(int64(yy16)) + r.EncodeInt(int64(yy3330)) } } } else { @@ -42418,66 +42468,16 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy18 := *x.TimeoutSeconds - yym19 := z.EncBinary() - _ = yym19 + yy3332 := *x.TimeoutSeconds + yym3333 := z.EncBinary() + _ = yym3333 if false { } else { - r.EncodeInt(int64(yy18)) + r.EncodeInt(int64(yy3332)) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym21 := z.EncBinary() - _ = yym21 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym24 := z.EncBinary() - _ = yym24 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym25 := z.EncBinary() - _ = yym25 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3310 || yy2arr3310 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42490,25 +42490,25 @@ func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3334 := z.DecBinary() + _ = yym3334 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3335 := r.ContainerType() + if yyct3335 == codecSelferValueTypeMap1234 { + yyl3335 := r.ReadMapStart() + if yyl3335 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3335, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3335 == codecSelferValueTypeArray1234 { + yyl3335 := r.ReadArrayStart() + if yyl3335 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3335, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42520,12 +42520,12 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + 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 { @@ -42534,34 +42534,46 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3336Slc = r.DecodeBytes(yys3336Slc, true, true) + yys3336 := string(yys3336Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + 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 "LabelSelector": if r.TryDecodeAsNil() { x.LabelSelector = nil } else { - yyv4 := &x.LabelSelector - yym5 := z.DecBinary() - _ = yym5 + yyv3339 := &x.LabelSelector + yym3340 := z.DecBinary() + _ = yym3340 if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { + } else if z.HasExtensions() && z.DecExt(yyv3339) { } else { - z.DecFallback(yyv4, true) + z.DecFallback(yyv3339, true) } } case "FieldSelector": if r.TryDecodeAsNil() { x.FieldSelector = nil } else { - yyv6 := &x.FieldSelector - yym7 := z.DecBinary() - _ = yym7 + yyv3341 := &x.FieldSelector + yym3342 := z.DecBinary() + _ = yym3342 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if z.HasExtensions() && z.DecExt(yyv3341) { } else { - z.DecFallback(yyv6, true) + z.DecFallback(yyv3341, true) } } case "Watch": @@ -42585,29 +42597,17 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym11 := z.DecBinary() - _ = yym11 + yym3346 := z.DecBinary() + _ = yym3346 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3336) + } // end switch yys3336 + } // end for yyj3336 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42615,16 +42615,48 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj14 int - var yyb14 bool - var yyhl14 bool = l >= 0 - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + var yyj3347 int + var yyb3347 bool + var yyhl3347 bool = l >= 0 + yyj3347++ + if yyhl3347 { + yyb3347 = yyj3347 > l } else { - yyb14 = r.CheckBreak() + yyb3347 = r.CheckBreak() } - if yyb14 { + if yyb3347 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3347++ + if yyhl3347 { + yyb3347 = yyj3347 > l + } else { + yyb3347 = r.CheckBreak() + } + if yyb3347 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3347++ + if yyhl3347 { + yyb3347 = yyj3347 > l + } else { + yyb3347 = r.CheckBreak() + } + if yyb3347 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42632,22 +42664,22 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LabelSelector = nil } else { - yyv15 := &x.LabelSelector - yym16 := z.DecBinary() - _ = yym16 + yyv3350 := &x.LabelSelector + yym3351 := z.DecBinary() + _ = yym3351 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { + } else if z.HasExtensions() && z.DecExt(yyv3350) { } else { - z.DecFallback(yyv15, true) + z.DecFallback(yyv3350, true) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj3347++ + if yyhl3347 { + yyb3347 = yyj3347 > l } else { - yyb14 = r.CheckBreak() + yyb3347 = r.CheckBreak() } - if yyb14 { + if yyb3347 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42655,22 +42687,22 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FieldSelector = nil } else { - yyv17 := &x.FieldSelector - yym18 := z.DecBinary() - _ = yym18 + yyv3352 := &x.FieldSelector + yym3353 := z.DecBinary() + _ = yym3353 if false { - } else if z.HasExtensions() && z.DecExt(yyv17) { + } else if z.HasExtensions() && z.DecExt(yyv3352) { } else { - z.DecFallback(yyv17, true) + z.DecFallback(yyv3352, true) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj3347++ + if yyhl3347 { + yyb3347 = yyj3347 > l } else { - yyb14 = r.CheckBreak() + yyb3347 = r.CheckBreak() } - if yyb14 { + if yyb3347 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42680,13 +42712,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Watch = bool(r.DecodeBool()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj3347++ + if yyhl3347 { + yyb3347 = yyj3347 > l } else { - yyb14 = r.CheckBreak() + yyb3347 = r.CheckBreak() } - if yyb14 { + if yyb3347 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42696,13 +42728,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj3347++ + if yyhl3347 { + yyb3347 = yyj3347 > l } else { - yyb14 = r.CheckBreak() + yyb3347 = r.CheckBreak() } - if yyb14 { + if yyb3347 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42715,57 +42747,25 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym22 := z.DecBinary() - _ = yym22 + yym3357 := z.DecBinary() + _ = yym3357 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l - } else { - yyb14 = r.CheckBreak() - } - if yyb14 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l - } else { - yyb14 = r.CheckBreak() - } - if yyb14 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } for { - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj3347++ + if yyhl3347 { + yyb3347 = yyj3347 > l } else { - yyb14 = r.CheckBreak() + yyb3347 = r.CheckBreak() } - if yyb14 { + if yyb3347 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj14-1, "") + z.DecStructFieldNotFound(yyj3347-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42777,35 +42777,85 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3358 := z.EncBinary() + _ = yym3358 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [10]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[8] = x.Kind != "" - yyq2[9] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3359 := !z.EncBinary() + yy2arr3359 := z.EncBasicHandle().StructToArray + var yyq3359 [10]bool + _, _, _ = yysep3359, yyq3359, yy2arr3359 + const yyr3359 bool = false + yyq3359[0] = x.Kind != "" + yyq3359[1] = x.APIVersion != "" + var yynn3359 int + if yyr3359 || yy2arr3359 { r.EncodeArrayStart(10) } else { - yynn2 = 8 - for _, b := range yyq2 { + yynn3359 = 8 + for _, b := range yyq3359 { if b { - yynn2++ + yynn3359++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3359) + yynn3359 = 0 } - if yyr2 || yy2arr2 { + if yyr3359 || yy2arr3359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + if yyq3359[0] { + yym3361 := z.EncBinary() + _ = yym3361 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3359[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3362 := z.EncBinary() + _ = yym3362 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3359 || yy2arr3359 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3359[1] { + yym3364 := z.EncBinary() + _ = yym3364 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3359[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3365 := z.EncBinary() + _ = yym3365 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3359 || yy2arr3359 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym3367 := z.EncBinary() + _ = yym3367 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -42814,17 +42864,17 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3368 := z.EncBinary() + _ = yym3368 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } - if yyr2 || yy2arr2 { + if yyr3359 || yy2arr3359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym3370 := z.EncBinary() + _ = yym3370 if false { } else { r.EncodeBool(bool(x.Follow)) @@ -42833,17 +42883,17 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Follow")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3371 := z.EncBinary() + _ = yym3371 if false { } else { r.EncodeBool(bool(x.Follow)) } } - if yyr2 || yy2arr2 { + if yyr3359 || yy2arr3359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym3373 := z.EncBinary() + _ = yym3373 if false { } else { r.EncodeBool(bool(x.Previous)) @@ -42852,24 +42902,24 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Previous")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym3374 := z.EncBinary() + _ = yym3374 if false { } else { r.EncodeBool(bool(x.Previous)) } } - if yyr2 || yy2arr2 { + if yyr3359 || yy2arr3359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SinceSeconds == nil { r.EncodeNil() } else { - yy13 := *x.SinceSeconds - yym14 := z.EncBinary() - _ = yym14 + yy3376 := *x.SinceSeconds + yym3377 := z.EncBinary() + _ = yym3377 if false { } else { - r.EncodeInt(int64(yy13)) + r.EncodeInt(int64(yy3376)) } } } else { @@ -42879,27 +42929,27 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.SinceSeconds == nil { r.EncodeNil() } else { - yy15 := *x.SinceSeconds - yym16 := z.EncBinary() - _ = yym16 + yy3378 := *x.SinceSeconds + yym3379 := z.EncBinary() + _ = yym3379 if false { } else { - r.EncodeInt(int64(yy15)) + r.EncodeInt(int64(yy3378)) } } } - if yyr2 || yy2arr2 { + if yyr3359 || yy2arr3359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SinceTime == nil { r.EncodeNil() } else { - yym18 := z.EncBinary() - _ = yym18 + yym3381 := z.EncBinary() + _ = yym3381 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym18 { + } else if yym3381 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym18 && z.IsJSONHandle() { + } else if !yym3381 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -42912,23 +42962,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.SinceTime == nil { r.EncodeNil() } else { - yym19 := z.EncBinary() - _ = yym19 + yym3382 := z.EncBinary() + _ = yym3382 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym19 { + } else if yym3382 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym19 && z.IsJSONHandle() { + } else if !yym3382 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) } } } - if yyr2 || yy2arr2 { + if yyr3359 || yy2arr3359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym21 := z.EncBinary() - _ = yym21 + yym3384 := z.EncBinary() + _ = yym3384 if false { } else { r.EncodeBool(bool(x.Timestamps)) @@ -42937,24 +42987,24 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Timestamps")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym22 := z.EncBinary() - _ = yym22 + yym3385 := z.EncBinary() + _ = yym3385 if false { } else { r.EncodeBool(bool(x.Timestamps)) } } - if yyr2 || yy2arr2 { + if yyr3359 || yy2arr3359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TailLines == nil { r.EncodeNil() } else { - yy24 := *x.TailLines - yym25 := z.EncBinary() - _ = yym25 + yy3387 := *x.TailLines + yym3388 := z.EncBinary() + _ = yym3388 if false { } else { - r.EncodeInt(int64(yy24)) + r.EncodeInt(int64(yy3387)) } } } else { @@ -42964,26 +43014,26 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.TailLines == nil { r.EncodeNil() } else { - yy26 := *x.TailLines - yym27 := z.EncBinary() - _ = yym27 + yy3389 := *x.TailLines + yym3390 := z.EncBinary() + _ = yym3390 if false { } else { - r.EncodeInt(int64(yy26)) + r.EncodeInt(int64(yy3389)) } } } - if yyr2 || yy2arr2 { + if yyr3359 || yy2arr3359 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.LimitBytes == nil { r.EncodeNil() } else { - yy29 := *x.LimitBytes - yym30 := z.EncBinary() - _ = yym30 + yy3392 := *x.LimitBytes + yym3393 := z.EncBinary() + _ = yym3393 if false { } else { - r.EncodeInt(int64(yy29)) + r.EncodeInt(int64(yy3392)) } } } else { @@ -42993,66 +43043,16 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.LimitBytes == nil { r.EncodeNil() } else { - yy31 := *x.LimitBytes - yym32 := z.EncBinary() - _ = yym32 + yy3394 := *x.LimitBytes + yym3395 := z.EncBinary() + _ = yym3395 if false { } else { - r.EncodeInt(int64(yy31)) + r.EncodeInt(int64(yy3394)) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { - yym34 := z.EncBinary() - _ = yym34 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[8] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym35 := z.EncBinary() - _ = yym35 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { - yym37 := z.EncBinary() - _ = yym37 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[9] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym38 := z.EncBinary() - _ = yym38 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3359 || yy2arr3359 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43065,25 +43065,25 @@ func (x *PodLogOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3396 := z.DecBinary() + _ = yym3396 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3397 := r.ContainerType() + if yyct3397 == codecSelferValueTypeMap1234 { + yyl3397 := r.ReadMapStart() + if yyl3397 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3397, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3397 == codecSelferValueTypeArray1234 { + yyl3397 := r.ReadArrayStart() + if yyl3397 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3397, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43095,12 +43095,12 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -43109,10 +43109,22 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3398Slc = r.DecodeBytes(yys3398Slc, true, true) + yys3398 := string(yys3398Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3398 { + 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 "Container": if r.TryDecodeAsNil() { x.Container = "" @@ -43140,8 +43152,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym8 := z.DecBinary() - _ = yym8 + yym3405 := z.DecBinary() + _ = yym3405 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) @@ -43156,13 +43168,13 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym10 := z.DecBinary() - _ = yym10 + yym3407 := z.DecBinary() + _ = yym3407 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym10 { + } else if yym3407 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym10 && z.IsJSONHandle() { + } else if !yym3407 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) @@ -43183,8 +43195,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym13 := z.DecBinary() - _ = yym13 + yym3410 := z.DecBinary() + _ = yym3410 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) @@ -43199,29 +43211,17 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym15 := z.DecBinary() - _ = yym15 + yym3412 := z.DecBinary() + _ = yym3412 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3398) + } // end switch yys3398 + } // end for yyj3398 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43229,16 +43229,48 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj18 int - var yyb18 bool - var yyhl18 bool = l >= 0 - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + var yyj3413 int + var yyb3413 bool + var yyhl3413 bool = l >= 0 + yyj3413++ + if yyhl3413 { + yyb3413 = yyj3413 > l } else { - yyb18 = r.CheckBreak() + yyb3413 = r.CheckBreak() } - if yyb18 { + if yyb3413 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3413++ + if yyhl3413 { + yyb3413 = yyj3413 > l + } else { + yyb3413 = r.CheckBreak() + } + if yyb3413 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3413++ + if yyhl3413 { + yyb3413 = yyj3413 > l + } else { + yyb3413 = r.CheckBreak() + } + if yyb3413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43248,13 +43280,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3413++ + if yyhl3413 { + yyb3413 = yyj3413 > l } else { - yyb18 = r.CheckBreak() + yyb3413 = r.CheckBreak() } - if yyb18 { + if yyb3413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43264,13 +43296,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Follow = bool(r.DecodeBool()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3413++ + if yyhl3413 { + yyb3413 = yyj3413 > l } else { - yyb18 = r.CheckBreak() + yyb3413 = r.CheckBreak() } - if yyb18 { + if yyb3413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43280,13 +43312,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Previous = bool(r.DecodeBool()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3413++ + if yyhl3413 { + yyb3413 = yyj3413 > l } else { - yyb18 = r.CheckBreak() + yyb3413 = r.CheckBreak() } - if yyb18 { + if yyb3413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43299,20 +43331,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym23 := z.DecBinary() - _ = yym23 + yym3420 := z.DecBinary() + _ = yym3420 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) } } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3413++ + if yyhl3413 { + yyb3413 = yyj3413 > l } else { - yyb18 = r.CheckBreak() + yyb3413 = r.CheckBreak() } - if yyb18 { + if yyb3413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43325,25 +43357,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym25 := z.DecBinary() - _ = yym25 + yym3422 := z.DecBinary() + _ = yym3422 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym25 { + } else if yym3422 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym25 && z.IsJSONHandle() { + } else if !yym3422 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) } } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3413++ + if yyhl3413 { + yyb3413 = yyj3413 > l } else { - yyb18 = r.CheckBreak() + yyb3413 = r.CheckBreak() } - if yyb18 { + if yyb3413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43353,13 +43385,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Timestamps = bool(r.DecodeBool()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3413++ + if yyhl3413 { + yyb3413 = yyj3413 > l } else { - yyb18 = r.CheckBreak() + yyb3413 = r.CheckBreak() } - if yyb18 { + if yyb3413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43372,20 +43404,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym28 := z.DecBinary() - _ = yym28 + yym3425 := z.DecBinary() + _ = yym3425 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) } } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3413++ + if yyhl3413 { + yyb3413 = yyj3413 > l } else { - yyb18 = r.CheckBreak() + yyb3413 = r.CheckBreak() } - if yyb18 { + if yyb3413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43398,57 +43430,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym30 := z.DecBinary() - _ = yym30 + yym3427 := z.DecBinary() + _ = yym3427 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } for { - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3413++ + if yyhl3413 { + yyb3413 = yyj3413 > l } else { - yyb18 = r.CheckBreak() + yyb3413 = r.CheckBreak() } - if yyb18 { + if yyb3413 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj18-1, "") + z.DecStructFieldNotFound(yyj3413-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43460,166 +43460,41 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3428 := z.EncBinary() + _ = yym3428 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [7]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Stdin != false - yyq2[1] = x.Stdout != false - yyq2[2] = x.Stderr != false - yyq2[3] = x.TTY != false - yyq2[4] = x.Container != "" - yyq2[5] = x.Kind != "" - yyq2[6] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3429 := !z.EncBinary() + yy2arr3429 := z.EncBasicHandle().StructToArray + var yyq3429 [7]bool + _, _, _ = yysep3429, yyq3429, yy2arr3429 + const yyr3429 bool = false + yyq3429[0] = x.Kind != "" + yyq3429[1] = x.APIVersion != "" + yyq3429[2] = x.Stdin != false + yyq3429[3] = x.Stdout != false + yyq3429[4] = x.Stderr != false + yyq3429[5] = x.TTY != false + yyq3429[6] = x.Container != "" + var yynn3429 int + if yyr3429 || yy2arr3429 { r.EncodeArrayStart(7) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3429 = 0 + for _, b := range yyq3429 { if b { - yynn2++ + yynn3429++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3429) + yynn3429 = 0 } - if yyr2 || yy2arr2 { + if yyr3429 || yy2arr3429 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 - if false { - } else { - r.EncodeBool(bool(x.Stdin)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stdin")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 - if false { - } else { - r.EncodeBool(bool(x.Stdin)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 - if false { - } else { - r.EncodeBool(bool(x.Stdout)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stdout")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 - if false { - } else { - r.EncodeBool(bool(x.Stdout)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 - if false { - } else { - r.EncodeBool(bool(x.Stderr)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stderr")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 - if false { - } else { - r.EncodeBool(bool(x.Stderr)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeBool(bool(x.TTY)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("tty")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 - if false { - } else { - r.EncodeBool(bool(x.TTY)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Container)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("container")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Container)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq3429[0] { + yym3431 := z.EncBinary() + _ = yym3431 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43628,23 +43503,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq3429[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym3432 := z.EncBinary() + _ = yym3432 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr3429 || yy2arr3429 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym22 := z.EncBinary() - _ = yym22 + if yyq3429[1] { + yym3434 := z.EncBinary() + _ = yym3434 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43653,19 +43528,144 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[6] { + if yyq3429[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym3435 := z.EncBinary() + _ = yym3435 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3429 || yy2arr3429 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3429[2] { + yym3437 := z.EncBinary() + _ = yym3437 + if false { + } else { + r.EncodeBool(bool(x.Stdin)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3429[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("stdin")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3438 := z.EncBinary() + _ = yym3438 + if false { + } else { + r.EncodeBool(bool(x.Stdin)) + } + } + } + if yyr3429 || yy2arr3429 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3429[3] { + yym3440 := z.EncBinary() + _ = yym3440 + if false { + } else { + r.EncodeBool(bool(x.Stdout)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3429[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("stdout")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3441 := z.EncBinary() + _ = yym3441 + if false { + } else { + r.EncodeBool(bool(x.Stdout)) + } + } + } + if yyr3429 || yy2arr3429 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3429[4] { + yym3443 := z.EncBinary() + _ = yym3443 + if false { + } else { + r.EncodeBool(bool(x.Stderr)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3429[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("stderr")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3444 := z.EncBinary() + _ = yym3444 + if false { + } else { + r.EncodeBool(bool(x.Stderr)) + } + } + } + if yyr3429 || yy2arr3429 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3429[5] { + yym3446 := z.EncBinary() + _ = yym3446 + if false { + } else { + r.EncodeBool(bool(x.TTY)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3429[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("tty")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3447 := z.EncBinary() + _ = yym3447 + if false { + } else { + r.EncodeBool(bool(x.TTY)) + } + } + } + if yyr3429 || yy2arr3429 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3429[6] { + yym3449 := z.EncBinary() + _ = yym3449 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Container)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3429[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("container")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3450 := z.EncBinary() + _ = yym3450 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Container)) + } + } + } + if yyr3429 || yy2arr3429 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43678,25 +43678,25 @@ func (x *PodAttachOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3451 := z.DecBinary() + _ = yym3451 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3452 := r.ContainerType() + if yyct3452 == codecSelferValueTypeMap1234 { + yyl3452 := r.ReadMapStart() + if yyl3452 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3452, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3452 == codecSelferValueTypeArray1234 { + yyl3452 := r.ReadArrayStart() + if yyl3452 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3452, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43708,12 +43708,12 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3453Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3453Slc + var yyhl3453 bool = l >= 0 + for yyj3453 := 0; ; yyj3453++ { + if yyhl3453 { + if yyj3453 >= l { break } } else { @@ -43722,10 +43722,22 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3453Slc = r.DecodeBytes(yys3453Slc, true, true) + yys3453 := string(yys3453Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3453 { + 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 "stdin": if r.TryDecodeAsNil() { x.Stdin = false @@ -43756,22 +43768,10 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3453) + } // end switch yys3453 + } // end for yyj3453 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43779,96 +43779,16 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj3461 int + var yyb3461 bool + var yyhl3461 bool = l >= 0 + yyj3461++ + if yyhl3461 { + yyb3461 = yyj3461 > l } else { - yyb11 = r.CheckBreak() + yyb3461 = r.CheckBreak() } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stdin = false - } else { - x.Stdin = bool(r.DecodeBool()) - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stdout = false - } else { - x.Stdout = bool(r.DecodeBool()) - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stderr = false - } else { - x.Stderr = bool(r.DecodeBool()) - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TTY = false - } else { - x.TTY = bool(r.DecodeBool()) - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Container = "" - } else { - x.Container = string(r.DecodeString()) - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { + if yyb3461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43878,13 +43798,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3461++ + if yyhl3461 { + yyb3461 = yyj3461 > l } else { - yyb11 = r.CheckBreak() + yyb3461 = r.CheckBreak() } - if yyb11 { + if yyb3461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43894,18 +43814,98 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + yyj3461++ + if yyhl3461 { + yyb3461 = yyj3461 > l + } else { + yyb3461 = r.CheckBreak() + } + if yyb3461 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stdin = false + } else { + x.Stdin = bool(r.DecodeBool()) + } + yyj3461++ + if yyhl3461 { + yyb3461 = yyj3461 > l + } else { + yyb3461 = r.CheckBreak() + } + if yyb3461 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stdout = false + } else { + x.Stdout = bool(r.DecodeBool()) + } + yyj3461++ + if yyhl3461 { + yyb3461 = yyj3461 > l + } else { + yyb3461 = r.CheckBreak() + } + if yyb3461 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stderr = false + } else { + x.Stderr = bool(r.DecodeBool()) + } + yyj3461++ + if yyhl3461 { + yyb3461 = yyj3461 > l + } else { + yyb3461 = r.CheckBreak() + } + if yyb3461 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TTY = false + } else { + x.TTY = bool(r.DecodeBool()) + } + yyj3461++ + if yyhl3461 { + yyb3461 = yyj3461 > l + } else { + yyb3461 = r.CheckBreak() + } + if yyb3461 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Container = "" + } else { + x.Container = string(r.DecodeString()) + } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3461++ + if yyhl3461 { + yyb3461 = yyj3461 > l } else { - yyb11 = r.CheckBreak() + yyb3461 = r.CheckBreak() } - if yyb11 { + if yyb3461 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj3461-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43917,35 +43917,85 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3469 := z.EncBinary() + _ = yym3469 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [8]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[6] = x.Kind != "" - yyq2[7] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3470 := !z.EncBinary() + yy2arr3470 := z.EncBasicHandle().StructToArray + var yyq3470 [8]bool + _, _, _ = yysep3470, yyq3470, yy2arr3470 + const yyr3470 bool = false + yyq3470[0] = x.Kind != "" + yyq3470[1] = x.APIVersion != "" + var yynn3470 int + if yyr3470 || yy2arr3470 { r.EncodeArrayStart(8) } else { - yynn2 = 6 - for _, b := range yyq2 { + yynn3470 = 6 + for _, b := range yyq3470 { if b { - yynn2++ + yynn3470++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3470) + yynn3470 = 0 } - if yyr2 || yy2arr2 { + if yyr3470 || yy2arr3470 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + if yyq3470[0] { + yym3472 := z.EncBinary() + _ = yym3472 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3470[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3473 := z.EncBinary() + _ = yym3473 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3470 || yy2arr3470 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3470[1] { + yym3475 := z.EncBinary() + _ = yym3475 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3470[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3476 := z.EncBinary() + _ = yym3476 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3470 || yy2arr3470 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym3478 := z.EncBinary() + _ = yym3478 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -43954,17 +44004,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3479 := z.EncBinary() + _ = yym3479 if false { } else { r.EncodeBool(bool(x.Stdin)) } } - if yyr2 || yy2arr2 { + if yyr3470 || yy2arr3470 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym3481 := z.EncBinary() + _ = yym3481 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -43973,17 +44023,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3482 := z.EncBinary() + _ = yym3482 if false { } else { r.EncodeBool(bool(x.Stdout)) } } - if yyr2 || yy2arr2 { + if yyr3470 || yy2arr3470 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym3484 := z.EncBinary() + _ = yym3484 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -43992,17 +44042,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym3485 := z.EncBinary() + _ = yym3485 if false { } else { r.EncodeBool(bool(x.Stderr)) } } - if yyr2 || yy2arr2 { + if yyr3470 || yy2arr3470 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 + yym3487 := z.EncBinary() + _ = yym3487 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -44011,17 +44061,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("TTY")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym3488 := z.EncBinary() + _ = yym3488 if false { } else { r.EncodeBool(bool(x.TTY)) } } - if yyr2 || yy2arr2 { + if yyr3470 || yy2arr3470 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym16 := z.EncBinary() - _ = yym16 + yym3490 := z.EncBinary() + _ = yym3490 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -44030,20 +44080,20 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym3491 := z.EncBinary() + _ = yym3491 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } - if yyr2 || yy2arr2 { + if yyr3470 || yy2arr3470 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Command == nil { r.EncodeNil() } else { - yym19 := z.EncBinary() - _ = yym19 + yym3493 := z.EncBinary() + _ = yym3493 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -44056,65 +44106,15 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.Command == nil { r.EncodeNil() } else { - yym20 := z.EncBinary() - _ = yym20 + yym3494 := z.EncBinary() + _ = yym3494 if false { } else { z.F.EncSliceStringV(x.Command, false, e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym25 := z.EncBinary() - _ = yym25 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[7] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym26 := z.EncBinary() - _ = yym26 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3470 || yy2arr3470 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44127,25 +44127,25 @@ func (x *PodExecOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3495 := z.DecBinary() + _ = yym3495 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3496 := r.ContainerType() + if yyct3496 == codecSelferValueTypeMap1234 { + yyl3496 := r.ReadMapStart() + if yyl3496 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3496, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3496 == codecSelferValueTypeArray1234 { + yyl3496 := r.ReadArrayStart() + if yyl3496 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3496, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44157,12 +44157,12 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3497Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3497Slc + var yyhl3497 bool = l >= 0 + for yyj3497 := 0; ; yyj3497++ { + if yyhl3497 { + if yyj3497 >= l { break } } else { @@ -44171,10 +44171,22 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3497Slc = r.DecodeBytes(yys3497Slc, true, true) + yys3497 := string(yys3497Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3497 { + 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 "Stdin": if r.TryDecodeAsNil() { x.Stdin = false @@ -44209,30 +44221,18 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv9 := &x.Command - yym10 := z.DecBinary() - _ = yym10 + yyv3505 := &x.Command + yym3506 := z.DecBinary() + _ = yym3506 if false { } else { - z.F.DecSliceStringX(yyv9, false, d) + z.F.DecSliceStringX(yyv3505, false, d) } } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3497) + } // end switch yys3497 + } // end for yyj3497 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44240,118 +44240,16 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj13 int - var yyb13 bool - var yyhl13 bool = l >= 0 - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + var yyj3507 int + var yyb3507 bool + var yyhl3507 bool = l >= 0 + yyj3507++ + if yyhl3507 { + yyb3507 = yyj3507 > l } else { - yyb13 = r.CheckBreak() + yyb3507 = r.CheckBreak() } - if yyb13 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stdin = false - } else { - x.Stdin = bool(r.DecodeBool()) - } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l - } else { - yyb13 = r.CheckBreak() - } - if yyb13 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stdout = false - } else { - x.Stdout = bool(r.DecodeBool()) - } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l - } else { - yyb13 = r.CheckBreak() - } - if yyb13 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stderr = false - } else { - x.Stderr = bool(r.DecodeBool()) - } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l - } else { - yyb13 = r.CheckBreak() - } - if yyb13 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TTY = false - } else { - x.TTY = bool(r.DecodeBool()) - } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l - } else { - yyb13 = r.CheckBreak() - } - if yyb13 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Container = "" - } else { - x.Container = string(r.DecodeString()) - } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l - } else { - yyb13 = r.CheckBreak() - } - if yyb13 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Command = nil - } else { - yyv19 := &x.Command - yym20 := z.DecBinary() - _ = yym20 - if false { - } else { - z.F.DecSliceStringX(yyv19, false, d) - } - } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l - } else { - yyb13 = r.CheckBreak() - } - if yyb13 { + if yyb3507 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44361,13 +44259,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj3507++ + if yyhl3507 { + yyb3507 = yyj3507 > l } else { - yyb13 = r.CheckBreak() + yyb3507 = r.CheckBreak() } - if yyb13 { + if yyb3507 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44377,18 +44275,120 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj3507++ + if yyhl3507 { + yyb3507 = yyj3507 > l + } else { + yyb3507 = r.CheckBreak() + } + if yyb3507 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stdin = false + } else { + x.Stdin = bool(r.DecodeBool()) + } + yyj3507++ + if yyhl3507 { + yyb3507 = yyj3507 > l + } else { + yyb3507 = r.CheckBreak() + } + if yyb3507 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stdout = false + } else { + x.Stdout = bool(r.DecodeBool()) + } + yyj3507++ + if yyhl3507 { + yyb3507 = yyj3507 > l + } else { + yyb3507 = r.CheckBreak() + } + if yyb3507 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stderr = false + } else { + x.Stderr = bool(r.DecodeBool()) + } + yyj3507++ + if yyhl3507 { + yyb3507 = yyj3507 > l + } else { + yyb3507 = r.CheckBreak() + } + if yyb3507 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TTY = false + } else { + x.TTY = bool(r.DecodeBool()) + } + yyj3507++ + if yyhl3507 { + yyb3507 = yyj3507 > l + } else { + yyb3507 = r.CheckBreak() + } + if yyb3507 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Container = "" + } else { + x.Container = string(r.DecodeString()) + } + yyj3507++ + if yyhl3507 { + yyb3507 = yyj3507 > l + } else { + yyb3507 = r.CheckBreak() + } + if yyb3507 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Command = nil + } else { + yyv3515 := &x.Command + yym3516 := z.DecBinary() + _ = yym3516 + if false { } else { - yyb13 = r.CheckBreak() + z.F.DecSliceStringX(yyv3515, false, d) } - if yyb13 { + } + for { + yyj3507++ + if yyhl3507 { + yyb3507 = yyj3507 > l + } else { + yyb3507 = r.CheckBreak() + } + if yyb3507 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj13-1, "") + z.DecStructFieldNotFound(yyj3507-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44400,35 +44400,85 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3517 := z.EncBinary() + _ = yym3517 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Kind != "" - yyq2[2] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3518 := !z.EncBinary() + yy2arr3518 := z.EncBasicHandle().StructToArray + var yyq3518 [3]bool + _, _, _ = yysep3518, yyq3518, yy2arr3518 + const yyr3518 bool = false + yyq3518[0] = x.Kind != "" + yyq3518[1] = x.APIVersion != "" + var yynn3518 int + if yyr3518 || yy2arr3518 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3518 = 1 + for _, b := range yyq3518 { if b { - yynn2++ + yynn3518++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3518) + yynn3518 = 0 } - if yyr2 || yy2arr2 { + if yyr3518 || yy2arr3518 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + if yyq3518[0] { + yym3520 := z.EncBinary() + _ = yym3520 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3518[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3521 := z.EncBinary() + _ = yym3521 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3518 || yy2arr3518 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3518[1] { + yym3523 := z.EncBinary() + _ = yym3523 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3518[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3524 := z.EncBinary() + _ = yym3524 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3518 || yy2arr3518 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym3526 := z.EncBinary() + _ = yym3526 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -44437,64 +44487,14 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3527 := z.EncBinary() + _ = yym3527 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3518 || yy2arr3518 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44507,25 +44507,25 @@ func (x *PodProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3528 := z.DecBinary() + _ = yym3528 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3529 := r.ContainerType() + if yyct3529 == codecSelferValueTypeMap1234 { + yyl3529 := r.ReadMapStart() + if yyl3529 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3529, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3529 == codecSelferValueTypeArray1234 { + yyl3529 := r.ReadArrayStart() + if yyl3529 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3529, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44537,12 +44537,12 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3530Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3530Slc + var yyhl3530 bool = l >= 0 + for yyj3530 := 0; ; yyj3530++ { + if yyhl3530 { + if yyj3530 >= l { break } } else { @@ -44551,16 +44551,10 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3530Slc = r.DecodeBytes(yys3530Slc, true, true) + yys3530 := string(yys3530Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "Path": - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } + switch yys3530 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -44573,10 +44567,16 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "Path": + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3530) + } // end switch yys3530 + } // end for yyj3530 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44584,32 +44584,16 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj3534 int + var yyb3534 bool + var yyhl3534 bool = l >= 0 + yyj3534++ + if yyhl3534 { + yyb3534 = yyj3534 > l } else { - yyb7 = r.CheckBreak() + yyb3534 = r.CheckBreak() } - if yyb7 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = r.CheckBreak() - } - if yyb7 { + if yyb3534 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44619,13 +44603,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3534++ + if yyhl3534 { + yyb3534 = yyj3534 > l } else { - yyb7 = r.CheckBreak() + yyb3534 = r.CheckBreak() } - if yyb7 { + if yyb3534 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44635,18 +44619,34 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + yyj3534++ + if yyhl3534 { + yyb3534 = yyj3534 > l + } else { + yyb3534 = r.CheckBreak() + } + if yyb3534 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3534++ + if yyhl3534 { + yyb3534 = yyj3534 > l } else { - yyb7 = r.CheckBreak() + yyb3534 = r.CheckBreak() } - if yyb7 { + if yyb3534 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj3534-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44658,35 +44658,85 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3538 := z.EncBinary() + _ = yym3538 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Kind != "" - yyq2[2] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3539 := !z.EncBinary() + yy2arr3539 := z.EncBasicHandle().StructToArray + var yyq3539 [3]bool + _, _, _ = yysep3539, yyq3539, yy2arr3539 + const yyr3539 bool = false + yyq3539[0] = x.Kind != "" + yyq3539[1] = x.APIVersion != "" + var yynn3539 int + if yyr3539 || yy2arr3539 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3539 = 1 + for _, b := range yyq3539 { if b { - yynn2++ + yynn3539++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3539) + yynn3539 = 0 } - if yyr2 || yy2arr2 { + if yyr3539 || yy2arr3539 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + if yyq3539[0] { + yym3541 := z.EncBinary() + _ = yym3541 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3539[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3542 := z.EncBinary() + _ = yym3542 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3539 || yy2arr3539 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3539[1] { + yym3544 := z.EncBinary() + _ = yym3544 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3539[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3545 := z.EncBinary() + _ = yym3545 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3539 || yy2arr3539 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym3547 := z.EncBinary() + _ = yym3547 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -44695,64 +44745,14 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3548 := z.EncBinary() + _ = yym3548 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3539 || yy2arr3539 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44765,25 +44765,25 @@ func (x *NodeProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3549 := z.DecBinary() + _ = yym3549 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3550 := r.ContainerType() + if yyct3550 == codecSelferValueTypeMap1234 { + yyl3550 := r.ReadMapStart() + if yyl3550 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3550, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3550 == codecSelferValueTypeArray1234 { + yyl3550 := r.ReadArrayStart() + if yyl3550 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3550, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44795,12 +44795,12 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3551Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3551Slc + var yyhl3551 bool = l >= 0 + for yyj3551 := 0; ; yyj3551++ { + if yyhl3551 { + if yyj3551 >= l { break } } else { @@ -44809,16 +44809,10 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3551Slc = r.DecodeBytes(yys3551Slc, true, true) + yys3551 := string(yys3551Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "Path": - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } + switch yys3551 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -44831,10 +44825,16 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "Path": + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3551) + } // end switch yys3551 + } // end for yyj3551 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44842,32 +44842,16 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj3555 int + var yyb3555 bool + var yyhl3555 bool = l >= 0 + yyj3555++ + if yyhl3555 { + yyb3555 = yyj3555 > l } else { - yyb7 = r.CheckBreak() + yyb3555 = r.CheckBreak() } - if yyb7 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = r.CheckBreak() - } - if yyb7 { + if yyb3555 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44877,13 +44861,13 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3555++ + if yyhl3555 { + yyb3555 = yyj3555 > l } else { - yyb7 = r.CheckBreak() + yyb3555 = r.CheckBreak() } - if yyb7 { + if yyb3555 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44893,18 +44877,34 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + yyj3555++ + if yyhl3555 { + yyb3555 = yyj3555 > l + } else { + yyb3555 = r.CheckBreak() + } + if yyb3555 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3555++ + if yyhl3555 { + yyb3555 = yyj3555 > l } else { - yyb7 = r.CheckBreak() + yyb3555 = r.CheckBreak() } - if yyb7 { + if yyb3555 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj3555-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44916,35 +44916,85 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3559 := z.EncBinary() + _ = yym3559 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Kind != "" - yyq2[2] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3560 := !z.EncBinary() + yy2arr3560 := z.EncBasicHandle().StructToArray + var yyq3560 [3]bool + _, _, _ = yysep3560, yyq3560, yy2arr3560 + const yyr3560 bool = false + yyq3560[0] = x.Kind != "" + yyq3560[1] = x.APIVersion != "" + var yynn3560 int + if yyr3560 || yy2arr3560 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3560 = 1 + for _, b := range yyq3560 { if b { - yynn2++ + yynn3560++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3560) + yynn3560 = 0 } - if yyr2 || yy2arr2 { + if yyr3560 || yy2arr3560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + if yyq3560[0] { + yym3562 := z.EncBinary() + _ = yym3562 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3560[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3563 := z.EncBinary() + _ = yym3563 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3560 || yy2arr3560 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3560[1] { + yym3565 := z.EncBinary() + _ = yym3565 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3560[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3566 := z.EncBinary() + _ = yym3566 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3560 || yy2arr3560 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym3568 := z.EncBinary() + _ = yym3568 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -44953,64 +45003,14 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3569 := z.EncBinary() + _ = yym3569 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3560 || yy2arr3560 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45023,25 +45023,25 @@ func (x *ServiceProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3570 := z.DecBinary() + _ = yym3570 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3571 := r.ContainerType() + if yyct3571 == codecSelferValueTypeMap1234 { + yyl3571 := r.ReadMapStart() + if yyl3571 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3571, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3571 == codecSelferValueTypeArray1234 { + yyl3571 := r.ReadArrayStart() + if yyl3571 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3571, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45053,12 +45053,12 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3572Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3572Slc + var yyhl3572 bool = l >= 0 + for yyj3572 := 0; ; yyj3572++ { + if yyhl3572 { + if yyj3572 >= l { break } } else { @@ -45067,16 +45067,10 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3572Slc = r.DecodeBytes(yys3572Slc, true, true) + yys3572 := string(yys3572Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "Path": - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } + switch yys3572 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -45089,10 +45083,16 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } + case "Path": + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3572) + } // end switch yys3572 + } // end for yyj3572 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45100,32 +45100,16 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj3576 int + var yyb3576 bool + var yyhl3576 bool = l >= 0 + yyj3576++ + if yyhl3576 { + yyb3576 = yyj3576 > l } else { - yyb7 = r.CheckBreak() + yyb3576 = r.CheckBreak() } - if yyb7 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = r.CheckBreak() - } - if yyb7 { + if yyb3576 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45135,13 +45119,13 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3576++ + if yyhl3576 { + yyb3576 = yyj3576 > l } else { - yyb7 = r.CheckBreak() + yyb3576 = r.CheckBreak() } - if yyb7 { + if yyb3576 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45151,18 +45135,34 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } + yyj3576++ + if yyhl3576 { + yyb3576 = yyj3576 > l + } else { + yyb3576 = r.CheckBreak() + } + if yyb3576 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3576++ + if yyhl3576 { + yyb3576 = yyj3576 > l } else { - yyb7 = r.CheckBreak() + yyb3576 = r.CheckBreak() } - if yyb7 { + if yyb3576 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj3576-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45174,34 +45174,34 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3580 := z.EncBinary() + _ = yym3580 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[4] = x.Controller != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep3581 := !z.EncBinary() + yy2arr3581 := z.EncBasicHandle().StructToArray + var yyq3581 [5]bool + _, _, _ = yysep3581, yyq3581, yy2arr3581 + const yyr3581 bool = false + yyq3581[4] = x.Controller != nil + var yynn3581 int + if yyr3581 || yy2arr3581 { r.EncodeArrayStart(5) } else { - yynn2 = 4 - for _, b := range yyq2 { + yynn3581 = 4 + for _, b := range yyq3581 { if b { - yynn2++ + yynn3581++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3581) + yynn3581 = 0 } - if yyr2 || yy2arr2 { + if yyr3581 || yy2arr3581 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym3583 := z.EncBinary() + _ = yym3583 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -45210,17 +45210,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3584 := z.EncBinary() + _ = yym3584 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } - if yyr2 || yy2arr2 { + if yyr3581 || yy2arr3581 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym3586 := z.EncBinary() + _ = yym3586 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -45229,17 +45229,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3587 := z.EncBinary() + _ = yym3587 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } - if yyr2 || yy2arr2 { + if yyr3581 || yy2arr3581 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym3589 := z.EncBinary() + _ = yym3589 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -45248,17 +45248,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym3590 := z.EncBinary() + _ = yym3590 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr3581 || yy2arr3581 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 + yym3592 := z.EncBinary() + _ = yym3592 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -45268,50 +45268,50 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym3593 := z.EncBinary() + _ = yym3593 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) } } - if yyr2 || yy2arr2 { + if yyr3581 || yy2arr3581 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq3581[4] { if x.Controller == nil { r.EncodeNil() } else { - yy16 := *x.Controller - yym17 := z.EncBinary() - _ = yym17 + yy3595 := *x.Controller + yym3596 := z.EncBinary() + _ = yym3596 if false { } else { - r.EncodeBool(bool(yy16)) + r.EncodeBool(bool(yy3595)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq3581[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("controller")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Controller == nil { r.EncodeNil() } else { - yy18 := *x.Controller - yym19 := z.EncBinary() - _ = yym19 + yy3597 := *x.Controller + yym3598 := z.EncBinary() + _ = yym3598 if false { } else { - r.EncodeBool(bool(yy18)) + r.EncodeBool(bool(yy3597)) } } } } - if yyr2 || yy2arr2 { + if yyr3581 || yy2arr3581 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45324,25 +45324,25 @@ func (x *OwnerReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3599 := z.DecBinary() + _ = yym3599 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3600 := r.ContainerType() + if yyct3600 == codecSelferValueTypeMap1234 { + yyl3600 := r.ReadMapStart() + if yyl3600 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3600, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3600 == codecSelferValueTypeArray1234 { + yyl3600 := r.ReadArrayStart() + if yyl3600 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3600, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45354,12 +45354,12 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3601Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3601Slc + var yyhl3601 bool = l >= 0 + for yyj3601 := 0; ; yyj3601++ { + if yyhl3601 { + if yyj3601 >= l { break } } else { @@ -45368,10 +45368,10 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3601Slc = r.DecodeBytes(yys3601Slc, true, true) + yys3601 := string(yys3601Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3601 { case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" @@ -45405,17 +45405,17 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Controller == nil { x.Controller = new(bool) } - yym9 := z.DecBinary() - _ = yym9 + yym3607 := z.DecBinary() + _ = yym3607 if false { } else { *((*bool)(x.Controller)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3601) + } // end switch yys3601 + } // end for yyj3601 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45423,16 +45423,16 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj3608 int + var yyb3608 bool + var yyhl3608 bool = l >= 0 + yyj3608++ + if yyhl3608 { + yyb3608 = yyj3608 > l } else { - yyb10 = r.CheckBreak() + yyb3608 = r.CheckBreak() } - if yyb10 { + if yyb3608 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45442,13 +45442,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3608++ + if yyhl3608 { + yyb3608 = yyj3608 > l } else { - yyb10 = r.CheckBreak() + yyb3608 = r.CheckBreak() } - if yyb10 { + if yyb3608 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45458,13 +45458,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3608++ + if yyhl3608 { + yyb3608 = yyj3608 > l } else { - yyb10 = r.CheckBreak() + yyb3608 = r.CheckBreak() } - if yyb10 { + if yyb3608 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45474,13 +45474,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3608++ + if yyhl3608 { + yyb3608 = yyj3608 > l } else { - yyb10 = r.CheckBreak() + yyb3608 = r.CheckBreak() } - if yyb10 { + if yyb3608 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45490,13 +45490,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3608++ + if yyhl3608 { + yyb3608 = yyj3608 > l } else { - yyb10 = r.CheckBreak() + yyb3608 = r.CheckBreak() } - if yyb10 { + if yyb3608 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45509,25 +45509,25 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Controller == nil { x.Controller = new(bool) } - yym16 := z.DecBinary() - _ = yym16 + yym3614 := z.DecBinary() + _ = yym3614 if false { } else { *((*bool)(x.Controller)) = r.DecodeBool() } } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3608++ + if yyhl3608 { + yyb3608 = yyj3608 > l } else { - yyb10 = r.CheckBreak() + yyb3608 = r.CheckBreak() } - if yyb10 { + if yyb3608 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj3608-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45539,41 +45539,41 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3615 := z.EncBinary() + _ = yym3615 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [7]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Kind != "" - yyq2[1] = x.Namespace != "" - yyq2[2] = x.Name != "" - yyq2[3] = x.UID != "" - yyq2[4] = x.APIVersion != "" - yyq2[5] = x.ResourceVersion != "" - yyq2[6] = x.FieldPath != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3616 := !z.EncBinary() + yy2arr3616 := z.EncBasicHandle().StructToArray + var yyq3616 [7]bool + _, _, _ = yysep3616, yyq3616, yy2arr3616 + const yyr3616 bool = false + yyq3616[0] = x.Kind != "" + yyq3616[1] = x.Namespace != "" + yyq3616[2] = x.Name != "" + yyq3616[3] = x.UID != "" + yyq3616[4] = x.APIVersion != "" + yyq3616[5] = x.ResourceVersion != "" + yyq3616[6] = x.FieldPath != "" + var yynn3616 int + if yyr3616 || yy2arr3616 { r.EncodeArrayStart(7) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3616 = 0 + for _, b := range yyq3616 { if b { - yynn2++ + yynn3616++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3616) + yynn3616 = 0 } - if yyr2 || yy2arr2 { + if yyr3616 || yy2arr3616 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq3616[0] { + yym3618 := z.EncBinary() + _ = yym3618 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -45582,23 +45582,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq3616[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3619 := z.EncBinary() + _ = yym3619 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr3616 || yy2arr3616 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq3616[1] { + yym3621 := z.EncBinary() + _ = yym3621 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -45607,23 +45607,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq3616[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3622 := z.EncBinary() + _ = yym3622 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } - if yyr2 || yy2arr2 { + if yyr3616 || yy2arr3616 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq3616[2] { + yym3624 := z.EncBinary() + _ = yym3624 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -45632,23 +45632,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq3616[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym3625 := z.EncBinary() + _ = yym3625 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2 || yy2arr2 { + if yyr3616 || yy2arr3616 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq3616[3] { + yym3627 := z.EncBinary() + _ = yym3627 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -45658,12 +45658,12 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq3616[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym3628 := z.EncBinary() + _ = yym3628 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -45671,11 +45671,11 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3616 || yy2arr3616 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq3616[4] { + yym3630 := z.EncBinary() + _ = yym3630 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -45684,23 +45684,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq3616[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym3631 := z.EncBinary() + _ = yym3631 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3616 || yy2arr3616 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq3616[5] { + yym3633 := z.EncBinary() + _ = yym3633 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -45709,23 +45709,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq3616[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym3634 := z.EncBinary() + _ = yym3634 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3616 || yy2arr3616 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym22 := z.EncBinary() - _ = yym22 + if yyq3616[6] { + yym3636 := z.EncBinary() + _ = yym3636 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -45734,19 +45734,19 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[6] { + if yyq3616[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym3637 := z.EncBinary() + _ = yym3637 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } } - if yyr2 || yy2arr2 { + if yyr3616 || yy2arr3616 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45759,25 +45759,25 @@ func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3638 := z.DecBinary() + _ = yym3638 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3639 := r.ContainerType() + if yyct3639 == codecSelferValueTypeMap1234 { + yyl3639 := r.ReadMapStart() + if yyl3639 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3639, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3639 == codecSelferValueTypeArray1234 { + yyl3639 := r.ReadArrayStart() + if yyl3639 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3639, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45789,12 +45789,12 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3640Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3640Slc + var yyhl3640 bool = l >= 0 + for yyj3640 := 0; ; yyj3640++ { + if yyhl3640 { + if yyj3640 >= l { break } } else { @@ -45803,10 +45803,10 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3640Slc = r.DecodeBytes(yys3640Slc, true, true) + yys3640 := string(yys3640Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3640 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -45850,9 +45850,9 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3640) + } // end switch yys3640 + } // end for yyj3640 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45860,16 +45860,16 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj3648 int + var yyb3648 bool + var yyhl3648 bool = l >= 0 + yyj3648++ + if yyhl3648 { + yyb3648 = yyj3648 > l } else { - yyb11 = r.CheckBreak() + yyb3648 = r.CheckBreak() } - if yyb11 { + if yyb3648 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45879,13 +45879,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3648++ + if yyhl3648 { + yyb3648 = yyj3648 > l } else { - yyb11 = r.CheckBreak() + yyb3648 = r.CheckBreak() } - if yyb11 { + if yyb3648 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45895,13 +45895,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Namespace = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3648++ + if yyhl3648 { + yyb3648 = yyj3648 > l } else { - yyb11 = r.CheckBreak() + yyb3648 = r.CheckBreak() } - if yyb11 { + if yyb3648 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45911,13 +45911,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3648++ + if yyhl3648 { + yyb3648 = yyj3648 > l } else { - yyb11 = r.CheckBreak() + yyb3648 = r.CheckBreak() } - if yyb11 { + if yyb3648 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45927,13 +45927,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3648++ + if yyhl3648 { + yyb3648 = yyj3648 > l } else { - yyb11 = r.CheckBreak() + yyb3648 = r.CheckBreak() } - if yyb11 { + if yyb3648 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45943,13 +45943,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3648++ + if yyhl3648 { + yyb3648 = yyj3648 > l } else { - yyb11 = r.CheckBreak() + yyb3648 = r.CheckBreak() } - if yyb11 { + if yyb3648 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45959,13 +45959,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ResourceVersion = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3648++ + if yyhl3648 { + yyb3648 = yyj3648 > l } else { - yyb11 = r.CheckBreak() + yyb3648 = r.CheckBreak() } - if yyb11 { + if yyb3648 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45976,17 +45976,17 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.FieldPath = string(r.DecodeString()) } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3648++ + if yyhl3648 { + yyb3648 = yyj3648 > l } else { - yyb11 = r.CheckBreak() + yyb3648 = r.CheckBreak() } - if yyb11 { + if yyb3648 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj3648-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45998,33 +45998,33 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3656 := z.EncBinary() + _ = yym3656 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep3657 := !z.EncBinary() + yy2arr3657 := z.EncBasicHandle().StructToArray + var yyq3657 [1]bool + _, _, _ = yysep3657, yyq3657, yy2arr3657 + const yyr3657 bool = false + var yynn3657 int + if yyr3657 || yy2arr3657 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3657 = 1 + for _, b := range yyq3657 { if b { - yynn2++ + yynn3657++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3657) + yynn3657 = 0 } - if yyr2 || yy2arr2 { + if yyr3657 || yy2arr3657 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym3659 := z.EncBinary() + _ = yym3659 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -46033,14 +46033,14 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3660 := z.EncBinary() + _ = yym3660 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr3657 || yy2arr3657 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46053,25 +46053,25 @@ func (x *LocalObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3661 := z.DecBinary() + _ = yym3661 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3662 := r.ContainerType() + if yyct3662 == codecSelferValueTypeMap1234 { + yyl3662 := r.ReadMapStart() + if yyl3662 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3662, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3662 == codecSelferValueTypeArray1234 { + yyl3662 := r.ReadArrayStart() + if yyl3662 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3662, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46083,12 +46083,12 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3663Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3663Slc + var yyhl3663 bool = l >= 0 + for yyj3663 := 0; ; yyj3663++ { + if yyhl3663 { + if yyj3663 >= l { break } } else { @@ -46097,10 +46097,10 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3663Slc = r.DecodeBytes(yys3663Slc, true, true) + yys3663 := string(yys3663Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3663 { case "Name": if r.TryDecodeAsNil() { x.Name = "" @@ -46108,9 +46108,9 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3663) + } // end switch yys3663 + } // end for yyj3663 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46118,16 +46118,16 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj3665 int + var yyb3665 bool + var yyhl3665 bool = l >= 0 + yyj3665++ + if yyhl3665 { + yyb3665 = yyj3665 > l } else { - yyb5 = r.CheckBreak() + yyb3665 = r.CheckBreak() } - if yyb5 { + if yyb3665 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46138,17 +46138,17 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Name = string(r.DecodeString()) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj3665++ + if yyhl3665 { + yyb3665 = yyj3665 > l } else { - yyb5 = r.CheckBreak() + yyb3665 = r.CheckBreak() } - if yyb5 { + if yyb3665 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj3665-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46160,100 +46160,100 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3667 := z.EncBinary() + _ = yym3667 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = x.Kind != "" - yyq2[2] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3668 := !z.EncBinary() + yy2arr3668 := z.EncBasicHandle().StructToArray + var yyq3668 [3]bool + _, _, _ = yysep3668, yyq3668, yy2arr3668 + const yyr3668 bool = false + yyq3668[0] = x.Kind != "" + yyq3668[1] = x.APIVersion != "" + yyq3668[2] = true + var yynn3668 int + if yyr3668 || yy2arr3668 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3668 = 0 + for _, b := range yyq3668 { if b { - yynn2++ + yynn3668++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3668) + yynn3668 = 0 } - if yyr2 || yy2arr2 { + if yyr3668 || yy2arr3668 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.Reference - yy4.CodecEncodeSelf(e) + if yyq3668[0] { + yym3670 := z.EncBinary() + _ = yym3670 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3668[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3671 := z.EncBinary() + _ = yym3671 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3668 || yy2arr3668 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3668[1] { + yym3673 := z.EncBinary() + _ = yym3673 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3668[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3674 := z.EncBinary() + _ = yym3674 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3668 || yy2arr3668 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3668[2] { + yy3676 := &x.Reference + yy3676.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3668[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.Reference - yy6.CodecEncodeSelf(e) + yy3677 := &x.Reference + yy3677.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym9 := z.EncBinary() - _ = yym9 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym10 := z.EncBinary() - _ = yym10 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3668 || yy2arr3668 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46266,25 +46266,25 @@ func (x *SerializedReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3678 := z.DecBinary() + _ = yym3678 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3679 := r.ContainerType() + if yyct3679 == codecSelferValueTypeMap1234 { + yyl3679 := r.ReadMapStart() + if yyl3679 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3679, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3679 == codecSelferValueTypeArray1234 { + yyl3679 := r.ReadArrayStart() + if yyl3679 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3679, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46296,12 +46296,12 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3680Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3680Slc + var yyhl3680 bool = l >= 0 + for yyj3680 := 0; ; yyj3680++ { + if yyhl3680 { + if yyj3680 >= l { break } } else { @@ -46310,17 +46310,10 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3680Slc = r.DecodeBytes(yys3680Slc, true, true) + yys3680 := string(yys3680Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "reference": - if r.TryDecodeAsNil() { - x.Reference = ObjectReference{} - } else { - yyv4 := &x.Reference - yyv4.CodecDecodeSelf(d) - } + switch yys3680 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -46333,10 +46326,17 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } + case "reference": + if r.TryDecodeAsNil() { + x.Reference = ObjectReference{} + } else { + yyv3683 := &x.Reference + yyv3683.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3680) + } // end switch yys3680 + } // end for yyj3680 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46344,33 +46344,16 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj3684 int + var yyb3684 bool + var yyhl3684 bool = l >= 0 + yyj3684++ + if yyhl3684 { + yyb3684 = yyj3684 > l } else { - yyb7 = r.CheckBreak() + yyb3684 = r.CheckBreak() } - if yyb7 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Reference = ObjectReference{} - } else { - yyv8 := &x.Reference - yyv8.CodecDecodeSelf(d) - } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = r.CheckBreak() - } - if yyb7 { + if yyb3684 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46380,13 +46363,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3684++ + if yyhl3684 { + yyb3684 = yyj3684 > l } else { - yyb7 = r.CheckBreak() + yyb3684 = r.CheckBreak() } - if yyb7 { + if yyb3684 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46396,18 +46379,35 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } + yyj3684++ + if yyhl3684 { + yyb3684 = yyj3684 > l + } else { + yyb3684 = r.CheckBreak() + } + if yyb3684 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reference = ObjectReference{} + } else { + yyv3687 := &x.Reference + yyv3687.CodecDecodeSelf(d) + } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3684++ + if yyhl3684 { + yyb3684 = yyj3684 > l } else { - yyb7 = r.CheckBreak() + yyb3684 = r.CheckBreak() } - if yyb7 { + if yyb3684 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj3684-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46419,36 +46419,36 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3688 := z.EncBinary() + _ = yym3688 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Component != "" - yyq2[1] = x.Host != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3689 := !z.EncBinary() + yy2arr3689 := z.EncBasicHandle().StructToArray + var yyq3689 [2]bool + _, _, _ = yysep3689, yyq3689, yy2arr3689 + const yyr3689 bool = false + yyq3689[0] = x.Component != "" + yyq3689[1] = x.Host != "" + var yynn3689 int + if yyr3689 || yy2arr3689 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3689 = 0 + for _, b := range yyq3689 { if b { - yynn2++ + yynn3689++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3689) + yynn3689 = 0 } - if yyr2 || yy2arr2 { + if yyr3689 || yy2arr3689 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq3689[0] { + yym3691 := z.EncBinary() + _ = yym3691 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) @@ -46457,23 +46457,23 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq3689[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("component")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3692 := z.EncBinary() + _ = yym3692 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) } } } - if yyr2 || yy2arr2 { + if yyr3689 || yy2arr3689 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq3689[1] { + yym3694 := z.EncBinary() + _ = yym3694 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -46482,19 +46482,19 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq3689[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3695 := z.EncBinary() + _ = yym3695 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr2 || yy2arr2 { + if yyr3689 || yy2arr3689 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46507,25 +46507,25 @@ func (x *EventSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3696 := z.DecBinary() + _ = yym3696 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3697 := r.ContainerType() + if yyct3697 == codecSelferValueTypeMap1234 { + yyl3697 := r.ReadMapStart() + if yyl3697 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3697, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3697 == codecSelferValueTypeArray1234 { + yyl3697 := r.ReadArrayStart() + if yyl3697 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3697, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46537,12 +46537,12 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3698Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3698Slc + var yyhl3698 bool = l >= 0 + for yyj3698 := 0; ; yyj3698++ { + if yyhl3698 { + if yyj3698 >= l { break } } else { @@ -46551,10 +46551,10 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3698Slc = r.DecodeBytes(yys3698Slc, true, true) + yys3698 := string(yys3698Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3698 { case "component": if r.TryDecodeAsNil() { x.Component = "" @@ -46568,9 +46568,9 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3698) + } // end switch yys3698 + } // end for yyj3698 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46578,16 +46578,16 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj3701 int + var yyb3701 bool + var yyhl3701 bool = l >= 0 + yyj3701++ + if yyhl3701 { + yyb3701 = yyj3701 > l } else { - yyb6 = r.CheckBreak() + yyb3701 = r.CheckBreak() } - if yyb6 { + if yyb3701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46597,13 +46597,13 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Component = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3701++ + if yyhl3701 { + yyb3701 = yyj3701 > l } else { - yyb6 = r.CheckBreak() + yyb3701 = r.CheckBreak() } - if yyb6 { + if yyb3701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46614,17 +46614,17 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3701++ + if yyhl3701 { + yyb3701 = yyj3701 > l } else { - yyb6 = r.CheckBreak() + yyb3701 = r.CheckBreak() } - if yyb6 { + if yyb3701 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj3701-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46636,79 +46636,129 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3704 := z.EncBinary() + _ = yym3704 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [11]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = x.Reason != "" - yyq2[3] = x.Message != "" - yyq2[4] = true - yyq2[5] = true - yyq2[6] = true - yyq2[7] = x.Count != 0 - yyq2[8] = x.Type != "" - yyq2[9] = x.Kind != "" - yyq2[10] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3705 := !z.EncBinary() + yy2arr3705 := z.EncBasicHandle().StructToArray + var yyq3705 [11]bool + _, _, _ = yysep3705, yyq3705, yy2arr3705 + const yyr3705 bool = false + yyq3705[0] = x.Kind != "" + yyq3705[1] = x.APIVersion != "" + yyq3705[2] = true + yyq3705[3] = true + yyq3705[4] = x.Reason != "" + yyq3705[5] = x.Message != "" + yyq3705[6] = true + yyq3705[7] = true + yyq3705[8] = true + yyq3705[9] = x.Count != 0 + yyq3705[10] = x.Type != "" + var yynn3705 int + if yyr3705 || yy2arr3705 { r.EncodeArrayStart(11) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3705 = 0 + for _, b := range yyq3705 { if b { - yynn2++ + yynn3705++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3705) + yynn3705 = 0 } - if yyr2 || yy2arr2 { + if yyr3705 || yy2arr3705 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq3705[0] { + yym3707 := z.EncBinary() + _ = yym3707 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3705[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3708 := z.EncBinary() + _ = yym3708 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3705 || yy2arr3705 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3705[1] { + yym3710 := z.EncBinary() + _ = yym3710 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3705[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3711 := z.EncBinary() + _ = yym3711 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3705 || yy2arr3705 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3705[2] { + yy3713 := &x.ObjectMeta + yy3713.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3705[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy3714 := &x.ObjectMeta + yy3714.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr3705 || yy2arr3705 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.InvolvedObject - yy9.CodecEncodeSelf(e) + if yyq3705[3] { + yy3716 := &x.InvolvedObject + yy3716.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq3705[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.InvolvedObject - yy11.CodecEncodeSelf(e) + yy3717 := &x.InvolvedObject + yy3717.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr3705 || yy2arr3705 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq3705[4] { + yym3719 := z.EncBinary() + _ = yym3719 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -46717,23 +46767,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq3705[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym3720 := z.EncBinary() + _ = yym3720 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr3705 || yy2arr3705 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq3705[5] { + yym3722 := z.EncBinary() + _ = yym3722 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -46742,114 +46792,114 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq3705[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym3723 := z.EncBinary() + _ = yym3723 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr3705 || yy2arr3705 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yy20 := &x.Source - yy20.CodecEncodeSelf(e) + if yyq3705[6] { + yy3725 := &x.Source + yy3725.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq3705[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("source")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy22 := &x.Source - yy22.CodecEncodeSelf(e) + yy3726 := &x.Source + yy3726.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr3705 || yy2arr3705 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yy25 := &x.FirstTimestamp - yym26 := z.EncBinary() - _ = yym26 + if yyq3705[7] { + yy3728 := &x.FirstTimestamp + yym3729 := z.EncBinary() + _ = yym3729 if false { - } else if z.HasExtensions() && z.EncExt(yy25) { - } else if yym26 { - z.EncBinaryMarshal(yy25) - } else if !yym26 && z.IsJSONHandle() { - z.EncJSONMarshal(yy25) + } else if z.HasExtensions() && z.EncExt(yy3728) { + } else if yym3729 { + z.EncBinaryMarshal(yy3728) + } else if !yym3729 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3728) } else { - z.EncFallback(yy25) + z.EncFallback(yy3728) } } else { r.EncodeNil() } } else { - if yyq2[5] { + if yyq3705[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("firstTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy27 := &x.FirstTimestamp - yym28 := z.EncBinary() - _ = yym28 + yy3730 := &x.FirstTimestamp + yym3731 := z.EncBinary() + _ = yym3731 if false { - } else if z.HasExtensions() && z.EncExt(yy27) { - } else if yym28 { - z.EncBinaryMarshal(yy27) - } else if !yym28 && z.IsJSONHandle() { - z.EncJSONMarshal(yy27) + } else if z.HasExtensions() && z.EncExt(yy3730) { + } else if yym3731 { + z.EncBinaryMarshal(yy3730) + } else if !yym3731 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3730) } else { - z.EncFallback(yy27) + z.EncFallback(yy3730) } } } - if yyr2 || yy2arr2 { + if yyr3705 || yy2arr3705 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yy30 := &x.LastTimestamp - yym31 := z.EncBinary() - _ = yym31 + if yyq3705[8] { + yy3733 := &x.LastTimestamp + yym3734 := z.EncBinary() + _ = yym3734 if false { - } else if z.HasExtensions() && z.EncExt(yy30) { - } else if yym31 { - z.EncBinaryMarshal(yy30) - } else if !yym31 && z.IsJSONHandle() { - z.EncJSONMarshal(yy30) + } else if z.HasExtensions() && z.EncExt(yy3733) { + } else if yym3734 { + z.EncBinaryMarshal(yy3733) + } else if !yym3734 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3733) } else { - z.EncFallback(yy30) + z.EncFallback(yy3733) } } else { r.EncodeNil() } } else { - if yyq2[6] { + if yyq3705[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy32 := &x.LastTimestamp - yym33 := z.EncBinary() - _ = yym33 + yy3735 := &x.LastTimestamp + yym3736 := z.EncBinary() + _ = yym3736 if false { - } else if z.HasExtensions() && z.EncExt(yy32) { - } else if yym33 { - z.EncBinaryMarshal(yy32) - } else if !yym33 && z.IsJSONHandle() { - z.EncJSONMarshal(yy32) + } else if z.HasExtensions() && z.EncExt(yy3735) { + } else if yym3736 { + z.EncBinaryMarshal(yy3735) + } else if !yym3736 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3735) } else { - z.EncFallback(yy32) + z.EncFallback(yy3735) } } } - if yyr2 || yy2arr2 { + if yyr3705 || yy2arr3705 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym35 := z.EncBinary() - _ = yym35 + if yyq3705[9] { + yym3738 := z.EncBinary() + _ = yym3738 if false { } else { r.EncodeInt(int64(x.Count)) @@ -46858,23 +46908,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[7] { + if yyq3705[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("count")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym36 := z.EncBinary() - _ = yym36 + yym3739 := z.EncBinary() + _ = yym3739 if false { } else { r.EncodeInt(int64(x.Count)) } } } - if yyr2 || yy2arr2 { + if yyr3705 || yy2arr3705 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { - yym38 := z.EncBinary() - _ = yym38 + if yyq3705[10] { + yym3741 := z.EncBinary() + _ = yym3741 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -46883,69 +46933,19 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[8] { + if yyq3705[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym39 := z.EncBinary() - _ = yym39 + yym3742 := z.EncBinary() + _ = yym3742 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { - yym41 := z.EncBinary() - _ = yym41 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[9] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym42 := z.EncBinary() - _ = yym42 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { - yym44 := z.EncBinary() - _ = yym44 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[10] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym45 := z.EncBinary() - _ = yym45 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3705 || yy2arr3705 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46958,25 +46958,25 @@ func (x *Event) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3743 := z.DecBinary() + _ = yym3743 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3744 := r.ContainerType() + if yyct3744 == codecSelferValueTypeMap1234 { + yyl3744 := r.ReadMapStart() + if yyl3744 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3744, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3744 == codecSelferValueTypeArray1234 { + yyl3744 := r.ReadArrayStart() + if yyl3744 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3744, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46988,12 +46988,12 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3745Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3745Slc + var yyhl3745 bool = l >= 0 + for yyj3745 := 0; ; yyj3745++ { + if yyhl3745 { + if yyj3745 >= l { break } } else { @@ -47002,23 +47002,35 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3745Slc = r.DecodeBytes(yys3745Slc, true, true) + yys3745 := string(yys3745Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3745 { + 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 { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) + yyv3748 := &x.ObjectMeta + yyv3748.CodecDecodeSelf(d) } case "involvedObject": if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv5 := &x.InvolvedObject - yyv5.CodecDecodeSelf(d) + yyv3749 := &x.InvolvedObject + yyv3749.CodecDecodeSelf(d) } case "reason": if r.TryDecodeAsNil() { @@ -47036,41 +47048,41 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv8 := &x.Source - yyv8.CodecDecodeSelf(d) + yyv3752 := &x.Source + yyv3752.CodecDecodeSelf(d) } case "firstTimestamp": if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv9 := &x.FirstTimestamp - yym10 := z.DecBinary() - _ = yym10 + yyv3753 := &x.FirstTimestamp + yym3754 := z.DecBinary() + _ = yym3754 if false { - } else if z.HasExtensions() && z.DecExt(yyv9) { - } else if yym10 { - z.DecBinaryUnmarshal(yyv9) - } else if !yym10 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv9) + } else if z.HasExtensions() && z.DecExt(yyv3753) { + } else if yym3754 { + z.DecBinaryUnmarshal(yyv3753) + } else if !yym3754 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3753) } else { - z.DecFallback(yyv9, false) + z.DecFallback(yyv3753, false) } } case "lastTimestamp": if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv11 := &x.LastTimestamp - yym12 := z.DecBinary() - _ = yym12 + yyv3755 := &x.LastTimestamp + yym3756 := z.DecBinary() + _ = yym3756 if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else if yym12 { - z.DecBinaryUnmarshal(yyv11) - } else if !yym12 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv11) + } else if z.HasExtensions() && z.DecExt(yyv3755) { + } else if yym3756 { + z.DecBinaryUnmarshal(yyv3755) + } else if !yym3756 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3755) } else { - z.DecFallback(yyv11, false) + z.DecFallback(yyv3755, false) } } case "count": @@ -47085,22 +47097,10 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3745) + } // end switch yys3745 + } // end for yyj3745 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47108,185 +47108,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj17 int - var yyb17 bool - var yyhl17 bool = l >= 0 - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l + var yyj3759 int + var yyb3759 bool + var yyhl3759 bool = l >= 0 + yyj3759++ + if yyhl3759 { + yyb3759 = yyj3759 > l } else { - yyb17 = r.CheckBreak() + yyb3759 = r.CheckBreak() } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv18 := &x.ObjectMeta - yyv18.CodecDecodeSelf(d) - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.InvolvedObject = ObjectReference{} - } else { - yyv19 := &x.InvolvedObject - yyv19.CodecDecodeSelf(d) - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Reason = "" - } else { - x.Reason = string(r.DecodeString()) - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Message = "" - } else { - x.Message = string(r.DecodeString()) - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Source = EventSource{} - } else { - yyv22 := &x.Source - yyv22.CodecDecodeSelf(d) - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.FirstTimestamp = pkg2_unversioned.Time{} - } else { - yyv23 := &x.FirstTimestamp - yym24 := z.DecBinary() - _ = yym24 - if false { - } else if z.HasExtensions() && z.DecExt(yyv23) { - } else if yym24 { - z.DecBinaryUnmarshal(yyv23) - } else if !yym24 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv23) - } else { - z.DecFallback(yyv23, false) - } - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LastTimestamp = pkg2_unversioned.Time{} - } else { - yyv25 := &x.LastTimestamp - yym26 := z.DecBinary() - _ = yym26 - if false { - } else if z.HasExtensions() && z.DecExt(yyv25) { - } else if yym26 { - z.DecBinaryUnmarshal(yyv25) - } else if !yym26 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv25) - } else { - z.DecFallback(yyv25, false) - } - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Count = 0 - } else { - x.Count = int32(r.DecodeInt(32)) - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = string(r.DecodeString()) - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { + if yyb3759 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47296,13 +47127,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l + yyj3759++ + if yyhl3759 { + yyb3759 = yyj3759 > l } else { - yyb17 = r.CheckBreak() + yyb3759 = r.CheckBreak() } - if yyb17 { + if yyb3759 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47312,18 +47143,187 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l + yyj3759++ + if yyhl3759 { + yyb3759 = yyj3759 > l + } else { + yyb3759 = r.CheckBreak() + } + if yyb3759 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3762 := &x.ObjectMeta + yyv3762.CodecDecodeSelf(d) + } + yyj3759++ + if yyhl3759 { + yyb3759 = yyj3759 > l + } else { + yyb3759 = r.CheckBreak() + } + if yyb3759 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.InvolvedObject = ObjectReference{} + } else { + yyv3763 := &x.InvolvedObject + yyv3763.CodecDecodeSelf(d) + } + yyj3759++ + if yyhl3759 { + yyb3759 = yyj3759 > l + } else { + yyb3759 = r.CheckBreak() + } + if yyb3759 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + yyj3759++ + if yyhl3759 { + yyb3759 = yyj3759 > l + } else { + yyb3759 = r.CheckBreak() + } + if yyb3759 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + yyj3759++ + if yyhl3759 { + yyb3759 = yyj3759 > l + } else { + yyb3759 = r.CheckBreak() + } + if yyb3759 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Source = EventSource{} + } else { + yyv3766 := &x.Source + yyv3766.CodecDecodeSelf(d) + } + yyj3759++ + if yyhl3759 { + yyb3759 = yyj3759 > l + } else { + yyb3759 = r.CheckBreak() + } + if yyb3759 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.FirstTimestamp = pkg2_unversioned.Time{} + } else { + yyv3767 := &x.FirstTimestamp + yym3768 := z.DecBinary() + _ = yym3768 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3767) { + } else if yym3768 { + z.DecBinaryUnmarshal(yyv3767) + } else if !yym3768 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3767) } else { - yyb17 = r.CheckBreak() + z.DecFallback(yyv3767, false) } - if yyb17 { + } + yyj3759++ + if yyhl3759 { + yyb3759 = yyj3759 > l + } else { + yyb3759 = r.CheckBreak() + } + if yyb3759 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastTimestamp = pkg2_unversioned.Time{} + } else { + yyv3769 := &x.LastTimestamp + yym3770 := z.DecBinary() + _ = yym3770 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3769) { + } else if yym3770 { + z.DecBinaryUnmarshal(yyv3769) + } else if !yym3770 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3769) + } else { + z.DecFallback(yyv3769, false) + } + } + yyj3759++ + if yyhl3759 { + yyb3759 = yyj3759 > l + } else { + yyb3759 = r.CheckBreak() + } + if yyb3759 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Count = 0 + } else { + x.Count = int32(r.DecodeInt(32)) + } + yyj3759++ + if yyhl3759 { + yyb3759 = yyj3759 > l + } else { + yyb3759 = r.CheckBreak() + } + if yyb3759 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = string(r.DecodeString()) + } + for { + yyj3759++ + if yyhl3759 { + yyb3759 = yyj3759 > l + } else { + yyb3759 = r.CheckBreak() + } + if yyb3759 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj17-1, "") + z.DecStructFieldNotFound(yyj3759-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47335,68 +47335,118 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3773 := z.EncBinary() + _ = yym3773 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3774 := !z.EncBinary() + yy2arr3774 := z.EncBasicHandle().StructToArray + var yyq3774 [4]bool + _, _, _ = yysep3774, yyq3774, yy2arr3774 + const yyr3774 bool = false + yyq3774[0] = x.Kind != "" + yyq3774[1] = x.APIVersion != "" + yyq3774[2] = true + var yynn3774 int + if yyr3774 || yy2arr3774 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3774 = 1 + for _, b := range yyq3774 { if b { - yynn2++ + yynn3774++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3774) + yynn3774 = 0 } - if yyr2 || yy2arr2 { + if yyr3774 || yy2arr3774 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq3774[0] { + yym3776 := z.EncBinary() + _ = yym3776 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3774[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3777 := z.EncBinary() + _ = yym3777 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3774 || yy2arr3774 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3774[1] { + yym3779 := z.EncBinary() + _ = yym3779 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3774[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3780 := z.EncBinary() + _ = yym3780 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3774 || yy2arr3774 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3774[2] { + yy3782 := &x.ListMeta + yym3783 := z.EncBinary() + _ = yym3783 + if false { + } else if z.HasExtensions() && z.EncExt(yy3782) { + } else { + z.EncFallback(yy3782) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3774[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy3784 := &x.ListMeta + yym3785 := z.EncBinary() + _ = yym3785 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy3784) { } else { - z.EncFallback(yy6) + z.EncFallback(yy3784) } } } - if yyr2 || yy2arr2 { + if yyr3774 || yy2arr3774 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym3787 := z.EncBinary() + _ = yym3787 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) @@ -47409,65 +47459,15 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym3788 := z.EncBinary() + _ = yym3788 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3774 || yy2arr3774 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47480,25 +47480,25 @@ func (x *EventList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3789 := z.DecBinary() + _ = yym3789 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3790 := r.ContainerType() + if yyct3790 == codecSelferValueTypeMap1234 { + yyl3790 := r.ReadMapStart() + if yyl3790 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3790, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3790 == codecSelferValueTypeArray1234 { + yyl3790 := r.ReadArrayStart() + if yyl3790 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3790, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47510,12 +47510,12 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3791Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3791Slc + var yyhl3791 bool = l >= 0 + for yyj3791 := 0; ; yyj3791++ { + if yyhl3791 { + if yyj3791 >= l { break } } else { @@ -47524,35 +47524,10 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3791Slc = r.DecodeBytes(yys3791Slc, true, true) + yys3791 := string(yys3791Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceEvent((*[]Event)(yyv6), d) - } - } + switch yys3791 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -47565,10 +47540,35 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3794 := &x.ListMeta + yym3795 := z.DecBinary() + _ = yym3795 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3794) { + } else { + z.DecFallback(yyv3794, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3796 := &x.Items + yym3797 := z.DecBinary() + _ = yym3797 + if false { + } else { + h.decSliceEvent((*[]Event)(yyv3796), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3791) + } // end switch yys3791 + } // end for yyj3791 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47576,61 +47576,16 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj3798 int + var yyb3798 bool + var yyhl3798 bool = l >= 0 + yyj3798++ + if yyhl3798 { + yyb3798 = yyj3798 > l } else { - yyb10 = r.CheckBreak() + yyb3798 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceEvent((*[]Event)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb3798 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47640,13 +47595,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3798++ + if yyhl3798 { + yyb3798 = yyj3798 > l } else { - yyb10 = r.CheckBreak() + yyb3798 = r.CheckBreak() } - if yyb10 { + if yyb3798 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47656,18 +47611,63 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3798++ + if yyhl3798 { + yyb3798 = yyj3798 > l + } else { + yyb3798 = r.CheckBreak() + } + if yyb3798 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3801 := &x.ListMeta + yym3802 := z.DecBinary() + _ = yym3802 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3801) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv3801, false) } - if yyb10 { + } + yyj3798++ + if yyhl3798 { + yyb3798 = yyj3798 > l + } else { + yyb3798 = r.CheckBreak() + } + if yyb3798 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3803 := &x.Items + yym3804 := z.DecBinary() + _ = yym3804 + if false { + } else { + h.decSliceEvent((*[]Event)(yyv3803), d) + } + } + for { + yyj3798++ + if yyhl3798 { + yyb3798 = yyj3798 > l + } else { + yyb3798 = r.CheckBreak() + } + if yyb3798 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj3798-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47679,68 +47679,118 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3805 := z.EncBinary() + _ = yym3805 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3806 := !z.EncBinary() + yy2arr3806 := z.EncBasicHandle().StructToArray + var yyq3806 [4]bool + _, _, _ = yysep3806, yyq3806, yy2arr3806 + const yyr3806 bool = false + yyq3806[0] = x.Kind != "" + yyq3806[1] = x.APIVersion != "" + yyq3806[2] = true + var yynn3806 int + if yyr3806 || yy2arr3806 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3806 = 1 + for _, b := range yyq3806 { if b { - yynn2++ + yynn3806++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3806) + yynn3806 = 0 } - if yyr2 || yy2arr2 { + if yyr3806 || yy2arr3806 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq3806[0] { + yym3808 := z.EncBinary() + _ = yym3808 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3806[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3809 := z.EncBinary() + _ = yym3809 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3806 || yy2arr3806 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3806[1] { + yym3811 := z.EncBinary() + _ = yym3811 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3806[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3812 := z.EncBinary() + _ = yym3812 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3806 || yy2arr3806 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3806[2] { + yy3814 := &x.ListMeta + yym3815 := z.EncBinary() + _ = yym3815 + if false { + } else if z.HasExtensions() && z.EncExt(yy3814) { + } else { + z.EncFallback(yy3814) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3806[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy3816 := &x.ListMeta + yym3817 := z.EncBinary() + _ = yym3817 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy3816) { } else { - z.EncFallback(yy6) + z.EncFallback(yy3816) } } } - if yyr2 || yy2arr2 { + if yyr3806 || yy2arr3806 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym3819 := z.EncBinary() + _ = yym3819 if false { } else { h.encSliceruntime_Object(([]pkg7_runtime.Object)(x.Items), e) @@ -47753,65 +47803,15 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym3820 := z.EncBinary() + _ = yym3820 if false { } else { h.encSliceruntime_Object(([]pkg7_runtime.Object)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3806 || yy2arr3806 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47824,25 +47824,25 @@ func (x *List) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3821 := z.DecBinary() + _ = yym3821 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3822 := r.ContainerType() + if yyct3822 == codecSelferValueTypeMap1234 { + yyl3822 := r.ReadMapStart() + if yyl3822 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3822, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3822 == codecSelferValueTypeArray1234 { + yyl3822 := r.ReadArrayStart() + if yyl3822 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3822, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47854,12 +47854,12 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3823Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3823Slc + var yyhl3823 bool = l >= 0 + for yyj3823 := 0; ; yyj3823++ { + if yyhl3823 { + if yyj3823 >= l { break } } else { @@ -47868,35 +47868,10 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3823Slc = r.DecodeBytes(yys3823Slc, true, true) + yys3823 := string(yys3823Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceruntime_Object((*[]pkg7_runtime.Object)(yyv6), d) - } - } + switch yys3823 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -47909,10 +47884,35 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3826 := &x.ListMeta + yym3827 := z.DecBinary() + _ = yym3827 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3826) { + } else { + z.DecFallback(yyv3826, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3828 := &x.Items + yym3829 := z.DecBinary() + _ = yym3829 + if false { + } else { + h.decSliceruntime_Object((*[]pkg7_runtime.Object)(yyv3828), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3823) + } // end switch yys3823 + } // end for yyj3823 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47920,61 +47920,16 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj3830 int + var yyb3830 bool + var yyhl3830 bool = l >= 0 + yyj3830++ + if yyhl3830 { + yyb3830 = yyj3830 > l } else { - yyb10 = r.CheckBreak() + yyb3830 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceruntime_Object((*[]pkg7_runtime.Object)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb3830 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47984,13 +47939,13 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3830++ + if yyhl3830 { + yyb3830 = yyj3830 > l } else { - yyb10 = r.CheckBreak() + yyb3830 = r.CheckBreak() } - if yyb10 { + if yyb3830 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48000,18 +47955,63 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3830++ + if yyhl3830 { + yyb3830 = yyj3830 > l + } else { + yyb3830 = r.CheckBreak() + } + if yyb3830 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3833 := &x.ListMeta + yym3834 := z.DecBinary() + _ = yym3834 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3833) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv3833, false) } - if yyb10 { + } + yyj3830++ + if yyhl3830 { + yyb3830 = yyj3830 > l + } else { + yyb3830 = r.CheckBreak() + } + if yyb3830 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3835 := &x.Items + yym3836 := z.DecBinary() + _ = yym3836 + if false { + } else { + h.decSliceruntime_Object((*[]pkg7_runtime.Object)(yyv3835), d) + } + } + for { + yyj3830++ + if yyhl3830 { + yyb3830 = yyj3830 > l + } else { + yyb3830 = r.CheckBreak() + } + if yyb3830 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj3830-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48020,8 +48020,8 @@ func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym3837 := z.EncBinary() + _ = yym3837 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -48033,8 +48033,8 @@ func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3838 := z.DecBinary() + _ = yym3838 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -48049,53 +48049,53 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3839 := z.EncBinary() + _ = yym3839 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Type != "" - yyq2[1] = len(x.Max) != 0 - yyq2[2] = len(x.Min) != 0 - yyq2[3] = len(x.Default) != 0 - yyq2[4] = len(x.DefaultRequest) != 0 - yyq2[5] = len(x.MaxLimitRequestRatio) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep3840 := !z.EncBinary() + yy2arr3840 := z.EncBasicHandle().StructToArray + var yyq3840 [6]bool + _, _, _ = yysep3840, yyq3840, yy2arr3840 + const yyr3840 bool = false + yyq3840[0] = x.Type != "" + yyq3840[1] = len(x.Max) != 0 + yyq3840[2] = len(x.Min) != 0 + yyq3840[3] = len(x.Default) != 0 + yyq3840[4] = len(x.DefaultRequest) != 0 + yyq3840[5] = len(x.MaxLimitRequestRatio) != 0 + var yynn3840 int + if yyr3840 || yy2arr3840 { r.EncodeArrayStart(6) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3840 = 0 + for _, b := range yyq3840 { if b { - yynn2++ + yynn3840++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3840) + yynn3840 = 0 } - if yyr2 || yy2arr2 { + if yyr3840 || yy2arr3840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq3840[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq3840[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr3840 || yy2arr3840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq3840[1] { if x.Max == nil { r.EncodeNil() } else { @@ -48105,7 +48105,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq3840[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -48116,9 +48116,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3840 || yy2arr3840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq3840[2] { if x.Min == nil { r.EncodeNil() } else { @@ -48128,7 +48128,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq3840[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -48139,9 +48139,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3840 || yy2arr3840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq3840[3] { if x.Default == nil { r.EncodeNil() } else { @@ -48151,7 +48151,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq3840[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("default")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -48162,9 +48162,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3840 || yy2arr3840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq3840[4] { if x.DefaultRequest == nil { r.EncodeNil() } else { @@ -48174,7 +48174,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq3840[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -48185,9 +48185,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3840 || yy2arr3840 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq3840[5] { if x.MaxLimitRequestRatio == nil { r.EncodeNil() } else { @@ -48197,7 +48197,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[5] { + if yyq3840[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -48208,7 +48208,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3840 || yy2arr3840 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48221,25 +48221,25 @@ func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3847 := z.DecBinary() + _ = yym3847 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3848 := r.ContainerType() + if yyct3848 == codecSelferValueTypeMap1234 { + yyl3848 := r.ReadMapStart() + if yyl3848 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3848, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3848 == codecSelferValueTypeArray1234 { + yyl3848 := r.ReadArrayStart() + if yyl3848 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3848, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48251,12 +48251,12 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3849Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3849Slc + var yyhl3849 bool = l >= 0 + for yyj3849 := 0; ; yyj3849++ { + if yyhl3849 { + if yyj3849 >= l { break } } else { @@ -48265,10 +48265,10 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3849Slc = r.DecodeBytes(yys3849Slc, true, true) + yys3849 := string(yys3849Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3849 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -48279,41 +48279,41 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv5 := &x.Max - yyv5.CodecDecodeSelf(d) + yyv3851 := &x.Max + yyv3851.CodecDecodeSelf(d) } case "min": if r.TryDecodeAsNil() { x.Min = nil } else { - yyv6 := &x.Min - yyv6.CodecDecodeSelf(d) + yyv3852 := &x.Min + yyv3852.CodecDecodeSelf(d) } case "default": if r.TryDecodeAsNil() { x.Default = nil } else { - yyv7 := &x.Default - yyv7.CodecDecodeSelf(d) + yyv3853 := &x.Default + yyv3853.CodecDecodeSelf(d) } case "defaultRequest": if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv8 := &x.DefaultRequest - yyv8.CodecDecodeSelf(d) + yyv3854 := &x.DefaultRequest + yyv3854.CodecDecodeSelf(d) } case "maxLimitRequestRatio": if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv9 := &x.MaxLimitRequestRatio - yyv9.CodecDecodeSelf(d) + yyv3855 := &x.MaxLimitRequestRatio + yyv3855.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3849) + } // end switch yys3849 + } // end for yyj3849 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48321,16 +48321,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj3856 int + var yyb3856 bool + var yyhl3856 bool = l >= 0 + yyj3856++ + if yyhl3856 { + yyb3856 = yyj3856 > l } else { - yyb10 = r.CheckBreak() + yyb3856 = r.CheckBreak() } - if yyb10 { + if yyb3856 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48340,13 +48340,13 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = LimitType(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3856++ + if yyhl3856 { + yyb3856 = yyj3856 > l } else { - yyb10 = r.CheckBreak() + yyb3856 = r.CheckBreak() } - if yyb10 { + if yyb3856 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48354,16 +48354,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv12 := &x.Max - yyv12.CodecDecodeSelf(d) + yyv3858 := &x.Max + yyv3858.CodecDecodeSelf(d) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3856++ + if yyhl3856 { + yyb3856 = yyj3856 > l } else { - yyb10 = r.CheckBreak() + yyb3856 = r.CheckBreak() } - if yyb10 { + if yyb3856 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48371,16 +48371,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Min = nil } else { - yyv13 := &x.Min - yyv13.CodecDecodeSelf(d) + yyv3859 := &x.Min + yyv3859.CodecDecodeSelf(d) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3856++ + if yyhl3856 { + yyb3856 = yyj3856 > l } else { - yyb10 = r.CheckBreak() + yyb3856 = r.CheckBreak() } - if yyb10 { + if yyb3856 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48388,16 +48388,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Default = nil } else { - yyv14 := &x.Default - yyv14.CodecDecodeSelf(d) + yyv3860 := &x.Default + yyv3860.CodecDecodeSelf(d) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3856++ + if yyhl3856 { + yyb3856 = yyj3856 > l } else { - yyb10 = r.CheckBreak() + yyb3856 = r.CheckBreak() } - if yyb10 { + if yyb3856 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48405,16 +48405,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv15 := &x.DefaultRequest - yyv15.CodecDecodeSelf(d) + yyv3861 := &x.DefaultRequest + yyv3861.CodecDecodeSelf(d) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3856++ + if yyhl3856 { + yyb3856 = yyj3856 > l } else { - yyb10 = r.CheckBreak() + yyb3856 = r.CheckBreak() } - if yyb10 { + if yyb3856 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48422,21 +48422,21 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv16 := &x.MaxLimitRequestRatio - yyv16.CodecDecodeSelf(d) + yyv3862 := &x.MaxLimitRequestRatio + yyv3862.CodecDecodeSelf(d) } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3856++ + if yyhl3856 { + yyb3856 = yyj3856 > l } else { - yyb10 = r.CheckBreak() + yyb3856 = r.CheckBreak() } - if yyb10 { + if yyb3856 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj3856-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48448,36 +48448,36 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3863 := z.EncBinary() + _ = yym3863 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep3864 := !z.EncBinary() + yy2arr3864 := z.EncBasicHandle().StructToArray + var yyq3864 [1]bool + _, _, _ = yysep3864, yyq3864, yy2arr3864 + const yyr3864 bool = false + var yynn3864 int + if yyr3864 || yy2arr3864 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3864 = 1 + for _, b := range yyq3864 { if b { - yynn2++ + yynn3864++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3864) + yynn3864 = 0 } - if yyr2 || yy2arr2 { + if yyr3864 || yy2arr3864 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Limits == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym3866 := z.EncBinary() + _ = yym3866 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) @@ -48490,15 +48490,15 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Limits == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym3867 := z.EncBinary() + _ = yym3867 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) } } } - if yyr2 || yy2arr2 { + if yyr3864 || yy2arr3864 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48511,25 +48511,25 @@ func (x *LimitRangeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3868 := z.DecBinary() + _ = yym3868 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3869 := r.ContainerType() + if yyct3869 == codecSelferValueTypeMap1234 { + yyl3869 := r.ReadMapStart() + if yyl3869 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3869, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3869 == codecSelferValueTypeArray1234 { + yyl3869 := r.ReadArrayStart() + if yyl3869 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3869, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48541,12 +48541,12 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3870Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3870Slc + var yyhl3870 bool = l >= 0 + for yyj3870 := 0; ; yyj3870++ { + if yyhl3870 { + if yyj3870 >= l { break } } else { @@ -48555,26 +48555,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3870Slc = r.DecodeBytes(yys3870Slc, true, true) + yys3870 := string(yys3870Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3870 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv4 := &x.Limits - yym5 := z.DecBinary() - _ = yym5 + yyv3871 := &x.Limits + yym3872 := z.DecBinary() + _ = yym3872 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3871), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3870) + } // end switch yys3870 + } // end for yyj3870 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48582,16 +48582,16 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj3873 int + var yyb3873 bool + var yyhl3873 bool = l >= 0 + yyj3873++ + if yyhl3873 { + yyb3873 = yyj3873 > l } else { - yyb6 = r.CheckBreak() + yyb3873 = r.CheckBreak() } - if yyb6 { + if yyb3873 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48599,26 +48599,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv7 := &x.Limits - yym8 := z.DecBinary() - _ = yym8 + yyv3874 := &x.Limits + yym3875 := z.DecBinary() + _ = yym3875 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv7), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3874), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3873++ + if yyhl3873 { + yyb3873 = yyj3873 > l } else { - yyb6 = r.CheckBreak() + yyb3873 = r.CheckBreak() } - if yyb6 { + if yyb3873 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj3873-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48630,72 +48630,38 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3876 := z.EncBinary() + _ = yym3876 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3877 := !z.EncBinary() + yy2arr3877 := z.EncBasicHandle().StructToArray + var yyq3877 [4]bool + _, _, _ = yysep3877, yyq3877, yy2arr3877 + const yyr3877 bool = false + yyq3877[0] = x.Kind != "" + yyq3877[1] = x.APIVersion != "" + yyq3877[2] = true + yyq3877[3] = true + var yynn3877 int + if yyr3877 || yy2arr3877 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3877 = 0 + for _, b := range yyq3877 { if b { - yynn2++ + yynn3877++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3877) + yynn3877 = 0 } - if yyr2 || yy2arr2 { + if yyr3877 || yy2arr3877 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq3877[0] { + yym3879 := z.EncBinary() + _ = yym3879 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -48704,23 +48670,23 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq3877[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym3880 := z.EncBinary() + _ = yym3880 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr3877 || yy2arr3877 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq3877[1] { + yym3882 := z.EncBinary() + _ = yym3882 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -48729,19 +48695,53 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq3877[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym3883 := z.EncBinary() + _ = yym3883 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3877 || yy2arr3877 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3877[2] { + yy3885 := &x.ObjectMeta + yy3885.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3877[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3886 := &x.ObjectMeta + yy3886.CodecEncodeSelf(e) + } + } + if yyr3877 || yy2arr3877 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3877[3] { + yy3888 := &x.Spec + yy3888.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3877[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3889 := &x.Spec + yy3889.CodecEncodeSelf(e) + } + } + if yyr3877 || yy2arr3877 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48754,25 +48754,25 @@ func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3890 := z.DecBinary() + _ = yym3890 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3891 := r.ContainerType() + if yyct3891 == codecSelferValueTypeMap1234 { + yyl3891 := r.ReadMapStart() + if yyl3891 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3891, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3891 == codecSelferValueTypeArray1234 { + yyl3891 := r.ReadArrayStart() + if yyl3891 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3891, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48784,12 +48784,12 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3892Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3892Slc + var yyhl3892 bool = l >= 0 + for yyj3892 := 0; ; yyj3892++ { + if yyhl3892 { + if yyj3892 >= l { break } } else { @@ -48798,24 +48798,10 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3892Slc = r.DecodeBytes(yys3892Slc, true, true) + yys3892 := string(yys3892Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = LimitRangeSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } + switch yys3892 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -48828,10 +48814,24 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3895 := &x.ObjectMeta + yyv3895.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = LimitRangeSpec{} + } else { + yyv3896 := &x.Spec + yyv3896.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3892) + } // end switch yys3892 + } // end for yyj3892 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48839,50 +48839,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj3897 int + var yyb3897 bool + var yyhl3897 bool = l >= 0 + yyj3897++ + if yyhl3897 { + yyb3897 = yyj3897 > l } else { - yyb8 = r.CheckBreak() + yyb3897 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv9 := &x.ObjectMeta - yyv9.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = LimitRangeSpec{} - } else { - yyv10 := &x.Spec - yyv10.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb3897 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48892,13 +48858,13 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj3897++ + if yyhl3897 { + yyb3897 = yyj3897 > l } else { - yyb8 = r.CheckBreak() + yyb3897 = r.CheckBreak() } - if yyb8 { + if yyb3897 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48908,18 +48874,52 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj3897++ + if yyhl3897 { + yyb3897 = yyj3897 > l + } else { + yyb3897 = r.CheckBreak() + } + if yyb3897 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3900 := &x.ObjectMeta + yyv3900.CodecDecodeSelf(d) + } + yyj3897++ + if yyhl3897 { + yyb3897 = yyj3897 > l + } else { + yyb3897 = r.CheckBreak() + } + if yyb3897 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = LimitRangeSpec{} + } else { + yyv3901 := &x.Spec + yyv3901.CodecDecodeSelf(d) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj3897++ + if yyhl3897 { + yyb3897 = yyj3897 > l } else { - yyb8 = r.CheckBreak() + yyb3897 = r.CheckBreak() } - if yyb8 { + if yyb3897 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj3897-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48931,68 +48931,118 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3902 := z.EncBinary() + _ = yym3902 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3903 := !z.EncBinary() + yy2arr3903 := z.EncBasicHandle().StructToArray + var yyq3903 [4]bool + _, _, _ = yysep3903, yyq3903, yy2arr3903 + const yyr3903 bool = false + yyq3903[0] = x.Kind != "" + yyq3903[1] = x.APIVersion != "" + yyq3903[2] = true + var yynn3903 int + if yyr3903 || yy2arr3903 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3903 = 1 + for _, b := range yyq3903 { if b { - yynn2++ + yynn3903++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3903) + yynn3903 = 0 } - if yyr2 || yy2arr2 { + if yyr3903 || yy2arr3903 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq3903[0] { + yym3905 := z.EncBinary() + _ = yym3905 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3903[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3906 := z.EncBinary() + _ = yym3906 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3903 || yy2arr3903 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3903[1] { + yym3908 := z.EncBinary() + _ = yym3908 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3903[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3909 := z.EncBinary() + _ = yym3909 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3903 || yy2arr3903 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3903[2] { + yy3911 := &x.ListMeta + yym3912 := z.EncBinary() + _ = yym3912 + if false { + } else if z.HasExtensions() && z.EncExt(yy3911) { + } else { + z.EncFallback(yy3911) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3903[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy3913 := &x.ListMeta + yym3914 := z.EncBinary() + _ = yym3914 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy3913) { } else { - z.EncFallback(yy6) + z.EncFallback(yy3913) } } } - if yyr2 || yy2arr2 { + if yyr3903 || yy2arr3903 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym3916 := z.EncBinary() + _ = yym3916 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) @@ -49005,65 +49055,15 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym3917 := z.EncBinary() + _ = yym3917 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3903 || yy2arr3903 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49076,25 +49076,25 @@ func (x *LimitRangeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3918 := z.DecBinary() + _ = yym3918 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3919 := r.ContainerType() + if yyct3919 == codecSelferValueTypeMap1234 { + yyl3919 := r.ReadMapStart() + if yyl3919 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3919, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3919 == codecSelferValueTypeArray1234 { + yyl3919 := r.ReadArrayStart() + if yyl3919 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3919, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49106,12 +49106,12 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3920Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3920Slc + var yyhl3920 bool = l >= 0 + for yyj3920 := 0; ; yyj3920++ { + if yyhl3920 { + if yyj3920 >= l { break } } else { @@ -49120,35 +49120,10 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3920Slc = r.DecodeBytes(yys3920Slc, true, true) + yys3920 := string(yys3920Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceLimitRange((*[]LimitRange)(yyv6), d) - } - } + switch yys3920 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -49161,10 +49136,35 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3923 := &x.ListMeta + yym3924 := z.DecBinary() + _ = yym3924 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3923) { + } else { + z.DecFallback(yyv3923, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3925 := &x.Items + yym3926 := z.DecBinary() + _ = yym3926 + if false { + } else { + h.decSliceLimitRange((*[]LimitRange)(yyv3925), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3920) + } // end switch yys3920 + } // end for yyj3920 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49172,61 +49172,16 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj3927 int + var yyb3927 bool + var yyhl3927 bool = l >= 0 + yyj3927++ + if yyhl3927 { + yyb3927 = yyj3927 > l } else { - yyb10 = r.CheckBreak() + yyb3927 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceLimitRange((*[]LimitRange)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb3927 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49236,13 +49191,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3927++ + if yyhl3927 { + yyb3927 = yyj3927 > l } else { - yyb10 = r.CheckBreak() + yyb3927 = r.CheckBreak() } - if yyb10 { + if yyb3927 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49252,18 +49207,63 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3927++ + if yyhl3927 { + yyb3927 = yyj3927 > l + } else { + yyb3927 = r.CheckBreak() + } + if yyb3927 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3930 := &x.ListMeta + yym3931 := z.DecBinary() + _ = yym3931 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3930) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv3930, false) } - if yyb10 { + } + yyj3927++ + if yyhl3927 { + yyb3927 = yyj3927 > l + } else { + yyb3927 = r.CheckBreak() + } + if yyb3927 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3932 := &x.Items + yym3933 := z.DecBinary() + _ = yym3933 + if false { + } else { + h.decSliceLimitRange((*[]LimitRange)(yyv3932), d) + } + } + for { + yyj3927++ + if yyhl3927 { + yyb3927 = yyj3927 > l + } else { + yyb3927 = r.CheckBreak() + } + if yyb3927 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj3927-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49272,8 +49272,8 @@ func (x ResourceQuotaScope) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym3934 := z.EncBinary() + _ = yym3934 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -49285,8 +49285,8 @@ func (x *ResourceQuotaScope) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3935 := z.DecBinary() + _ = yym3935 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -49301,34 +49301,34 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3936 := z.EncBinary() + _ = yym3936 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Hard) != 0 - yyq2[1] = len(x.Scopes) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep3937 := !z.EncBinary() + yy2arr3937 := z.EncBasicHandle().StructToArray + var yyq3937 [2]bool + _, _, _ = yysep3937, yyq3937, yy2arr3937 + const yyr3937 bool = false + yyq3937[0] = len(x.Hard) != 0 + yyq3937[1] = len(x.Scopes) != 0 + var yynn3937 int + if yyr3937 || yy2arr3937 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3937 = 0 + for _, b := range yyq3937 { if b { - yynn2++ + yynn3937++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3937) + yynn3937 = 0 } - if yyr2 || yy2arr2 { + if yyr3937 || yy2arr3937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq3937[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -49338,7 +49338,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3937[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -49349,14 +49349,14 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3937 || yy2arr3937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq3937[1] { if x.Scopes == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym3940 := z.EncBinary() + _ = yym3940 if false { } else { h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) @@ -49366,15 +49366,15 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq3937[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scopes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Scopes == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym3941 := z.EncBinary() + _ = yym3941 if false { } else { h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) @@ -49382,7 +49382,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3937 || yy2arr3937 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49395,25 +49395,25 @@ func (x *ResourceQuotaSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3942 := z.DecBinary() + _ = yym3942 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3943 := r.ContainerType() + if yyct3943 == codecSelferValueTypeMap1234 { + yyl3943 := r.ReadMapStart() + if yyl3943 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3943, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3943 == codecSelferValueTypeArray1234 { + yyl3943 := r.ReadArrayStart() + if yyl3943 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3943, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49425,12 +49425,12 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3944Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3944Slc + var yyhl3944 bool = l >= 0 + for yyj3944 := 0; ; yyj3944++ { + if yyhl3944 { + if yyj3944 >= l { break } } else { @@ -49439,33 +49439,33 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3944Slc = r.DecodeBytes(yys3944Slc, true, true) + yys3944 := string(yys3944Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3944 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4 := &x.Hard - yyv4.CodecDecodeSelf(d) + yyv3945 := &x.Hard + yyv3945.CodecDecodeSelf(d) } case "scopes": if r.TryDecodeAsNil() { x.Scopes = nil } else { - yyv5 := &x.Scopes - yym6 := z.DecBinary() - _ = yym6 + yyv3946 := &x.Scopes + yym3947 := z.DecBinary() + _ = yym3947 if false { } else { - h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv5), d) + h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv3946), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3944) + } // end switch yys3944 + } // end for yyj3944 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49473,16 +49473,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj3948 int + var yyb3948 bool + var yyhl3948 bool = l >= 0 + yyj3948++ + if yyhl3948 { + yyb3948 = yyj3948 > l } else { - yyb7 = r.CheckBreak() + yyb3948 = r.CheckBreak() } - if yyb7 { + if yyb3948 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49490,16 +49490,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv8 := &x.Hard - yyv8.CodecDecodeSelf(d) + yyv3949 := &x.Hard + yyv3949.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3948++ + if yyhl3948 { + yyb3948 = yyj3948 > l } else { - yyb7 = r.CheckBreak() + yyb3948 = r.CheckBreak() } - if yyb7 { + if yyb3948 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49507,26 +49507,26 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Scopes = nil } else { - yyv9 := &x.Scopes - yym10 := z.DecBinary() - _ = yym10 + yyv3950 := &x.Scopes + yym3951 := z.DecBinary() + _ = yym3951 if false { } else { - h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv9), d) + h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv3950), d) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3948++ + if yyhl3948 { + yyb3948 = yyj3948 > l } else { - yyb7 = r.CheckBreak() + yyb3948 = r.CheckBreak() } - if yyb7 { + if yyb3948 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj3948-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49538,34 +49538,34 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3952 := z.EncBinary() + _ = yym3952 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Hard) != 0 - yyq2[1] = len(x.Used) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep3953 := !z.EncBinary() + yy2arr3953 := z.EncBasicHandle().StructToArray + var yyq3953 [2]bool + _, _, _ = yysep3953, yyq3953, yy2arr3953 + const yyr3953 bool = false + yyq3953[0] = len(x.Hard) != 0 + yyq3953[1] = len(x.Used) != 0 + var yynn3953 int + if yyr3953 || yy2arr3953 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3953 = 0 + for _, b := range yyq3953 { if b { - yynn2++ + yynn3953++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3953) + yynn3953 = 0 } - if yyr2 || yy2arr2 { + if yyr3953 || yy2arr3953 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq3953[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -49575,7 +49575,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3953[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -49586,9 +49586,9 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3953 || yy2arr3953 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq3953[1] { if x.Used == nil { r.EncodeNil() } else { @@ -49598,7 +49598,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq3953[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("used")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -49609,7 +49609,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3953 || yy2arr3953 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49622,25 +49622,25 @@ func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3956 := z.DecBinary() + _ = yym3956 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3957 := r.ContainerType() + if yyct3957 == codecSelferValueTypeMap1234 { + yyl3957 := r.ReadMapStart() + if yyl3957 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3957, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3957 == codecSelferValueTypeArray1234 { + yyl3957 := r.ReadArrayStart() + if yyl3957 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3957, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49652,12 +49652,12 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3958Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3958Slc + var yyhl3958 bool = l >= 0 + for yyj3958 := 0; ; yyj3958++ { + if yyhl3958 { + if yyj3958 >= l { break } } else { @@ -49666,28 +49666,28 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3958Slc = r.DecodeBytes(yys3958Slc, true, true) + yys3958 := string(yys3958Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3958 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4 := &x.Hard - yyv4.CodecDecodeSelf(d) + yyv3959 := &x.Hard + yyv3959.CodecDecodeSelf(d) } case "used": if r.TryDecodeAsNil() { x.Used = nil } else { - yyv5 := &x.Used - yyv5.CodecDecodeSelf(d) + yyv3960 := &x.Used + yyv3960.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3958) + } // end switch yys3958 + } // end for yyj3958 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49695,16 +49695,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj3961 int + var yyb3961 bool + var yyhl3961 bool = l >= 0 + yyj3961++ + if yyhl3961 { + yyb3961 = yyj3961 > l } else { - yyb6 = r.CheckBreak() + yyb3961 = r.CheckBreak() } - if yyb6 { + if yyb3961 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49712,16 +49712,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv7 := &x.Hard - yyv7.CodecDecodeSelf(d) + yyv3962 := &x.Hard + yyv3962.CodecDecodeSelf(d) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3961++ + if yyhl3961 { + yyb3961 = yyj3961 > l } else { - yyb6 = r.CheckBreak() + yyb3961 = r.CheckBreak() } - if yyb6 { + if yyb3961 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49729,21 +49729,21 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Used = nil } else { - yyv8 := &x.Used - yyv8.CodecDecodeSelf(d) + yyv3963 := &x.Used + yyv3963.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3961++ + if yyhl3961 { + yyb3961 = yyj3961 > l } else { - yyb6 = r.CheckBreak() + yyb3961 = r.CheckBreak() } - if yyb6 { + if yyb3961 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj3961-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49755,90 +49755,39 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3964 := z.EncBinary() + _ = yym3964 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3965 := !z.EncBinary() + yy2arr3965 := z.EncBasicHandle().StructToArray + var yyq3965 [5]bool + _, _, _ = yysep3965, yyq3965, yy2arr3965 + const yyr3965 bool = false + yyq3965[0] = x.Kind != "" + yyq3965[1] = x.APIVersion != "" + yyq3965[2] = true + yyq3965[3] = true + yyq3965[4] = true + var yynn3965 int + if yyr3965 || yy2arr3965 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3965 = 0 + for _, b := range yyq3965 { if b { - yynn2++ + yynn3965++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3965) + yynn3965 = 0 } - if yyr2 || yy2arr2 { + if yyr3965 || yy2arr3965 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq3965[0] { + yym3967 := z.EncBinary() + _ = yym3967 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -49847,23 +49796,23 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq3965[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym3968 := z.EncBinary() + _ = yym3968 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr3965 || yy2arr3965 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq3965[1] { + yym3970 := z.EncBinary() + _ = yym3970 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -49872,19 +49821,70 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq3965[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym3971 := z.EncBinary() + _ = yym3971 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3965 || yy2arr3965 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3965[2] { + yy3973 := &x.ObjectMeta + yy3973.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3965[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3974 := &x.ObjectMeta + yy3974.CodecEncodeSelf(e) + } + } + if yyr3965 || yy2arr3965 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3965[3] { + yy3976 := &x.Spec + yy3976.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3965[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3977 := &x.Spec + yy3977.CodecEncodeSelf(e) + } + } + if yyr3965 || yy2arr3965 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3965[4] { + yy3979 := &x.Status + yy3979.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3965[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3980 := &x.Status + yy3980.CodecEncodeSelf(e) + } + } + if yyr3965 || yy2arr3965 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49897,25 +49897,25 @@ func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3981 := z.DecBinary() + _ = yym3981 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3982 := r.ContainerType() + if yyct3982 == codecSelferValueTypeMap1234 { + yyl3982 := r.ReadMapStart() + if yyl3982 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3982, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3982 == codecSelferValueTypeArray1234 { + yyl3982 := r.ReadArrayStart() + if yyl3982 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3982, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49927,12 +49927,12 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3983Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3983Slc + var yyhl3983 bool = l >= 0 + for yyj3983 := 0; ; yyj3983++ { + if yyhl3983 { + if yyj3983 >= l { break } } else { @@ -49941,31 +49941,10 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3983Slc = r.DecodeBytes(yys3983Slc, true, true) + yys3983 := string(yys3983Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ResourceQuotaSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ResourceQuotaStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys3983 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -49978,10 +49957,31 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3986 := &x.ObjectMeta + yyv3986.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ResourceQuotaSpec{} + } else { + yyv3987 := &x.Spec + yyv3987.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ResourceQuotaStatus{} + } else { + yyv3988 := &x.Status + yyv3988.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3983) + } // end switch yys3983 + } // end for yyj3983 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49989,67 +49989,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj3989 int + var yyb3989 bool + var yyhl3989 bool = l >= 0 + yyj3989++ + if yyhl3989 { + yyb3989 = yyj3989 > l } else { - yyb9 = r.CheckBreak() + yyb3989 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ResourceQuotaSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ResourceQuotaStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb3989 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50059,13 +50008,13 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj3989++ + if yyhl3989 { + yyb3989 = yyj3989 > l } else { - yyb9 = r.CheckBreak() + yyb3989 = r.CheckBreak() } - if yyb9 { + if yyb3989 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50075,18 +50024,69 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj3989++ + if yyhl3989 { + yyb3989 = yyj3989 > l + } else { + yyb3989 = r.CheckBreak() + } + if yyb3989 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3992 := &x.ObjectMeta + yyv3992.CodecDecodeSelf(d) + } + yyj3989++ + if yyhl3989 { + yyb3989 = yyj3989 > l + } else { + yyb3989 = r.CheckBreak() + } + if yyb3989 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ResourceQuotaSpec{} + } else { + yyv3993 := &x.Spec + yyv3993.CodecDecodeSelf(d) + } + yyj3989++ + if yyhl3989 { + yyb3989 = yyj3989 > l + } else { + yyb3989 = r.CheckBreak() + } + if yyb3989 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ResourceQuotaStatus{} + } else { + yyv3994 := &x.Status + yyv3994.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj3989++ + if yyhl3989 { + yyb3989 = yyj3989 > l } else { - yyb9 = r.CheckBreak() + yyb3989 = r.CheckBreak() } - if yyb9 { + if yyb3989 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj3989-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50098,68 +50098,118 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3995 := z.EncBinary() + _ = yym3995 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3996 := !z.EncBinary() + yy2arr3996 := z.EncBasicHandle().StructToArray + var yyq3996 [4]bool + _, _, _ = yysep3996, yyq3996, yy2arr3996 + const yyr3996 bool = false + yyq3996[0] = x.Kind != "" + yyq3996[1] = x.APIVersion != "" + yyq3996[2] = true + var yynn3996 int + if yyr3996 || yy2arr3996 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3996 = 1 + for _, b := range yyq3996 { if b { - yynn2++ + yynn3996++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3996) + yynn3996 = 0 } - if yyr2 || yy2arr2 { + if yyr3996 || yy2arr3996 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq3996[0] { + yym3998 := z.EncBinary() + _ = yym3998 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3996[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3999 := z.EncBinary() + _ = yym3999 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3996 || yy2arr3996 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3996[1] { + yym4001 := z.EncBinary() + _ = yym4001 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3996[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4002 := z.EncBinary() + _ = yym4002 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3996 || yy2arr3996 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3996[2] { + yy4004 := &x.ListMeta + yym4005 := z.EncBinary() + _ = yym4005 + if false { + } else if z.HasExtensions() && z.EncExt(yy4004) { + } else { + z.EncFallback(yy4004) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3996[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy4006 := &x.ListMeta + yym4007 := z.EncBinary() + _ = yym4007 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy4006) { } else { - z.EncFallback(yy6) + z.EncFallback(yy4006) } } } - if yyr2 || yy2arr2 { + if yyr3996 || yy2arr3996 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym4009 := z.EncBinary() + _ = yym4009 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) @@ -50172,65 +50222,15 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym4010 := z.EncBinary() + _ = yym4010 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3996 || yy2arr3996 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50243,25 +50243,25 @@ func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4011 := z.DecBinary() + _ = yym4011 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4012 := r.ContainerType() + if yyct4012 == codecSelferValueTypeMap1234 { + yyl4012 := r.ReadMapStart() + if yyl4012 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4012, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4012 == codecSelferValueTypeArray1234 { + yyl4012 := r.ReadArrayStart() + if yyl4012 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4012, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50273,12 +50273,12 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4013Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4013Slc + var yyhl4013 bool = l >= 0 + for yyj4013 := 0; ; yyj4013++ { + if yyhl4013 { + if yyj4013 >= l { break } } else { @@ -50287,35 +50287,10 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4013Slc = r.DecodeBytes(yys4013Slc, true, true) + yys4013 := string(yys4013Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv6), d) - } - } + switch yys4013 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -50328,10 +50303,35 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4016 := &x.ListMeta + yym4017 := z.DecBinary() + _ = yym4017 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4016) { + } else { + z.DecFallback(yyv4016, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4018 := &x.Items + yym4019 := z.DecBinary() + _ = yym4019 + if false { + } else { + h.decSliceResourceQuota((*[]ResourceQuota)(yyv4018), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4013) + } // end switch yys4013 + } // end for yyj4013 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50339,61 +50339,16 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj4020 int + var yyb4020 bool + var yyhl4020 bool = l >= 0 + yyj4020++ + if yyhl4020 { + yyb4020 = yyj4020 > l } else { - yyb10 = r.CheckBreak() + yyb4020 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb4020 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50403,13 +50358,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4020++ + if yyhl4020 { + yyb4020 = yyj4020 > l } else { - yyb10 = r.CheckBreak() + yyb4020 = r.CheckBreak() } - if yyb10 { + if yyb4020 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50419,18 +50374,63 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4020++ + if yyhl4020 { + yyb4020 = yyj4020 > l + } else { + yyb4020 = r.CheckBreak() + } + if yyb4020 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4023 := &x.ListMeta + yym4024 := z.DecBinary() + _ = yym4024 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4023) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv4023, false) } - if yyb10 { + } + yyj4020++ + if yyhl4020 { + yyb4020 = yyj4020 > l + } else { + yyb4020 = r.CheckBreak() + } + if yyb4020 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4025 := &x.Items + yym4026 := z.DecBinary() + _ = yym4026 + if false { + } else { + h.decSliceResourceQuota((*[]ResourceQuota)(yyv4025), d) + } + } + for { + yyj4020++ + if yyhl4020 { + yyb4020 = yyj4020 > l + } else { + yyb4020 = r.CheckBreak() + } + if yyb4020 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj4020-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50442,59 +50442,109 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4027 := z.EncBinary() + _ = yym4027 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = len(x.Data) != 0 - yyq2[2] = x.Type != "" - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4028 := !z.EncBinary() + yy2arr4028 := z.EncBasicHandle().StructToArray + var yyq4028 [5]bool + _, _, _ = yysep4028, yyq4028, yy2arr4028 + const yyr4028 bool = false + yyq4028[0] = x.Kind != "" + yyq4028[1] = x.APIVersion != "" + yyq4028[2] = true + yyq4028[3] = len(x.Data) != 0 + yyq4028[4] = x.Type != "" + var yynn4028 int + if yyr4028 || yy2arr4028 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn4028 = 0 + for _, b := range yyq4028 { if b { - yynn2++ + yynn4028++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4028) + yynn4028 = 0 } - if yyr2 || yy2arr2 { + if yyr4028 || yy2arr4028 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq4028[0] { + yym4030 := z.EncBinary() + _ = yym4030 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4028[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4031 := z.EncBinary() + _ = yym4031 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4028 || yy2arr4028 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4028[1] { + yym4033 := z.EncBinary() + _ = yym4033 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4028[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4034 := z.EncBinary() + _ = yym4034 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4028 || yy2arr4028 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4028[2] { + yy4036 := &x.ObjectMeta + yy4036.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4028[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy4037 := &x.ObjectMeta + yy4037.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr4028 || yy2arr4028 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq4028[3] { if x.Data == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym4039 := z.EncBinary() + _ = yym4039 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -50504,15 +50554,15 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq4028[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym4040 := z.EncBinary() + _ = yym4040 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -50520,72 +50570,22 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr4028 || yy2arr4028 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq4028[4] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq4028[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr4028 || yy2arr4028 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50598,25 +50598,25 @@ func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4042 := z.DecBinary() + _ = yym4042 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4043 := r.ContainerType() + if yyct4043 == codecSelferValueTypeMap1234 { + yyl4043 := r.ReadMapStart() + if yyl4043 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4043, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4043 == codecSelferValueTypeArray1234 { + yyl4043 := r.ReadArrayStart() + if yyl4043 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4043, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50628,12 +50628,12 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4044Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4044Slc + var yyhl4044 bool = l >= 0 + for yyj4044 := 0; ; yyj4044++ { + if yyhl4044 { + if yyj4044 >= l { break } } else { @@ -50642,35 +50642,10 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4044Slc = r.DecodeBytes(yys4044Slc, true, true) + yys4044 := string(yys4044Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "data": - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv5 := &x.Data - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv5), d) - } - } - case "type": - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = SecretType(r.DecodeString()) - } + switch yys4044 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -50683,10 +50658,35 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4047 := &x.ObjectMeta + yyv4047.CodecDecodeSelf(d) + } + case "data": + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4048 := &x.Data + yym4049 := z.DecBinary() + _ = yym4049 + if false { + } else { + h.decMapstringSliceuint8((*map[string][]uint8)(yyv4048), d) + } + } + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = SecretType(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4044) + } // end switch yys4044 + } // end for yyj4044 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50694,71 +50694,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj4051 int + var yyb4051 bool + var yyhl4051 bool = l >= 0 + yyj4051++ + if yyhl4051 { + yyb4051 = yyj4051 > l } else { - yyb10 = r.CheckBreak() + yyb4051 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv11 := &x.ObjectMeta - yyv11.CodecDecodeSelf(d) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv12 := &x.Data - yym13 := z.DecBinary() - _ = yym13 - if false { - } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv12), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = SecretType(r.DecodeString()) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb4051 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50768,13 +50713,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4051++ + if yyhl4051 { + yyb4051 = yyj4051 > l } else { - yyb10 = r.CheckBreak() + yyb4051 = r.CheckBreak() } - if yyb10 { + if yyb4051 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50784,18 +50729,73 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4051++ + if yyhl4051 { + yyb4051 = yyj4051 > l + } else { + yyb4051 = r.CheckBreak() + } + if yyb4051 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4054 := &x.ObjectMeta + yyv4054.CodecDecodeSelf(d) + } + yyj4051++ + if yyhl4051 { + yyb4051 = yyj4051 > l + } else { + yyb4051 = r.CheckBreak() + } + if yyb4051 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4055 := &x.Data + yym4056 := z.DecBinary() + _ = yym4056 + if false { } else { - yyb10 = r.CheckBreak() + h.decMapstringSliceuint8((*map[string][]uint8)(yyv4055), d) } - if yyb10 { + } + yyj4051++ + if yyhl4051 { + yyb4051 = yyj4051 > l + } else { + yyb4051 = r.CheckBreak() + } + if yyb4051 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = SecretType(r.DecodeString()) + } + for { + yyj4051++ + if yyhl4051 { + yyb4051 = yyj4051 > l + } else { + yyb4051 = r.CheckBreak() + } + if yyb4051 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj4051-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50804,8 +50804,8 @@ func (x SecretType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym4058 := z.EncBinary() + _ = yym4058 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -50817,8 +50817,8 @@ func (x *SecretType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4059 := z.DecBinary() + _ = yym4059 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -50833,68 +50833,118 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4060 := z.EncBinary() + _ = yym4060 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4061 := !z.EncBinary() + yy2arr4061 := z.EncBasicHandle().StructToArray + var yyq4061 [4]bool + _, _, _ = yysep4061, yyq4061, yy2arr4061 + const yyr4061 bool = false + yyq4061[0] = x.Kind != "" + yyq4061[1] = x.APIVersion != "" + yyq4061[2] = true + var yynn4061 int + if yyr4061 || yy2arr4061 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn4061 = 1 + for _, b := range yyq4061 { if b { - yynn2++ + yynn4061++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4061) + yynn4061 = 0 } - if yyr2 || yy2arr2 { + if yyr4061 || yy2arr4061 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq4061[0] { + yym4063 := z.EncBinary() + _ = yym4063 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4061[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4064 := z.EncBinary() + _ = yym4064 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4061 || yy2arr4061 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4061[1] { + yym4066 := z.EncBinary() + _ = yym4066 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4061[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4067 := z.EncBinary() + _ = yym4067 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4061 || yy2arr4061 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4061[2] { + yy4069 := &x.ListMeta + yym4070 := z.EncBinary() + _ = yym4070 + if false { + } else if z.HasExtensions() && z.EncExt(yy4069) { + } else { + z.EncFallback(yy4069) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4061[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy4071 := &x.ListMeta + yym4072 := z.EncBinary() + _ = yym4072 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy4071) { } else { - z.EncFallback(yy6) + z.EncFallback(yy4071) } } } - if yyr2 || yy2arr2 { + if yyr4061 || yy2arr4061 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym4074 := z.EncBinary() + _ = yym4074 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) @@ -50907,65 +50957,15 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym4075 := z.EncBinary() + _ = yym4075 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr4061 || yy2arr4061 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50978,25 +50978,25 @@ func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4076 := z.DecBinary() + _ = yym4076 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4077 := r.ContainerType() + if yyct4077 == codecSelferValueTypeMap1234 { + yyl4077 := r.ReadMapStart() + if yyl4077 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4077, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4077 == codecSelferValueTypeArray1234 { + yyl4077 := r.ReadArrayStart() + if yyl4077 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4077, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51008,12 +51008,12 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4078Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4078Slc + var yyhl4078 bool = l >= 0 + for yyj4078 := 0; ; yyj4078++ { + if yyhl4078 { + if yyj4078 >= l { break } } else { @@ -51022,35 +51022,10 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4078Slc = r.DecodeBytes(yys4078Slc, true, true) + yys4078 := string(yys4078Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceSecret((*[]Secret)(yyv6), d) - } - } + switch yys4078 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -51063,10 +51038,35 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4081 := &x.ListMeta + yym4082 := z.DecBinary() + _ = yym4082 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4081) { + } else { + z.DecFallback(yyv4081, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4083 := &x.Items + yym4084 := z.DecBinary() + _ = yym4084 + if false { + } else { + h.decSliceSecret((*[]Secret)(yyv4083), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4078) + } // end switch yys4078 + } // end for yyj4078 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51074,61 +51074,16 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj4085 int + var yyb4085 bool + var yyhl4085 bool = l >= 0 + yyj4085++ + if yyhl4085 { + yyb4085 = yyj4085 > l } else { - yyb10 = r.CheckBreak() + yyb4085 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceSecret((*[]Secret)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb4085 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51138,13 +51093,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4085++ + if yyhl4085 { + yyb4085 = yyj4085 > l } else { - yyb10 = r.CheckBreak() + yyb4085 = r.CheckBreak() } - if yyb10 { + if yyb4085 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51154,18 +51109,63 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4085++ + if yyhl4085 { + yyb4085 = yyj4085 > l + } else { + yyb4085 = r.CheckBreak() + } + if yyb4085 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4088 := &x.ListMeta + yym4089 := z.DecBinary() + _ = yym4089 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4088) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv4088, false) } - if yyb10 { + } + yyj4085++ + if yyhl4085 { + yyb4085 = yyj4085 > l + } else { + yyb4085 = r.CheckBreak() + } + if yyb4085 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4090 := &x.Items + yym4091 := z.DecBinary() + _ = yym4091 + if false { + } else { + h.decSliceSecret((*[]Secret)(yyv4090), d) + } + } + for { + yyj4085++ + if yyhl4085 { + yyb4085 = yyj4085 > l + } else { + yyb4085 = r.CheckBreak() + } + if yyb4085 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj4085-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51177,58 +51177,108 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4092 := z.EncBinary() + _ = yym4092 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = len(x.Data) != 0 - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4093 := !z.EncBinary() + yy2arr4093 := z.EncBasicHandle().StructToArray + var yyq4093 [4]bool + _, _, _ = yysep4093, yyq4093, yy2arr4093 + const yyr4093 bool = false + yyq4093[0] = x.Kind != "" + yyq4093[1] = x.APIVersion != "" + yyq4093[2] = true + yyq4093[3] = len(x.Data) != 0 + var yynn4093 int + if yyr4093 || yy2arr4093 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn4093 = 0 + for _, b := range yyq4093 { if b { - yynn2++ + yynn4093++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4093) + yynn4093 = 0 } - if yyr2 || yy2arr2 { + if yyr4093 || yy2arr4093 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq4093[0] { + yym4095 := z.EncBinary() + _ = yym4095 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4093[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4096 := z.EncBinary() + _ = yym4096 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4093 || yy2arr4093 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4093[1] { + yym4098 := z.EncBinary() + _ = yym4098 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4093[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4099 := z.EncBinary() + _ = yym4099 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4093 || yy2arr4093 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4093[2] { + yy4101 := &x.ObjectMeta + yy4101.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4093[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy4102 := &x.ObjectMeta + yy4102.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr4093 || yy2arr4093 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq4093[3] { if x.Data == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym4104 := z.EncBinary() + _ = yym4104 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -51238,15 +51288,15 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq4093[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym4105 := z.EncBinary() + _ = yym4105 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -51254,57 +51304,7 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr4093 || yy2arr4093 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51317,25 +51317,25 @@ func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4106 := z.DecBinary() + _ = yym4106 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4107 := r.ContainerType() + if yyct4107 == codecSelferValueTypeMap1234 { + yyl4107 := r.ReadMapStart() + if yyl4107 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4107, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4107 == codecSelferValueTypeArray1234 { + yyl4107 := r.ReadArrayStart() + if yyl4107 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4107, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51347,12 +51347,12 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4108Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4108Slc + var yyhl4108 bool = l >= 0 + for yyj4108 := 0; ; yyj4108++ { + if yyhl4108 { + if yyj4108 >= l { break } } else { @@ -51361,29 +51361,10 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4108Slc = r.DecodeBytes(yys4108Slc, true, true) + yys4108 := string(yys4108Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "data": - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv5 := &x.Data - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - z.F.DecMapStringStringX(yyv5, false, d) - } - } + switch yys4108 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -51396,10 +51377,29 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4111 := &x.ObjectMeta + yyv4111.CodecDecodeSelf(d) + } + case "data": + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4112 := &x.Data + yym4113 := z.DecBinary() + _ = yym4113 + if false { + } else { + z.F.DecMapStringStringX(yyv4112, false, d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4108) + } // end switch yys4108 + } // end for yyj4108 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51407,55 +51407,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj4114 int + var yyb4114 bool + var yyhl4114 bool = l >= 0 + yyj4114++ + if yyhl4114 { + yyb4114 = yyj4114 > l } else { - yyb9 = r.CheckBreak() + yyb4114 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv11 := &x.Data - yym12 := z.DecBinary() - _ = yym12 - if false { - } else { - z.F.DecMapStringStringX(yyv11, false, d) - } - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb4114 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51465,13 +51426,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj4114++ + if yyhl4114 { + yyb4114 = yyj4114 > l } else { - yyb9 = r.CheckBreak() + yyb4114 = r.CheckBreak() } - if yyb9 { + if yyb4114 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51481,18 +51442,57 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj4114++ + if yyhl4114 { + yyb4114 = yyj4114 > l + } else { + yyb4114 = r.CheckBreak() + } + if yyb4114 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4117 := &x.ObjectMeta + yyv4117.CodecDecodeSelf(d) + } + yyj4114++ + if yyhl4114 { + yyb4114 = yyj4114 > l + } else { + yyb4114 = r.CheckBreak() + } + if yyb4114 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4118 := &x.Data + yym4119 := z.DecBinary() + _ = yym4119 + if false { } else { - yyb9 = r.CheckBreak() + z.F.DecMapStringStringX(yyv4118, false, d) } - if yyb9 { + } + for { + yyj4114++ + if yyhl4114 { + yyb4114 = yyj4114 > l + } else { + yyb4114 = r.CheckBreak() + } + if yyb4114 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj4114-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51504,68 +51504,118 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4120 := z.EncBinary() + _ = yym4120 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4121 := !z.EncBinary() + yy2arr4121 := z.EncBasicHandle().StructToArray + var yyq4121 [4]bool + _, _, _ = yysep4121, yyq4121, yy2arr4121 + const yyr4121 bool = false + yyq4121[0] = x.Kind != "" + yyq4121[1] = x.APIVersion != "" + yyq4121[2] = true + var yynn4121 int + if yyr4121 || yy2arr4121 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn4121 = 1 + for _, b := range yyq4121 { if b { - yynn2++ + yynn4121++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4121) + yynn4121 = 0 } - if yyr2 || yy2arr2 { + if yyr4121 || yy2arr4121 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq4121[0] { + yym4123 := z.EncBinary() + _ = yym4123 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4121[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4124 := z.EncBinary() + _ = yym4124 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4121 || yy2arr4121 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4121[1] { + yym4126 := z.EncBinary() + _ = yym4126 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4121[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4127 := z.EncBinary() + _ = yym4127 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4121 || yy2arr4121 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4121[2] { + yy4129 := &x.ListMeta + yym4130 := z.EncBinary() + _ = yym4130 + if false { + } else if z.HasExtensions() && z.EncExt(yy4129) { + } else { + z.EncFallback(yy4129) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4121[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy4131 := &x.ListMeta + yym4132 := z.EncBinary() + _ = yym4132 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy4131) { } else { - z.EncFallback(yy6) + z.EncFallback(yy4131) } } } - if yyr2 || yy2arr2 { + if yyr4121 || yy2arr4121 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym4134 := z.EncBinary() + _ = yym4134 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) @@ -51578,65 +51628,15 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym4135 := z.EncBinary() + _ = yym4135 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr4121 || yy2arr4121 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51649,25 +51649,25 @@ func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4136 := z.DecBinary() + _ = yym4136 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4137 := r.ContainerType() + if yyct4137 == codecSelferValueTypeMap1234 { + yyl4137 := r.ReadMapStart() + if yyl4137 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4137, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4137 == codecSelferValueTypeArray1234 { + yyl4137 := r.ReadArrayStart() + if yyl4137 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4137, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51679,12 +51679,12 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4138Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4138Slc + var yyhl4138 bool = l >= 0 + for yyj4138 := 0; ; yyj4138++ { + if yyhl4138 { + if yyj4138 >= l { break } } else { @@ -51693,35 +51693,10 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4138Slc = r.DecodeBytes(yys4138Slc, true, true) + yys4138 := string(yys4138Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv6), d) - } - } + switch yys4138 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -51734,10 +51709,35 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4141 := &x.ListMeta + yym4142 := z.DecBinary() + _ = yym4142 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4141) { + } else { + z.DecFallback(yyv4141, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4143 := &x.Items + yym4144 := z.DecBinary() + _ = yym4144 + if false { + } else { + h.decSliceConfigMap((*[]ConfigMap)(yyv4143), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4138) + } // end switch yys4138 + } // end for yyj4138 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51745,61 +51745,16 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj4145 int + var yyb4145 bool + var yyhl4145 bool = l >= 0 + yyj4145++ + if yyhl4145 { + yyb4145 = yyj4145 > l } else { - yyb10 = r.CheckBreak() + yyb4145 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb4145 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51809,13 +51764,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4145++ + if yyhl4145 { + yyb4145 = yyj4145 > l } else { - yyb10 = r.CheckBreak() + yyb4145 = r.CheckBreak() } - if yyb10 { + if yyb4145 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51825,18 +51780,63 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4145++ + if yyhl4145 { + yyb4145 = yyj4145 > l + } else { + yyb4145 = r.CheckBreak() + } + if yyb4145 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4148 := &x.ListMeta + yym4149 := z.DecBinary() + _ = yym4149 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4148) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv4148, false) } - if yyb10 { + } + yyj4145++ + if yyhl4145 { + yyb4145 = yyj4145 > l + } else { + yyb4145 = r.CheckBreak() + } + if yyb4145 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4150 := &x.Items + yym4151 := z.DecBinary() + _ = yym4151 + if false { + } else { + h.decSliceConfigMap((*[]ConfigMap)(yyv4150), d) + } + } + for { + yyj4145++ + if yyhl4145 { + yyb4145 = yyj4145 > l + } else { + yyb4145 = r.CheckBreak() + } + if yyb4145 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj4145-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51845,8 +51845,8 @@ func (x PatchType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym4152 := z.EncBinary() + _ = yym4152 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -51858,8 +51858,8 @@ func (x *PatchType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4153 := z.DecBinary() + _ = yym4153 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -51871,8 +51871,8 @@ func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym4154 := z.EncBinary() + _ = yym4154 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -51884,8 +51884,8 @@ func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4155 := z.DecBinary() + _ = yym4155 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -51900,32 +51900,32 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4156 := z.EncBinary() + _ = yym4156 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.Message != "" - yyq2[3] = x.Error != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4157 := !z.EncBinary() + yy2arr4157 := z.EncBasicHandle().StructToArray + var yyq4157 [4]bool + _, _, _ = yysep4157, yyq4157, yy2arr4157 + const yyr4157 bool = false + yyq4157[2] = x.Message != "" + yyq4157[3] = x.Error != "" + var yynn4157 int + if yyr4157 || yy2arr4157 { r.EncodeArrayStart(4) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn4157 = 2 + for _, b := range yyq4157 { if b { - yynn2++ + yynn4157++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4157) + yynn4157 = 0 } - if yyr2 || yy2arr2 { + if yyr4157 || yy2arr4157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -51934,7 +51934,7 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr4157 || yy2arr4157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -51943,11 +51943,11 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr4157 || yy2arr4157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq4157[2] { + yym4161 := z.EncBinary() + _ = yym4161 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -51956,23 +51956,23 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq4157[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym4162 := z.EncBinary() + _ = yym4162 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr4157 || yy2arr4157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq4157[3] { + yym4164 := z.EncBinary() + _ = yym4164 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) @@ -51981,19 +51981,19 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq4157[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym4165 := z.EncBinary() + _ = yym4165 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } } - if yyr2 || yy2arr2 { + if yyr4157 || yy2arr4157 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52006,25 +52006,25 @@ func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4166 := z.DecBinary() + _ = yym4166 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4167 := r.ContainerType() + if yyct4167 == codecSelferValueTypeMap1234 { + yyl4167 := r.ReadMapStart() + if yyl4167 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4167, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4167 == codecSelferValueTypeArray1234 { + yyl4167 := r.ReadArrayStart() + if yyl4167 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4167, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52036,12 +52036,12 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4168Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4168Slc + var yyhl4168 bool = l >= 0 + for yyj4168 := 0; ; yyj4168++ { + if yyhl4168 { + if yyj4168 >= l { break } } else { @@ -52050,10 +52050,10 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4168Slc = r.DecodeBytes(yys4168Slc, true, true) + yys4168 := string(yys4168Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys4168 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -52079,9 +52079,9 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Error = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4168) + } // end switch yys4168 + } // end for yyj4168 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52089,16 +52089,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj4173 int + var yyb4173 bool + var yyhl4173 bool = l >= 0 + yyj4173++ + if yyhl4173 { + yyb4173 = yyj4173 > l } else { - yyb8 = r.CheckBreak() + yyb4173 = r.CheckBreak() } - if yyb8 { + if yyb4173 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52108,13 +52108,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = ComponentConditionType(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4173++ + if yyhl4173 { + yyb4173 = yyj4173 > l } else { - yyb8 = r.CheckBreak() + yyb4173 = r.CheckBreak() } - if yyb8 { + if yyb4173 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52124,13 +52124,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4173++ + if yyhl4173 { + yyb4173 = yyj4173 > l } else { - yyb8 = r.CheckBreak() + yyb4173 = r.CheckBreak() } - if yyb8 { + if yyb4173 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52140,13 +52140,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Message = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4173++ + if yyhl4173 { + yyb4173 = yyj4173 > l } else { - yyb8 = r.CheckBreak() + yyb4173 = r.CheckBreak() } - if yyb8 { + if yyb4173 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52157,17 +52157,17 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.Error = string(r.DecodeString()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4173++ + if yyhl4173 { + yyb4173 = yyj4173 > l } else { - yyb8 = r.CheckBreak() + yyb4173 = r.CheckBreak() } - if yyb8 { + if yyb4173 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj4173-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52179,58 +52179,108 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4178 := z.EncBinary() + _ = yym4178 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = len(x.Conditions) != 0 - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4179 := !z.EncBinary() + yy2arr4179 := z.EncBasicHandle().StructToArray + var yyq4179 [4]bool + _, _, _ = yysep4179, yyq4179, yy2arr4179 + const yyr4179 bool = false + yyq4179[0] = x.Kind != "" + yyq4179[1] = x.APIVersion != "" + yyq4179[2] = true + yyq4179[3] = len(x.Conditions) != 0 + var yynn4179 int + if yyr4179 || yy2arr4179 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn4179 = 0 + for _, b := range yyq4179 { if b { - yynn2++ + yynn4179++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4179) + yynn4179 = 0 } - if yyr2 || yy2arr2 { + if yyr4179 || yy2arr4179 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq4179[0] { + yym4181 := z.EncBinary() + _ = yym4181 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4179[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4182 := z.EncBinary() + _ = yym4182 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4179 || yy2arr4179 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4179[1] { + yym4184 := z.EncBinary() + _ = yym4184 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4179[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4185 := z.EncBinary() + _ = yym4185 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4179 || yy2arr4179 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4179[2] { + yy4187 := &x.ObjectMeta + yy4187.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4179[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy4188 := &x.ObjectMeta + yy4188.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr4179 || yy2arr4179 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq4179[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym4190 := z.EncBinary() + _ = yym4190 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -52240,15 +52290,15 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq4179[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym4191 := z.EncBinary() + _ = yym4191 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -52256,57 +52306,7 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr4179 || yy2arr4179 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52319,25 +52319,25 @@ func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4192 := z.DecBinary() + _ = yym4192 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4193 := r.ContainerType() + if yyct4193 == codecSelferValueTypeMap1234 { + yyl4193 := r.ReadMapStart() + if yyl4193 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4193, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4193 == codecSelferValueTypeArray1234 { + yyl4193 := r.ReadArrayStart() + if yyl4193 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4193, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52349,12 +52349,12 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4194Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4194Slc + var yyhl4194 bool = l >= 0 + for yyj4194 := 0; ; yyj4194++ { + if yyhl4194 { + if yyj4194 >= l { break } } else { @@ -52363,29 +52363,10 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4194Slc = r.DecodeBytes(yys4194Slc, true, true) + yys4194 := string(yys4194Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "conditions": - if r.TryDecodeAsNil() { - x.Conditions = nil - } else { - yyv5 := &x.Conditions - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv5), d) - } - } + switch yys4194 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -52398,10 +52379,29 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4197 := &x.ObjectMeta + yyv4197.CodecDecodeSelf(d) + } + case "conditions": + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv4198 := &x.Conditions + yym4199 := z.DecBinary() + _ = yym4199 + if false { + } else { + h.decSliceComponentCondition((*[]ComponentCondition)(yyv4198), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4194) + } // end switch yys4194 + } // end for yyj4194 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52409,55 +52409,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj4200 int + var yyb4200 bool + var yyhl4200 bool = l >= 0 + yyj4200++ + if yyhl4200 { + yyb4200 = yyj4200 > l } else { - yyb9 = r.CheckBreak() + yyb4200 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Conditions = nil - } else { - yyv11 := &x.Conditions - yym12 := z.DecBinary() - _ = yym12 - if false { - } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv11), d) - } - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb4200 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52467,13 +52428,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj4200++ + if yyhl4200 { + yyb4200 = yyj4200 > l } else { - yyb9 = r.CheckBreak() + yyb4200 = r.CheckBreak() } - if yyb9 { + if yyb4200 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52483,18 +52444,57 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj4200++ + if yyhl4200 { + yyb4200 = yyj4200 > l + } else { + yyb4200 = r.CheckBreak() + } + if yyb4200 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4203 := &x.ObjectMeta + yyv4203.CodecDecodeSelf(d) + } + yyj4200++ + if yyhl4200 { + yyb4200 = yyj4200 > l + } else { + yyb4200 = r.CheckBreak() + } + if yyb4200 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv4204 := &x.Conditions + yym4205 := z.DecBinary() + _ = yym4205 + if false { } else { - yyb9 = r.CheckBreak() + h.decSliceComponentCondition((*[]ComponentCondition)(yyv4204), d) } - if yyb9 { + } + for { + yyj4200++ + if yyhl4200 { + yyb4200 = yyj4200 > l + } else { + yyb4200 = r.CheckBreak() + } + if yyb4200 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj4200-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52506,68 +52506,118 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4206 := z.EncBinary() + _ = yym4206 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4207 := !z.EncBinary() + yy2arr4207 := z.EncBasicHandle().StructToArray + var yyq4207 [4]bool + _, _, _ = yysep4207, yyq4207, yy2arr4207 + const yyr4207 bool = false + yyq4207[0] = x.Kind != "" + yyq4207[1] = x.APIVersion != "" + yyq4207[2] = true + var yynn4207 int + if yyr4207 || yy2arr4207 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn4207 = 1 + for _, b := range yyq4207 { if b { - yynn2++ + yynn4207++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4207) + yynn4207 = 0 } - if yyr2 || yy2arr2 { + if yyr4207 || yy2arr4207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq4207[0] { + yym4209 := z.EncBinary() + _ = yym4209 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4207[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4210 := z.EncBinary() + _ = yym4210 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4207 || yy2arr4207 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4207[1] { + yym4212 := z.EncBinary() + _ = yym4212 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4207[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4213 := z.EncBinary() + _ = yym4213 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4207 || yy2arr4207 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4207[2] { + yy4215 := &x.ListMeta + yym4216 := z.EncBinary() + _ = yym4216 + if false { + } else if z.HasExtensions() && z.EncExt(yy4215) { + } else { + z.EncFallback(yy4215) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4207[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy4217 := &x.ListMeta + yym4218 := z.EncBinary() + _ = yym4218 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy4217) { } else { - z.EncFallback(yy6) + z.EncFallback(yy4217) } } } - if yyr2 || yy2arr2 { + if yyr4207 || yy2arr4207 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym4220 := z.EncBinary() + _ = yym4220 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) @@ -52580,65 +52630,15 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym4221 := z.EncBinary() + _ = yym4221 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr4207 || yy2arr4207 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52651,25 +52651,25 @@ func (x *ComponentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4222 := z.DecBinary() + _ = yym4222 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4223 := r.ContainerType() + if yyct4223 == codecSelferValueTypeMap1234 { + yyl4223 := r.ReadMapStart() + if yyl4223 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4223, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4223 == codecSelferValueTypeArray1234 { + yyl4223 := r.ReadArrayStart() + if yyl4223 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4223, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52681,12 +52681,12 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4224Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4224Slc + var yyhl4224 bool = l >= 0 + for yyj4224 := 0; ; yyj4224++ { + if yyhl4224 { + if yyj4224 >= l { break } } else { @@ -52695,35 +52695,10 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4224Slc = r.DecodeBytes(yys4224Slc, true, true) + yys4224 := string(yys4224Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv6), d) - } - } + switch yys4224 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -52736,10 +52711,35 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4227 := &x.ListMeta + yym4228 := z.DecBinary() + _ = yym4228 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4227) { + } else { + z.DecFallback(yyv4227, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4229 := &x.Items + yym4230 := z.DecBinary() + _ = yym4230 + if false { + } else { + h.decSliceComponentStatus((*[]ComponentStatus)(yyv4229), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4224) + } // end switch yys4224 + } // end for yyj4224 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52747,61 +52747,16 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj4231 int + var yyb4231 bool + var yyhl4231 bool = l >= 0 + yyj4231++ + if yyhl4231 { + yyb4231 = yyj4231 > l } else { - yyb10 = r.CheckBreak() + yyb4231 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb4231 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52811,13 +52766,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4231++ + if yyhl4231 { + yyb4231 = yyj4231 > l } else { - yyb10 = r.CheckBreak() + yyb4231 = r.CheckBreak() } - if yyb10 { + if yyb4231 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52827,18 +52782,63 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4231++ + if yyhl4231 { + yyb4231 = yyj4231 > l + } else { + yyb4231 = r.CheckBreak() + } + if yyb4231 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4234 := &x.ListMeta + yym4235 := z.DecBinary() + _ = yym4235 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4234) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv4234, false) } - if yyb10 { + } + yyj4231++ + if yyhl4231 { + yyb4231 = yyj4231 > l + } else { + yyb4231 = r.CheckBreak() + } + if yyb4231 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4236 := &x.Items + yym4237 := z.DecBinary() + _ = yym4237 + if false { + } else { + h.decSliceComponentStatus((*[]ComponentStatus)(yyv4236), d) + } + } + for { + yyj4231++ + if yyhl4231 { + yyb4231 = yyj4231 > l + } else { + yyb4231 = r.CheckBreak() + } + if yyb4231 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj4231-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52850,38 +52850,38 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4238 := z.EncBinary() + _ = yym4238 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Capabilities != nil - yyq2[1] = x.Privileged != nil - yyq2[2] = x.SELinuxOptions != nil - yyq2[3] = x.RunAsUser != nil - yyq2[4] = x.RunAsNonRoot != nil - yyq2[5] = x.ReadOnlyRootFilesystem != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep4239 := !z.EncBinary() + yy2arr4239 := z.EncBasicHandle().StructToArray + var yyq4239 [6]bool + _, _, _ = yysep4239, yyq4239, yy2arr4239 + const yyr4239 bool = false + yyq4239[0] = x.Capabilities != nil + yyq4239[1] = x.Privileged != nil + yyq4239[2] = x.SELinuxOptions != nil + yyq4239[3] = x.RunAsUser != nil + yyq4239[4] = x.RunAsNonRoot != nil + yyq4239[5] = x.ReadOnlyRootFilesystem != nil + var yynn4239 int + if yyr4239 || yy2arr4239 { r.EncodeArrayStart(6) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn4239 = 0 + for _, b := range yyq4239 { if b { - yynn2++ + yynn4239++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4239) + yynn4239 = 0 } - if yyr2 || yy2arr2 { + if yyr4239 || yy2arr4239 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq4239[0] { if x.Capabilities == nil { r.EncodeNil() } else { @@ -52891,7 +52891,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4239[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -52902,44 +52902,44 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr4239 || yy2arr4239 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq4239[1] { if x.Privileged == nil { r.EncodeNil() } else { - yy7 := *x.Privileged - yym8 := z.EncBinary() - _ = yym8 + yy4242 := *x.Privileged + yym4243 := z.EncBinary() + _ = yym4243 if false { } else { - r.EncodeBool(bool(yy7)) + r.EncodeBool(bool(yy4242)) } } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq4239[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Privileged == nil { r.EncodeNil() } else { - yy9 := *x.Privileged - yym10 := z.EncBinary() - _ = yym10 + yy4244 := *x.Privileged + yym4245 := z.EncBinary() + _ = yym4245 if false { } else { - r.EncodeBool(bool(yy9)) + r.EncodeBool(bool(yy4244)) } } } } - if yyr2 || yy2arr2 { + if yyr4239 || yy2arr4239 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq4239[2] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -52949,7 +52949,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq4239[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -52960,112 +52960,112 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr4239 || yy2arr4239 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq4239[3] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy15 := *x.RunAsUser - yym16 := z.EncBinary() - _ = yym16 + yy4248 := *x.RunAsUser + yym4249 := z.EncBinary() + _ = yym4249 if false { } else { - r.EncodeInt(int64(yy15)) + r.EncodeInt(int64(yy4248)) } } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq4239[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy17 := *x.RunAsUser - yym18 := z.EncBinary() - _ = yym18 + yy4250 := *x.RunAsUser + yym4251 := z.EncBinary() + _ = yym4251 if false { } else { - r.EncodeInt(int64(yy17)) + r.EncodeInt(int64(yy4250)) } } } } - if yyr2 || yy2arr2 { + if yyr4239 || yy2arr4239 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq4239[4] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy20 := *x.RunAsNonRoot - yym21 := z.EncBinary() - _ = yym21 + yy4253 := *x.RunAsNonRoot + yym4254 := z.EncBinary() + _ = yym4254 if false { } else { - r.EncodeBool(bool(yy20)) + r.EncodeBool(bool(yy4253)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq4239[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy22 := *x.RunAsNonRoot - yym23 := z.EncBinary() - _ = yym23 + yy4255 := *x.RunAsNonRoot + yym4256 := z.EncBinary() + _ = yym4256 if false { } else { - r.EncodeBool(bool(yy22)) + r.EncodeBool(bool(yy4255)) } } } } - if yyr2 || yy2arr2 { + if yyr4239 || yy2arr4239 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq4239[5] { if x.ReadOnlyRootFilesystem == nil { r.EncodeNil() } else { - yy25 := *x.ReadOnlyRootFilesystem - yym26 := z.EncBinary() - _ = yym26 + yy4258 := *x.ReadOnlyRootFilesystem + yym4259 := z.EncBinary() + _ = yym4259 if false { } else { - r.EncodeBool(bool(yy25)) + r.EncodeBool(bool(yy4258)) } } } else { r.EncodeNil() } } else { - if yyq2[5] { + if yyq4239[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ReadOnlyRootFilesystem == nil { r.EncodeNil() } else { - yy27 := *x.ReadOnlyRootFilesystem - yym28 := z.EncBinary() - _ = yym28 + yy4260 := *x.ReadOnlyRootFilesystem + yym4261 := z.EncBinary() + _ = yym4261 if false { } else { - r.EncodeBool(bool(yy27)) + r.EncodeBool(bool(yy4260)) } } } } - if yyr2 || yy2arr2 { + if yyr4239 || yy2arr4239 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53078,25 +53078,25 @@ func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4262 := z.DecBinary() + _ = yym4262 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4263 := r.ContainerType() + if yyct4263 == codecSelferValueTypeMap1234 { + yyl4263 := r.ReadMapStart() + if yyl4263 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4263, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4263 == codecSelferValueTypeArray1234 { + yyl4263 := r.ReadArrayStart() + if yyl4263 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4263, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53108,12 +53108,12 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4264Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4264Slc + var yyhl4264 bool = l >= 0 + for yyj4264 := 0; ; yyj4264++ { + if yyhl4264 { + if yyj4264 >= l { break } } else { @@ -53122,10 +53122,10 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4264Slc = r.DecodeBytes(yys4264Slc, true, true) + yys4264 := string(yys4264Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys4264 { case "capabilities": if r.TryDecodeAsNil() { if x.Capabilities != nil { @@ -53146,8 +53146,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Privileged == nil { x.Privileged = new(bool) } - yym6 := z.DecBinary() - _ = yym6 + yym4267 := z.DecBinary() + _ = yym4267 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() @@ -53173,8 +53173,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym9 := z.DecBinary() - _ = yym9 + yym4270 := z.DecBinary() + _ = yym4270 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -53189,8 +53189,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym11 := z.DecBinary() - _ = yym11 + yym4272 := z.DecBinary() + _ = yym4272 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -53205,17 +53205,17 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ReadOnlyRootFilesystem == nil { x.ReadOnlyRootFilesystem = new(bool) } - yym13 := z.DecBinary() - _ = yym13 + yym4274 := z.DecBinary() + _ = yym4274 if false { } else { *((*bool)(x.ReadOnlyRootFilesystem)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4264) + } // end switch yys4264 + } // end for yyj4264 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53223,16 +53223,16 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj14 int - var yyb14 bool - var yyhl14 bool = l >= 0 - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + var yyj4275 int + var yyb4275 bool + var yyhl4275 bool = l >= 0 + yyj4275++ + if yyhl4275 { + yyb4275 = yyj4275 > l } else { - yyb14 = r.CheckBreak() + yyb4275 = r.CheckBreak() } - if yyb14 { + if yyb4275 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53247,13 +53247,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.Capabilities.CodecDecodeSelf(d) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj4275++ + if yyhl4275 { + yyb4275 = yyj4275 > l } else { - yyb14 = r.CheckBreak() + yyb4275 = r.CheckBreak() } - if yyb14 { + if yyb4275 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53266,20 +53266,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Privileged == nil { x.Privileged = new(bool) } - yym17 := z.DecBinary() - _ = yym17 + yym4278 := z.DecBinary() + _ = yym4278 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj4275++ + if yyhl4275 { + yyb4275 = yyj4275 > l } else { - yyb14 = r.CheckBreak() + yyb4275 = r.CheckBreak() } - if yyb14 { + if yyb4275 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53294,13 +53294,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj4275++ + if yyhl4275 { + yyb4275 = yyj4275 > l } else { - yyb14 = r.CheckBreak() + yyb4275 = r.CheckBreak() } - if yyb14 { + if yyb4275 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53313,20 +53313,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym20 := z.DecBinary() - _ = yym20 + yym4281 := z.DecBinary() + _ = yym4281 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj4275++ + if yyhl4275 { + yyb4275 = yyj4275 > l } else { - yyb14 = r.CheckBreak() + yyb4275 = r.CheckBreak() } - if yyb14 { + if yyb4275 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53339,20 +53339,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym22 := z.DecBinary() - _ = yym22 + yym4283 := z.DecBinary() + _ = yym4283 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj4275++ + if yyhl4275 { + yyb4275 = yyj4275 > l } else { - yyb14 = r.CheckBreak() + yyb4275 = r.CheckBreak() } - if yyb14 { + if yyb4275 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53365,25 +53365,25 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.ReadOnlyRootFilesystem == nil { x.ReadOnlyRootFilesystem = new(bool) } - yym24 := z.DecBinary() - _ = yym24 + yym4285 := z.DecBinary() + _ = yym4285 if false { } else { *((*bool)(x.ReadOnlyRootFilesystem)) = r.DecodeBool() } } for { - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj4275++ + if yyhl4275 { + yyb4275 = yyj4275 > l } else { - yyb14 = r.CheckBreak() + yyb4275 = r.CheckBreak() } - if yyb14 { + if yyb4275 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj14-1, "") + z.DecStructFieldNotFound(yyj4275-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53395,38 +53395,38 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4286 := z.EncBinary() + _ = yym4286 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.User != "" - yyq2[1] = x.Role != "" - yyq2[2] = x.Type != "" - yyq2[3] = x.Level != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4287 := !z.EncBinary() + yy2arr4287 := z.EncBasicHandle().StructToArray + var yyq4287 [4]bool + _, _, _ = yysep4287, yyq4287, yy2arr4287 + const yyr4287 bool = false + yyq4287[0] = x.User != "" + yyq4287[1] = x.Role != "" + yyq4287[2] = x.Type != "" + yyq4287[3] = x.Level != "" + var yynn4287 int + if yyr4287 || yy2arr4287 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn4287 = 0 + for _, b := range yyq4287 { if b { - yynn2++ + yynn4287++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4287) + yynn4287 = 0 } - if yyr2 || yy2arr2 { + if yyr4287 || yy2arr4287 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq4287[0] { + yym4289 := z.EncBinary() + _ = yym4289 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -53435,23 +53435,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq4287[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym4290 := z.EncBinary() + _ = yym4290 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr2 || yy2arr2 { + if yyr4287 || yy2arr4287 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq4287[1] { + yym4292 := z.EncBinary() + _ = yym4292 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) @@ -53460,23 +53460,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq4287[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("role")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym4293 := z.EncBinary() + _ = yym4293 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) } } } - if yyr2 || yy2arr2 { + if yyr4287 || yy2arr4287 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq4287[2] { + yym4295 := z.EncBinary() + _ = yym4295 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -53485,23 +53485,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq4287[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym4296 := z.EncBinary() + _ = yym4296 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr2 || yy2arr2 { + if yyr4287 || yy2arr4287 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq4287[3] { + yym4298 := z.EncBinary() + _ = yym4298 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) @@ -53510,19 +53510,19 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq4287[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("level")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym4299 := z.EncBinary() + _ = yym4299 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) } } } - if yyr2 || yy2arr2 { + if yyr4287 || yy2arr4287 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53535,25 +53535,25 @@ func (x *SELinuxOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4300 := z.DecBinary() + _ = yym4300 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4301 := r.ContainerType() + if yyct4301 == codecSelferValueTypeMap1234 { + yyl4301 := r.ReadMapStart() + if yyl4301 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4301, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4301 == codecSelferValueTypeArray1234 { + yyl4301 := r.ReadArrayStart() + if yyl4301 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4301, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53565,12 +53565,12 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4302Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4302Slc + var yyhl4302 bool = l >= 0 + for yyj4302 := 0; ; yyj4302++ { + if yyhl4302 { + if yyj4302 >= l { break } } else { @@ -53579,10 +53579,10 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4302Slc = r.DecodeBytes(yys4302Slc, true, true) + yys4302 := string(yys4302Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys4302 { case "user": if r.TryDecodeAsNil() { x.User = "" @@ -53608,9 +53608,9 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4302) + } // end switch yys4302 + } // end for yyj4302 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53618,16 +53618,16 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj4307 int + var yyb4307 bool + var yyhl4307 bool = l >= 0 + yyj4307++ + if yyhl4307 { + yyb4307 = yyj4307 > l } else { - yyb8 = r.CheckBreak() + yyb4307 = r.CheckBreak() } - if yyb8 { + if yyb4307 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53637,13 +53637,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.User = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4307++ + if yyhl4307 { + yyb4307 = yyj4307 > l } else { - yyb8 = r.CheckBreak() + yyb4307 = r.CheckBreak() } - if yyb8 { + if yyb4307 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53653,13 +53653,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Role = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4307++ + if yyhl4307 { + yyb4307 = yyj4307 > l } else { - yyb8 = r.CheckBreak() + yyb4307 = r.CheckBreak() } - if yyb8 { + if yyb4307 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53669,13 +53669,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4307++ + if yyhl4307 { + yyb4307 = yyj4307 > l } else { - yyb8 = r.CheckBreak() + yyb4307 = r.CheckBreak() } - if yyb8 { + if yyb4307 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53686,17 +53686,17 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4307++ + if yyhl4307 { + yyb4307 = yyj4307 > l } else { - yyb8 = r.CheckBreak() + yyb4307 = r.CheckBreak() } - if yyb8 { + if yyb4307 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj4307-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53708,53 +53708,103 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4312 := z.EncBinary() + _ = yym4312 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4313 := !z.EncBinary() + yy2arr4313 := z.EncBasicHandle().StructToArray + var yyq4313 [5]bool + _, _, _ = yysep4313, yyq4313, yy2arr4313 + const yyr4313 bool = false + yyq4313[0] = x.Kind != "" + yyq4313[1] = x.APIVersion != "" + yyq4313[2] = true + var yynn4313 int + if yyr4313 || yy2arr4313 { r.EncodeArrayStart(5) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn4313 = 2 + for _, b := range yyq4313 { if b { - yynn2++ + yynn4313++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4313) + yynn4313 = 0 } - if yyr2 || yy2arr2 { + if yyr4313 || yy2arr4313 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq4313[0] { + yym4315 := z.EncBinary() + _ = yym4315 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4313[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4316 := z.EncBinary() + _ = yym4316 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4313 || yy2arr4313 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4313[1] { + yym4318 := z.EncBinary() + _ = yym4318 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4313[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4319 := z.EncBinary() + _ = yym4319 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4313 || yy2arr4313 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4313[2] { + yy4321 := &x.ObjectMeta + yy4321.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4313[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy4322 := &x.ObjectMeta + yy4322.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr4313 || yy2arr4313 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym9 := z.EncBinary() - _ = yym9 + yym4324 := z.EncBinary() + _ = yym4324 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) @@ -53763,20 +53813,20 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("range")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym10 := z.EncBinary() - _ = yym10 + yym4325 := z.EncBinary() + _ = yym4325 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) } } - if yyr2 || yy2arr2 { + if yyr4313 || yy2arr4313 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Data == nil { r.EncodeNil() } else { - yym12 := z.EncBinary() - _ = yym12 + yym4327 := z.EncBinary() + _ = yym4327 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -53789,65 +53839,15 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x.Data == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym4328 := z.EncBinary() + _ = yym4328 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr4313 || yy2arr4313 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53860,25 +53860,25 @@ func (x *RangeAllocation) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4329 := z.DecBinary() + _ = yym4329 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4330 := r.ContainerType() + if yyct4330 == codecSelferValueTypeMap1234 { + yyl4330 := r.ReadMapStart() + if yyl4330 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4330, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4330 == codecSelferValueTypeArray1234 { + yyl4330 := r.ReadArrayStart() + if yyl4330 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4330, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53890,12 +53890,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4331Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4331Slc + var yyhl4331 bool = l >= 0 + for yyj4331 := 0; ; yyj4331++ { + if yyhl4331 { + if yyj4331 >= l { break } } else { @@ -53904,35 +53904,10 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4331Slc = r.DecodeBytes(yys4331Slc, true, true) + yys4331 := string(yys4331Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "range": - if r.TryDecodeAsNil() { - x.Range = "" - } else { - x.Range = string(r.DecodeString()) - } - case "data": - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv6 := &x.Data - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - *yyv6 = r.DecodeBytes(*(*[]byte)(yyv6), false, false) - } - } + switch yys4331 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -53945,10 +53920,35 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4334 := &x.ObjectMeta + yyv4334.CodecDecodeSelf(d) + } + case "range": + if r.TryDecodeAsNil() { + x.Range = "" + } else { + x.Range = string(r.DecodeString()) + } + case "data": + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4336 := &x.Data + yym4337 := z.DecBinary() + _ = yym4337 + if false { + } else { + *yyv4336 = r.DecodeBytes(*(*[]byte)(yyv4336), false, false) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4331) + } // end switch yys4331 + } // end for yyj4331 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53956,71 +53956,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj4338 int + var yyb4338 bool + var yyhl4338 bool = l >= 0 + yyj4338++ + if yyhl4338 { + yyb4338 = yyj4338 > l } else { - yyb10 = r.CheckBreak() + yyb4338 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv11 := &x.ObjectMeta - yyv11.CodecDecodeSelf(d) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Range = "" - } else { - x.Range = string(r.DecodeString()) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv13 := &x.Data - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - *yyv13 = r.DecodeBytes(*(*[]byte)(yyv13), false, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb4338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54030,13 +53975,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4338++ + if yyhl4338 { + yyb4338 = yyj4338 > l } else { - yyb10 = r.CheckBreak() + yyb4338 = r.CheckBreak() } - if yyb10 { + if yyb4338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54046,18 +53991,73 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4338++ + if yyhl4338 { + yyb4338 = yyj4338 > l + } else { + yyb4338 = r.CheckBreak() + } + if yyb4338 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4341 := &x.ObjectMeta + yyv4341.CodecDecodeSelf(d) + } + yyj4338++ + if yyhl4338 { + yyb4338 = yyj4338 > l + } else { + yyb4338 = r.CheckBreak() + } + if yyb4338 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Range = "" + } else { + x.Range = string(r.DecodeString()) + } + yyj4338++ + if yyhl4338 { + yyb4338 = yyj4338 > l + } else { + yyb4338 = r.CheckBreak() + } + if yyb4338 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4343 := &x.Data + yym4344 := z.DecBinary() + _ = yym4344 + if false { } else { - yyb10 = r.CheckBreak() + *yyv4343 = r.DecodeBytes(*(*[]byte)(yyv4343), false, false) } - if yyb10 { + } + for { + yyj4338++ + if yyhl4338 { + yyb4338 = yyj4338 > l + } else { + yyb4338 = r.CheckBreak() + } + if yyb4338 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj4338-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54067,10 +54067,10 @@ func (x codecSelfer1234) encSliceOwnerReference(v []OwnerReference, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4345 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4346 := &yyv4345 + yy4346.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54080,86 +54080,83 @@ func (x codecSelfer1234) decSliceOwnerReference(v *[]OwnerReference, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []OwnerReference{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4347 := *v + yyh4347, yyl4347 := z.DecSliceHelperStart() + var yyc4347 bool + if yyl4347 == 0 { + if yyv4347 == nil { + yyv4347 = []OwnerReference{} + yyc4347 = true + } else if len(yyv4347) != 0 { + yyv4347 = yyv4347[:0] + yyc4347 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4347 > 0 { + var yyrr4347, yyrl4347 int + var yyrt4347 bool + if yyl4347 > cap(yyv4347) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4347 := len(yyv4347) > 0 + yyv24347 := yyv4347 + yyrl4347, yyrt4347 = z.DecInferLen(yyl4347, z.DecBasicHandle().MaxInitLen, 72) + if yyrt4347 { + if yyrl4347 <= cap(yyv4347) { + yyv4347 = yyv4347[:yyrl4347] } else { - yyv1 = make([]OwnerReference, yyrl1) + yyv4347 = make([]OwnerReference, yyrl4347) } } else { - yyv1 = make([]OwnerReference, yyrl1) + yyv4347 = make([]OwnerReference, yyrl4347) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4347 = true + yyrr4347 = len(yyv4347) + if yyrg4347 { + copy(yyv4347, yyv24347) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4347 != len(yyv4347) { + yyv4347 = yyv4347[:yyl4347] + yyc4347 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4347 := 0 + for ; yyj4347 < yyrr4347; yyj4347++ { + yyh4347.ElemContainerState(yyj4347) if r.TryDecodeAsNil() { - yyv1[yyj1] = OwnerReference{} + yyv4347[yyj4347] = OwnerReference{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4348 := &yyv4347[yyj4347] + yyv4348.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, OwnerReference{}) - yyh1.ElemContainerState(yyj1) + if yyrt4347 { + for ; yyj4347 < yyl4347; yyj4347++ { + yyv4347 = append(yyv4347, OwnerReference{}) + yyh4347.ElemContainerState(yyj4347) if r.TryDecodeAsNil() { - yyv1[yyj1] = OwnerReference{} + yyv4347[yyj4347] = OwnerReference{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4349 := &yyv4347[yyj4347] + yyv4349.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4347 := 0 + for ; !r.CheckBreak(); yyj4347++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, OwnerReference{}) // var yyz1 OwnerReference - yyc1 = true + if yyj4347 >= len(yyv4347) { + yyv4347 = append(yyv4347, OwnerReference{}) // var yyz4347 OwnerReference + yyc4347 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4347.ElemContainerState(yyj4347) + if yyj4347 < len(yyv4347) { if r.TryDecodeAsNil() { - yyv1[yyj1] = OwnerReference{} + yyv4347[yyj4347] = OwnerReference{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4350 := &yyv4347[yyj4347] + yyv4350.CodecDecodeSelf(d) } } else { @@ -54167,17 +54164,17 @@ func (x codecSelfer1234) decSliceOwnerReference(v *[]OwnerReference, d *codec197 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []OwnerReference{} - yyc1 = true + if yyj4347 < len(yyv4347) { + yyv4347 = yyv4347[:yyj4347] + yyc4347 = true + } else if yyj4347 == 0 && yyv4347 == nil { + yyv4347 = []OwnerReference{} + yyc4347 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4347.End() + if yyc4347 { + *v = yyv4347 } } @@ -54186,9 +54183,9 @@ func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolume z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4351 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1.CodecEncodeSelf(e) + yyv4351.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54198,78 +54195,75 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PersistentVolumeAccessMode{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4352 := *v + yyh4352, yyl4352 := z.DecSliceHelperStart() + var yyc4352 bool + if yyl4352 == 0 { + if yyv4352 == nil { + yyv4352 = []PersistentVolumeAccessMode{} + yyc4352 = true + } else if len(yyv4352) != 0 { + yyv4352 = yyv4352[:0] + yyc4352 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4352 > 0 { + var yyrr4352, yyrl4352 int + var yyrt4352 bool + if yyl4352 > cap(yyv4352) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl4352, yyrt4352 = z.DecInferLen(yyl4352, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4352 { + if yyrl4352 <= cap(yyv4352) { + yyv4352 = yyv4352[:yyrl4352] } else { - yyv1 = make([]PersistentVolumeAccessMode, yyrl1) + yyv4352 = make([]PersistentVolumeAccessMode, yyrl4352) } } else { - yyv1 = make([]PersistentVolumeAccessMode, yyrl1) + yyv4352 = make([]PersistentVolumeAccessMode, yyrl4352) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc4352 = true + yyrr4352 = len(yyv4352) + } else if yyl4352 != len(yyv4352) { + yyv4352 = yyv4352[:yyl4352] + yyc4352 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4352 := 0 + for ; yyj4352 < yyrr4352; yyj4352++ { + yyh4352.ElemContainerState(yyj4352) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4352[yyj4352] = "" } else { - yyv1[yyj1] = PersistentVolumeAccessMode(r.DecodeString()) + yyv4352[yyj4352] = PersistentVolumeAccessMode(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt4352 { + for ; yyj4352 < yyl4352; yyj4352++ { + yyv4352 = append(yyv4352, "") + yyh4352.ElemContainerState(yyj4352) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4352[yyj4352] = "" } else { - yyv1[yyj1] = PersistentVolumeAccessMode(r.DecodeString()) + yyv4352[yyj4352] = PersistentVolumeAccessMode(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4352 := 0 + for ; !r.CheckBreak(); yyj4352++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 PersistentVolumeAccessMode - yyc1 = true + if yyj4352 >= len(yyv4352) { + yyv4352 = append(yyv4352, "") // var yyz4352 PersistentVolumeAccessMode + yyc4352 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4352.ElemContainerState(yyj4352) + if yyj4352 < len(yyv4352) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4352[yyj4352] = "" } else { - yyv1[yyj1] = PersistentVolumeAccessMode(r.DecodeString()) + yyv4352[yyj4352] = PersistentVolumeAccessMode(r.DecodeString()) } } else { @@ -54277,17 +54271,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PersistentVolumeAccessMode{} - yyc1 = true + if yyj4352 < len(yyv4352) { + yyv4352 = yyv4352[:yyj4352] + yyc4352 = true + } else if yyj4352 == 0 && yyv4352 == nil { + yyv4352 = []PersistentVolumeAccessMode{} + yyc4352 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4352.End() + if yyc4352 { + *v = yyv4352 } } @@ -54296,10 +54290,10 @@ func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4356 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4357 := &yyv4356 + yy4357.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54309,86 +54303,83 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PersistentVolume{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4358 := *v + yyh4358, yyl4358 := z.DecSliceHelperStart() + var yyc4358 bool + if yyl4358 == 0 { + if yyv4358 == nil { + yyv4358 = []PersistentVolume{} + yyc4358 = true + } else if len(yyv4358) != 0 { + yyv4358 = yyv4358[:0] + yyc4358 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4358 > 0 { + var yyrr4358, yyrl4358 int + var yyrt4358 bool + if yyl4358 > cap(yyv4358) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 456) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4358 := len(yyv4358) > 0 + yyv24358 := yyv4358 + yyrl4358, yyrt4358 = z.DecInferLen(yyl4358, z.DecBasicHandle().MaxInitLen, 456) + if yyrt4358 { + if yyrl4358 <= cap(yyv4358) { + yyv4358 = yyv4358[:yyrl4358] } else { - yyv1 = make([]PersistentVolume, yyrl1) + yyv4358 = make([]PersistentVolume, yyrl4358) } } else { - yyv1 = make([]PersistentVolume, yyrl1) + yyv4358 = make([]PersistentVolume, yyrl4358) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4358 = true + yyrr4358 = len(yyv4358) + if yyrg4358 { + copy(yyv4358, yyv24358) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4358 != len(yyv4358) { + yyv4358 = yyv4358[:yyl4358] + yyc4358 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4358 := 0 + for ; yyj4358 < yyrr4358; yyj4358++ { + yyh4358.ElemContainerState(yyj4358) if r.TryDecodeAsNil() { - yyv1[yyj1] = PersistentVolume{} + yyv4358[yyj4358] = PersistentVolume{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4359 := &yyv4358[yyj4358] + yyv4359.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PersistentVolume{}) - yyh1.ElemContainerState(yyj1) + if yyrt4358 { + for ; yyj4358 < yyl4358; yyj4358++ { + yyv4358 = append(yyv4358, PersistentVolume{}) + yyh4358.ElemContainerState(yyj4358) if r.TryDecodeAsNil() { - yyv1[yyj1] = PersistentVolume{} + yyv4358[yyj4358] = PersistentVolume{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4360 := &yyv4358[yyj4358] + yyv4360.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4358 := 0 + for ; !r.CheckBreak(); yyj4358++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PersistentVolume{}) // var yyz1 PersistentVolume - yyc1 = true + if yyj4358 >= len(yyv4358) { + yyv4358 = append(yyv4358, PersistentVolume{}) // var yyz4358 PersistentVolume + yyc4358 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4358.ElemContainerState(yyj4358) + if yyj4358 < len(yyv4358) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PersistentVolume{} + yyv4358[yyj4358] = PersistentVolume{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4361 := &yyv4358[yyj4358] + yyv4361.CodecDecodeSelf(d) } } else { @@ -54396,17 +54387,17 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PersistentVolume{} - yyc1 = true + if yyj4358 < len(yyv4358) { + yyv4358 = yyv4358[:yyj4358] + yyc4358 = true + } else if yyj4358 == 0 && yyv4358 == nil { + yyv4358 = []PersistentVolume{} + yyc4358 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4358.End() + if yyc4358 { + *v = yyv4358 } } @@ -54415,10 +54406,10 @@ func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4362 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4363 := &yyv4362 + yy4363.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54428,86 +54419,83 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PersistentVolumeClaim{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4364 := *v + yyh4364, yyl4364 := z.DecSliceHelperStart() + var yyc4364 bool + if yyl4364 == 0 { + if yyv4364 == nil { + yyv4364 = []PersistentVolumeClaim{} + yyc4364 = true + } else if len(yyv4364) != 0 { + yyv4364 = yyv4364[:0] + yyc4364 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4364 > 0 { + var yyrr4364, yyrl4364 int + var yyrt4364 bool + if yyl4364 > cap(yyv4364) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 352) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4364 := len(yyv4364) > 0 + yyv24364 := yyv4364 + yyrl4364, yyrt4364 = z.DecInferLen(yyl4364, z.DecBasicHandle().MaxInitLen, 352) + if yyrt4364 { + if yyrl4364 <= cap(yyv4364) { + yyv4364 = yyv4364[:yyrl4364] } else { - yyv1 = make([]PersistentVolumeClaim, yyrl1) + yyv4364 = make([]PersistentVolumeClaim, yyrl4364) } } else { - yyv1 = make([]PersistentVolumeClaim, yyrl1) + yyv4364 = make([]PersistentVolumeClaim, yyrl4364) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4364 = true + yyrr4364 = len(yyv4364) + if yyrg4364 { + copy(yyv4364, yyv24364) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4364 != len(yyv4364) { + yyv4364 = yyv4364[:yyl4364] + yyc4364 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4364 := 0 + for ; yyj4364 < yyrr4364; yyj4364++ { + yyh4364.ElemContainerState(yyj4364) if r.TryDecodeAsNil() { - yyv1[yyj1] = PersistentVolumeClaim{} + yyv4364[yyj4364] = PersistentVolumeClaim{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4365 := &yyv4364[yyj4364] + yyv4365.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PersistentVolumeClaim{}) - yyh1.ElemContainerState(yyj1) + if yyrt4364 { + for ; yyj4364 < yyl4364; yyj4364++ { + yyv4364 = append(yyv4364, PersistentVolumeClaim{}) + yyh4364.ElemContainerState(yyj4364) if r.TryDecodeAsNil() { - yyv1[yyj1] = PersistentVolumeClaim{} + yyv4364[yyj4364] = PersistentVolumeClaim{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4366 := &yyv4364[yyj4364] + yyv4366.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4364 := 0 + for ; !r.CheckBreak(); yyj4364++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PersistentVolumeClaim{}) // var yyz1 PersistentVolumeClaim - yyc1 = true + if yyj4364 >= len(yyv4364) { + yyv4364 = append(yyv4364, PersistentVolumeClaim{}) // var yyz4364 PersistentVolumeClaim + yyc4364 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4364.ElemContainerState(yyj4364) + if yyj4364 < len(yyv4364) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PersistentVolumeClaim{} + yyv4364[yyj4364] = PersistentVolumeClaim{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4367 := &yyv4364[yyj4364] + yyv4367.CodecDecodeSelf(d) } } else { @@ -54515,17 +54503,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PersistentVolumeClaim{} - yyc1 = true + if yyj4364 < len(yyv4364) { + yyv4364 = yyv4364[:yyj4364] + yyc4364 = true + } else if yyj4364 == 0 && yyv4364 == nil { + yyv4364 = []PersistentVolumeClaim{} + yyc4364 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4364.End() + if yyc4364 { + *v = yyv4364 } } @@ -54534,10 +54522,10 @@ func (x codecSelfer1234) encSliceKeyToPath(v []KeyToPath, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4368 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4369 := &yyv4368 + yy4369.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54547,86 +54535,83 @@ func (x codecSelfer1234) decSliceKeyToPath(v *[]KeyToPath, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []KeyToPath{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4370 := *v + yyh4370, yyl4370 := z.DecSliceHelperStart() + var yyc4370 bool + if yyl4370 == 0 { + if yyv4370 == nil { + yyv4370 = []KeyToPath{} + yyc4370 = true + } else if len(yyv4370) != 0 { + yyv4370 = yyv4370[:0] + yyc4370 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4370 > 0 { + var yyrr4370, yyrl4370 int + var yyrt4370 bool + if yyl4370 > cap(yyv4370) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4370 := len(yyv4370) > 0 + yyv24370 := yyv4370 + yyrl4370, yyrt4370 = z.DecInferLen(yyl4370, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4370 { + if yyrl4370 <= cap(yyv4370) { + yyv4370 = yyv4370[:yyrl4370] } else { - yyv1 = make([]KeyToPath, yyrl1) + yyv4370 = make([]KeyToPath, yyrl4370) } } else { - yyv1 = make([]KeyToPath, yyrl1) + yyv4370 = make([]KeyToPath, yyrl4370) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4370 = true + yyrr4370 = len(yyv4370) + if yyrg4370 { + copy(yyv4370, yyv24370) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4370 != len(yyv4370) { + yyv4370 = yyv4370[:yyl4370] + yyc4370 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4370 := 0 + for ; yyj4370 < yyrr4370; yyj4370++ { + yyh4370.ElemContainerState(yyj4370) if r.TryDecodeAsNil() { - yyv1[yyj1] = KeyToPath{} + yyv4370[yyj4370] = KeyToPath{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4371 := &yyv4370[yyj4370] + yyv4371.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, KeyToPath{}) - yyh1.ElemContainerState(yyj1) + if yyrt4370 { + for ; yyj4370 < yyl4370; yyj4370++ { + yyv4370 = append(yyv4370, KeyToPath{}) + yyh4370.ElemContainerState(yyj4370) if r.TryDecodeAsNil() { - yyv1[yyj1] = KeyToPath{} + yyv4370[yyj4370] = KeyToPath{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4372 := &yyv4370[yyj4370] + yyv4372.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4370 := 0 + for ; !r.CheckBreak(); yyj4370++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, KeyToPath{}) // var yyz1 KeyToPath - yyc1 = true + if yyj4370 >= len(yyv4370) { + yyv4370 = append(yyv4370, KeyToPath{}) // var yyz4370 KeyToPath + yyc4370 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4370.ElemContainerState(yyj4370) + if yyj4370 < len(yyv4370) { if r.TryDecodeAsNil() { - yyv1[yyj1] = KeyToPath{} + yyv4370[yyj4370] = KeyToPath{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4373 := &yyv4370[yyj4370] + yyv4373.CodecDecodeSelf(d) } } else { @@ -54634,17 +54619,17 @@ func (x codecSelfer1234) decSliceKeyToPath(v *[]KeyToPath, d *codec1978.Decoder) } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []KeyToPath{} - yyc1 = true + if yyj4370 < len(yyv4370) { + yyv4370 = yyv4370[:yyj4370] + yyc4370 = true + } else if yyj4370 == 0 && yyv4370 == nil { + yyv4370 = []KeyToPath{} + yyc4370 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4370.End() + if yyc4370 { + *v = yyv4370 } } @@ -54653,10 +54638,10 @@ func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4374 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4375 := &yyv4374 + yy4375.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54666,86 +54651,83 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []DownwardAPIVolumeFile{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4376 := *v + yyh4376, yyl4376 := z.DecSliceHelperStart() + var yyc4376 bool + if yyl4376 == 0 { + if yyv4376 == nil { + yyv4376 = []DownwardAPIVolumeFile{} + yyc4376 = true + } else if len(yyv4376) != 0 { + yyv4376 = yyv4376[:0] + yyc4376 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4376 > 0 { + var yyrr4376, yyrl4376 int + var yyrt4376 bool + if yyl4376 > cap(yyv4376) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4376 := len(yyv4376) > 0 + yyv24376 := yyv4376 + yyrl4376, yyrt4376 = z.DecInferLen(yyl4376, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4376 { + if yyrl4376 <= cap(yyv4376) { + yyv4376 = yyv4376[:yyrl4376] } else { - yyv1 = make([]DownwardAPIVolumeFile, yyrl1) + yyv4376 = make([]DownwardAPIVolumeFile, yyrl4376) } } else { - yyv1 = make([]DownwardAPIVolumeFile, yyrl1) + yyv4376 = make([]DownwardAPIVolumeFile, yyrl4376) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4376 = true + yyrr4376 = len(yyv4376) + if yyrg4376 { + copy(yyv4376, yyv24376) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4376 != len(yyv4376) { + yyv4376 = yyv4376[:yyl4376] + yyc4376 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4376 := 0 + for ; yyj4376 < yyrr4376; yyj4376++ { + yyh4376.ElemContainerState(yyj4376) if r.TryDecodeAsNil() { - yyv1[yyj1] = DownwardAPIVolumeFile{} + yyv4376[yyj4376] = DownwardAPIVolumeFile{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4377 := &yyv4376[yyj4376] + yyv4377.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, DownwardAPIVolumeFile{}) - yyh1.ElemContainerState(yyj1) + if yyrt4376 { + for ; yyj4376 < yyl4376; yyj4376++ { + yyv4376 = append(yyv4376, DownwardAPIVolumeFile{}) + yyh4376.ElemContainerState(yyj4376) if r.TryDecodeAsNil() { - yyv1[yyj1] = DownwardAPIVolumeFile{} + yyv4376[yyj4376] = DownwardAPIVolumeFile{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4378 := &yyv4376[yyj4376] + yyv4378.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4376 := 0 + for ; !r.CheckBreak(); yyj4376++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, DownwardAPIVolumeFile{}) // var yyz1 DownwardAPIVolumeFile - yyc1 = true + if yyj4376 >= len(yyv4376) { + yyv4376 = append(yyv4376, DownwardAPIVolumeFile{}) // var yyz4376 DownwardAPIVolumeFile + yyc4376 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4376.ElemContainerState(yyj4376) + if yyj4376 < len(yyv4376) { if r.TryDecodeAsNil() { - yyv1[yyj1] = DownwardAPIVolumeFile{} + yyv4376[yyj4376] = DownwardAPIVolumeFile{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4379 := &yyv4376[yyj4376] + yyv4379.CodecDecodeSelf(d) } } else { @@ -54753,17 +54735,17 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []DownwardAPIVolumeFile{} - yyc1 = true + if yyj4376 < len(yyv4376) { + yyv4376 = yyv4376[:yyj4376] + yyc4376 = true + } else if yyj4376 == 0 && yyv4376 == nil { + yyv4376 = []DownwardAPIVolumeFile{} + yyc4376 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4376.End() + if yyc4376 { + *v = yyv4376 } } @@ -54772,10 +54754,10 @@ func (x codecSelfer1234) encSliceHTTPHeader(v []HTTPHeader, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4380 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4381 := &yyv4380 + yy4381.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54785,86 +54767,83 @@ func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []HTTPHeader{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4382 := *v + yyh4382, yyl4382 := z.DecSliceHelperStart() + var yyc4382 bool + if yyl4382 == 0 { + if yyv4382 == nil { + yyv4382 = []HTTPHeader{} + yyc4382 = true + } else if len(yyv4382) != 0 { + yyv4382 = yyv4382[:0] + yyc4382 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4382 > 0 { + var yyrr4382, yyrl4382 int + var yyrt4382 bool + if yyl4382 > cap(yyv4382) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4382 := len(yyv4382) > 0 + yyv24382 := yyv4382 + yyrl4382, yyrt4382 = z.DecInferLen(yyl4382, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4382 { + if yyrl4382 <= cap(yyv4382) { + yyv4382 = yyv4382[:yyrl4382] } else { - yyv1 = make([]HTTPHeader, yyrl1) + yyv4382 = make([]HTTPHeader, yyrl4382) } } else { - yyv1 = make([]HTTPHeader, yyrl1) + yyv4382 = make([]HTTPHeader, yyrl4382) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4382 = true + yyrr4382 = len(yyv4382) + if yyrg4382 { + copy(yyv4382, yyv24382) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4382 != len(yyv4382) { + yyv4382 = yyv4382[:yyl4382] + yyc4382 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4382 := 0 + for ; yyj4382 < yyrr4382; yyj4382++ { + yyh4382.ElemContainerState(yyj4382) if r.TryDecodeAsNil() { - yyv1[yyj1] = HTTPHeader{} + yyv4382[yyj4382] = HTTPHeader{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4383 := &yyv4382[yyj4382] + yyv4383.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, HTTPHeader{}) - yyh1.ElemContainerState(yyj1) + if yyrt4382 { + for ; yyj4382 < yyl4382; yyj4382++ { + yyv4382 = append(yyv4382, HTTPHeader{}) + yyh4382.ElemContainerState(yyj4382) if r.TryDecodeAsNil() { - yyv1[yyj1] = HTTPHeader{} + yyv4382[yyj4382] = HTTPHeader{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4384 := &yyv4382[yyj4382] + yyv4384.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4382 := 0 + for ; !r.CheckBreak(); yyj4382++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, HTTPHeader{}) // var yyz1 HTTPHeader - yyc1 = true + if yyj4382 >= len(yyv4382) { + yyv4382 = append(yyv4382, HTTPHeader{}) // var yyz4382 HTTPHeader + yyc4382 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4382.ElemContainerState(yyj4382) + if yyj4382 < len(yyv4382) { if r.TryDecodeAsNil() { - yyv1[yyj1] = HTTPHeader{} + yyv4382[yyj4382] = HTTPHeader{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4385 := &yyv4382[yyj4382] + yyv4385.CodecDecodeSelf(d) } } else { @@ -54872,17 +54851,17 @@ func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decode } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []HTTPHeader{} - yyc1 = true + if yyj4382 < len(yyv4382) { + yyv4382 = yyv4382[:yyj4382] + yyc4382 = true + } else if yyj4382 == 0 && yyv4382 == nil { + yyv4382 = []HTTPHeader{} + yyc4382 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4382.End() + if yyc4382 { + *v = yyv4382 } } @@ -54891,9 +54870,9 @@ func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4386 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1.CodecEncodeSelf(e) + yyv4386.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54903,78 +54882,75 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Capability{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4387 := *v + yyh4387, yyl4387 := z.DecSliceHelperStart() + var yyc4387 bool + if yyl4387 == 0 { + if yyv4387 == nil { + yyv4387 = []Capability{} + yyc4387 = true + } else if len(yyv4387) != 0 { + yyv4387 = yyv4387[:0] + yyc4387 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4387 > 0 { + var yyrr4387, yyrl4387 int + var yyrt4387 bool + if yyl4387 > cap(yyv4387) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl4387, yyrt4387 = z.DecInferLen(yyl4387, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4387 { + if yyrl4387 <= cap(yyv4387) { + yyv4387 = yyv4387[:yyrl4387] } else { - yyv1 = make([]Capability, yyrl1) + yyv4387 = make([]Capability, yyrl4387) } } else { - yyv1 = make([]Capability, yyrl1) + yyv4387 = make([]Capability, yyrl4387) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc4387 = true + yyrr4387 = len(yyv4387) + } else if yyl4387 != len(yyv4387) { + yyv4387 = yyv4387[:yyl4387] + yyc4387 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4387 := 0 + for ; yyj4387 < yyrr4387; yyj4387++ { + yyh4387.ElemContainerState(yyj4387) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4387[yyj4387] = "" } else { - yyv1[yyj1] = Capability(r.DecodeString()) + yyv4387[yyj4387] = Capability(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt4387 { + for ; yyj4387 < yyl4387; yyj4387++ { + yyv4387 = append(yyv4387, "") + yyh4387.ElemContainerState(yyj4387) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4387[yyj4387] = "" } else { - yyv1[yyj1] = Capability(r.DecodeString()) + yyv4387[yyj4387] = Capability(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4387 := 0 + for ; !r.CheckBreak(); yyj4387++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 Capability - yyc1 = true + if yyj4387 >= len(yyv4387) { + yyv4387 = append(yyv4387, "") // var yyz4387 Capability + yyc4387 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4387.ElemContainerState(yyj4387) + if yyj4387 < len(yyv4387) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4387[yyj4387] = "" } else { - yyv1[yyj1] = Capability(r.DecodeString()) + yyv4387[yyj4387] = Capability(r.DecodeString()) } } else { @@ -54982,17 +54958,17 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Capability{} - yyc1 = true + if yyj4387 < len(yyv4387) { + yyv4387 = yyv4387[:yyj4387] + yyc4387 = true + } else if yyj4387 == 0 && yyv4387 == nil { + yyv4387 = []Capability{} + yyc4387 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4387.End() + if yyc4387 { + *v = yyv4387 } } @@ -55001,10 +54977,10 @@ func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4391 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4392 := &yyv4391 + yy4392.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55014,86 +54990,83 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ContainerPort{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4393 := *v + yyh4393, yyl4393 := z.DecSliceHelperStart() + var yyc4393 bool + if yyl4393 == 0 { + if yyv4393 == nil { + yyv4393 = []ContainerPort{} + yyc4393 = true + } else if len(yyv4393) != 0 { + yyv4393 = yyv4393[:0] + yyc4393 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4393 > 0 { + var yyrr4393, yyrl4393 int + var yyrt4393 bool + if yyl4393 > cap(yyv4393) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4393 := len(yyv4393) > 0 + yyv24393 := yyv4393 + yyrl4393, yyrt4393 = z.DecInferLen(yyl4393, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4393 { + if yyrl4393 <= cap(yyv4393) { + yyv4393 = yyv4393[:yyrl4393] } else { - yyv1 = make([]ContainerPort, yyrl1) + yyv4393 = make([]ContainerPort, yyrl4393) } } else { - yyv1 = make([]ContainerPort, yyrl1) + yyv4393 = make([]ContainerPort, yyrl4393) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4393 = true + yyrr4393 = len(yyv4393) + if yyrg4393 { + copy(yyv4393, yyv24393) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4393 != len(yyv4393) { + yyv4393 = yyv4393[:yyl4393] + yyc4393 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4393 := 0 + for ; yyj4393 < yyrr4393; yyj4393++ { + yyh4393.ElemContainerState(yyj4393) if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerPort{} + yyv4393[yyj4393] = ContainerPort{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4394 := &yyv4393[yyj4393] + yyv4394.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ContainerPort{}) - yyh1.ElemContainerState(yyj1) + if yyrt4393 { + for ; yyj4393 < yyl4393; yyj4393++ { + yyv4393 = append(yyv4393, ContainerPort{}) + yyh4393.ElemContainerState(yyj4393) if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerPort{} + yyv4393[yyj4393] = ContainerPort{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4395 := &yyv4393[yyj4393] + yyv4395.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4393 := 0 + for ; !r.CheckBreak(); yyj4393++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ContainerPort{}) // var yyz1 ContainerPort - yyc1 = true + if yyj4393 >= len(yyv4393) { + yyv4393 = append(yyv4393, ContainerPort{}) // var yyz4393 ContainerPort + yyc4393 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4393.ElemContainerState(yyj4393) + if yyj4393 < len(yyv4393) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerPort{} + yyv4393[yyj4393] = ContainerPort{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4396 := &yyv4393[yyj4393] + yyv4396.CodecDecodeSelf(d) } } else { @@ -55101,17 +55074,17 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ContainerPort{} - yyc1 = true + if yyj4393 < len(yyv4393) { + yyv4393 = yyv4393[:yyj4393] + yyc4393 = true + } else if yyj4393 == 0 && yyv4393 == nil { + yyv4393 = []ContainerPort{} + yyc4393 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4393.End() + if yyc4393 { + *v = yyv4393 } } @@ -55120,10 +55093,10 @@ func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4397 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4398 := &yyv4397 + yy4398.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55133,86 +55106,83 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []EnvVar{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4399 := *v + yyh4399, yyl4399 := z.DecSliceHelperStart() + var yyc4399 bool + if yyl4399 == 0 { + if yyv4399 == nil { + yyv4399 = []EnvVar{} + yyc4399 = true + } else if len(yyv4399) != 0 { + yyv4399 = yyv4399[:0] + yyc4399 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4399 > 0 { + var yyrr4399, yyrl4399 int + var yyrt4399 bool + if yyl4399 > cap(yyv4399) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4399 := len(yyv4399) > 0 + yyv24399 := yyv4399 + yyrl4399, yyrt4399 = z.DecInferLen(yyl4399, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4399 { + if yyrl4399 <= cap(yyv4399) { + yyv4399 = yyv4399[:yyrl4399] } else { - yyv1 = make([]EnvVar, yyrl1) + yyv4399 = make([]EnvVar, yyrl4399) } } else { - yyv1 = make([]EnvVar, yyrl1) + yyv4399 = make([]EnvVar, yyrl4399) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4399 = true + yyrr4399 = len(yyv4399) + if yyrg4399 { + copy(yyv4399, yyv24399) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4399 != len(yyv4399) { + yyv4399 = yyv4399[:yyl4399] + yyc4399 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4399 := 0 + for ; yyj4399 < yyrr4399; yyj4399++ { + yyh4399.ElemContainerState(yyj4399) if r.TryDecodeAsNil() { - yyv1[yyj1] = EnvVar{} + yyv4399[yyj4399] = EnvVar{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4400 := &yyv4399[yyj4399] + yyv4400.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, EnvVar{}) - yyh1.ElemContainerState(yyj1) + if yyrt4399 { + for ; yyj4399 < yyl4399; yyj4399++ { + yyv4399 = append(yyv4399, EnvVar{}) + yyh4399.ElemContainerState(yyj4399) if r.TryDecodeAsNil() { - yyv1[yyj1] = EnvVar{} + yyv4399[yyj4399] = EnvVar{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4401 := &yyv4399[yyj4399] + yyv4401.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4399 := 0 + for ; !r.CheckBreak(); yyj4399++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, EnvVar{}) // var yyz1 EnvVar - yyc1 = true + if yyj4399 >= len(yyv4399) { + yyv4399 = append(yyv4399, EnvVar{}) // var yyz4399 EnvVar + yyc4399 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4399.ElemContainerState(yyj4399) + if yyj4399 < len(yyv4399) { if r.TryDecodeAsNil() { - yyv1[yyj1] = EnvVar{} + yyv4399[yyj4399] = EnvVar{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4402 := &yyv4399[yyj4399] + yyv4402.CodecDecodeSelf(d) } } else { @@ -55220,17 +55190,17 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []EnvVar{} - yyc1 = true + if yyj4399 < len(yyv4399) { + yyv4399 = yyv4399[:yyj4399] + yyc4399 = true + } else if yyj4399 == 0 && yyv4399 == nil { + yyv4399 = []EnvVar{} + yyc4399 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4399.End() + if yyc4399 { + *v = yyv4399 } } @@ -55239,10 +55209,10 @@ func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4403 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4404 := &yyv4403 + yy4404.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55252,86 +55222,83 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []VolumeMount{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4405 := *v + yyh4405, yyl4405 := z.DecSliceHelperStart() + var yyc4405 bool + if yyl4405 == 0 { + if yyv4405 == nil { + yyv4405 = []VolumeMount{} + yyc4405 = true + } else if len(yyv4405) != 0 { + yyv4405 = yyv4405[:0] + yyc4405 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4405 > 0 { + var yyrr4405, yyrl4405 int + var yyrt4405 bool + if yyl4405 > cap(yyv4405) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4405 := len(yyv4405) > 0 + yyv24405 := yyv4405 + yyrl4405, yyrt4405 = z.DecInferLen(yyl4405, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4405 { + if yyrl4405 <= cap(yyv4405) { + yyv4405 = yyv4405[:yyrl4405] } else { - yyv1 = make([]VolumeMount, yyrl1) + yyv4405 = make([]VolumeMount, yyrl4405) } } else { - yyv1 = make([]VolumeMount, yyrl1) + yyv4405 = make([]VolumeMount, yyrl4405) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4405 = true + yyrr4405 = len(yyv4405) + if yyrg4405 { + copy(yyv4405, yyv24405) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4405 != len(yyv4405) { + yyv4405 = yyv4405[:yyl4405] + yyc4405 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4405 := 0 + for ; yyj4405 < yyrr4405; yyj4405++ { + yyh4405.ElemContainerState(yyj4405) if r.TryDecodeAsNil() { - yyv1[yyj1] = VolumeMount{} + yyv4405[yyj4405] = VolumeMount{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4406 := &yyv4405[yyj4405] + yyv4406.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, VolumeMount{}) - yyh1.ElemContainerState(yyj1) + if yyrt4405 { + for ; yyj4405 < yyl4405; yyj4405++ { + yyv4405 = append(yyv4405, VolumeMount{}) + yyh4405.ElemContainerState(yyj4405) if r.TryDecodeAsNil() { - yyv1[yyj1] = VolumeMount{} + yyv4405[yyj4405] = VolumeMount{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4407 := &yyv4405[yyj4405] + yyv4407.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4405 := 0 + for ; !r.CheckBreak(); yyj4405++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, VolumeMount{}) // var yyz1 VolumeMount - yyc1 = true + if yyj4405 >= len(yyv4405) { + yyv4405 = append(yyv4405, VolumeMount{}) // var yyz4405 VolumeMount + yyc4405 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4405.ElemContainerState(yyj4405) + if yyj4405 < len(yyv4405) { if r.TryDecodeAsNil() { - yyv1[yyj1] = VolumeMount{} + yyv4405[yyj4405] = VolumeMount{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4408 := &yyv4405[yyj4405] + yyv4408.CodecDecodeSelf(d) } } else { @@ -55339,17 +55306,17 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []VolumeMount{} - yyc1 = true + if yyj4405 < len(yyv4405) { + yyv4405 = yyv4405[:yyj4405] + yyc4405 = true + } else if yyj4405 == 0 && yyv4405 == nil { + yyv4405 = []VolumeMount{} + yyc4405 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4405.End() + if yyc4405 { + *v = yyv4405 } } @@ -55358,10 +55325,10 @@ func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4409 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4410 := &yyv4409 + yy4410.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55371,86 +55338,83 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Pod{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4411 := *v + yyh4411, yyl4411 := z.DecSliceHelperStart() + var yyc4411 bool + if yyl4411 == 0 { + if yyv4411 == nil { + yyv4411 = []Pod{} + yyc4411 = true + } else if len(yyv4411) != 0 { + yyv4411 = yyv4411[:0] + yyc4411 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4411 > 0 { + var yyrr4411, yyrl4411 int + var yyrt4411 bool + if yyl4411 > cap(yyv4411) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 624) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4411 := len(yyv4411) > 0 + yyv24411 := yyv4411 + yyrl4411, yyrt4411 = z.DecInferLen(yyl4411, z.DecBasicHandle().MaxInitLen, 624) + if yyrt4411 { + if yyrl4411 <= cap(yyv4411) { + yyv4411 = yyv4411[:yyrl4411] } else { - yyv1 = make([]Pod, yyrl1) + yyv4411 = make([]Pod, yyrl4411) } } else { - yyv1 = make([]Pod, yyrl1) + yyv4411 = make([]Pod, yyrl4411) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4411 = true + yyrr4411 = len(yyv4411) + if yyrg4411 { + copy(yyv4411, yyv24411) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4411 != len(yyv4411) { + yyv4411 = yyv4411[:yyl4411] + yyc4411 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4411 := 0 + for ; yyj4411 < yyrr4411; yyj4411++ { + yyh4411.ElemContainerState(yyj4411) if r.TryDecodeAsNil() { - yyv1[yyj1] = Pod{} + yyv4411[yyj4411] = Pod{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4412 := &yyv4411[yyj4411] + yyv4412.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Pod{}) - yyh1.ElemContainerState(yyj1) + if yyrt4411 { + for ; yyj4411 < yyl4411; yyj4411++ { + yyv4411 = append(yyv4411, Pod{}) + yyh4411.ElemContainerState(yyj4411) if r.TryDecodeAsNil() { - yyv1[yyj1] = Pod{} + yyv4411[yyj4411] = Pod{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4413 := &yyv4411[yyj4411] + yyv4413.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4411 := 0 + for ; !r.CheckBreak(); yyj4411++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Pod{}) // var yyz1 Pod - yyc1 = true + if yyj4411 >= len(yyv4411) { + yyv4411 = append(yyv4411, Pod{}) // var yyz4411 Pod + yyc4411 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4411.ElemContainerState(yyj4411) + if yyj4411 < len(yyv4411) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Pod{} + yyv4411[yyj4411] = Pod{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4414 := &yyv4411[yyj4411] + yyv4414.CodecDecodeSelf(d) } } else { @@ -55458,17 +55422,17 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Pod{} - yyc1 = true + if yyj4411 < len(yyv4411) { + yyv4411 = yyv4411[:yyj4411] + yyc4411 = true + } else if yyj4411 == 0 && yyv4411 == nil { + yyv4411 = []Pod{} + yyc4411 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4411.End() + if yyc4411 { + *v = yyv4411 } } @@ -55477,10 +55441,10 @@ func (x codecSelfer1234) encSliceNodeSelectorTerm(v []NodeSelectorTerm, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4415 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4416 := &yyv4415 + yy4416.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55490,86 +55454,83 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NodeSelectorTerm{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4417 := *v + yyh4417, yyl4417 := z.DecSliceHelperStart() + var yyc4417 bool + if yyl4417 == 0 { + if yyv4417 == nil { + yyv4417 = []NodeSelectorTerm{} + yyc4417 = true + } else if len(yyv4417) != 0 { + yyv4417 = yyv4417[:0] + yyc4417 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4417 > 0 { + var yyrr4417, yyrl4417 int + var yyrt4417 bool + if yyl4417 > cap(yyv4417) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4417 := len(yyv4417) > 0 + yyv24417 := yyv4417 + yyrl4417, yyrt4417 = z.DecInferLen(yyl4417, z.DecBasicHandle().MaxInitLen, 24) + if yyrt4417 { + if yyrl4417 <= cap(yyv4417) { + yyv4417 = yyv4417[:yyrl4417] } else { - yyv1 = make([]NodeSelectorTerm, yyrl1) + yyv4417 = make([]NodeSelectorTerm, yyrl4417) } } else { - yyv1 = make([]NodeSelectorTerm, yyrl1) + yyv4417 = make([]NodeSelectorTerm, yyrl4417) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4417 = true + yyrr4417 = len(yyv4417) + if yyrg4417 { + copy(yyv4417, yyv24417) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4417 != len(yyv4417) { + yyv4417 = yyv4417[:yyl4417] + yyc4417 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4417 := 0 + for ; yyj4417 < yyrr4417; yyj4417++ { + yyh4417.ElemContainerState(yyj4417) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeSelectorTerm{} + yyv4417[yyj4417] = NodeSelectorTerm{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4418 := &yyv4417[yyj4417] + yyv4418.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NodeSelectorTerm{}) - yyh1.ElemContainerState(yyj1) + if yyrt4417 { + for ; yyj4417 < yyl4417; yyj4417++ { + yyv4417 = append(yyv4417, NodeSelectorTerm{}) + yyh4417.ElemContainerState(yyj4417) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeSelectorTerm{} + yyv4417[yyj4417] = NodeSelectorTerm{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4419 := &yyv4417[yyj4417] + yyv4419.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4417 := 0 + for ; !r.CheckBreak(); yyj4417++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NodeSelectorTerm{}) // var yyz1 NodeSelectorTerm - yyc1 = true + if yyj4417 >= len(yyv4417) { + yyv4417 = append(yyv4417, NodeSelectorTerm{}) // var yyz4417 NodeSelectorTerm + yyc4417 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4417.ElemContainerState(yyj4417) + if yyj4417 < len(yyv4417) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeSelectorTerm{} + yyv4417[yyj4417] = NodeSelectorTerm{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4420 := &yyv4417[yyj4417] + yyv4420.CodecDecodeSelf(d) } } else { @@ -55577,17 +55538,17 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NodeSelectorTerm{} - yyc1 = true + if yyj4417 < len(yyv4417) { + yyv4417 = yyv4417[:yyj4417] + yyc4417 = true + } else if yyj4417 == 0 && yyv4417 == nil { + yyv4417 = []NodeSelectorTerm{} + yyc4417 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4417.End() + if yyc4417 { + *v = yyv4417 } } @@ -55596,10 +55557,10 @@ func (x codecSelfer1234) encSliceNodeSelectorRequirement(v []NodeSelectorRequire z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4421 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4422 := &yyv4421 + yy4422.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55609,86 +55570,83 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NodeSelectorRequirement{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4423 := *v + yyh4423, yyl4423 := z.DecSliceHelperStart() + var yyc4423 bool + if yyl4423 == 0 { + if yyv4423 == nil { + yyv4423 = []NodeSelectorRequirement{} + yyc4423 = true + } else if len(yyv4423) != 0 { + yyv4423 = yyv4423[:0] + yyc4423 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4423 > 0 { + var yyrr4423, yyrl4423 int + var yyrt4423 bool + if yyl4423 > cap(yyv4423) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4423 := len(yyv4423) > 0 + yyv24423 := yyv4423 + yyrl4423, yyrt4423 = z.DecInferLen(yyl4423, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4423 { + if yyrl4423 <= cap(yyv4423) { + yyv4423 = yyv4423[:yyrl4423] } else { - yyv1 = make([]NodeSelectorRequirement, yyrl1) + yyv4423 = make([]NodeSelectorRequirement, yyrl4423) } } else { - yyv1 = make([]NodeSelectorRequirement, yyrl1) + yyv4423 = make([]NodeSelectorRequirement, yyrl4423) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4423 = true + yyrr4423 = len(yyv4423) + if yyrg4423 { + copy(yyv4423, yyv24423) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4423 != len(yyv4423) { + yyv4423 = yyv4423[:yyl4423] + yyc4423 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4423 := 0 + for ; yyj4423 < yyrr4423; yyj4423++ { + yyh4423.ElemContainerState(yyj4423) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeSelectorRequirement{} + yyv4423[yyj4423] = NodeSelectorRequirement{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4424 := &yyv4423[yyj4423] + yyv4424.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NodeSelectorRequirement{}) - yyh1.ElemContainerState(yyj1) + if yyrt4423 { + for ; yyj4423 < yyl4423; yyj4423++ { + yyv4423 = append(yyv4423, NodeSelectorRequirement{}) + yyh4423.ElemContainerState(yyj4423) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeSelectorRequirement{} + yyv4423[yyj4423] = NodeSelectorRequirement{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4425 := &yyv4423[yyj4423] + yyv4425.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4423 := 0 + for ; !r.CheckBreak(); yyj4423++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NodeSelectorRequirement{}) // var yyz1 NodeSelectorRequirement - yyc1 = true + if yyj4423 >= len(yyv4423) { + yyv4423 = append(yyv4423, NodeSelectorRequirement{}) // var yyz4423 NodeSelectorRequirement + yyc4423 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4423.ElemContainerState(yyj4423) + if yyj4423 < len(yyv4423) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeSelectorRequirement{} + yyv4423[yyj4423] = NodeSelectorRequirement{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4426 := &yyv4423[yyj4423] + yyv4426.CodecDecodeSelf(d) } } else { @@ -55696,17 +55654,17 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NodeSelectorRequirement{} - yyc1 = true + if yyj4423 < len(yyv4423) { + yyv4423 = yyv4423[:yyj4423] + yyc4423 = true + } else if yyj4423 == 0 && yyv4423 == nil { + yyv4423 = []NodeSelectorRequirement{} + yyc4423 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4423.End() + if yyc4423 { + *v = yyv4423 } } @@ -55715,10 +55673,10 @@ func (x codecSelfer1234) encSlicePodAffinityTerm(v []PodAffinityTerm, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4427 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4428 := &yyv4427 + yy4428.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55728,86 +55686,83 @@ func (x codecSelfer1234) decSlicePodAffinityTerm(v *[]PodAffinityTerm, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PodAffinityTerm{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4429 := *v + yyh4429, yyl4429 := z.DecSliceHelperStart() + var yyc4429 bool + if yyl4429 == 0 { + if yyv4429 == nil { + yyv4429 = []PodAffinityTerm{} + yyc4429 = true + } else if len(yyv4429) != 0 { + yyv4429 = yyv4429[:0] + yyc4429 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4429 > 0 { + var yyrr4429, yyrl4429 int + var yyrt4429 bool + if yyl4429 > cap(yyv4429) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 48) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4429 := len(yyv4429) > 0 + yyv24429 := yyv4429 + yyrl4429, yyrt4429 = z.DecInferLen(yyl4429, z.DecBasicHandle().MaxInitLen, 48) + if yyrt4429 { + if yyrl4429 <= cap(yyv4429) { + yyv4429 = yyv4429[:yyrl4429] } else { - yyv1 = make([]PodAffinityTerm, yyrl1) + yyv4429 = make([]PodAffinityTerm, yyrl4429) } } else { - yyv1 = make([]PodAffinityTerm, yyrl1) + yyv4429 = make([]PodAffinityTerm, yyrl4429) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4429 = true + yyrr4429 = len(yyv4429) + if yyrg4429 { + copy(yyv4429, yyv24429) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4429 != len(yyv4429) { + yyv4429 = yyv4429[:yyl4429] + yyc4429 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4429 := 0 + for ; yyj4429 < yyrr4429; yyj4429++ { + yyh4429.ElemContainerState(yyj4429) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodAffinityTerm{} + yyv4429[yyj4429] = PodAffinityTerm{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4430 := &yyv4429[yyj4429] + yyv4430.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PodAffinityTerm{}) - yyh1.ElemContainerState(yyj1) + if yyrt4429 { + for ; yyj4429 < yyl4429; yyj4429++ { + yyv4429 = append(yyv4429, PodAffinityTerm{}) + yyh4429.ElemContainerState(yyj4429) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodAffinityTerm{} + yyv4429[yyj4429] = PodAffinityTerm{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4431 := &yyv4429[yyj4429] + yyv4431.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4429 := 0 + for ; !r.CheckBreak(); yyj4429++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PodAffinityTerm{}) // var yyz1 PodAffinityTerm - yyc1 = true + if yyj4429 >= len(yyv4429) { + yyv4429 = append(yyv4429, PodAffinityTerm{}) // var yyz4429 PodAffinityTerm + yyc4429 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4429.ElemContainerState(yyj4429) + if yyj4429 < len(yyv4429) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PodAffinityTerm{} + yyv4429[yyj4429] = PodAffinityTerm{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4432 := &yyv4429[yyj4429] + yyv4432.CodecDecodeSelf(d) } } else { @@ -55815,17 +55770,17 @@ func (x codecSelfer1234) decSlicePodAffinityTerm(v *[]PodAffinityTerm, d *codec1 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PodAffinityTerm{} - yyc1 = true + if yyj4429 < len(yyv4429) { + yyv4429 = yyv4429[:yyj4429] + yyc4429 = true + } else if yyj4429 == 0 && yyv4429 == nil { + yyv4429 = []PodAffinityTerm{} + yyc4429 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4429.End() + if yyc4429 { + *v = yyv4429 } } @@ -55834,10 +55789,10 @@ func (x codecSelfer1234) encSliceWeightedPodAffinityTerm(v []WeightedPodAffinity z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4433 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4434 := &yyv4433 + yy4434.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55847,86 +55802,83 @@ func (x codecSelfer1234) decSliceWeightedPodAffinityTerm(v *[]WeightedPodAffinit z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []WeightedPodAffinityTerm{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4435 := *v + yyh4435, yyl4435 := z.DecSliceHelperStart() + var yyc4435 bool + if yyl4435 == 0 { + if yyv4435 == nil { + yyv4435 = []WeightedPodAffinityTerm{} + yyc4435 = true + } else if len(yyv4435) != 0 { + yyv4435 = yyv4435[:0] + yyc4435 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4435 > 0 { + var yyrr4435, yyrl4435 int + var yyrt4435 bool + if yyl4435 > cap(yyv4435) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4435 := len(yyv4435) > 0 + yyv24435 := yyv4435 + yyrl4435, yyrt4435 = z.DecInferLen(yyl4435, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4435 { + if yyrl4435 <= cap(yyv4435) { + yyv4435 = yyv4435[:yyrl4435] } else { - yyv1 = make([]WeightedPodAffinityTerm, yyrl1) + yyv4435 = make([]WeightedPodAffinityTerm, yyrl4435) } } else { - yyv1 = make([]WeightedPodAffinityTerm, yyrl1) + yyv4435 = make([]WeightedPodAffinityTerm, yyrl4435) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4435 = true + yyrr4435 = len(yyv4435) + if yyrg4435 { + copy(yyv4435, yyv24435) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4435 != len(yyv4435) { + yyv4435 = yyv4435[:yyl4435] + yyc4435 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4435 := 0 + for ; yyj4435 < yyrr4435; yyj4435++ { + yyh4435.ElemContainerState(yyj4435) if r.TryDecodeAsNil() { - yyv1[yyj1] = WeightedPodAffinityTerm{} + yyv4435[yyj4435] = WeightedPodAffinityTerm{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4436 := &yyv4435[yyj4435] + yyv4436.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, WeightedPodAffinityTerm{}) - yyh1.ElemContainerState(yyj1) + if yyrt4435 { + for ; yyj4435 < yyl4435; yyj4435++ { + yyv4435 = append(yyv4435, WeightedPodAffinityTerm{}) + yyh4435.ElemContainerState(yyj4435) if r.TryDecodeAsNil() { - yyv1[yyj1] = WeightedPodAffinityTerm{} + yyv4435[yyj4435] = WeightedPodAffinityTerm{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4437 := &yyv4435[yyj4435] + yyv4437.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4435 := 0 + for ; !r.CheckBreak(); yyj4435++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, WeightedPodAffinityTerm{}) // var yyz1 WeightedPodAffinityTerm - yyc1 = true + if yyj4435 >= len(yyv4435) { + yyv4435 = append(yyv4435, WeightedPodAffinityTerm{}) // var yyz4435 WeightedPodAffinityTerm + yyc4435 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4435.ElemContainerState(yyj4435) + if yyj4435 < len(yyv4435) { if r.TryDecodeAsNil() { - yyv1[yyj1] = WeightedPodAffinityTerm{} + yyv4435[yyj4435] = WeightedPodAffinityTerm{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4438 := &yyv4435[yyj4435] + yyv4438.CodecDecodeSelf(d) } } else { @@ -55934,17 +55886,17 @@ func (x codecSelfer1234) decSliceWeightedPodAffinityTerm(v *[]WeightedPodAffinit } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []WeightedPodAffinityTerm{} - yyc1 = true + if yyj4435 < len(yyv4435) { + yyv4435 = yyv4435[:yyj4435] + yyc4435 = true + } else if yyj4435 == 0 && yyv4435 == nil { + yyv4435 = []WeightedPodAffinityTerm{} + yyc4435 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4435.End() + if yyc4435 { + *v = yyv4435 } } @@ -55953,10 +55905,10 @@ func (x codecSelfer1234) encSlicePreferredSchedulingTerm(v []PreferredScheduling z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4439 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4440 := &yyv4439 + yy4440.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55966,86 +55918,83 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PreferredSchedulingTerm{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4441 := *v + yyh4441, yyl4441 := z.DecSliceHelperStart() + var yyc4441 bool + if yyl4441 == 0 { + if yyv4441 == nil { + yyv4441 = []PreferredSchedulingTerm{} + yyc4441 = true + } else if len(yyv4441) != 0 { + yyv4441 = yyv4441[:0] + yyc4441 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4441 > 0 { + var yyrr4441, yyrl4441 int + var yyrt4441 bool + if yyl4441 > cap(yyv4441) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4441 := len(yyv4441) > 0 + yyv24441 := yyv4441 + yyrl4441, yyrt4441 = z.DecInferLen(yyl4441, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4441 { + if yyrl4441 <= cap(yyv4441) { + yyv4441 = yyv4441[:yyrl4441] } else { - yyv1 = make([]PreferredSchedulingTerm, yyrl1) + yyv4441 = make([]PreferredSchedulingTerm, yyrl4441) } } else { - yyv1 = make([]PreferredSchedulingTerm, yyrl1) + yyv4441 = make([]PreferredSchedulingTerm, yyrl4441) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4441 = true + yyrr4441 = len(yyv4441) + if yyrg4441 { + copy(yyv4441, yyv24441) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4441 != len(yyv4441) { + yyv4441 = yyv4441[:yyl4441] + yyc4441 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4441 := 0 + for ; yyj4441 < yyrr4441; yyj4441++ { + yyh4441.ElemContainerState(yyj4441) if r.TryDecodeAsNil() { - yyv1[yyj1] = PreferredSchedulingTerm{} + yyv4441[yyj4441] = PreferredSchedulingTerm{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4442 := &yyv4441[yyj4441] + yyv4442.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PreferredSchedulingTerm{}) - yyh1.ElemContainerState(yyj1) + if yyrt4441 { + for ; yyj4441 < yyl4441; yyj4441++ { + yyv4441 = append(yyv4441, PreferredSchedulingTerm{}) + yyh4441.ElemContainerState(yyj4441) if r.TryDecodeAsNil() { - yyv1[yyj1] = PreferredSchedulingTerm{} + yyv4441[yyj4441] = PreferredSchedulingTerm{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4443 := &yyv4441[yyj4441] + yyv4443.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4441 := 0 + for ; !r.CheckBreak(); yyj4441++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PreferredSchedulingTerm{}) // var yyz1 PreferredSchedulingTerm - yyc1 = true + if yyj4441 >= len(yyv4441) { + yyv4441 = append(yyv4441, PreferredSchedulingTerm{}) // var yyz4441 PreferredSchedulingTerm + yyc4441 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4441.ElemContainerState(yyj4441) + if yyj4441 < len(yyv4441) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PreferredSchedulingTerm{} + yyv4441[yyj4441] = PreferredSchedulingTerm{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4444 := &yyv4441[yyj4441] + yyv4444.CodecDecodeSelf(d) } } else { @@ -56053,17 +56002,17 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PreferredSchedulingTerm{} - yyc1 = true + if yyj4441 < len(yyv4441) { + yyv4441 = yyv4441[:yyj4441] + yyc4441 = true + } else if yyj4441 == 0 && yyv4441 == nil { + yyv4441 = []PreferredSchedulingTerm{} + yyc4441 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4441.End() + if yyc4441 { + *v = yyv4441 } } @@ -56072,10 +56021,10 @@ func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4445 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4446 := &yyv4445 + yy4446.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56085,86 +56034,83 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Volume{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4447 := *v + yyh4447, yyl4447 := z.DecSliceHelperStart() + var yyc4447 bool + if yyl4447 == 0 { + if yyv4447 == nil { + yyv4447 = []Volume{} + yyc4447 = true + } else if len(yyv4447) != 0 { + yyv4447 = yyv4447[:0] + yyc4447 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4447 > 0 { + var yyrr4447, yyrl4447 int + var yyrt4447 bool + if yyl4447 > cap(yyv4447) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 176) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4447 := len(yyv4447) > 0 + yyv24447 := yyv4447 + yyrl4447, yyrt4447 = z.DecInferLen(yyl4447, z.DecBasicHandle().MaxInitLen, 176) + if yyrt4447 { + if yyrl4447 <= cap(yyv4447) { + yyv4447 = yyv4447[:yyrl4447] } else { - yyv1 = make([]Volume, yyrl1) + yyv4447 = make([]Volume, yyrl4447) } } else { - yyv1 = make([]Volume, yyrl1) + yyv4447 = make([]Volume, yyrl4447) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4447 = true + yyrr4447 = len(yyv4447) + if yyrg4447 { + copy(yyv4447, yyv24447) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4447 != len(yyv4447) { + yyv4447 = yyv4447[:yyl4447] + yyc4447 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4447 := 0 + for ; yyj4447 < yyrr4447; yyj4447++ { + yyh4447.ElemContainerState(yyj4447) if r.TryDecodeAsNil() { - yyv1[yyj1] = Volume{} + yyv4447[yyj4447] = Volume{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4448 := &yyv4447[yyj4447] + yyv4448.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Volume{}) - yyh1.ElemContainerState(yyj1) + if yyrt4447 { + for ; yyj4447 < yyl4447; yyj4447++ { + yyv4447 = append(yyv4447, Volume{}) + yyh4447.ElemContainerState(yyj4447) if r.TryDecodeAsNil() { - yyv1[yyj1] = Volume{} + yyv4447[yyj4447] = Volume{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4449 := &yyv4447[yyj4447] + yyv4449.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4447 := 0 + for ; !r.CheckBreak(); yyj4447++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Volume{}) // var yyz1 Volume - yyc1 = true + if yyj4447 >= len(yyv4447) { + yyv4447 = append(yyv4447, Volume{}) // var yyz4447 Volume + yyc4447 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4447.ElemContainerState(yyj4447) + if yyj4447 < len(yyv4447) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Volume{} + yyv4447[yyj4447] = Volume{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4450 := &yyv4447[yyj4447] + yyv4450.CodecDecodeSelf(d) } } else { @@ -56172,17 +56118,17 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Volume{} - yyc1 = true + if yyj4447 < len(yyv4447) { + yyv4447 = yyv4447[:yyj4447] + yyc4447 = true + } else if yyj4447 == 0 && yyv4447 == nil { + yyv4447 = []Volume{} + yyc4447 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4447.End() + if yyc4447 { + *v = yyv4447 } } @@ -56191,10 +56137,10 @@ func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4451 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4452 := &yyv4451 + yy4452.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56204,86 +56150,83 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Container{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4453 := *v + yyh4453, yyl4453 := z.DecSliceHelperStart() + var yyc4453 bool + if yyl4453 == 0 { + if yyv4453 == nil { + yyv4453 = []Container{} + yyc4453 = true + } else if len(yyv4453) != 0 { + yyv4453 = yyv4453[:0] + yyc4453 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4453 > 0 { + var yyrr4453, yyrl4453 int + var yyrt4453 bool + if yyl4453 > cap(yyv4453) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 256) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4453 := len(yyv4453) > 0 + yyv24453 := yyv4453 + yyrl4453, yyrt4453 = z.DecInferLen(yyl4453, z.DecBasicHandle().MaxInitLen, 256) + if yyrt4453 { + if yyrl4453 <= cap(yyv4453) { + yyv4453 = yyv4453[:yyrl4453] } else { - yyv1 = make([]Container, yyrl1) + yyv4453 = make([]Container, yyrl4453) } } else { - yyv1 = make([]Container, yyrl1) + yyv4453 = make([]Container, yyrl4453) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4453 = true + yyrr4453 = len(yyv4453) + if yyrg4453 { + copy(yyv4453, yyv24453) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4453 != len(yyv4453) { + yyv4453 = yyv4453[:yyl4453] + yyc4453 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4453 := 0 + for ; yyj4453 < yyrr4453; yyj4453++ { + yyh4453.ElemContainerState(yyj4453) if r.TryDecodeAsNil() { - yyv1[yyj1] = Container{} + yyv4453[yyj4453] = Container{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4454 := &yyv4453[yyj4453] + yyv4454.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Container{}) - yyh1.ElemContainerState(yyj1) + if yyrt4453 { + for ; yyj4453 < yyl4453; yyj4453++ { + yyv4453 = append(yyv4453, Container{}) + yyh4453.ElemContainerState(yyj4453) if r.TryDecodeAsNil() { - yyv1[yyj1] = Container{} + yyv4453[yyj4453] = Container{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4455 := &yyv4453[yyj4453] + yyv4455.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4453 := 0 + for ; !r.CheckBreak(); yyj4453++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Container{}) // var yyz1 Container - yyc1 = true + if yyj4453 >= len(yyv4453) { + yyv4453 = append(yyv4453, Container{}) // var yyz4453 Container + yyc4453 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4453.ElemContainerState(yyj4453) + if yyj4453 < len(yyv4453) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Container{} + yyv4453[yyj4453] = Container{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4456 := &yyv4453[yyj4453] + yyv4456.CodecDecodeSelf(d) } } else { @@ -56291,17 +56234,17 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Container{} - yyc1 = true + if yyj4453 < len(yyv4453) { + yyv4453 = yyv4453[:yyj4453] + yyc4453 = true + } else if yyj4453 == 0 && yyv4453 == nil { + yyv4453 = []Container{} + yyc4453 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4453.End() + if yyc4453 { + *v = yyv4453 } } @@ -56310,10 +56253,10 @@ func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4457 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4458 := &yyv4457 + yy4458.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56323,86 +56266,83 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []LocalObjectReference{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4459 := *v + yyh4459, yyl4459 := z.DecSliceHelperStart() + var yyc4459 bool + if yyl4459 == 0 { + if yyv4459 == nil { + yyv4459 = []LocalObjectReference{} + yyc4459 = true + } else if len(yyv4459) != 0 { + yyv4459 = yyv4459[:0] + yyc4459 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4459 > 0 { + var yyrr4459, yyrl4459 int + var yyrt4459 bool + if yyl4459 > cap(yyv4459) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4459 := len(yyv4459) > 0 + yyv24459 := yyv4459 + yyrl4459, yyrt4459 = z.DecInferLen(yyl4459, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4459 { + if yyrl4459 <= cap(yyv4459) { + yyv4459 = yyv4459[:yyrl4459] } else { - yyv1 = make([]LocalObjectReference, yyrl1) + yyv4459 = make([]LocalObjectReference, yyrl4459) } } else { - yyv1 = make([]LocalObjectReference, yyrl1) + yyv4459 = make([]LocalObjectReference, yyrl4459) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4459 = true + yyrr4459 = len(yyv4459) + if yyrg4459 { + copy(yyv4459, yyv24459) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4459 != len(yyv4459) { + yyv4459 = yyv4459[:yyl4459] + yyc4459 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4459 := 0 + for ; yyj4459 < yyrr4459; yyj4459++ { + yyh4459.ElemContainerState(yyj4459) if r.TryDecodeAsNil() { - yyv1[yyj1] = LocalObjectReference{} + yyv4459[yyj4459] = LocalObjectReference{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4460 := &yyv4459[yyj4459] + yyv4460.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, LocalObjectReference{}) - yyh1.ElemContainerState(yyj1) + if yyrt4459 { + for ; yyj4459 < yyl4459; yyj4459++ { + yyv4459 = append(yyv4459, LocalObjectReference{}) + yyh4459.ElemContainerState(yyj4459) if r.TryDecodeAsNil() { - yyv1[yyj1] = LocalObjectReference{} + yyv4459[yyj4459] = LocalObjectReference{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4461 := &yyv4459[yyj4459] + yyv4461.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4459 := 0 + for ; !r.CheckBreak(); yyj4459++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, LocalObjectReference{}) // var yyz1 LocalObjectReference - yyc1 = true + if yyj4459 >= len(yyv4459) { + yyv4459 = append(yyv4459, LocalObjectReference{}) // var yyz4459 LocalObjectReference + yyc4459 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4459.ElemContainerState(yyj4459) + if yyj4459 < len(yyv4459) { if r.TryDecodeAsNil() { - yyv1[yyj1] = LocalObjectReference{} + yyv4459[yyj4459] = LocalObjectReference{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4462 := &yyv4459[yyj4459] + yyv4462.CodecDecodeSelf(d) } } else { @@ -56410,17 +56350,17 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []LocalObjectReference{} - yyc1 = true + if yyj4459 < len(yyv4459) { + yyv4459 = yyv4459[:yyj4459] + yyc4459 = true + } else if yyj4459 == 0 && yyv4459 == nil { + yyv4459 = []LocalObjectReference{} + yyc4459 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4459.End() + if yyc4459 { + *v = yyv4459 } } @@ -56429,10 +56369,10 @@ func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4463 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4464 := &yyv4463 + yy4464.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56442,86 +56382,83 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PodCondition{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4465 := *v + yyh4465, yyl4465 := z.DecSliceHelperStart() + var yyc4465 bool + if yyl4465 == 0 { + if yyv4465 == nil { + yyv4465 = []PodCondition{} + yyc4465 = true + } else if len(yyv4465) != 0 { + yyv4465 = yyv4465[:0] + yyc4465 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4465 > 0 { + var yyrr4465, yyrl4465 int + var yyrt4465 bool + if yyl4465 > cap(yyv4465) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4465 := len(yyv4465) > 0 + yyv24465 := yyv4465 + yyrl4465, yyrt4465 = z.DecInferLen(yyl4465, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4465 { + if yyrl4465 <= cap(yyv4465) { + yyv4465 = yyv4465[:yyrl4465] } else { - yyv1 = make([]PodCondition, yyrl1) + yyv4465 = make([]PodCondition, yyrl4465) } } else { - yyv1 = make([]PodCondition, yyrl1) + yyv4465 = make([]PodCondition, yyrl4465) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4465 = true + yyrr4465 = len(yyv4465) + if yyrg4465 { + copy(yyv4465, yyv24465) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4465 != len(yyv4465) { + yyv4465 = yyv4465[:yyl4465] + yyc4465 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4465 := 0 + for ; yyj4465 < yyrr4465; yyj4465++ { + yyh4465.ElemContainerState(yyj4465) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodCondition{} + yyv4465[yyj4465] = PodCondition{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4466 := &yyv4465[yyj4465] + yyv4466.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PodCondition{}) - yyh1.ElemContainerState(yyj1) + if yyrt4465 { + for ; yyj4465 < yyl4465; yyj4465++ { + yyv4465 = append(yyv4465, PodCondition{}) + yyh4465.ElemContainerState(yyj4465) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodCondition{} + yyv4465[yyj4465] = PodCondition{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4467 := &yyv4465[yyj4465] + yyv4467.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4465 := 0 + for ; !r.CheckBreak(); yyj4465++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PodCondition{}) // var yyz1 PodCondition - yyc1 = true + if yyj4465 >= len(yyv4465) { + yyv4465 = append(yyv4465, PodCondition{}) // var yyz4465 PodCondition + yyc4465 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4465.ElemContainerState(yyj4465) + if yyj4465 < len(yyv4465) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PodCondition{} + yyv4465[yyj4465] = PodCondition{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4468 := &yyv4465[yyj4465] + yyv4468.CodecDecodeSelf(d) } } else { @@ -56529,17 +56466,17 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PodCondition{} - yyc1 = true + if yyj4465 < len(yyv4465) { + yyv4465 = yyv4465[:yyj4465] + yyc4465 = true + } else if yyj4465 == 0 && yyv4465 == nil { + yyv4465 = []PodCondition{} + yyc4465 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4465.End() + if yyc4465 { + *v = yyv4465 } } @@ -56548,10 +56485,10 @@ func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4469 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4470 := &yyv4469 + yy4470.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56561,86 +56498,83 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ContainerStatus{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4471 := *v + yyh4471, yyl4471 := z.DecSliceHelperStart() + var yyc4471 bool + if yyl4471 == 0 { + if yyv4471 == nil { + yyv4471 = []ContainerStatus{} + yyc4471 = true + } else if len(yyv4471) != 0 { + yyv4471 = yyv4471[:0] + yyc4471 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4471 > 0 { + var yyrr4471, yyrl4471 int + var yyrt4471 bool + if yyl4471 > cap(yyv4471) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 120) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4471 := len(yyv4471) > 0 + yyv24471 := yyv4471 + yyrl4471, yyrt4471 = z.DecInferLen(yyl4471, z.DecBasicHandle().MaxInitLen, 120) + if yyrt4471 { + if yyrl4471 <= cap(yyv4471) { + yyv4471 = yyv4471[:yyrl4471] } else { - yyv1 = make([]ContainerStatus, yyrl1) + yyv4471 = make([]ContainerStatus, yyrl4471) } } else { - yyv1 = make([]ContainerStatus, yyrl1) + yyv4471 = make([]ContainerStatus, yyrl4471) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4471 = true + yyrr4471 = len(yyv4471) + if yyrg4471 { + copy(yyv4471, yyv24471) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4471 != len(yyv4471) { + yyv4471 = yyv4471[:yyl4471] + yyc4471 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4471 := 0 + for ; yyj4471 < yyrr4471; yyj4471++ { + yyh4471.ElemContainerState(yyj4471) if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerStatus{} + yyv4471[yyj4471] = ContainerStatus{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4472 := &yyv4471[yyj4471] + yyv4472.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ContainerStatus{}) - yyh1.ElemContainerState(yyj1) + if yyrt4471 { + for ; yyj4471 < yyl4471; yyj4471++ { + yyv4471 = append(yyv4471, ContainerStatus{}) + yyh4471.ElemContainerState(yyj4471) if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerStatus{} + yyv4471[yyj4471] = ContainerStatus{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4473 := &yyv4471[yyj4471] + yyv4473.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4471 := 0 + for ; !r.CheckBreak(); yyj4471++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ContainerStatus{}) // var yyz1 ContainerStatus - yyc1 = true + if yyj4471 >= len(yyv4471) { + yyv4471 = append(yyv4471, ContainerStatus{}) // var yyz4471 ContainerStatus + yyc4471 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4471.ElemContainerState(yyj4471) + if yyj4471 < len(yyv4471) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerStatus{} + yyv4471[yyj4471] = ContainerStatus{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4474 := &yyv4471[yyj4471] + yyv4474.CodecDecodeSelf(d) } } else { @@ -56648,17 +56582,17 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ContainerStatus{} - yyc1 = true + if yyj4471 < len(yyv4471) { + yyv4471 = yyv4471[:yyj4471] + yyc4471 = true + } else if yyj4471 == 0 && yyv4471 == nil { + yyv4471 = []ContainerStatus{} + yyc4471 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4471.End() + if yyc4471 { + *v = yyv4471 } } @@ -56667,10 +56601,10 @@ func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4475 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4476 := &yyv4475 + yy4476.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56680,86 +56614,83 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PodTemplate{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4477 := *v + yyh4477, yyl4477 := z.DecSliceHelperStart() + var yyc4477 bool + if yyl4477 == 0 { + if yyv4477 == nil { + yyv4477 = []PodTemplate{} + yyc4477 = true + } else if len(yyv4477) != 0 { + yyv4477 = yyv4477[:0] + yyc4477 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4477 > 0 { + var yyrr4477, yyrl4477 int + var yyrt4477 bool + if yyl4477 > cap(yyv4477) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 672) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4477 := len(yyv4477) > 0 + yyv24477 := yyv4477 + yyrl4477, yyrt4477 = z.DecInferLen(yyl4477, z.DecBasicHandle().MaxInitLen, 672) + if yyrt4477 { + if yyrl4477 <= cap(yyv4477) { + yyv4477 = yyv4477[:yyrl4477] } else { - yyv1 = make([]PodTemplate, yyrl1) + yyv4477 = make([]PodTemplate, yyrl4477) } } else { - yyv1 = make([]PodTemplate, yyrl1) + yyv4477 = make([]PodTemplate, yyrl4477) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4477 = true + yyrr4477 = len(yyv4477) + if yyrg4477 { + copy(yyv4477, yyv24477) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4477 != len(yyv4477) { + yyv4477 = yyv4477[:yyl4477] + yyc4477 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4477 := 0 + for ; yyj4477 < yyrr4477; yyj4477++ { + yyh4477.ElemContainerState(yyj4477) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodTemplate{} + yyv4477[yyj4477] = PodTemplate{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4478 := &yyv4477[yyj4477] + yyv4478.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PodTemplate{}) - yyh1.ElemContainerState(yyj1) + if yyrt4477 { + for ; yyj4477 < yyl4477; yyj4477++ { + yyv4477 = append(yyv4477, PodTemplate{}) + yyh4477.ElemContainerState(yyj4477) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodTemplate{} + yyv4477[yyj4477] = PodTemplate{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4479 := &yyv4477[yyj4477] + yyv4479.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4477 := 0 + for ; !r.CheckBreak(); yyj4477++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PodTemplate{}) // var yyz1 PodTemplate - yyc1 = true + if yyj4477 >= len(yyv4477) { + yyv4477 = append(yyv4477, PodTemplate{}) // var yyz4477 PodTemplate + yyc4477 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4477.ElemContainerState(yyj4477) + if yyj4477 < len(yyv4477) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PodTemplate{} + yyv4477[yyj4477] = PodTemplate{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4480 := &yyv4477[yyj4477] + yyv4480.CodecDecodeSelf(d) } } else { @@ -56767,17 +56698,17 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PodTemplate{} - yyc1 = true + if yyj4477 < len(yyv4477) { + yyv4477 = yyv4477[:yyj4477] + yyc4477 = true + } else if yyj4477 == 0 && yyv4477 == nil { + yyv4477 = []PodTemplate{} + yyc4477 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4477.End() + if yyc4477 { + *v = yyv4477 } } @@ -56786,10 +56717,10 @@ func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4481 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4482 := &yyv4481 + yy4482.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56799,86 +56730,83 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ReplicationController{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4483 := *v + yyh4483, yyl4483 := z.DecSliceHelperStart() + var yyc4483 bool + if yyl4483 == 0 { + if yyv4483 == nil { + yyv4483 = []ReplicationController{} + yyc4483 = true + } else if len(yyv4483) != 0 { + yyv4483 = yyv4483[:0] + yyc4483 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4483 > 0 { + var yyrr4483, yyrl4483 int + var yyrt4483 bool + if yyl4483 > cap(yyv4483) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4483 := len(yyv4483) > 0 + yyv24483 := yyv4483 + yyrl4483, yyrt4483 = z.DecInferLen(yyl4483, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4483 { + if yyrl4483 <= cap(yyv4483) { + yyv4483 = yyv4483[:yyrl4483] } else { - yyv1 = make([]ReplicationController, yyrl1) + yyv4483 = make([]ReplicationController, yyrl4483) } } else { - yyv1 = make([]ReplicationController, yyrl1) + yyv4483 = make([]ReplicationController, yyrl4483) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4483 = true + yyrr4483 = len(yyv4483) + if yyrg4483 { + copy(yyv4483, yyv24483) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4483 != len(yyv4483) { + yyv4483 = yyv4483[:yyl4483] + yyc4483 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4483 := 0 + for ; yyj4483 < yyrr4483; yyj4483++ { + yyh4483.ElemContainerState(yyj4483) if r.TryDecodeAsNil() { - yyv1[yyj1] = ReplicationController{} + yyv4483[yyj4483] = ReplicationController{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4484 := &yyv4483[yyj4483] + yyv4484.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ReplicationController{}) - yyh1.ElemContainerState(yyj1) + if yyrt4483 { + for ; yyj4483 < yyl4483; yyj4483++ { + yyv4483 = append(yyv4483, ReplicationController{}) + yyh4483.ElemContainerState(yyj4483) if r.TryDecodeAsNil() { - yyv1[yyj1] = ReplicationController{} + yyv4483[yyj4483] = ReplicationController{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4485 := &yyv4483[yyj4483] + yyv4485.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4483 := 0 + for ; !r.CheckBreak(); yyj4483++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ReplicationController{}) // var yyz1 ReplicationController - yyc1 = true + if yyj4483 >= len(yyv4483) { + yyv4483 = append(yyv4483, ReplicationController{}) // var yyz4483 ReplicationController + yyc4483 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4483.ElemContainerState(yyj4483) + if yyj4483 < len(yyv4483) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ReplicationController{} + yyv4483[yyj4483] = ReplicationController{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4486 := &yyv4483[yyj4483] + yyv4486.CodecDecodeSelf(d) } } else { @@ -56886,17 +56814,17 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ReplicationController{} - yyc1 = true + if yyj4483 < len(yyv4483) { + yyv4483 = yyv4483[:yyj4483] + yyc4483 = true + } else if yyj4483 == 0 && yyv4483 == nil { + yyv4483 = []ReplicationController{} + yyc4483 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4483.End() + if yyc4483 { + *v = yyv4483 } } @@ -56905,10 +56833,10 @@ func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4487 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4488 := &yyv4487 + yy4488.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56918,86 +56846,83 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Service{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4489 := *v + yyh4489, yyl4489 := z.DecSliceHelperStart() + var yyc4489 bool + if yyl4489 == 0 { + if yyv4489 == nil { + yyv4489 = []Service{} + yyc4489 = true + } else if len(yyv4489) != 0 { + yyv4489 = yyv4489[:0] + yyc4489 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4489 > 0 { + var yyrr4489, yyrl4489 int + var yyrt4489 bool + if yyl4489 > cap(yyv4489) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 408) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4489 := len(yyv4489) > 0 + yyv24489 := yyv4489 + yyrl4489, yyrt4489 = z.DecInferLen(yyl4489, z.DecBasicHandle().MaxInitLen, 408) + if yyrt4489 { + if yyrl4489 <= cap(yyv4489) { + yyv4489 = yyv4489[:yyrl4489] } else { - yyv1 = make([]Service, yyrl1) + yyv4489 = make([]Service, yyrl4489) } } else { - yyv1 = make([]Service, yyrl1) + yyv4489 = make([]Service, yyrl4489) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4489 = true + yyrr4489 = len(yyv4489) + if yyrg4489 { + copy(yyv4489, yyv24489) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4489 != len(yyv4489) { + yyv4489 = yyv4489[:yyl4489] + yyc4489 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4489 := 0 + for ; yyj4489 < yyrr4489; yyj4489++ { + yyh4489.ElemContainerState(yyj4489) if r.TryDecodeAsNil() { - yyv1[yyj1] = Service{} + yyv4489[yyj4489] = Service{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4490 := &yyv4489[yyj4489] + yyv4490.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Service{}) - yyh1.ElemContainerState(yyj1) + if yyrt4489 { + for ; yyj4489 < yyl4489; yyj4489++ { + yyv4489 = append(yyv4489, Service{}) + yyh4489.ElemContainerState(yyj4489) if r.TryDecodeAsNil() { - yyv1[yyj1] = Service{} + yyv4489[yyj4489] = Service{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4491 := &yyv4489[yyj4489] + yyv4491.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4489 := 0 + for ; !r.CheckBreak(); yyj4489++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Service{}) // var yyz1 Service - yyc1 = true + if yyj4489 >= len(yyv4489) { + yyv4489 = append(yyv4489, Service{}) // var yyz4489 Service + yyc4489 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4489.ElemContainerState(yyj4489) + if yyj4489 < len(yyv4489) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Service{} + yyv4489[yyj4489] = Service{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4492 := &yyv4489[yyj4489] + yyv4492.CodecDecodeSelf(d) } } else { @@ -57005,17 +56930,17 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Service{} - yyc1 = true + if yyj4489 < len(yyv4489) { + yyv4489 = yyv4489[:yyj4489] + yyc4489 = true + } else if yyj4489 == 0 && yyv4489 == nil { + yyv4489 = []Service{} + yyc4489 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4489.End() + if yyc4489 { + *v = yyv4489 } } @@ -57024,10 +56949,10 @@ func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4493 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4494 := &yyv4493 + yy4494.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57037,86 +56962,83 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []LoadBalancerIngress{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4495 := *v + yyh4495, yyl4495 := z.DecSliceHelperStart() + var yyc4495 bool + if yyl4495 == 0 { + if yyv4495 == nil { + yyv4495 = []LoadBalancerIngress{} + yyc4495 = true + } else if len(yyv4495) != 0 { + yyv4495 = yyv4495[:0] + yyc4495 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4495 > 0 { + var yyrr4495, yyrl4495 int + var yyrt4495 bool + if yyl4495 > cap(yyv4495) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4495 := len(yyv4495) > 0 + yyv24495 := yyv4495 + yyrl4495, yyrt4495 = z.DecInferLen(yyl4495, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4495 { + if yyrl4495 <= cap(yyv4495) { + yyv4495 = yyv4495[:yyrl4495] } else { - yyv1 = make([]LoadBalancerIngress, yyrl1) + yyv4495 = make([]LoadBalancerIngress, yyrl4495) } } else { - yyv1 = make([]LoadBalancerIngress, yyrl1) + yyv4495 = make([]LoadBalancerIngress, yyrl4495) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4495 = true + yyrr4495 = len(yyv4495) + if yyrg4495 { + copy(yyv4495, yyv24495) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4495 != len(yyv4495) { + yyv4495 = yyv4495[:yyl4495] + yyc4495 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4495 := 0 + for ; yyj4495 < yyrr4495; yyj4495++ { + yyh4495.ElemContainerState(yyj4495) if r.TryDecodeAsNil() { - yyv1[yyj1] = LoadBalancerIngress{} + yyv4495[yyj4495] = LoadBalancerIngress{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4496 := &yyv4495[yyj4495] + yyv4496.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, LoadBalancerIngress{}) - yyh1.ElemContainerState(yyj1) + if yyrt4495 { + for ; yyj4495 < yyl4495; yyj4495++ { + yyv4495 = append(yyv4495, LoadBalancerIngress{}) + yyh4495.ElemContainerState(yyj4495) if r.TryDecodeAsNil() { - yyv1[yyj1] = LoadBalancerIngress{} + yyv4495[yyj4495] = LoadBalancerIngress{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4497 := &yyv4495[yyj4495] + yyv4497.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4495 := 0 + for ; !r.CheckBreak(); yyj4495++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, LoadBalancerIngress{}) // var yyz1 LoadBalancerIngress - yyc1 = true + if yyj4495 >= len(yyv4495) { + yyv4495 = append(yyv4495, LoadBalancerIngress{}) // var yyz4495 LoadBalancerIngress + yyc4495 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4495.ElemContainerState(yyj4495) + if yyj4495 < len(yyv4495) { if r.TryDecodeAsNil() { - yyv1[yyj1] = LoadBalancerIngress{} + yyv4495[yyj4495] = LoadBalancerIngress{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4498 := &yyv4495[yyj4495] + yyv4498.CodecDecodeSelf(d) } } else { @@ -57124,17 +57046,17 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []LoadBalancerIngress{} - yyc1 = true + if yyj4495 < len(yyv4495) { + yyv4495 = yyv4495[:yyj4495] + yyc4495 = true + } else if yyj4495 == 0 && yyv4495 == nil { + yyv4495 = []LoadBalancerIngress{} + yyc4495 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4495.End() + if yyc4495 { + *v = yyv4495 } } @@ -57143,10 +57065,10 @@ func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4499 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4500 := &yyv4499 + yy4500.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57156,86 +57078,83 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ServicePort{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4501 := *v + yyh4501, yyl4501 := z.DecSliceHelperStart() + var yyc4501 bool + if yyl4501 == 0 { + if yyv4501 == nil { + yyv4501 = []ServicePort{} + yyc4501 = true + } else if len(yyv4501) != 0 { + yyv4501 = yyv4501[:0] + yyc4501 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4501 > 0 { + var yyrr4501, yyrl4501 int + var yyrt4501 bool + if yyl4501 > cap(yyv4501) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 80) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4501 := len(yyv4501) > 0 + yyv24501 := yyv4501 + yyrl4501, yyrt4501 = z.DecInferLen(yyl4501, z.DecBasicHandle().MaxInitLen, 80) + if yyrt4501 { + if yyrl4501 <= cap(yyv4501) { + yyv4501 = yyv4501[:yyrl4501] } else { - yyv1 = make([]ServicePort, yyrl1) + yyv4501 = make([]ServicePort, yyrl4501) } } else { - yyv1 = make([]ServicePort, yyrl1) + yyv4501 = make([]ServicePort, yyrl4501) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4501 = true + yyrr4501 = len(yyv4501) + if yyrg4501 { + copy(yyv4501, yyv24501) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4501 != len(yyv4501) { + yyv4501 = yyv4501[:yyl4501] + yyc4501 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4501 := 0 + for ; yyj4501 < yyrr4501; yyj4501++ { + yyh4501.ElemContainerState(yyj4501) if r.TryDecodeAsNil() { - yyv1[yyj1] = ServicePort{} + yyv4501[yyj4501] = ServicePort{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4502 := &yyv4501[yyj4501] + yyv4502.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ServicePort{}) - yyh1.ElemContainerState(yyj1) + if yyrt4501 { + for ; yyj4501 < yyl4501; yyj4501++ { + yyv4501 = append(yyv4501, ServicePort{}) + yyh4501.ElemContainerState(yyj4501) if r.TryDecodeAsNil() { - yyv1[yyj1] = ServicePort{} + yyv4501[yyj4501] = ServicePort{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4503 := &yyv4501[yyj4501] + yyv4503.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4501 := 0 + for ; !r.CheckBreak(); yyj4501++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ServicePort{}) // var yyz1 ServicePort - yyc1 = true + if yyj4501 >= len(yyv4501) { + yyv4501 = append(yyv4501, ServicePort{}) // var yyz4501 ServicePort + yyc4501 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4501.ElemContainerState(yyj4501) + if yyj4501 < len(yyv4501) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ServicePort{} + yyv4501[yyj4501] = ServicePort{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4504 := &yyv4501[yyj4501] + yyv4504.CodecDecodeSelf(d) } } else { @@ -57243,17 +57162,17 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ServicePort{} - yyc1 = true + if yyj4501 < len(yyv4501) { + yyv4501 = yyv4501[:yyj4501] + yyc4501 = true + } else if yyj4501 == 0 && yyv4501 == nil { + yyv4501 = []ServicePort{} + yyc4501 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4501.End() + if yyc4501 { + *v = yyv4501 } } @@ -57262,10 +57181,10 @@ func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4505 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4506 := &yyv4505 + yy4506.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57275,86 +57194,83 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ObjectReference{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4507 := *v + yyh4507, yyl4507 := z.DecSliceHelperStart() + var yyc4507 bool + if yyl4507 == 0 { + if yyv4507 == nil { + yyv4507 = []ObjectReference{} + yyc4507 = true + } else if len(yyv4507) != 0 { + yyv4507 = yyv4507[:0] + yyc4507 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4507 > 0 { + var yyrr4507, yyrl4507 int + var yyrt4507 bool + if yyl4507 > cap(yyv4507) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4507 := len(yyv4507) > 0 + yyv24507 := yyv4507 + yyrl4507, yyrt4507 = z.DecInferLen(yyl4507, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4507 { + if yyrl4507 <= cap(yyv4507) { + yyv4507 = yyv4507[:yyrl4507] } else { - yyv1 = make([]ObjectReference, yyrl1) + yyv4507 = make([]ObjectReference, yyrl4507) } } else { - yyv1 = make([]ObjectReference, yyrl1) + yyv4507 = make([]ObjectReference, yyrl4507) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4507 = true + yyrr4507 = len(yyv4507) + if yyrg4507 { + copy(yyv4507, yyv24507) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4507 != len(yyv4507) { + yyv4507 = yyv4507[:yyl4507] + yyc4507 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4507 := 0 + for ; yyj4507 < yyrr4507; yyj4507++ { + yyh4507.ElemContainerState(yyj4507) if r.TryDecodeAsNil() { - yyv1[yyj1] = ObjectReference{} + yyv4507[yyj4507] = ObjectReference{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4508 := &yyv4507[yyj4507] + yyv4508.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ObjectReference{}) - yyh1.ElemContainerState(yyj1) + if yyrt4507 { + for ; yyj4507 < yyl4507; yyj4507++ { + yyv4507 = append(yyv4507, ObjectReference{}) + yyh4507.ElemContainerState(yyj4507) if r.TryDecodeAsNil() { - yyv1[yyj1] = ObjectReference{} + yyv4507[yyj4507] = ObjectReference{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4509 := &yyv4507[yyj4507] + yyv4509.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4507 := 0 + for ; !r.CheckBreak(); yyj4507++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ObjectReference{}) // var yyz1 ObjectReference - yyc1 = true + if yyj4507 >= len(yyv4507) { + yyv4507 = append(yyv4507, ObjectReference{}) // var yyz4507 ObjectReference + yyc4507 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4507.ElemContainerState(yyj4507) + if yyj4507 < len(yyv4507) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ObjectReference{} + yyv4507[yyj4507] = ObjectReference{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4510 := &yyv4507[yyj4507] + yyv4510.CodecDecodeSelf(d) } } else { @@ -57362,17 +57278,17 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ObjectReference{} - yyc1 = true + if yyj4507 < len(yyv4507) { + yyv4507 = yyv4507[:yyj4507] + yyc4507 = true + } else if yyj4507 == 0 && yyv4507 == nil { + yyv4507 = []ObjectReference{} + yyc4507 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4507.End() + if yyc4507 { + *v = yyv4507 } } @@ -57381,10 +57297,10 @@ func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4511 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4512 := &yyv4511 + yy4512.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57394,86 +57310,83 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ServiceAccount{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4513 := *v + yyh4513, yyl4513 := z.DecSliceHelperStart() + var yyc4513 bool + if yyl4513 == 0 { + if yyv4513 == nil { + yyv4513 = []ServiceAccount{} + yyc4513 = true + } else if len(yyv4513) != 0 { + yyv4513 = yyv4513[:0] + yyc4513 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4513 > 0 { + var yyrr4513, yyrl4513 int + var yyrt4513 bool + if yyl4513 > cap(yyv4513) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 288) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4513 := len(yyv4513) > 0 + yyv24513 := yyv4513 + yyrl4513, yyrt4513 = z.DecInferLen(yyl4513, z.DecBasicHandle().MaxInitLen, 288) + if yyrt4513 { + if yyrl4513 <= cap(yyv4513) { + yyv4513 = yyv4513[:yyrl4513] } else { - yyv1 = make([]ServiceAccount, yyrl1) + yyv4513 = make([]ServiceAccount, yyrl4513) } } else { - yyv1 = make([]ServiceAccount, yyrl1) + yyv4513 = make([]ServiceAccount, yyrl4513) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4513 = true + yyrr4513 = len(yyv4513) + if yyrg4513 { + copy(yyv4513, yyv24513) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4513 != len(yyv4513) { + yyv4513 = yyv4513[:yyl4513] + yyc4513 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4513 := 0 + for ; yyj4513 < yyrr4513; yyj4513++ { + yyh4513.ElemContainerState(yyj4513) if r.TryDecodeAsNil() { - yyv1[yyj1] = ServiceAccount{} + yyv4513[yyj4513] = ServiceAccount{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4514 := &yyv4513[yyj4513] + yyv4514.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ServiceAccount{}) - yyh1.ElemContainerState(yyj1) + if yyrt4513 { + for ; yyj4513 < yyl4513; yyj4513++ { + yyv4513 = append(yyv4513, ServiceAccount{}) + yyh4513.ElemContainerState(yyj4513) if r.TryDecodeAsNil() { - yyv1[yyj1] = ServiceAccount{} + yyv4513[yyj4513] = ServiceAccount{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4515 := &yyv4513[yyj4513] + yyv4515.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4513 := 0 + for ; !r.CheckBreak(); yyj4513++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ServiceAccount{}) // var yyz1 ServiceAccount - yyc1 = true + if yyj4513 >= len(yyv4513) { + yyv4513 = append(yyv4513, ServiceAccount{}) // var yyz4513 ServiceAccount + yyc4513 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4513.ElemContainerState(yyj4513) + if yyj4513 < len(yyv4513) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ServiceAccount{} + yyv4513[yyj4513] = ServiceAccount{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4516 := &yyv4513[yyj4513] + yyv4516.CodecDecodeSelf(d) } } else { @@ -57481,17 +57394,17 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ServiceAccount{} - yyc1 = true + if yyj4513 < len(yyv4513) { + yyv4513 = yyv4513[:yyj4513] + yyc4513 = true + } else if yyj4513 == 0 && yyv4513 == nil { + yyv4513 = []ServiceAccount{} + yyc4513 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4513.End() + if yyc4513 { + *v = yyv4513 } } @@ -57500,10 +57413,10 @@ func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4517 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4518 := &yyv4517 + yy4518.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57513,86 +57426,83 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []EndpointSubset{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4519 := *v + yyh4519, yyl4519 := z.DecSliceHelperStart() + var yyc4519 bool + if yyl4519 == 0 { + if yyv4519 == nil { + yyv4519 = []EndpointSubset{} + yyc4519 = true + } else if len(yyv4519) != 0 { + yyv4519 = yyv4519[:0] + yyc4519 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4519 > 0 { + var yyrr4519, yyrl4519 int + var yyrt4519 bool + if yyl4519 > cap(yyv4519) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4519 := len(yyv4519) > 0 + yyv24519 := yyv4519 + yyrl4519, yyrt4519 = z.DecInferLen(yyl4519, z.DecBasicHandle().MaxInitLen, 72) + if yyrt4519 { + if yyrl4519 <= cap(yyv4519) { + yyv4519 = yyv4519[:yyrl4519] } else { - yyv1 = make([]EndpointSubset, yyrl1) + yyv4519 = make([]EndpointSubset, yyrl4519) } } else { - yyv1 = make([]EndpointSubset, yyrl1) + yyv4519 = make([]EndpointSubset, yyrl4519) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4519 = true + yyrr4519 = len(yyv4519) + if yyrg4519 { + copy(yyv4519, yyv24519) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4519 != len(yyv4519) { + yyv4519 = yyv4519[:yyl4519] + yyc4519 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4519 := 0 + for ; yyj4519 < yyrr4519; yyj4519++ { + yyh4519.ElemContainerState(yyj4519) if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointSubset{} + yyv4519[yyj4519] = EndpointSubset{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4520 := &yyv4519[yyj4519] + yyv4520.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, EndpointSubset{}) - yyh1.ElemContainerState(yyj1) + if yyrt4519 { + for ; yyj4519 < yyl4519; yyj4519++ { + yyv4519 = append(yyv4519, EndpointSubset{}) + yyh4519.ElemContainerState(yyj4519) if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointSubset{} + yyv4519[yyj4519] = EndpointSubset{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4521 := &yyv4519[yyj4519] + yyv4521.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4519 := 0 + for ; !r.CheckBreak(); yyj4519++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, EndpointSubset{}) // var yyz1 EndpointSubset - yyc1 = true + if yyj4519 >= len(yyv4519) { + yyv4519 = append(yyv4519, EndpointSubset{}) // var yyz4519 EndpointSubset + yyc4519 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4519.ElemContainerState(yyj4519) + if yyj4519 < len(yyv4519) { if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointSubset{} + yyv4519[yyj4519] = EndpointSubset{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4522 := &yyv4519[yyj4519] + yyv4522.CodecDecodeSelf(d) } } else { @@ -57600,17 +57510,17 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []EndpointSubset{} - yyc1 = true + if yyj4519 < len(yyv4519) { + yyv4519 = yyv4519[:yyj4519] + yyc4519 = true + } else if yyj4519 == 0 && yyv4519 == nil { + yyv4519 = []EndpointSubset{} + yyc4519 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4519.End() + if yyc4519 { + *v = yyv4519 } } @@ -57619,10 +57529,10 @@ func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4523 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4524 := &yyv4523 + yy4524.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57632,86 +57542,83 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []EndpointAddress{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4525 := *v + yyh4525, yyl4525 := z.DecSliceHelperStart() + var yyc4525 bool + if yyl4525 == 0 { + if yyv4525 == nil { + yyv4525 = []EndpointAddress{} + yyc4525 = true + } else if len(yyv4525) != 0 { + yyv4525 = yyv4525[:0] + yyc4525 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4525 > 0 { + var yyrr4525, yyrl4525 int + var yyrt4525 bool + if yyl4525 > cap(yyv4525) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4525 := len(yyv4525) > 0 + yyv24525 := yyv4525 + yyrl4525, yyrt4525 = z.DecInferLen(yyl4525, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4525 { + if yyrl4525 <= cap(yyv4525) { + yyv4525 = yyv4525[:yyrl4525] } else { - yyv1 = make([]EndpointAddress, yyrl1) + yyv4525 = make([]EndpointAddress, yyrl4525) } } else { - yyv1 = make([]EndpointAddress, yyrl1) + yyv4525 = make([]EndpointAddress, yyrl4525) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4525 = true + yyrr4525 = len(yyv4525) + if yyrg4525 { + copy(yyv4525, yyv24525) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4525 != len(yyv4525) { + yyv4525 = yyv4525[:yyl4525] + yyc4525 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4525 := 0 + for ; yyj4525 < yyrr4525; yyj4525++ { + yyh4525.ElemContainerState(yyj4525) if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointAddress{} + yyv4525[yyj4525] = EndpointAddress{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4526 := &yyv4525[yyj4525] + yyv4526.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, EndpointAddress{}) - yyh1.ElemContainerState(yyj1) + if yyrt4525 { + for ; yyj4525 < yyl4525; yyj4525++ { + yyv4525 = append(yyv4525, EndpointAddress{}) + yyh4525.ElemContainerState(yyj4525) if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointAddress{} + yyv4525[yyj4525] = EndpointAddress{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4527 := &yyv4525[yyj4525] + yyv4527.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4525 := 0 + for ; !r.CheckBreak(); yyj4525++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, EndpointAddress{}) // var yyz1 EndpointAddress - yyc1 = true + if yyj4525 >= len(yyv4525) { + yyv4525 = append(yyv4525, EndpointAddress{}) // var yyz4525 EndpointAddress + yyc4525 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4525.ElemContainerState(yyj4525) + if yyj4525 < len(yyv4525) { if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointAddress{} + yyv4525[yyj4525] = EndpointAddress{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4528 := &yyv4525[yyj4525] + yyv4528.CodecDecodeSelf(d) } } else { @@ -57719,17 +57626,17 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []EndpointAddress{} - yyc1 = true + if yyj4525 < len(yyv4525) { + yyv4525 = yyv4525[:yyj4525] + yyc4525 = true + } else if yyj4525 == 0 && yyv4525 == nil { + yyv4525 = []EndpointAddress{} + yyc4525 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4525.End() + if yyc4525 { + *v = yyv4525 } } @@ -57738,10 +57645,10 @@ func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4529 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4530 := &yyv4529 + yy4530.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57751,86 +57658,83 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []EndpointPort{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4531 := *v + yyh4531, yyl4531 := z.DecSliceHelperStart() + var yyc4531 bool + if yyl4531 == 0 { + if yyv4531 == nil { + yyv4531 = []EndpointPort{} + yyc4531 = true + } else if len(yyv4531) != 0 { + yyv4531 = yyv4531[:0] + yyc4531 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4531 > 0 { + var yyrr4531, yyrl4531 int + var yyrt4531 bool + if yyl4531 > cap(yyv4531) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4531 := len(yyv4531) > 0 + yyv24531 := yyv4531 + yyrl4531, yyrt4531 = z.DecInferLen(yyl4531, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4531 { + if yyrl4531 <= cap(yyv4531) { + yyv4531 = yyv4531[:yyrl4531] } else { - yyv1 = make([]EndpointPort, yyrl1) + yyv4531 = make([]EndpointPort, yyrl4531) } } else { - yyv1 = make([]EndpointPort, yyrl1) + yyv4531 = make([]EndpointPort, yyrl4531) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4531 = true + yyrr4531 = len(yyv4531) + if yyrg4531 { + copy(yyv4531, yyv24531) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4531 != len(yyv4531) { + yyv4531 = yyv4531[:yyl4531] + yyc4531 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4531 := 0 + for ; yyj4531 < yyrr4531; yyj4531++ { + yyh4531.ElemContainerState(yyj4531) if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointPort{} + yyv4531[yyj4531] = EndpointPort{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4532 := &yyv4531[yyj4531] + yyv4532.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, EndpointPort{}) - yyh1.ElemContainerState(yyj1) + if yyrt4531 { + for ; yyj4531 < yyl4531; yyj4531++ { + yyv4531 = append(yyv4531, EndpointPort{}) + yyh4531.ElemContainerState(yyj4531) if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointPort{} + yyv4531[yyj4531] = EndpointPort{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4533 := &yyv4531[yyj4531] + yyv4533.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4531 := 0 + for ; !r.CheckBreak(); yyj4531++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, EndpointPort{}) // var yyz1 EndpointPort - yyc1 = true + if yyj4531 >= len(yyv4531) { + yyv4531 = append(yyv4531, EndpointPort{}) // var yyz4531 EndpointPort + yyc4531 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4531.ElemContainerState(yyj4531) + if yyj4531 < len(yyv4531) { if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointPort{} + yyv4531[yyj4531] = EndpointPort{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4534 := &yyv4531[yyj4531] + yyv4534.CodecDecodeSelf(d) } } else { @@ -57838,17 +57742,17 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []EndpointPort{} - yyc1 = true + if yyj4531 < len(yyv4531) { + yyv4531 = yyv4531[:yyj4531] + yyc4531 = true + } else if yyj4531 == 0 && yyv4531 == nil { + yyv4531 = []EndpointPort{} + yyc4531 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4531.End() + if yyc4531 { + *v = yyv4531 } } @@ -57857,10 +57761,10 @@ func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4535 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4536 := &yyv4535 + yy4536.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57870,86 +57774,83 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Endpoints{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4537 := *v + yyh4537, yyl4537 := z.DecSliceHelperStart() + var yyc4537 bool + if yyl4537 == 0 { + if yyv4537 == nil { + yyv4537 = []Endpoints{} + yyc4537 = true + } else if len(yyv4537) != 0 { + yyv4537 = yyv4537[:0] + yyc4537 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4537 > 0 { + var yyrr4537, yyrl4537 int + var yyrt4537 bool + if yyl4537 > cap(yyv4537) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 264) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4537 := len(yyv4537) > 0 + yyv24537 := yyv4537 + yyrl4537, yyrt4537 = z.DecInferLen(yyl4537, z.DecBasicHandle().MaxInitLen, 264) + if yyrt4537 { + if yyrl4537 <= cap(yyv4537) { + yyv4537 = yyv4537[:yyrl4537] } else { - yyv1 = make([]Endpoints, yyrl1) + yyv4537 = make([]Endpoints, yyrl4537) } } else { - yyv1 = make([]Endpoints, yyrl1) + yyv4537 = make([]Endpoints, yyrl4537) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4537 = true + yyrr4537 = len(yyv4537) + if yyrg4537 { + copy(yyv4537, yyv24537) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4537 != len(yyv4537) { + yyv4537 = yyv4537[:yyl4537] + yyc4537 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4537 := 0 + for ; yyj4537 < yyrr4537; yyj4537++ { + yyh4537.ElemContainerState(yyj4537) if r.TryDecodeAsNil() { - yyv1[yyj1] = Endpoints{} + yyv4537[yyj4537] = Endpoints{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4538 := &yyv4537[yyj4537] + yyv4538.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Endpoints{}) - yyh1.ElemContainerState(yyj1) + if yyrt4537 { + for ; yyj4537 < yyl4537; yyj4537++ { + yyv4537 = append(yyv4537, Endpoints{}) + yyh4537.ElemContainerState(yyj4537) if r.TryDecodeAsNil() { - yyv1[yyj1] = Endpoints{} + yyv4537[yyj4537] = Endpoints{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4539 := &yyv4537[yyj4537] + yyv4539.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4537 := 0 + for ; !r.CheckBreak(); yyj4537++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Endpoints{}) // var yyz1 Endpoints - yyc1 = true + if yyj4537 >= len(yyv4537) { + yyv4537 = append(yyv4537, Endpoints{}) // var yyz4537 Endpoints + yyc4537 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4537.ElemContainerState(yyj4537) + if yyj4537 < len(yyv4537) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Endpoints{} + yyv4537[yyj4537] = Endpoints{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4540 := &yyv4537[yyj4537] + yyv4540.CodecDecodeSelf(d) } } else { @@ -57957,17 +57858,17 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Endpoints{} - yyc1 = true + if yyj4537 < len(yyv4537) { + yyv4537 = yyv4537[:yyj4537] + yyc4537 = true + } else if yyj4537 == 0 && yyv4537 == nil { + yyv4537 = []Endpoints{} + yyc4537 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4537.End() + if yyc4537 { + *v = yyv4537 } } @@ -57976,10 +57877,10 @@ func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4541 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4542 := &yyv4541 + yy4542.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57989,86 +57890,83 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NodeCondition{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4543 := *v + yyh4543, yyl4543 := z.DecSliceHelperStart() + var yyc4543 bool + if yyl4543 == 0 { + if yyv4543 == nil { + yyv4543 = []NodeCondition{} + yyc4543 = true + } else if len(yyv4543) != 0 { + yyv4543 = yyv4543[:0] + yyc4543 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4543 > 0 { + var yyrr4543, yyrl4543 int + var yyrt4543 bool + if yyl4543 > cap(yyv4543) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4543 := len(yyv4543) > 0 + yyv24543 := yyv4543 + yyrl4543, yyrt4543 = z.DecInferLen(yyl4543, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4543 { + if yyrl4543 <= cap(yyv4543) { + yyv4543 = yyv4543[:yyrl4543] } else { - yyv1 = make([]NodeCondition, yyrl1) + yyv4543 = make([]NodeCondition, yyrl4543) } } else { - yyv1 = make([]NodeCondition, yyrl1) + yyv4543 = make([]NodeCondition, yyrl4543) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4543 = true + yyrr4543 = len(yyv4543) + if yyrg4543 { + copy(yyv4543, yyv24543) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4543 != len(yyv4543) { + yyv4543 = yyv4543[:yyl4543] + yyc4543 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4543 := 0 + for ; yyj4543 < yyrr4543; yyj4543++ { + yyh4543.ElemContainerState(yyj4543) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeCondition{} + yyv4543[yyj4543] = NodeCondition{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4544 := &yyv4543[yyj4543] + yyv4544.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NodeCondition{}) - yyh1.ElemContainerState(yyj1) + if yyrt4543 { + for ; yyj4543 < yyl4543; yyj4543++ { + yyv4543 = append(yyv4543, NodeCondition{}) + yyh4543.ElemContainerState(yyj4543) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeCondition{} + yyv4543[yyj4543] = NodeCondition{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4545 := &yyv4543[yyj4543] + yyv4545.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4543 := 0 + for ; !r.CheckBreak(); yyj4543++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NodeCondition{}) // var yyz1 NodeCondition - yyc1 = true + if yyj4543 >= len(yyv4543) { + yyv4543 = append(yyv4543, NodeCondition{}) // var yyz4543 NodeCondition + yyc4543 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4543.ElemContainerState(yyj4543) + if yyj4543 < len(yyv4543) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeCondition{} + yyv4543[yyj4543] = NodeCondition{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4546 := &yyv4543[yyj4543] + yyv4546.CodecDecodeSelf(d) } } else { @@ -58076,17 +57974,17 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NodeCondition{} - yyc1 = true + if yyj4543 < len(yyv4543) { + yyv4543 = yyv4543[:yyj4543] + yyc4543 = true + } else if yyj4543 == 0 && yyv4543 == nil { + yyv4543 = []NodeCondition{} + yyc4543 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4543.End() + if yyc4543 { + *v = yyv4543 } } @@ -58095,10 +57993,10 @@ func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4547 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4548 := &yyv4547 + yy4548.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58108,86 +58006,83 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NodeAddress{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4549 := *v + yyh4549, yyl4549 := z.DecSliceHelperStart() + var yyc4549 bool + if yyl4549 == 0 { + if yyv4549 == nil { + yyv4549 = []NodeAddress{} + yyc4549 = true + } else if len(yyv4549) != 0 { + yyv4549 = yyv4549[:0] + yyc4549 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4549 > 0 { + var yyrr4549, yyrl4549 int + var yyrt4549 bool + if yyl4549 > cap(yyv4549) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4549 := len(yyv4549) > 0 + yyv24549 := yyv4549 + yyrl4549, yyrt4549 = z.DecInferLen(yyl4549, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4549 { + if yyrl4549 <= cap(yyv4549) { + yyv4549 = yyv4549[:yyrl4549] } else { - yyv1 = make([]NodeAddress, yyrl1) + yyv4549 = make([]NodeAddress, yyrl4549) } } else { - yyv1 = make([]NodeAddress, yyrl1) + yyv4549 = make([]NodeAddress, yyrl4549) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4549 = true + yyrr4549 = len(yyv4549) + if yyrg4549 { + copy(yyv4549, yyv24549) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4549 != len(yyv4549) { + yyv4549 = yyv4549[:yyl4549] + yyc4549 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4549 := 0 + for ; yyj4549 < yyrr4549; yyj4549++ { + yyh4549.ElemContainerState(yyj4549) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeAddress{} + yyv4549[yyj4549] = NodeAddress{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4550 := &yyv4549[yyj4549] + yyv4550.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NodeAddress{}) - yyh1.ElemContainerState(yyj1) + if yyrt4549 { + for ; yyj4549 < yyl4549; yyj4549++ { + yyv4549 = append(yyv4549, NodeAddress{}) + yyh4549.ElemContainerState(yyj4549) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeAddress{} + yyv4549[yyj4549] = NodeAddress{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4551 := &yyv4549[yyj4549] + yyv4551.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4549 := 0 + for ; !r.CheckBreak(); yyj4549++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NodeAddress{}) // var yyz1 NodeAddress - yyc1 = true + if yyj4549 >= len(yyv4549) { + yyv4549 = append(yyv4549, NodeAddress{}) // var yyz4549 NodeAddress + yyc4549 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4549.ElemContainerState(yyj4549) + if yyj4549 < len(yyv4549) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeAddress{} + yyv4549[yyj4549] = NodeAddress{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4552 := &yyv4549[yyj4549] + yyv4552.CodecDecodeSelf(d) } } else { @@ -58195,17 +58090,17 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NodeAddress{} - yyc1 = true + if yyj4549 < len(yyv4549) { + yyv4549 = yyv4549[:yyj4549] + yyc4549 = true + } else if yyj4549 == 0 && yyv4549 == nil { + yyv4549 = []NodeAddress{} + yyc4549 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4549.End() + if yyc4549 { + *v = yyv4549 } } @@ -58214,10 +58109,10 @@ func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4553 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4554 := &yyv4553 + yy4554.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58227,86 +58122,83 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ContainerImage{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4555 := *v + yyh4555, yyl4555 := z.DecSliceHelperStart() + var yyc4555 bool + if yyl4555 == 0 { + if yyv4555 == nil { + yyv4555 = []ContainerImage{} + yyc4555 = true + } else if len(yyv4555) != 0 { + yyv4555 = yyv4555[:0] + yyc4555 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4555 > 0 { + var yyrr4555, yyrl4555 int + var yyrt4555 bool + if yyl4555 > cap(yyv4555) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4555 := len(yyv4555) > 0 + yyv24555 := yyv4555 + yyrl4555, yyrt4555 = z.DecInferLen(yyl4555, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4555 { + if yyrl4555 <= cap(yyv4555) { + yyv4555 = yyv4555[:yyrl4555] } else { - yyv1 = make([]ContainerImage, yyrl1) + yyv4555 = make([]ContainerImage, yyrl4555) } } else { - yyv1 = make([]ContainerImage, yyrl1) + yyv4555 = make([]ContainerImage, yyrl4555) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4555 = true + yyrr4555 = len(yyv4555) + if yyrg4555 { + copy(yyv4555, yyv24555) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4555 != len(yyv4555) { + yyv4555 = yyv4555[:yyl4555] + yyc4555 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4555 := 0 + for ; yyj4555 < yyrr4555; yyj4555++ { + yyh4555.ElemContainerState(yyj4555) if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerImage{} + yyv4555[yyj4555] = ContainerImage{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4556 := &yyv4555[yyj4555] + yyv4556.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ContainerImage{}) - yyh1.ElemContainerState(yyj1) + if yyrt4555 { + for ; yyj4555 < yyl4555; yyj4555++ { + yyv4555 = append(yyv4555, ContainerImage{}) + yyh4555.ElemContainerState(yyj4555) if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerImage{} + yyv4555[yyj4555] = ContainerImage{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4557 := &yyv4555[yyj4555] + yyv4557.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4555 := 0 + for ; !r.CheckBreak(); yyj4555++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ContainerImage{}) // var yyz1 ContainerImage - yyc1 = true + if yyj4555 >= len(yyv4555) { + yyv4555 = append(yyv4555, ContainerImage{}) // var yyz4555 ContainerImage + yyc4555 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4555.ElemContainerState(yyj4555) + if yyj4555 < len(yyv4555) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerImage{} + yyv4555[yyj4555] = ContainerImage{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4558 := &yyv4555[yyj4555] + yyv4558.CodecDecodeSelf(d) } } else { @@ -58314,17 +58206,17 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ContainerImage{} - yyc1 = true + if yyj4555 < len(yyv4555) { + yyv4555 = yyv4555[:yyj4555] + yyc4555 = true + } else if yyj4555 == 0 && yyv4555 == nil { + yyv4555 = []ContainerImage{} + yyc4555 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4555.End() + if yyc4555 { + *v = yyv4555 } } @@ -58333,9 +58225,9 @@ func (x codecSelfer1234) encSliceUniqueVolumeName(v []UniqueVolumeName, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4559 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1.CodecEncodeSelf(e) + yyv4559.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58345,78 +58237,75 @@ func (x codecSelfer1234) decSliceUniqueVolumeName(v *[]UniqueVolumeName, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []UniqueVolumeName{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4560 := *v + yyh4560, yyl4560 := z.DecSliceHelperStart() + var yyc4560 bool + if yyl4560 == 0 { + if yyv4560 == nil { + yyv4560 = []UniqueVolumeName{} + yyc4560 = true + } else if len(yyv4560) != 0 { + yyv4560 = yyv4560[:0] + yyc4560 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4560 > 0 { + var yyrr4560, yyrl4560 int + var yyrt4560 bool + if yyl4560 > cap(yyv4560) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl4560, yyrt4560 = z.DecInferLen(yyl4560, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4560 { + if yyrl4560 <= cap(yyv4560) { + yyv4560 = yyv4560[:yyrl4560] } else { - yyv1 = make([]UniqueVolumeName, yyrl1) + yyv4560 = make([]UniqueVolumeName, yyrl4560) } } else { - yyv1 = make([]UniqueVolumeName, yyrl1) + yyv4560 = make([]UniqueVolumeName, yyrl4560) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc4560 = true + yyrr4560 = len(yyv4560) + } else if yyl4560 != len(yyv4560) { + yyv4560 = yyv4560[:yyl4560] + yyc4560 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4560 := 0 + for ; yyj4560 < yyrr4560; yyj4560++ { + yyh4560.ElemContainerState(yyj4560) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4560[yyj4560] = "" } else { - yyv1[yyj1] = UniqueVolumeName(r.DecodeString()) + yyv4560[yyj4560] = UniqueVolumeName(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt4560 { + for ; yyj4560 < yyl4560; yyj4560++ { + yyv4560 = append(yyv4560, "") + yyh4560.ElemContainerState(yyj4560) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4560[yyj4560] = "" } else { - yyv1[yyj1] = UniqueVolumeName(r.DecodeString()) + yyv4560[yyj4560] = UniqueVolumeName(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4560 := 0 + for ; !r.CheckBreak(); yyj4560++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 UniqueVolumeName - yyc1 = true + if yyj4560 >= len(yyv4560) { + yyv4560 = append(yyv4560, "") // var yyz4560 UniqueVolumeName + yyc4560 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4560.ElemContainerState(yyj4560) + if yyj4560 < len(yyv4560) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4560[yyj4560] = "" } else { - yyv1[yyj1] = UniqueVolumeName(r.DecodeString()) + yyv4560[yyj4560] = UniqueVolumeName(r.DecodeString()) } } else { @@ -58424,17 +58313,17 @@ func (x codecSelfer1234) decSliceUniqueVolumeName(v *[]UniqueVolumeName, d *code } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []UniqueVolumeName{} - yyc1 = true + if yyj4560 < len(yyv4560) { + yyv4560 = yyv4560[:yyj4560] + yyc4560 = true + } else if yyj4560 == 0 && yyv4560 == nil { + yyv4560 = []UniqueVolumeName{} + yyc4560 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4560.End() + if yyc4560 { + *v = yyv4560 } } @@ -58443,10 +58332,10 @@ func (x codecSelfer1234) encSliceAttachedVolume(v []AttachedVolume, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4564 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4565 := &yyv4564 + yy4565.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58456,86 +58345,83 @@ func (x codecSelfer1234) decSliceAttachedVolume(v *[]AttachedVolume, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []AttachedVolume{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4566 := *v + yyh4566, yyl4566 := z.DecSliceHelperStart() + var yyc4566 bool + if yyl4566 == 0 { + if yyv4566 == nil { + yyv4566 = []AttachedVolume{} + yyc4566 = true + } else if len(yyv4566) != 0 { + yyv4566 = yyv4566[:0] + yyc4566 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4566 > 0 { + var yyrr4566, yyrl4566 int + var yyrt4566 bool + if yyl4566 > cap(yyv4566) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4566 := len(yyv4566) > 0 + yyv24566 := yyv4566 + yyrl4566, yyrt4566 = z.DecInferLen(yyl4566, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4566 { + if yyrl4566 <= cap(yyv4566) { + yyv4566 = yyv4566[:yyrl4566] } else { - yyv1 = make([]AttachedVolume, yyrl1) + yyv4566 = make([]AttachedVolume, yyrl4566) } } else { - yyv1 = make([]AttachedVolume, yyrl1) + yyv4566 = make([]AttachedVolume, yyrl4566) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4566 = true + yyrr4566 = len(yyv4566) + if yyrg4566 { + copy(yyv4566, yyv24566) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4566 != len(yyv4566) { + yyv4566 = yyv4566[:yyl4566] + yyc4566 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4566 := 0 + for ; yyj4566 < yyrr4566; yyj4566++ { + yyh4566.ElemContainerState(yyj4566) if r.TryDecodeAsNil() { - yyv1[yyj1] = AttachedVolume{} + yyv4566[yyj4566] = AttachedVolume{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4567 := &yyv4566[yyj4566] + yyv4567.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, AttachedVolume{}) - yyh1.ElemContainerState(yyj1) + if yyrt4566 { + for ; yyj4566 < yyl4566; yyj4566++ { + yyv4566 = append(yyv4566, AttachedVolume{}) + yyh4566.ElemContainerState(yyj4566) if r.TryDecodeAsNil() { - yyv1[yyj1] = AttachedVolume{} + yyv4566[yyj4566] = AttachedVolume{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4568 := &yyv4566[yyj4566] + yyv4568.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4566 := 0 + for ; !r.CheckBreak(); yyj4566++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, AttachedVolume{}) // var yyz1 AttachedVolume - yyc1 = true + if yyj4566 >= len(yyv4566) { + yyv4566 = append(yyv4566, AttachedVolume{}) // var yyz4566 AttachedVolume + yyc4566 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4566.ElemContainerState(yyj4566) + if yyj4566 < len(yyv4566) { if r.TryDecodeAsNil() { - yyv1[yyj1] = AttachedVolume{} + yyv4566[yyj4566] = AttachedVolume{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4569 := &yyv4566[yyj4566] + yyv4569.CodecDecodeSelf(d) } } else { @@ -58543,17 +58429,17 @@ func (x codecSelfer1234) decSliceAttachedVolume(v *[]AttachedVolume, d *codec197 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []AttachedVolume{} - yyc1 = true + if yyj4566 < len(yyv4566) { + yyv4566 = yyv4566[:yyj4566] + yyc4566 = true + } else if yyj4566 == 0 && yyv4566 == nil { + yyv4566 = []AttachedVolume{} + yyc4566 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4566.End() + if yyc4566 { + *v = yyv4566 } } @@ -58562,10 +58448,10 @@ func (x codecSelfer1234) encSlicePreferAvoidPodsEntry(v []PreferAvoidPodsEntry, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4570 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4571 := &yyv4570 + yy4571.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58575,86 +58461,83 @@ func (x codecSelfer1234) decSlicePreferAvoidPodsEntry(v *[]PreferAvoidPodsEntry, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PreferAvoidPodsEntry{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4572 := *v + yyh4572, yyl4572 := z.DecSliceHelperStart() + var yyc4572 bool + if yyl4572 == 0 { + if yyv4572 == nil { + yyv4572 = []PreferAvoidPodsEntry{} + yyc4572 = true + } else if len(yyv4572) != 0 { + yyv4572 = yyv4572[:0] + yyc4572 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4572 > 0 { + var yyrr4572, yyrl4572 int + var yyrt4572 bool + if yyl4572 > cap(yyv4572) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4572 := len(yyv4572) > 0 + yyv24572 := yyv4572 + yyrl4572, yyrt4572 = z.DecInferLen(yyl4572, z.DecBasicHandle().MaxInitLen, 64) + if yyrt4572 { + if yyrl4572 <= cap(yyv4572) { + yyv4572 = yyv4572[:yyrl4572] } else { - yyv1 = make([]PreferAvoidPodsEntry, yyrl1) + yyv4572 = make([]PreferAvoidPodsEntry, yyrl4572) } } else { - yyv1 = make([]PreferAvoidPodsEntry, yyrl1) + yyv4572 = make([]PreferAvoidPodsEntry, yyrl4572) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4572 = true + yyrr4572 = len(yyv4572) + if yyrg4572 { + copy(yyv4572, yyv24572) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4572 != len(yyv4572) { + yyv4572 = yyv4572[:yyl4572] + yyc4572 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4572 := 0 + for ; yyj4572 < yyrr4572; yyj4572++ { + yyh4572.ElemContainerState(yyj4572) if r.TryDecodeAsNil() { - yyv1[yyj1] = PreferAvoidPodsEntry{} + yyv4572[yyj4572] = PreferAvoidPodsEntry{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4573 := &yyv4572[yyj4572] + yyv4573.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PreferAvoidPodsEntry{}) - yyh1.ElemContainerState(yyj1) + if yyrt4572 { + for ; yyj4572 < yyl4572; yyj4572++ { + yyv4572 = append(yyv4572, PreferAvoidPodsEntry{}) + yyh4572.ElemContainerState(yyj4572) if r.TryDecodeAsNil() { - yyv1[yyj1] = PreferAvoidPodsEntry{} + yyv4572[yyj4572] = PreferAvoidPodsEntry{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4574 := &yyv4572[yyj4572] + yyv4574.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4572 := 0 + for ; !r.CheckBreak(); yyj4572++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PreferAvoidPodsEntry{}) // var yyz1 PreferAvoidPodsEntry - yyc1 = true + if yyj4572 >= len(yyv4572) { + yyv4572 = append(yyv4572, PreferAvoidPodsEntry{}) // var yyz4572 PreferAvoidPodsEntry + yyc4572 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4572.ElemContainerState(yyj4572) + if yyj4572 < len(yyv4572) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PreferAvoidPodsEntry{} + yyv4572[yyj4572] = PreferAvoidPodsEntry{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4575 := &yyv4572[yyj4572] + yyv4575.CodecDecodeSelf(d) } } else { @@ -58662,17 +58545,17 @@ func (x codecSelfer1234) decSlicePreferAvoidPodsEntry(v *[]PreferAvoidPodsEntry, } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PreferAvoidPodsEntry{} - yyc1 = true + if yyj4572 < len(yyv4572) { + yyv4572 = yyv4572[:yyj4572] + yyc4572 = true + } else if yyj4572 == 0 && yyv4572 == nil { + yyv4572 = []PreferAvoidPodsEntry{} + yyc4572 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4572.End() + if yyc4572 { + *v = yyv4572 } } @@ -58681,19 +58564,19 @@ func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk1, yyv1 := range v { + for yyk4576, yyv4576 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yyk1.CodecEncodeSelf(e) + yyk4576.CodecEncodeSelf(e) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3 := &yyv1 - yym4 := z.EncBinary() - _ = yym4 + yy4577 := &yyv4576 + yym4578 := z.EncBinary() + _ = yym4578 if false { - } else if z.HasExtensions() && z.EncExt(yy3) { - } else if !yym4 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3) + } else if z.HasExtensions() && z.EncExt(yy4577) { + } else if !yym4578 && z.IsJSONHandle() { + z.EncJSONMarshal(yy4577) } else { - z.EncFallback(yy3) + z.EncFallback(yy4577) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -58704,86 +58587,86 @@ func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyl1 := r.ReadMapStart() - yybh1 := z.DecBasicHandle() - if yyv1 == nil { - yyrl1, _ := z.DecInferLen(yyl1, yybh1.MaxInitLen, 72) - yyv1 = make(map[ResourceName]pkg3_resource.Quantity, yyrl1) - *v = yyv1 + yyv4579 := *v + yyl4579 := r.ReadMapStart() + yybh4579 := z.DecBasicHandle() + if yyv4579 == nil { + yyrl4579, _ := z.DecInferLen(yyl4579, yybh4579.MaxInitLen, 72) + yyv4579 = make(map[ResourceName]pkg3_resource.Quantity, yyrl4579) + *v = yyv4579 } - var yymk1 ResourceName - var yymv1 pkg3_resource.Quantity - var yymg1 bool - if yybh1.MapValueReset { - yymg1 = true + var yymk4579 ResourceName + var yymv4579 pkg3_resource.Quantity + var yymg4579 bool + if yybh4579.MapValueReset { + yymg4579 = true } - if yyl1 > 0 { - for yyj1 := 0; yyj1 < yyl1; yyj1++ { + if yyl4579 > 0 { + for yyj4579 := 0; yyj4579 < yyl4579; yyj4579++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk4579 = "" } else { - yymk1 = ResourceName(r.DecodeString()) + yymk4579 = ResourceName(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg4579 { + yymv4579 = yyv4579[yymk4579] } else { - yymv1 = pkg3_resource.Quantity{} + yymv4579 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = pkg3_resource.Quantity{} + yymv4579 = pkg3_resource.Quantity{} } else { - yyv3 := &yymv1 - yym4 := z.DecBinary() - _ = yym4 + yyv4581 := &yymv4579 + yym4582 := z.DecBinary() + _ = yym4582 if false { - } else if z.HasExtensions() && z.DecExt(yyv3) { - } else if !yym4 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3) + } else if z.HasExtensions() && z.DecExt(yyv4581) { + } else if !yym4582 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4581) } else { - z.DecFallback(yyv3, false) + z.DecFallback(yyv4581, false) } } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv4579 != nil { + yyv4579[yymk4579] = yymv4579 } } - } else if yyl1 < 0 { - for yyj1 := 0; !r.CheckBreak(); yyj1++ { + } else if yyl4579 < 0 { + for yyj4579 := 0; !r.CheckBreak(); yyj4579++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk4579 = "" } else { - yymk1 = ResourceName(r.DecodeString()) + yymk4579 = ResourceName(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg4579 { + yymv4579 = yyv4579[yymk4579] } else { - yymv1 = pkg3_resource.Quantity{} + yymv4579 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = pkg3_resource.Quantity{} + yymv4579 = pkg3_resource.Quantity{} } else { - yyv6 := &yymv1 - yym7 := z.DecBinary() - _ = yym7 + yyv4584 := &yymv4579 + yym4585 := z.DecBinary() + _ = yym4585 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv4584) { + } else if !yym4585 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4584) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv4584, false) } } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv4579 != nil { + yyv4579[yymk4579] = yymv4579 } } } // else len==0: TODO: Should we clear map entries? @@ -58795,10 +58678,10 @@ func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4586 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4587 := &yyv4586 + yy4587.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58808,86 +58691,83 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Node{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4588 := *v + yyh4588, yyl4588 := z.DecSliceHelperStart() + var yyc4588 bool + if yyl4588 == 0 { + if yyv4588 == nil { + yyv4588 = []Node{} + yyc4588 = true + } else if len(yyv4588) != 0 { + yyv4588 = yyv4588[:0] + yyc4588 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4588 > 0 { + var yyrr4588, yyrl4588 int + var yyrt4588 bool + if yyl4588 > cap(yyv4588) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 616) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4588 := len(yyv4588) > 0 + yyv24588 := yyv4588 + yyrl4588, yyrt4588 = z.DecInferLen(yyl4588, z.DecBasicHandle().MaxInitLen, 616) + if yyrt4588 { + if yyrl4588 <= cap(yyv4588) { + yyv4588 = yyv4588[:yyrl4588] } else { - yyv1 = make([]Node, yyrl1) + yyv4588 = make([]Node, yyrl4588) } } else { - yyv1 = make([]Node, yyrl1) + yyv4588 = make([]Node, yyrl4588) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4588 = true + yyrr4588 = len(yyv4588) + if yyrg4588 { + copy(yyv4588, yyv24588) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4588 != len(yyv4588) { + yyv4588 = yyv4588[:yyl4588] + yyc4588 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4588 := 0 + for ; yyj4588 < yyrr4588; yyj4588++ { + yyh4588.ElemContainerState(yyj4588) if r.TryDecodeAsNil() { - yyv1[yyj1] = Node{} + yyv4588[yyj4588] = Node{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4589 := &yyv4588[yyj4588] + yyv4589.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Node{}) - yyh1.ElemContainerState(yyj1) + if yyrt4588 { + for ; yyj4588 < yyl4588; yyj4588++ { + yyv4588 = append(yyv4588, Node{}) + yyh4588.ElemContainerState(yyj4588) if r.TryDecodeAsNil() { - yyv1[yyj1] = Node{} + yyv4588[yyj4588] = Node{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4590 := &yyv4588[yyj4588] + yyv4590.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4588 := 0 + for ; !r.CheckBreak(); yyj4588++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Node{}) // var yyz1 Node - yyc1 = true + if yyj4588 >= len(yyv4588) { + yyv4588 = append(yyv4588, Node{}) // var yyz4588 Node + yyc4588 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4588.ElemContainerState(yyj4588) + if yyj4588 < len(yyv4588) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Node{} + yyv4588[yyj4588] = Node{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4591 := &yyv4588[yyj4588] + yyv4591.CodecDecodeSelf(d) } } else { @@ -58895,17 +58775,17 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Node{} - yyc1 = true + if yyj4588 < len(yyv4588) { + yyv4588 = yyv4588[:yyj4588] + yyc4588 = true + } else if yyj4588 == 0 && yyv4588 == nil { + yyv4588 = []Node{} + yyc4588 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4588.End() + if yyc4588 { + *v = yyv4588 } } @@ -58914,9 +58794,9 @@ func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4592 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1.CodecEncodeSelf(e) + yyv4592.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58926,78 +58806,75 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []FinalizerName{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4593 := *v + yyh4593, yyl4593 := z.DecSliceHelperStart() + var yyc4593 bool + if yyl4593 == 0 { + if yyv4593 == nil { + yyv4593 = []FinalizerName{} + yyc4593 = true + } else if len(yyv4593) != 0 { + yyv4593 = yyv4593[:0] + yyc4593 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4593 > 0 { + var yyrr4593, yyrl4593 int + var yyrt4593 bool + if yyl4593 > cap(yyv4593) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl4593, yyrt4593 = z.DecInferLen(yyl4593, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4593 { + if yyrl4593 <= cap(yyv4593) { + yyv4593 = yyv4593[:yyrl4593] } else { - yyv1 = make([]FinalizerName, yyrl1) + yyv4593 = make([]FinalizerName, yyrl4593) } } else { - yyv1 = make([]FinalizerName, yyrl1) + yyv4593 = make([]FinalizerName, yyrl4593) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc4593 = true + yyrr4593 = len(yyv4593) + } else if yyl4593 != len(yyv4593) { + yyv4593 = yyv4593[:yyl4593] + yyc4593 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4593 := 0 + for ; yyj4593 < yyrr4593; yyj4593++ { + yyh4593.ElemContainerState(yyj4593) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4593[yyj4593] = "" } else { - yyv1[yyj1] = FinalizerName(r.DecodeString()) + yyv4593[yyj4593] = FinalizerName(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt4593 { + for ; yyj4593 < yyl4593; yyj4593++ { + yyv4593 = append(yyv4593, "") + yyh4593.ElemContainerState(yyj4593) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4593[yyj4593] = "" } else { - yyv1[yyj1] = FinalizerName(r.DecodeString()) + yyv4593[yyj4593] = FinalizerName(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4593 := 0 + for ; !r.CheckBreak(); yyj4593++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 FinalizerName - yyc1 = true + if yyj4593 >= len(yyv4593) { + yyv4593 = append(yyv4593, "") // var yyz4593 FinalizerName + yyc4593 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4593.ElemContainerState(yyj4593) + if yyj4593 < len(yyv4593) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4593[yyj4593] = "" } else { - yyv1[yyj1] = FinalizerName(r.DecodeString()) + yyv4593[yyj4593] = FinalizerName(r.DecodeString()) } } else { @@ -59005,17 +58882,17 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []FinalizerName{} - yyc1 = true + if yyj4593 < len(yyv4593) { + yyv4593 = yyv4593[:yyj4593] + yyc4593 = true + } else if yyj4593 == 0 && yyv4593 == nil { + yyv4593 = []FinalizerName{} + yyc4593 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4593.End() + if yyc4593 { + *v = yyv4593 } } @@ -59024,10 +58901,10 @@ func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4597 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4598 := &yyv4597 + yy4598.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59037,86 +58914,83 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Namespace{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4599 := *v + yyh4599, yyl4599 := z.DecSliceHelperStart() + var yyc4599 bool + if yyl4599 == 0 { + if yyv4599 == nil { + yyv4599 = []Namespace{} + yyc4599 = true + } else if len(yyv4599) != 0 { + yyv4599 = yyv4599[:0] + yyc4599 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4599 > 0 { + var yyrr4599, yyrl4599 int + var yyrt4599 bool + if yyl4599 > cap(yyv4599) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4599 := len(yyv4599) > 0 + yyv24599 := yyv4599 + yyrl4599, yyrt4599 = z.DecInferLen(yyl4599, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4599 { + if yyrl4599 <= cap(yyv4599) { + yyv4599 = yyv4599[:yyrl4599] } else { - yyv1 = make([]Namespace, yyrl1) + yyv4599 = make([]Namespace, yyrl4599) } } else { - yyv1 = make([]Namespace, yyrl1) + yyv4599 = make([]Namespace, yyrl4599) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4599 = true + yyrr4599 = len(yyv4599) + if yyrg4599 { + copy(yyv4599, yyv24599) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4599 != len(yyv4599) { + yyv4599 = yyv4599[:yyl4599] + yyc4599 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4599 := 0 + for ; yyj4599 < yyrr4599; yyj4599++ { + yyh4599.ElemContainerState(yyj4599) if r.TryDecodeAsNil() { - yyv1[yyj1] = Namespace{} + yyv4599[yyj4599] = Namespace{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4600 := &yyv4599[yyj4599] + yyv4600.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Namespace{}) - yyh1.ElemContainerState(yyj1) + if yyrt4599 { + for ; yyj4599 < yyl4599; yyj4599++ { + yyv4599 = append(yyv4599, Namespace{}) + yyh4599.ElemContainerState(yyj4599) if r.TryDecodeAsNil() { - yyv1[yyj1] = Namespace{} + yyv4599[yyj4599] = Namespace{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4601 := &yyv4599[yyj4599] + yyv4601.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4599 := 0 + for ; !r.CheckBreak(); yyj4599++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Namespace{}) // var yyz1 Namespace - yyc1 = true + if yyj4599 >= len(yyv4599) { + yyv4599 = append(yyv4599, Namespace{}) // var yyz4599 Namespace + yyc4599 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4599.ElemContainerState(yyj4599) + if yyj4599 < len(yyv4599) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Namespace{} + yyv4599[yyj4599] = Namespace{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4602 := &yyv4599[yyj4599] + yyv4602.CodecDecodeSelf(d) } } else { @@ -59124,17 +58998,17 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Namespace{} - yyc1 = true + if yyj4599 < len(yyv4599) { + yyv4599 = yyv4599[:yyj4599] + yyc4599 = true + } else if yyj4599 == 0 && yyv4599 == nil { + yyv4599 = []Namespace{} + yyc4599 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4599.End() + if yyc4599 { + *v = yyv4599 } } @@ -59143,10 +59017,10 @@ func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4603 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4604 := &yyv4603 + yy4604.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59156,86 +59030,83 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Event{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4605 := *v + yyh4605, yyl4605 := z.DecSliceHelperStart() + var yyc4605 bool + if yyl4605 == 0 { + if yyv4605 == nil { + yyv4605 = []Event{} + yyc4605 = true + } else if len(yyv4605) != 0 { + yyv4605 = yyv4605[:0] + yyc4605 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4605 > 0 { + var yyrr4605, yyrl4605 int + var yyrt4605 bool + if yyl4605 > cap(yyv4605) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 488) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4605 := len(yyv4605) > 0 + yyv24605 := yyv4605 + yyrl4605, yyrt4605 = z.DecInferLen(yyl4605, z.DecBasicHandle().MaxInitLen, 488) + if yyrt4605 { + if yyrl4605 <= cap(yyv4605) { + yyv4605 = yyv4605[:yyrl4605] } else { - yyv1 = make([]Event, yyrl1) + yyv4605 = make([]Event, yyrl4605) } } else { - yyv1 = make([]Event, yyrl1) + yyv4605 = make([]Event, yyrl4605) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4605 = true + yyrr4605 = len(yyv4605) + if yyrg4605 { + copy(yyv4605, yyv24605) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4605 != len(yyv4605) { + yyv4605 = yyv4605[:yyl4605] + yyc4605 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4605 := 0 + for ; yyj4605 < yyrr4605; yyj4605++ { + yyh4605.ElemContainerState(yyj4605) if r.TryDecodeAsNil() { - yyv1[yyj1] = Event{} + yyv4605[yyj4605] = Event{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4606 := &yyv4605[yyj4605] + yyv4606.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Event{}) - yyh1.ElemContainerState(yyj1) + if yyrt4605 { + for ; yyj4605 < yyl4605; yyj4605++ { + yyv4605 = append(yyv4605, Event{}) + yyh4605.ElemContainerState(yyj4605) if r.TryDecodeAsNil() { - yyv1[yyj1] = Event{} + yyv4605[yyj4605] = Event{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4607 := &yyv4605[yyj4605] + yyv4607.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4605 := 0 + for ; !r.CheckBreak(); yyj4605++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Event{}) // var yyz1 Event - yyc1 = true + if yyj4605 >= len(yyv4605) { + yyv4605 = append(yyv4605, Event{}) // var yyz4605 Event + yyc4605 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4605.ElemContainerState(yyj4605) + if yyj4605 < len(yyv4605) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Event{} + yyv4605[yyj4605] = Event{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4608 := &yyv4605[yyj4605] + yyv4608.CodecDecodeSelf(d) } } else { @@ -59243,17 +59114,17 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Event{} - yyc1 = true + if yyj4605 < len(yyv4605) { + yyv4605 = yyv4605[:yyj4605] + yyc4605 = true + } else if yyj4605 == 0 && yyv4605 == nil { + yyv4605 = []Event{} + yyc4605 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4605.End() + if yyc4605 { + *v = yyv4605 } } @@ -59262,17 +59133,17 @@ func (x codecSelfer1234) encSliceruntime_Object(v []pkg7_runtime.Object, e *code z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4609 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyv1 == nil { + if yyv4609 == nil { r.EncodeNil() } else { - yym2 := z.EncBinary() - _ = yym2 + yym4610 := z.EncBinary() + _ = yym4610 if false { - } else if z.HasExtensions() && z.EncExt(yyv1) { + } else if z.HasExtensions() && z.EncExt(yyv4609) { } else { - z.EncFallback(yyv1) + z.EncFallback(yyv4609) } } } @@ -59284,77 +59155,74 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg7_runtime.Object, d *cod z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []pkg7_runtime.Object{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4611 := *v + yyh4611, yyl4611 := z.DecSliceHelperStart() + var yyc4611 bool + if yyl4611 == 0 { + if yyv4611 == nil { + yyv4611 = []pkg7_runtime.Object{} + yyc4611 = true + } else if len(yyv4611) != 0 { + yyv4611 = yyv4611[:0] + yyc4611 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4611 > 0 { + var yyrr4611, yyrl4611 int + var yyrt4611 bool + if yyl4611 > cap(yyv4611) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4611 := len(yyv4611) > 0 + yyv24611 := yyv4611 + yyrl4611, yyrt4611 = z.DecInferLen(yyl4611, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4611 { + if yyrl4611 <= cap(yyv4611) { + yyv4611 = yyv4611[:yyrl4611] } else { - yyv1 = make([]pkg7_runtime.Object, yyrl1) + yyv4611 = make([]pkg7_runtime.Object, yyrl4611) } } else { - yyv1 = make([]pkg7_runtime.Object, yyrl1) + yyv4611 = make([]pkg7_runtime.Object, yyrl4611) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4611 = true + yyrr4611 = len(yyv4611) + if yyrg4611 { + copy(yyv4611, yyv24611) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4611 != len(yyv4611) { + yyv4611 = yyv4611[:yyl4611] + yyc4611 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4611 := 0 + for ; yyj4611 < yyrr4611; yyj4611++ { + yyh4611.ElemContainerState(yyj4611) if r.TryDecodeAsNil() { - yyv1[yyj1] = nil + yyv4611[yyj4611] = nil } else { - yyv2 := &yyv1[yyj1] - yym3 := z.DecBinary() - _ = yym3 + yyv4612 := &yyv4611[yyj4611] + yym4613 := z.DecBinary() + _ = yym4613 if false { - } else if z.HasExtensions() && z.DecExt(yyv2) { + } else if z.HasExtensions() && z.DecExt(yyv4612) { } else { - z.DecFallback(yyv2, true) + z.DecFallback(yyv4612, true) } } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, nil) - yyh1.ElemContainerState(yyj1) + if yyrt4611 { + for ; yyj4611 < yyl4611; yyj4611++ { + yyv4611 = append(yyv4611, nil) + yyh4611.ElemContainerState(yyj4611) if r.TryDecodeAsNil() { - yyv1[yyj1] = nil + yyv4611[yyj4611] = nil } else { - yyv4 := &yyv1[yyj1] - yym5 := z.DecBinary() - _ = yym5 + yyv4614 := &yyv4611[yyj4611] + yym4615 := z.DecBinary() + _ = yym4615 if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { + } else if z.HasExtensions() && z.DecExt(yyv4614) { } else { - z.DecFallback(yyv4, true) + z.DecFallback(yyv4614, true) } } @@ -59362,25 +59230,25 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg7_runtime.Object, d *cod } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4611 := 0 + for ; !r.CheckBreak(); yyj4611++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, nil) // var yyz1 pkg7_runtime.Object - yyc1 = true + if yyj4611 >= len(yyv4611) { + yyv4611 = append(yyv4611, nil) // var yyz4611 pkg7_runtime.Object + yyc4611 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4611.ElemContainerState(yyj4611) + if yyj4611 < len(yyv4611) { if r.TryDecodeAsNil() { - yyv1[yyj1] = nil + yyv4611[yyj4611] = nil } else { - yyv6 := &yyv1[yyj1] - yym7 := z.DecBinary() - _ = yym7 + yyv4616 := &yyv4611[yyj4611] + yym4617 := z.DecBinary() + _ = yym4617 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { + } else if z.HasExtensions() && z.DecExt(yyv4616) { } else { - z.DecFallback(yyv6, true) + z.DecFallback(yyv4616, true) } } @@ -59389,17 +59257,17 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg7_runtime.Object, d *cod } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []pkg7_runtime.Object{} - yyc1 = true + if yyj4611 < len(yyv4611) { + yyv4611 = yyv4611[:yyj4611] + yyc4611 = true + } else if yyj4611 == 0 && yyv4611 == nil { + yyv4611 = []pkg7_runtime.Object{} + yyc4611 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4611.End() + if yyc4611 { + *v = yyv4611 } } @@ -59408,10 +59276,10 @@ func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4618 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4619 := &yyv4618 + yy4619.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59421,86 +59289,83 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []LimitRangeItem{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4620 := *v + yyh4620, yyl4620 := z.DecSliceHelperStart() + var yyc4620 bool + if yyl4620 == 0 { + if yyv4620 == nil { + yyv4620 = []LimitRangeItem{} + yyc4620 = true + } else if len(yyv4620) != 0 { + yyv4620 = yyv4620[:0] + yyc4620 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4620 > 0 { + var yyrr4620, yyrl4620 int + var yyrt4620 bool + if yyl4620 > cap(yyv4620) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4620 := len(yyv4620) > 0 + yyv24620 := yyv4620 + yyrl4620, yyrt4620 = z.DecInferLen(yyl4620, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4620 { + if yyrl4620 <= cap(yyv4620) { + yyv4620 = yyv4620[:yyrl4620] } else { - yyv1 = make([]LimitRangeItem, yyrl1) + yyv4620 = make([]LimitRangeItem, yyrl4620) } } else { - yyv1 = make([]LimitRangeItem, yyrl1) + yyv4620 = make([]LimitRangeItem, yyrl4620) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4620 = true + yyrr4620 = len(yyv4620) + if yyrg4620 { + copy(yyv4620, yyv24620) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4620 != len(yyv4620) { + yyv4620 = yyv4620[:yyl4620] + yyc4620 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4620 := 0 + for ; yyj4620 < yyrr4620; yyj4620++ { + yyh4620.ElemContainerState(yyj4620) if r.TryDecodeAsNil() { - yyv1[yyj1] = LimitRangeItem{} + yyv4620[yyj4620] = LimitRangeItem{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4621 := &yyv4620[yyj4620] + yyv4621.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, LimitRangeItem{}) - yyh1.ElemContainerState(yyj1) + if yyrt4620 { + for ; yyj4620 < yyl4620; yyj4620++ { + yyv4620 = append(yyv4620, LimitRangeItem{}) + yyh4620.ElemContainerState(yyj4620) if r.TryDecodeAsNil() { - yyv1[yyj1] = LimitRangeItem{} + yyv4620[yyj4620] = LimitRangeItem{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4622 := &yyv4620[yyj4620] + yyv4622.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4620 := 0 + for ; !r.CheckBreak(); yyj4620++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, LimitRangeItem{}) // var yyz1 LimitRangeItem - yyc1 = true + if yyj4620 >= len(yyv4620) { + yyv4620 = append(yyv4620, LimitRangeItem{}) // var yyz4620 LimitRangeItem + yyc4620 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4620.ElemContainerState(yyj4620) + if yyj4620 < len(yyv4620) { if r.TryDecodeAsNil() { - yyv1[yyj1] = LimitRangeItem{} + yyv4620[yyj4620] = LimitRangeItem{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4623 := &yyv4620[yyj4620] + yyv4623.CodecDecodeSelf(d) } } else { @@ -59508,17 +59373,17 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []LimitRangeItem{} - yyc1 = true + if yyj4620 < len(yyv4620) { + yyv4620 = yyv4620[:yyj4620] + yyc4620 = true + } else if yyj4620 == 0 && yyv4620 == nil { + yyv4620 = []LimitRangeItem{} + yyc4620 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4620.End() + if yyc4620 { + *v = yyv4620 } } @@ -59527,10 +59392,10 @@ func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4624 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4625 := &yyv4624 + yy4625.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59540,86 +59405,83 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []LimitRange{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4626 := *v + yyh4626, yyl4626 := z.DecSliceHelperStart() + var yyc4626 bool + if yyl4626 == 0 { + if yyv4626 == nil { + yyv4626 = []LimitRange{} + yyc4626 = true + } else if len(yyv4626) != 0 { + yyv4626 = yyv4626[:0] + yyc4626 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4626 > 0 { + var yyrr4626, yyrl4626 int + var yyrt4626 bool + if yyl4626 > cap(yyv4626) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 264) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4626 := len(yyv4626) > 0 + yyv24626 := yyv4626 + yyrl4626, yyrt4626 = z.DecInferLen(yyl4626, z.DecBasicHandle().MaxInitLen, 264) + if yyrt4626 { + if yyrl4626 <= cap(yyv4626) { + yyv4626 = yyv4626[:yyrl4626] } else { - yyv1 = make([]LimitRange, yyrl1) + yyv4626 = make([]LimitRange, yyrl4626) } } else { - yyv1 = make([]LimitRange, yyrl1) + yyv4626 = make([]LimitRange, yyrl4626) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4626 = true + yyrr4626 = len(yyv4626) + if yyrg4626 { + copy(yyv4626, yyv24626) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4626 != len(yyv4626) { + yyv4626 = yyv4626[:yyl4626] + yyc4626 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4626 := 0 + for ; yyj4626 < yyrr4626; yyj4626++ { + yyh4626.ElemContainerState(yyj4626) if r.TryDecodeAsNil() { - yyv1[yyj1] = LimitRange{} + yyv4626[yyj4626] = LimitRange{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4627 := &yyv4626[yyj4626] + yyv4627.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, LimitRange{}) - yyh1.ElemContainerState(yyj1) + if yyrt4626 { + for ; yyj4626 < yyl4626; yyj4626++ { + yyv4626 = append(yyv4626, LimitRange{}) + yyh4626.ElemContainerState(yyj4626) if r.TryDecodeAsNil() { - yyv1[yyj1] = LimitRange{} + yyv4626[yyj4626] = LimitRange{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4628 := &yyv4626[yyj4626] + yyv4628.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4626 := 0 + for ; !r.CheckBreak(); yyj4626++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, LimitRange{}) // var yyz1 LimitRange - yyc1 = true + if yyj4626 >= len(yyv4626) { + yyv4626 = append(yyv4626, LimitRange{}) // var yyz4626 LimitRange + yyc4626 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4626.ElemContainerState(yyj4626) + if yyj4626 < len(yyv4626) { if r.TryDecodeAsNil() { - yyv1[yyj1] = LimitRange{} + yyv4626[yyj4626] = LimitRange{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4629 := &yyv4626[yyj4626] + yyv4629.CodecDecodeSelf(d) } } else { @@ -59627,17 +59489,17 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []LimitRange{} - yyc1 = true + if yyj4626 < len(yyv4626) { + yyv4626 = yyv4626[:yyj4626] + yyc4626 = true + } else if yyj4626 == 0 && yyv4626 == nil { + yyv4626 = []LimitRange{} + yyc4626 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4626.End() + if yyc4626 { + *v = yyv4626 } } @@ -59646,9 +59508,9 @@ func (x codecSelfer1234) encSliceResourceQuotaScope(v []ResourceQuotaScope, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4630 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1.CodecEncodeSelf(e) + yyv4630.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59658,78 +59520,75 @@ func (x codecSelfer1234) decSliceResourceQuotaScope(v *[]ResourceQuotaScope, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ResourceQuotaScope{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4631 := *v + yyh4631, yyl4631 := z.DecSliceHelperStart() + var yyc4631 bool + if yyl4631 == 0 { + if yyv4631 == nil { + yyv4631 = []ResourceQuotaScope{} + yyc4631 = true + } else if len(yyv4631) != 0 { + yyv4631 = yyv4631[:0] + yyc4631 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4631 > 0 { + var yyrr4631, yyrl4631 int + var yyrt4631 bool + if yyl4631 > cap(yyv4631) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl4631, yyrt4631 = z.DecInferLen(yyl4631, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4631 { + if yyrl4631 <= cap(yyv4631) { + yyv4631 = yyv4631[:yyrl4631] } else { - yyv1 = make([]ResourceQuotaScope, yyrl1) + yyv4631 = make([]ResourceQuotaScope, yyrl4631) } } else { - yyv1 = make([]ResourceQuotaScope, yyrl1) + yyv4631 = make([]ResourceQuotaScope, yyrl4631) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc4631 = true + yyrr4631 = len(yyv4631) + } else if yyl4631 != len(yyv4631) { + yyv4631 = yyv4631[:yyl4631] + yyc4631 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4631 := 0 + for ; yyj4631 < yyrr4631; yyj4631++ { + yyh4631.ElemContainerState(yyj4631) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4631[yyj4631] = "" } else { - yyv1[yyj1] = ResourceQuotaScope(r.DecodeString()) + yyv4631[yyj4631] = ResourceQuotaScope(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt4631 { + for ; yyj4631 < yyl4631; yyj4631++ { + yyv4631 = append(yyv4631, "") + yyh4631.ElemContainerState(yyj4631) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4631[yyj4631] = "" } else { - yyv1[yyj1] = ResourceQuotaScope(r.DecodeString()) + yyv4631[yyj4631] = ResourceQuotaScope(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4631 := 0 + for ; !r.CheckBreak(); yyj4631++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 ResourceQuotaScope - yyc1 = true + if yyj4631 >= len(yyv4631) { + yyv4631 = append(yyv4631, "") // var yyz4631 ResourceQuotaScope + yyc4631 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4631.ElemContainerState(yyj4631) + if yyj4631 < len(yyv4631) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4631[yyj4631] = "" } else { - yyv1[yyj1] = ResourceQuotaScope(r.DecodeString()) + yyv4631[yyj4631] = ResourceQuotaScope(r.DecodeString()) } } else { @@ -59737,17 +59596,17 @@ func (x codecSelfer1234) decSliceResourceQuotaScope(v *[]ResourceQuotaScope, d * } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ResourceQuotaScope{} - yyc1 = true + if yyj4631 < len(yyv4631) { + yyv4631 = yyv4631[:yyj4631] + yyc4631 = true + } else if yyj4631 == 0 && yyv4631 == nil { + yyv4631 = []ResourceQuotaScope{} + yyc4631 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4631.End() + if yyc4631 { + *v = yyv4631 } } @@ -59756,10 +59615,10 @@ func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4635 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4636 := &yyv4635 + yy4636.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59769,86 +59628,83 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ResourceQuota{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4637 := *v + yyh4637, yyl4637 := z.DecSliceHelperStart() + var yyc4637 bool + if yyl4637 == 0 { + if yyv4637 == nil { + yyv4637 = []ResourceQuota{} + yyc4637 = true + } else if len(yyv4637) != 0 { + yyv4637 = yyv4637[:0] + yyc4637 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4637 > 0 { + var yyrr4637, yyrl4637 int + var yyrt4637 bool + if yyl4637 > cap(yyv4637) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 288) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4637 := len(yyv4637) > 0 + yyv24637 := yyv4637 + yyrl4637, yyrt4637 = z.DecInferLen(yyl4637, z.DecBasicHandle().MaxInitLen, 288) + if yyrt4637 { + if yyrl4637 <= cap(yyv4637) { + yyv4637 = yyv4637[:yyrl4637] } else { - yyv1 = make([]ResourceQuota, yyrl1) + yyv4637 = make([]ResourceQuota, yyrl4637) } } else { - yyv1 = make([]ResourceQuota, yyrl1) + yyv4637 = make([]ResourceQuota, yyrl4637) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4637 = true + yyrr4637 = len(yyv4637) + if yyrg4637 { + copy(yyv4637, yyv24637) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4637 != len(yyv4637) { + yyv4637 = yyv4637[:yyl4637] + yyc4637 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4637 := 0 + for ; yyj4637 < yyrr4637; yyj4637++ { + yyh4637.ElemContainerState(yyj4637) if r.TryDecodeAsNil() { - yyv1[yyj1] = ResourceQuota{} + yyv4637[yyj4637] = ResourceQuota{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4638 := &yyv4637[yyj4637] + yyv4638.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ResourceQuota{}) - yyh1.ElemContainerState(yyj1) + if yyrt4637 { + for ; yyj4637 < yyl4637; yyj4637++ { + yyv4637 = append(yyv4637, ResourceQuota{}) + yyh4637.ElemContainerState(yyj4637) if r.TryDecodeAsNil() { - yyv1[yyj1] = ResourceQuota{} + yyv4637[yyj4637] = ResourceQuota{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4639 := &yyv4637[yyj4637] + yyv4639.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4637 := 0 + for ; !r.CheckBreak(); yyj4637++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ResourceQuota{}) // var yyz1 ResourceQuota - yyc1 = true + if yyj4637 >= len(yyv4637) { + yyv4637 = append(yyv4637, ResourceQuota{}) // var yyz4637 ResourceQuota + yyc4637 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4637.ElemContainerState(yyj4637) + if yyj4637 < len(yyv4637) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ResourceQuota{} + yyv4637[yyj4637] = ResourceQuota{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4640 := &yyv4637[yyj4637] + yyv4640.CodecDecodeSelf(d) } } else { @@ -59856,17 +59712,17 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ResourceQuota{} - yyc1 = true + if yyj4637 < len(yyv4637) { + yyv4637 = yyv4637[:yyj4637] + yyc4637 = true + } else if yyj4637 == 0 && yyv4637 == nil { + yyv4637 = []ResourceQuota{} + yyc4637 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4637.End() + if yyc4637 { + *v = yyv4637 } } @@ -59875,23 +59731,23 @@ func (x codecSelfer1234) encMapstringSliceuint8(v map[string][]uint8, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk1, yyv1 := range v { + for yyk4641, yyv4641 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym2 := z.EncBinary() - _ = yym2 + yym4642 := z.EncBinary() + _ = yym4642 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk1)) + r.EncodeString(codecSelferC_UTF81234, string(yyk4641)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv1 == nil { + if yyv4641 == nil { r.EncodeNil() } else { - yym3 := z.EncBinary() - _ = yym3 + yym4643 := z.EncBinary() + _ = yym4643 if false { } else { - r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv1)) + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv4641)) } } } @@ -59903,210 +59759,95 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyl1 := r.ReadMapStart() - yybh1 := z.DecBasicHandle() - if yyv1 == nil { - yyrl1, _ := z.DecInferLen(yyl1, yybh1.MaxInitLen, 40) - yyv1 = make(map[string][]uint8, yyrl1) - *v = yyv1 + yyv4644 := *v + yyl4644 := r.ReadMapStart() + yybh4644 := z.DecBasicHandle() + if yyv4644 == nil { + yyrl4644, _ := z.DecInferLen(yyl4644, yybh4644.MaxInitLen, 40) + yyv4644 = make(map[string][]uint8, yyrl4644) + *v = yyv4644 } - var yymk1 string - var yymv1 []uint8 - var yymg1 bool - if yybh1.MapValueReset { - yymg1 = true + var yymk4644 string + var yymv4644 []uint8 + var yymg4644 bool + if yybh4644.MapValueReset { + yymg4644 = true } - if yyl1 > 0 { - for yyj1 := 0; yyj1 < yyl1; yyj1++ { + if yyl4644 > 0 { + for yyj4644 := 0; yyj4644 < yyl4644; yyj4644++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk4644 = "" } else { - yymk1 = string(r.DecodeString()) + yymk4644 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg4644 { + yymv4644 = yyv4644[yymk4644] } else { - yymv1 = nil + yymv4644 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = nil + yymv4644 = nil } else { - yyv3 := &yymv1 - yym4 := z.DecBinary() - _ = yym4 + yyv4646 := &yymv4644 + yym4647 := z.DecBinary() + _ = yym4647 if false { } else { - *yyv3 = r.DecodeBytes(*(*[]byte)(yyv3), false, false) + *yyv4646 = r.DecodeBytes(*(*[]byte)(yyv4646), false, false) } } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv4644 != nil { + yyv4644[yymk4644] = yymv4644 } } - } else if yyl1 < 0 { - for yyj1 := 0; !r.CheckBreak(); yyj1++ { + } else if yyl4644 < 0 { + for yyj4644 := 0; !r.CheckBreak(); yyj4644++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk4644 = "" } else { - yymk1 = string(r.DecodeString()) + yymk4644 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg4644 { + yymv4644 = yyv4644[yymk4644] } else { - yymv1 = nil + yymv4644 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = nil + yymv4644 = nil } else { - yyv6 := &yymv1 - yym7 := z.DecBinary() - _ = yym7 + yyv4649 := &yymv4644 + yym4650 := z.DecBinary() + _ = yym4650 if false { } else { - *yyv6 = r.DecodeBytes(*(*[]byte)(yyv6), false, false) + *yyv4649 = r.DecodeBytes(*(*[]byte)(yyv4649), false, false) } } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv4644 != nil { + yyv4644[yymk4644] = yymv4644 } } } // else len==0: TODO: Should we clear map entries? z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x codecSelfer1234) encSliceuint8(v []uint8, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2 := z.EncBinary() - _ = yym2 - if false { - } else { - r.EncodeUint(uint64(yyv1)) - } - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceuint8(v *[]uint8, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []uint8{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true - } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { - - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 1) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] - } else { - yyv1 = make([]uint8, yyrl1) - } - } else { - yyv1 = make([]uint8, yyrl1) - } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true - } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) - if r.TryDecodeAsNil() { - yyv1[yyj1] = 0 - } else { - yyv1[yyj1] = uint8(r.DecodeUint(8)) - } - - } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, 0) - yyh1.ElemContainerState(yyj1) - if r.TryDecodeAsNil() { - yyv1[yyj1] = 0 - } else { - yyv1[yyj1] = uint8(r.DecodeUint(8)) - } - - } - } - - } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { - - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, 0) // var yyz1 uint8 - yyc1 = true - } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { - if r.TryDecodeAsNil() { - yyv1[yyj1] = 0 - } else { - yyv1[yyj1] = uint8(r.DecodeUint(8)) - } - - } else { - z.DecSwallow() - } - - } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []uint8{} - yyc1 = true - } - } - yyh1.End() - if yyc1 { - *v = yyv1 - } -} - 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 _, yyv1 := range v { + for _, yyv4651 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4652 := &yyv4651 + yy4652.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60116,86 +59857,83 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Secret{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4653 := *v + yyh4653, yyl4653 := z.DecSliceHelperStart() + var yyc4653 bool + if yyl4653 == 0 { + if yyv4653 == nil { + yyv4653 = []Secret{} + yyc4653 = true + } else if len(yyv4653) != 0 { + yyv4653 = yyv4653[:0] + yyc4653 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4653 > 0 { + var yyrr4653, yyrl4653 int + var yyrt4653 bool + if yyl4653 > cap(yyv4653) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 264) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4653 := len(yyv4653) > 0 + yyv24653 := yyv4653 + yyrl4653, yyrt4653 = z.DecInferLen(yyl4653, z.DecBasicHandle().MaxInitLen, 264) + if yyrt4653 { + if yyrl4653 <= cap(yyv4653) { + yyv4653 = yyv4653[:yyrl4653] } else { - yyv1 = make([]Secret, yyrl1) + yyv4653 = make([]Secret, yyrl4653) } } else { - yyv1 = make([]Secret, yyrl1) + yyv4653 = make([]Secret, yyrl4653) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4653 = true + yyrr4653 = len(yyv4653) + if yyrg4653 { + copy(yyv4653, yyv24653) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4653 != len(yyv4653) { + yyv4653 = yyv4653[:yyl4653] + yyc4653 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4653 := 0 + for ; yyj4653 < yyrr4653; yyj4653++ { + yyh4653.ElemContainerState(yyj4653) if r.TryDecodeAsNil() { - yyv1[yyj1] = Secret{} + yyv4653[yyj4653] = Secret{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4654 := &yyv4653[yyj4653] + yyv4654.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Secret{}) - yyh1.ElemContainerState(yyj1) + if yyrt4653 { + for ; yyj4653 < yyl4653; yyj4653++ { + yyv4653 = append(yyv4653, Secret{}) + yyh4653.ElemContainerState(yyj4653) if r.TryDecodeAsNil() { - yyv1[yyj1] = Secret{} + yyv4653[yyj4653] = Secret{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4655 := &yyv4653[yyj4653] + yyv4655.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4653 := 0 + for ; !r.CheckBreak(); yyj4653++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Secret{}) // var yyz1 Secret - yyc1 = true + if yyj4653 >= len(yyv4653) { + yyv4653 = append(yyv4653, Secret{}) // var yyz4653 Secret + yyc4653 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4653.ElemContainerState(yyj4653) + if yyj4653 < len(yyv4653) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Secret{} + yyv4653[yyj4653] = Secret{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4656 := &yyv4653[yyj4653] + yyv4656.CodecDecodeSelf(d) } } else { @@ -60203,17 +59941,17 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Secret{} - yyc1 = true + if yyj4653 < len(yyv4653) { + yyv4653 = yyv4653[:yyj4653] + yyc4653 = true + } else if yyj4653 == 0 && yyv4653 == nil { + yyv4653 = []Secret{} + yyc4653 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4653.End() + if yyc4653 { + *v = yyv4653 } } @@ -60222,10 +59960,10 @@ func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4657 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4658 := &yyv4657 + yy4658.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60235,86 +59973,83 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ConfigMap{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4659 := *v + yyh4659, yyl4659 := z.DecSliceHelperStart() + var yyc4659 bool + if yyl4659 == 0 { + if yyv4659 == nil { + yyv4659 = []ConfigMap{} + yyc4659 = true + } else if len(yyv4659) != 0 { + yyv4659 = yyv4659[:0] + yyc4659 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4659 > 0 { + var yyrr4659, yyrl4659 int + var yyrt4659 bool + if yyl4659 > cap(yyv4659) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 248) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4659 := len(yyv4659) > 0 + yyv24659 := yyv4659 + yyrl4659, yyrt4659 = z.DecInferLen(yyl4659, z.DecBasicHandle().MaxInitLen, 248) + if yyrt4659 { + if yyrl4659 <= cap(yyv4659) { + yyv4659 = yyv4659[:yyrl4659] } else { - yyv1 = make([]ConfigMap, yyrl1) + yyv4659 = make([]ConfigMap, yyrl4659) } } else { - yyv1 = make([]ConfigMap, yyrl1) + yyv4659 = make([]ConfigMap, yyrl4659) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4659 = true + yyrr4659 = len(yyv4659) + if yyrg4659 { + copy(yyv4659, yyv24659) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4659 != len(yyv4659) { + yyv4659 = yyv4659[:yyl4659] + yyc4659 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4659 := 0 + for ; yyj4659 < yyrr4659; yyj4659++ { + yyh4659.ElemContainerState(yyj4659) if r.TryDecodeAsNil() { - yyv1[yyj1] = ConfigMap{} + yyv4659[yyj4659] = ConfigMap{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4660 := &yyv4659[yyj4659] + yyv4660.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ConfigMap{}) - yyh1.ElemContainerState(yyj1) + if yyrt4659 { + for ; yyj4659 < yyl4659; yyj4659++ { + yyv4659 = append(yyv4659, ConfigMap{}) + yyh4659.ElemContainerState(yyj4659) if r.TryDecodeAsNil() { - yyv1[yyj1] = ConfigMap{} + yyv4659[yyj4659] = ConfigMap{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4661 := &yyv4659[yyj4659] + yyv4661.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4659 := 0 + for ; !r.CheckBreak(); yyj4659++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ConfigMap{}) // var yyz1 ConfigMap - yyc1 = true + if yyj4659 >= len(yyv4659) { + yyv4659 = append(yyv4659, ConfigMap{}) // var yyz4659 ConfigMap + yyc4659 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4659.ElemContainerState(yyj4659) + if yyj4659 < len(yyv4659) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ConfigMap{} + yyv4659[yyj4659] = ConfigMap{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4662 := &yyv4659[yyj4659] + yyv4662.CodecDecodeSelf(d) } } else { @@ -60322,17 +60057,17 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ConfigMap{} - yyc1 = true + if yyj4659 < len(yyv4659) { + yyv4659 = yyv4659[:yyj4659] + yyc4659 = true + } else if yyj4659 == 0 && yyv4659 == nil { + yyv4659 = []ConfigMap{} + yyc4659 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4659.End() + if yyc4659 { + *v = yyv4659 } } @@ -60341,10 +60076,10 @@ func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4663 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4664 := &yyv4663 + yy4664.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60354,86 +60089,83 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ComponentCondition{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4665 := *v + yyh4665, yyl4665 := z.DecSliceHelperStart() + var yyc4665 bool + if yyl4665 == 0 { + if yyv4665 == nil { + yyv4665 = []ComponentCondition{} + yyc4665 = true + } else if len(yyv4665) != 0 { + yyv4665 = yyv4665[:0] + yyc4665 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4665 > 0 { + var yyrr4665, yyrl4665 int + var yyrt4665 bool + if yyl4665 > cap(yyv4665) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4665 := len(yyv4665) > 0 + yyv24665 := yyv4665 + yyrl4665, yyrt4665 = z.DecInferLen(yyl4665, z.DecBasicHandle().MaxInitLen, 64) + if yyrt4665 { + if yyrl4665 <= cap(yyv4665) { + yyv4665 = yyv4665[:yyrl4665] } else { - yyv1 = make([]ComponentCondition, yyrl1) + yyv4665 = make([]ComponentCondition, yyrl4665) } } else { - yyv1 = make([]ComponentCondition, yyrl1) + yyv4665 = make([]ComponentCondition, yyrl4665) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4665 = true + yyrr4665 = len(yyv4665) + if yyrg4665 { + copy(yyv4665, yyv24665) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4665 != len(yyv4665) { + yyv4665 = yyv4665[:yyl4665] + yyc4665 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4665 := 0 + for ; yyj4665 < yyrr4665; yyj4665++ { + yyh4665.ElemContainerState(yyj4665) if r.TryDecodeAsNil() { - yyv1[yyj1] = ComponentCondition{} + yyv4665[yyj4665] = ComponentCondition{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4666 := &yyv4665[yyj4665] + yyv4666.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ComponentCondition{}) - yyh1.ElemContainerState(yyj1) + if yyrt4665 { + for ; yyj4665 < yyl4665; yyj4665++ { + yyv4665 = append(yyv4665, ComponentCondition{}) + yyh4665.ElemContainerState(yyj4665) if r.TryDecodeAsNil() { - yyv1[yyj1] = ComponentCondition{} + yyv4665[yyj4665] = ComponentCondition{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4667 := &yyv4665[yyj4665] + yyv4667.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4665 := 0 + for ; !r.CheckBreak(); yyj4665++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ComponentCondition{}) // var yyz1 ComponentCondition - yyc1 = true + if yyj4665 >= len(yyv4665) { + yyv4665 = append(yyv4665, ComponentCondition{}) // var yyz4665 ComponentCondition + yyc4665 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4665.ElemContainerState(yyj4665) + if yyj4665 < len(yyv4665) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ComponentCondition{} + yyv4665[yyj4665] = ComponentCondition{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4668 := &yyv4665[yyj4665] + yyv4668.CodecDecodeSelf(d) } } else { @@ -60441,17 +60173,17 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ComponentCondition{} - yyc1 = true + if yyj4665 < len(yyv4665) { + yyv4665 = yyv4665[:yyj4665] + yyc4665 = true + } else if yyj4665 == 0 && yyv4665 == nil { + yyv4665 = []ComponentCondition{} + yyc4665 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4665.End() + if yyc4665 { + *v = yyv4665 } } @@ -60460,10 +60192,10 @@ func (x codecSelfer1234) encSliceComponentStatus(v []ComponentStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4669 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4670 := &yyv4669 + yy4670.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60473,86 +60205,83 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ComponentStatus{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4671 := *v + yyh4671, yyl4671 := z.DecSliceHelperStart() + var yyc4671 bool + if yyl4671 == 0 { + if yyv4671 == nil { + yyv4671 = []ComponentStatus{} + yyc4671 = true + } else if len(yyv4671) != 0 { + yyv4671 = yyv4671[:0] + yyc4671 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4671 > 0 { + var yyrr4671, yyrl4671 int + var yyrt4671 bool + if yyl4671 > cap(yyv4671) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 264) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4671 := len(yyv4671) > 0 + yyv24671 := yyv4671 + yyrl4671, yyrt4671 = z.DecInferLen(yyl4671, z.DecBasicHandle().MaxInitLen, 264) + if yyrt4671 { + if yyrl4671 <= cap(yyv4671) { + yyv4671 = yyv4671[:yyrl4671] } else { - yyv1 = make([]ComponentStatus, yyrl1) + yyv4671 = make([]ComponentStatus, yyrl4671) } } else { - yyv1 = make([]ComponentStatus, yyrl1) + yyv4671 = make([]ComponentStatus, yyrl4671) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4671 = true + yyrr4671 = len(yyv4671) + if yyrg4671 { + copy(yyv4671, yyv24671) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4671 != len(yyv4671) { + yyv4671 = yyv4671[:yyl4671] + yyc4671 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4671 := 0 + for ; yyj4671 < yyrr4671; yyj4671++ { + yyh4671.ElemContainerState(yyj4671) if r.TryDecodeAsNil() { - yyv1[yyj1] = ComponentStatus{} + yyv4671[yyj4671] = ComponentStatus{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4672 := &yyv4671[yyj4671] + yyv4672.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ComponentStatus{}) - yyh1.ElemContainerState(yyj1) + if yyrt4671 { + for ; yyj4671 < yyl4671; yyj4671++ { + yyv4671 = append(yyv4671, ComponentStatus{}) + yyh4671.ElemContainerState(yyj4671) if r.TryDecodeAsNil() { - yyv1[yyj1] = ComponentStatus{} + yyv4671[yyj4671] = ComponentStatus{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4673 := &yyv4671[yyj4671] + yyv4673.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4671 := 0 + for ; !r.CheckBreak(); yyj4671++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ComponentStatus{}) // var yyz1 ComponentStatus - yyc1 = true + if yyj4671 >= len(yyv4671) { + yyv4671 = append(yyv4671, ComponentStatus{}) // var yyz4671 ComponentStatus + yyc4671 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4671.ElemContainerState(yyj4671) + if yyj4671 < len(yyv4671) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ComponentStatus{} + yyv4671[yyj4671] = ComponentStatus{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4674 := &yyv4671[yyj4671] + yyv4674.CodecDecodeSelf(d) } } else { @@ -60560,16 +60289,16 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ComponentStatus{} - yyc1 = true + if yyj4671 < len(yyv4671) { + yyv4671 = yyv4671[:yyj4671] + yyc4671 = true + } else if yyj4671 == 0 && yyv4671 == nil { + yyv4671 = []ComponentStatus{} + yyc4671 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4671.End() + if yyc4671 { + *v = yyv4671 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/unversioned/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/api/unversioned/generated.pb.go index 5034cadb7b3..d33d510f02e 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/api/unversioned/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/unversioned/generated.pb.go @@ -69,77 +69,111 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf -func (m *APIGroup) Reset() { *m = APIGroup{} } -func (*APIGroup) ProtoMessage() {} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 -func (m *APIGroupList) Reset() { *m = APIGroupList{} } -func (*APIGroupList) ProtoMessage() {} +func (m *APIGroup) Reset() { *m = APIGroup{} } +func (*APIGroup) ProtoMessage() {} +func (*APIGroup) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } -func (m *APIResource) Reset() { *m = APIResource{} } -func (*APIResource) ProtoMessage() {} +func (m *APIGroupList) Reset() { *m = APIGroupList{} } +func (*APIGroupList) ProtoMessage() {} +func (*APIGroupList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } -func (m *APIResourceList) Reset() { *m = APIResourceList{} } -func (*APIResourceList) ProtoMessage() {} +func (m *APIResource) Reset() { *m = APIResource{} } +func (*APIResource) ProtoMessage() {} +func (*APIResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } -func (m *APIVersions) Reset() { *m = APIVersions{} } -func (*APIVersions) ProtoMessage() {} +func (m *APIResourceList) Reset() { *m = APIResourceList{} } +func (*APIResourceList) ProtoMessage() {} +func (*APIResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } -func (m *Duration) Reset() { *m = Duration{} } -func (*Duration) ProtoMessage() {} +func (m *APIVersions) Reset() { *m = APIVersions{} } +func (*APIVersions) ProtoMessage() {} +func (*APIVersions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } -func (m *ExportOptions) Reset() { *m = ExportOptions{} } -func (*ExportOptions) ProtoMessage() {} +func (m *Duration) Reset() { *m = Duration{} } +func (*Duration) ProtoMessage() {} +func (*Duration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } -func (m *GroupKind) Reset() { *m = GroupKind{} } -func (*GroupKind) ProtoMessage() {} +func (m *ExportOptions) Reset() { *m = ExportOptions{} } +func (*ExportOptions) ProtoMessage() {} +func (*ExportOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } -func (m *GroupResource) Reset() { *m = GroupResource{} } -func (*GroupResource) ProtoMessage() {} +func (m *GroupKind) Reset() { *m = GroupKind{} } +func (*GroupKind) ProtoMessage() {} +func (*GroupKind) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } -func (m *GroupVersion) Reset() { *m = GroupVersion{} } -func (*GroupVersion) ProtoMessage() {} +func (m *GroupResource) Reset() { *m = GroupResource{} } +func (*GroupResource) ProtoMessage() {} +func (*GroupResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } + +func (m *GroupVersion) Reset() { *m = GroupVersion{} } +func (*GroupVersion) ProtoMessage() {} +func (*GroupVersion) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } func (m *GroupVersionForDiscovery) Reset() { *m = GroupVersionForDiscovery{} } func (*GroupVersionForDiscovery) ProtoMessage() {} +func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{10} +} -func (m *GroupVersionKind) Reset() { *m = GroupVersionKind{} } -func (*GroupVersionKind) ProtoMessage() {} +func (m *GroupVersionKind) Reset() { *m = GroupVersionKind{} } +func (*GroupVersionKind) ProtoMessage() {} +func (*GroupVersionKind) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } -func (m *GroupVersionResource) Reset() { *m = GroupVersionResource{} } -func (*GroupVersionResource) ProtoMessage() {} +func (m *GroupVersionResource) Reset() { *m = GroupVersionResource{} } +func (*GroupVersionResource) ProtoMessage() {} +func (*GroupVersionResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } -func (m *LabelSelector) Reset() { *m = LabelSelector{} } -func (*LabelSelector) ProtoMessage() {} +func (m *LabelSelector) Reset() { *m = LabelSelector{} } +func (*LabelSelector) ProtoMessage() {} +func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} } func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } func (*LabelSelectorRequirement) ProtoMessage() {} +func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{14} +} -func (m *ListMeta) Reset() { *m = ListMeta{} } -func (*ListMeta) ProtoMessage() {} +func (m *ListMeta) Reset() { *m = ListMeta{} } +func (*ListMeta) ProtoMessage() {} +func (*ListMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} } -func (m *RootPaths) Reset() { *m = RootPaths{} } -func (*RootPaths) ProtoMessage() {} +func (m *RootPaths) Reset() { *m = RootPaths{} } +func (*RootPaths) ProtoMessage() {} +func (*RootPaths) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} } func (m *ServerAddressByClientCIDR) Reset() { *m = ServerAddressByClientCIDR{} } func (*ServerAddressByClientCIDR) ProtoMessage() {} +func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{17} +} -func (m *Status) Reset() { *m = Status{} } -func (*Status) ProtoMessage() {} +func (m *Status) Reset() { *m = Status{} } +func (*Status) ProtoMessage() {} +func (*Status) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} } -func (m *StatusCause) Reset() { *m = StatusCause{} } -func (*StatusCause) ProtoMessage() {} +func (m *StatusCause) Reset() { *m = StatusCause{} } +func (*StatusCause) ProtoMessage() {} +func (*StatusCause) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} } -func (m *StatusDetails) Reset() { *m = StatusDetails{} } -func (*StatusDetails) ProtoMessage() {} +func (m *StatusDetails) Reset() { *m = StatusDetails{} } +func (*StatusDetails) ProtoMessage() {} +func (*StatusDetails) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} } -func (m *Time) Reset() { *m = Time{} } -func (*Time) ProtoMessage() {} +func (m *Time) Reset() { *m = Time{} } +func (*Time) ProtoMessage() {} +func (*Time) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} } -func (m *Timestamp) Reset() { *m = Timestamp{} } -func (*Timestamp) ProtoMessage() {} +func (m *Timestamp) Reset() { *m = Timestamp{} } +func (*Timestamp) ProtoMessage() {} +func (*Timestamp) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} } -func (m *TypeMeta) Reset() { *m = TypeMeta{} } -func (*TypeMeta) ProtoMessage() {} +func (m *TypeMeta) Reset() { *m = TypeMeta{} } +func (*TypeMeta) ProtoMessage() {} +func (*TypeMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} } func init() { proto.RegisterType((*APIGroup)(nil), "k8s.io.client-go.1.4.pkg.api.unversioned.APIGroup") @@ -4410,3 +4444,93 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 1376 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xcc, 0x57, 0xcd, 0x6f, 0x1b, 0x45, + 0x14, 0xf7, 0x47, 0xec, 0xae, 0x9f, 0x63, 0x92, 0x0e, 0xa9, 0x70, 0x2d, 0x11, 0x87, 0x45, 0xa0, + 0x54, 0x6a, 0x6d, 0x35, 0x02, 0x54, 0x15, 0xf1, 0x11, 0x27, 0x69, 0x15, 0x35, 0x49, 0xa3, 0x49, + 0x15, 0xa4, 0x16, 0x24, 0x36, 0xde, 0xb1, 0xb3, 0xb2, 0xbd, 0xbb, 0xec, 0xec, 0x56, 0x8d, 0x40, + 0xa2, 0x17, 0x24, 0x0e, 0x08, 0xe5, 0xc8, 0x05, 0xd4, 0x4a, 0xfc, 0x07, 0xfc, 0x13, 0x11, 0xa7, + 0x5e, 0x90, 0x38, 0xa0, 0x08, 0xca, 0x85, 0x2b, 0x57, 0x4e, 0xcc, 0xcc, 0xce, 0xec, 0x87, 0x53, + 0x93, 0x0d, 0xf4, 0xc0, 0x61, 0x15, 0xcf, 0xfb, 0x9e, 0xf7, 0x7e, 0xf3, 0xde, 0x0b, 0xbc, 0x39, + 0xb8, 0x46, 0x5b, 0x96, 0xd3, 0x1e, 0x04, 0x7b, 0xc4, 0xb3, 0x89, 0x4f, 0x68, 0xdb, 0x1d, 0xf4, + 0xdb, 0x86, 0x6b, 0xb5, 0x03, 0xfb, 0x3e, 0xf1, 0xa8, 0xe5, 0xd8, 0xc4, 0x6c, 0xf7, 0x89, 0x4d, + 0x3c, 0xc3, 0x27, 0x66, 0xcb, 0xf5, 0x1c, 0xdf, 0x41, 0xaf, 0x85, 0x6a, 0xad, 0x58, 0xad, 0xc5, + 0xd4, 0x5a, 0x4c, 0xad, 0x95, 0x50, 0x6b, 0x5c, 0xe9, 0x5b, 0xfe, 0x7e, 0xb0, 0xd7, 0xea, 0x3a, + 0xa3, 0x76, 0xdf, 0xe9, 0x3b, 0x6d, 0xa1, 0xbd, 0x17, 0xf4, 0xc4, 0x49, 0x1c, 0xc4, 0xaf, 0xd0, + 0x6a, 0xe3, 0xca, 0xb3, 0x83, 0xf1, 0x02, 0xdb, 0xb7, 0x46, 0x64, 0x3c, 0x88, 0xc6, 0xd5, 0x67, + 0x8b, 0x07, 0xbe, 0x35, 0x6c, 0x5b, 0xb6, 0x4f, 0x7d, 0x6f, 0x5c, 0x45, 0xff, 0xb1, 0x08, 0xda, + 0xf2, 0xf6, 0xfa, 0x4d, 0xcf, 0x09, 0x5c, 0xb4, 0x00, 0x53, 0xb6, 0x31, 0x22, 0xf5, 0xfc, 0x42, + 0x7e, 0xb1, 0xd2, 0x99, 0x3e, 0x3a, 0x6e, 0xe6, 0x9e, 0x1e, 0x37, 0xa7, 0xb6, 0x18, 0x0d, 0x0b, + 0x0e, 0x1a, 0x81, 0x26, 0x2f, 0x43, 0xeb, 0x85, 0x85, 0xe2, 0x62, 0x75, 0xe9, 0xbd, 0x56, 0xa6, + 0x9b, 0xb7, 0x84, 0x87, 0xdd, 0xf0, 0x78, 0xc3, 0xf1, 0x56, 0x2d, 0xda, 0x75, 0x18, 0xf7, 0xa0, + 0x33, 0x2b, 0xdd, 0x68, 0x92, 0x49, 0x71, 0xe4, 0x02, 0x7d, 0x91, 0x87, 0x59, 0xd7, 0x23, 0x3d, + 0xe2, 0x79, 0xc4, 0x94, 0xfc, 0x7a, 0x91, 0x45, 0xf7, 0x1c, 0xfc, 0xd6, 0xa5, 0xdf, 0xd9, 0xed, + 0x31, 0x07, 0xf8, 0x84, 0x4b, 0xf4, 0x7d, 0x1e, 0x1a, 0x94, 0x78, 0x4c, 0x6f, 0xd9, 0x34, 0x3d, + 0x42, 0x69, 0xe7, 0x60, 0x65, 0x68, 0x11, 0xdb, 0x5f, 0x59, 0x5f, 0xc5, 0xb4, 0x3e, 0x25, 0x32, + 0xf1, 0x7e, 0xc6, 0x88, 0x76, 0x26, 0x19, 0xea, 0xe8, 0x32, 0xa4, 0xc6, 0x44, 0x11, 0x8a, 0xff, + 0x21, 0x0e, 0xbd, 0x0f, 0xd3, 0xaa, 0x96, 0x1b, 0x16, 0xf5, 0xd1, 0x07, 0x50, 0xee, 0xf3, 0x03, + 0x65, 0x15, 0xe5, 0x11, 0xb6, 0x33, 0x46, 0xa8, 0x8c, 0x74, 0x5e, 0x90, 0x01, 0x95, 0xc5, 0x91, + 0x62, 0x69, 0x4e, 0x67, 0x75, 0xa9, 0x32, 0x21, 0x4c, 0xa8, 0x13, 0x78, 0x5d, 0x92, 0x01, 0x38, + 0x4b, 0x00, 0xfc, 0x2f, 0x75, 0x8d, 0x2e, 0x31, 0x19, 0x74, 0xf2, 0x8b, 0x5a, 0x07, 0x49, 0x39, + 0xd8, 0x8a, 0x38, 0x38, 0x21, 0xc5, 0xad, 0x0e, 0x2c, 0xdb, 0x14, 0x05, 0x4f, 0x58, 0xbd, 0xc5, + 0x68, 0x58, 0x70, 0xf4, 0x1f, 0xf2, 0x30, 0x93, 0x88, 0x43, 0x5c, 0xfa, 0x1a, 0x4c, 0xf7, 0x13, + 0x35, 0x97, 0x31, 0xcd, 0x49, 0xed, 0xe9, 0x24, 0x1e, 0x70, 0x4a, 0x12, 0xf5, 0xa0, 0xe2, 0x49, + 0x4b, 0x0a, 0xdd, 0x4b, 0xd9, 0x33, 0xa6, 0x82, 0x88, 0x5d, 0x25, 0x88, 0x14, 0xc7, 0xa6, 0xf5, + 0x3f, 0xc2, 0xec, 0x29, 0xbc, 0xa3, 0xc5, 0xc4, 0xa3, 0xe2, 0x85, 0x62, 0x77, 0x9d, 0xf0, 0x1e, + 0x4e, 0xc1, 0x61, 0xe1, 0xff, 0x81, 0xc3, 0xeb, 0xda, 0x37, 0x8f, 0x9a, 0xb9, 0x87, 0xbf, 0x2c, + 0xe4, 0xf4, 0x75, 0xd0, 0x56, 0x03, 0xd6, 0x6f, 0x78, 0x7a, 0xdf, 0x01, 0xcd, 0x94, 0xbf, 0x45, + 0x51, 0x8a, 0x9d, 0x57, 0xd4, 0xd3, 0x57, 0x32, 0x7f, 0x1d, 0x37, 0x6b, 0xbc, 0xb3, 0xb5, 0x14, + 0x01, 0x47, 0x2a, 0xfa, 0x87, 0x50, 0x5b, 0x7b, 0xe0, 0x3a, 0x9e, 0x7f, 0xdb, 0xf5, 0x45, 0x32, + 0x5e, 0x87, 0x32, 0x11, 0x04, 0x61, 0x4d, 0x8b, 0xc1, 0x1a, 0x8a, 0x61, 0xc9, 0x45, 0xaf, 0x42, + 0x89, 0x3c, 0x30, 0xba, 0xbe, 0x44, 0x5d, 0x4d, 0x8a, 0x95, 0xd6, 0x38, 0x11, 0x87, 0x3c, 0x66, + 0xbd, 0x22, 0x90, 0xc1, 0xc1, 0xc5, 0x35, 0x04, 0x30, 0x24, 0x76, 0x22, 0x0d, 0x21, 0x81, 0x43, + 0x5e, 0x84, 0xce, 0xc2, 0x24, 0x74, 0x26, 0xd2, 0x30, 0x84, 0x5a, 0xa8, 0xab, 0x1e, 0x4c, 0x26, + 0x0f, 0x97, 0x41, 0x53, 0xa0, 0x91, 0x5e, 0xa2, 0x5e, 0xa9, 0x0c, 0xe1, 0x48, 0x22, 0xe1, 0x6d, + 0x1f, 0x52, 0x28, 0xcf, 0xe6, 0xec, 0x12, 0x9c, 0x93, 0xd0, 0x90, 0xbe, 0x66, 0xa4, 0xd8, 0x39, + 0xf5, 0x58, 0x14, 0x3f, 0xe1, 0xe9, 0x73, 0xa8, 0x4f, 0xea, 0xaf, 0xff, 0xe1, 0x1d, 0x66, 0x0f, + 0x45, 0xff, 0x9a, 0x0d, 0x88, 0xa4, 0xa5, 0xec, 0xe5, 0xcb, 0xee, 0xe4, 0xf4, 0x3e, 0x94, 0xc8, + 0xc8, 0x77, 0x79, 0x98, 0x4b, 0x5d, 0xed, 0x4c, 0x15, 0x3f, 0x43, 0x50, 0x49, 0x70, 0x14, 0xcf, + 0x00, 0x8e, 0x9f, 0x0a, 0x50, 0xdb, 0x30, 0xf6, 0xc8, 0x70, 0x87, 0x0c, 0x49, 0xd7, 0x77, 0x3c, + 0xf4, 0x19, 0x54, 0x47, 0x86, 0xdf, 0xdd, 0x17, 0x54, 0x35, 0x2a, 0xd6, 0x32, 0x36, 0x91, 0x94, + 0xa9, 0xd6, 0x66, 0x6c, 0x67, 0xcd, 0xf6, 0xd9, 0x90, 0x7d, 0x51, 0xc6, 0x54, 0x4d, 0x70, 0x70, + 0xd2, 0x9d, 0x18, 0xf1, 0xe2, 0xcc, 0x5e, 0x2d, 0xef, 0x24, 0xff, 0x62, 0xb5, 0x48, 0xc5, 0x80, + 0xc9, 0x27, 0x81, 0xe5, 0x91, 0x11, 0x6b, 0x46, 0xf1, 0x88, 0xdf, 0x1c, 0x73, 0x80, 0x4f, 0xb8, + 0x6c, 0xbc, 0x0b, 0xb3, 0xe3, 0xd1, 0xa3, 0x59, 0x28, 0x0e, 0xc8, 0x41, 0x58, 0x31, 0xcc, 0x7f, + 0xa2, 0x39, 0x28, 0xdd, 0x37, 0x86, 0x81, 0x7c, 0x8f, 0x38, 0x3c, 0x5c, 0x2f, 0x5c, 0xcb, 0xeb, + 0xac, 0x35, 0xd7, 0x27, 0x05, 0x82, 0x5e, 0x4e, 0x18, 0xea, 0x54, 0x65, 0x54, 0xc5, 0x5b, 0xe4, + 0x20, 0xb4, 0xba, 0x06, 0x9a, 0xe3, 0xf2, 0xb5, 0xcc, 0xf1, 0x64, 0xdd, 0x2f, 0xa9, 0x5a, 0xde, + 0x96, 0x74, 0xd6, 0x19, 0x2f, 0xa4, 0xcc, 0x2b, 0x06, 0x8e, 0x54, 0x91, 0x0e, 0x65, 0x11, 0x0f, + 0x65, 0x80, 0xe0, 0x53, 0x04, 0x78, 0x33, 0xdc, 0x15, 0x14, 0x2c, 0x39, 0xfa, 0xa7, 0xa0, 0xf1, + 0x29, 0xb9, 0x49, 0x7c, 0x83, 0x43, 0x88, 0x92, 0x61, 0x6f, 0xc3, 0xb2, 0x07, 0x32, 0xb4, 0x08, + 0x42, 0x3b, 0x92, 0x8e, 0x23, 0x09, 0xb4, 0x0c, 0x33, 0x0a, 0x4e, 0xbb, 0x29, 0x8c, 0xbe, 0x24, + 0x95, 0x66, 0x70, 0x9a, 0x8d, 0xc7, 0xe5, 0xf5, 0xcb, 0x50, 0xc1, 0x8e, 0xe3, 0x6f, 0x1b, 0xfe, + 0x3e, 0x45, 0x4d, 0x28, 0xb9, 0xfc, 0x87, 0x1c, 0x79, 0x15, 0xfe, 0x18, 0x04, 0x07, 0x87, 0x74, + 0xfd, 0xab, 0x3c, 0x5c, 0x9c, 0x38, 0x80, 0xf8, 0x42, 0xd1, 0x8d, 0x4e, 0x32, 0xfc, 0x68, 0xa1, + 0x88, 0xe5, 0x70, 0x42, 0x0a, 0xbd, 0x0d, 0xb5, 0xd4, 0xd4, 0x92, 0x17, 0xb8, 0x20, 0xd5, 0x6a, + 0x29, 0x6f, 0x38, 0x2d, 0xab, 0xff, 0x59, 0x80, 0xf2, 0x8e, 0x6f, 0xf8, 0x01, 0x45, 0x1f, 0x81, + 0x36, 0x62, 0x09, 0x34, 0x0d, 0xdf, 0x10, 0x9e, 0xb3, 0x6f, 0x56, 0x2a, 0xf7, 0x71, 0xa6, 0x15, + 0x05, 0x47, 0x26, 0xf9, 0x60, 0xa3, 0xc2, 0x91, 0x8c, 0x2f, 0x1a, 0x6c, 0xa1, 0x7b, 0x2c, 0xb9, + 0xbc, 0x5b, 0xb0, 0x5d, 0x89, 0x1a, 0x7d, 0xd5, 0x01, 0xa2, 0x6e, 0xb1, 0x19, 0x92, 0xb1, 0xe2, + 0xa3, 0xb7, 0xa0, 0xec, 0x11, 0x83, 0xb2, 0x9a, 0x4d, 0x09, 0xc9, 0x79, 0x65, 0x12, 0x0b, 0x2a, + 0x43, 0xd7, 0xb4, 0x34, 0x2e, 0xce, 0x58, 0x4a, 0xa3, 0x7b, 0x70, 0xce, 0x64, 0x61, 0x59, 0xac, + 0x2f, 0x94, 0xc4, 0x45, 0xdf, 0xc8, 0xba, 0x5c, 0x08, 0x6b, 0xab, 0xa1, 0x6e, 0xa7, 0xca, 0x83, + 0x92, 0x07, 0xac, 0x2c, 0xf2, 0xbe, 0xda, 0x75, 0x4c, 0x52, 0x2f, 0x33, 0xcb, 0xa5, 0xb8, 0xaf, + 0xae, 0x30, 0x1a, 0x16, 0x1c, 0xfd, 0x90, 0x6d, 0x4a, 0xa1, 0xa5, 0x15, 0x23, 0xa0, 0x04, 0x5d, + 0x8d, 0xae, 0x11, 0x16, 0xfc, 0xa2, 0xd2, 0xb9, 0x73, 0xe0, 0x12, 0x76, 0x89, 0x8a, 0x10, 0xe3, + 0x87, 0xe8, 0x06, 0x89, 0x24, 0x15, 0x4e, 0x49, 0x12, 0x6b, 0xd1, 0x3d, 0x8b, 0x0c, 0x55, 0xa3, + 0x8f, 0x5a, 0xf4, 0x0d, 0x4e, 0xc4, 0x21, 0x4f, 0xff, 0x96, 0xf5, 0xcf, 0xd4, 0xe5, 0x32, 0x2c, + 0xbf, 0x51, 0xef, 0x2f, 0x64, 0xd8, 0x27, 0x26, 0x4e, 0x19, 0x74, 0x17, 0xca, 0x5d, 0x7e, 0x3f, + 0xf5, 0x0f, 0xc7, 0xd2, 0x99, 0x6a, 0x21, 0x52, 0x13, 0x63, 0x49, 0x1c, 0x19, 0x96, 0x42, 0x8b, + 0xe8, 0x26, 0x9c, 0xf7, 0x08, 0xeb, 0x79, 0xcb, 0x3d, 0x9f, 0x78, 0x3b, 0xa4, 0xeb, 0xd8, 0x66, + 0x58, 0xf2, 0x52, 0x94, 0xe4, 0xf3, 0x78, 0x5c, 0x00, 0x9f, 0xd4, 0x61, 0xab, 0xce, 0xd4, 0x1d, + 0xb6, 0xc1, 0xf1, 0xbc, 0x53, 0x69, 0x26, 0x5c, 0xf6, 0xa2, 0xbc, 0x2b, 0x65, 0xc5, 0xe7, 0xe9, + 0xb1, 0x0d, 0xdb, 0x09, 0xe1, 0x5e, 0x8a, 0xd3, 0xb3, 0xc5, 0x89, 0x38, 0xe4, 0x5d, 0x9f, 0xe3, + 0x13, 0xec, 0xcb, 0xc7, 0xcd, 0xdc, 0x21, 0xfb, 0x1e, 0x3d, 0x96, 0xd3, 0xec, 0x1e, 0x54, 0xb8, + 0x37, 0xf6, 0x20, 0x46, 0xee, 0xf3, 0x76, 0xa9, 0x7f, 0x0c, 0x1a, 0x87, 0x92, 0xe8, 0x95, 0xaa, + 0x3a, 0xf9, 0x89, 0xd5, 0x61, 0x0d, 0x89, 0x25, 0x3e, 0xdd, 0x1a, 0xa3, 0x86, 0x14, 0xaf, 0xfb, + 0x38, 0x21, 0xd5, 0xb9, 0x72, 0xf4, 0xdb, 0x7c, 0xee, 0x09, 0xfb, 0x7e, 0x66, 0xdf, 0xc3, 0xa7, + 0xf3, 0xf9, 0x23, 0xf6, 0x3d, 0x61, 0xdf, 0xaf, 0xec, 0x3b, 0xfc, 0x7d, 0x3e, 0x77, 0xb7, 0x9a, + 0x28, 0xe4, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x22, 0x00, 0xde, 0x9c, 0x10, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/v1/conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/api/v1/conversion.go index 913f3301d75..793695cb1b8 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/api/v1/conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/v1/conversion.go @@ -26,6 +26,7 @@ import ( "k8s.io/client-go/1.4/pkg/conversion" "k8s.io/client-go/1.4/pkg/runtime" "k8s.io/client-go/1.4/pkg/util/validation/field" + "k8s.io/client-go/1.4/pkg/watch/versioned" ) const ( @@ -39,7 +40,106 @@ const ( NonConvertibleAnnotationPrefix = "kubernetes.io/non-convertible" ) -func addConversionFuncs(scheme *runtime.Scheme) { +// This is a "fast-path" that avoids reflection for common types. It focuses on the objects that are +// converted the most in the cluster. +// TODO: generate one of these for every external API group - this is to prove the impact +func addFastPathConversionFuncs(scheme *runtime.Scheme) error { + scheme.AddGenericConversionFunc(func(objA, objB interface{}, s conversion.Scope) (bool, error) { + switch a := objA.(type) { + case *Pod: + switch b := objB.(type) { + case *api.Pod: + return true, Convert_v1_Pod_To_api_Pod(a, b, s) + } + case *api.Pod: + switch b := objB.(type) { + case *Pod: + return true, Convert_api_Pod_To_v1_Pod(a, b, s) + } + + case *Event: + switch b := objB.(type) { + case *api.Event: + return true, Convert_v1_Event_To_api_Event(a, b, s) + } + case *api.Event: + switch b := objB.(type) { + case *Event: + return true, Convert_api_Event_To_v1_Event(a, b, s) + } + + case *ReplicationController: + switch b := objB.(type) { + case *api.ReplicationController: + return true, Convert_v1_ReplicationController_To_api_ReplicationController(a, b, s) + } + case *api.ReplicationController: + switch b := objB.(type) { + case *ReplicationController: + return true, Convert_api_ReplicationController_To_v1_ReplicationController(a, b, s) + } + + case *Node: + switch b := objB.(type) { + case *api.Node: + return true, Convert_v1_Node_To_api_Node(a, b, s) + } + case *api.Node: + switch b := objB.(type) { + case *Node: + return true, Convert_api_Node_To_v1_Node(a, b, s) + } + + case *Namespace: + switch b := objB.(type) { + case *api.Namespace: + return true, Convert_v1_Namespace_To_api_Namespace(a, b, s) + } + case *api.Namespace: + switch b := objB.(type) { + case *Namespace: + return true, Convert_api_Namespace_To_v1_Namespace(a, b, s) + } + + case *Service: + switch b := objB.(type) { + case *api.Service: + return true, Convert_v1_Service_To_api_Service(a, b, s) + } + case *api.Service: + switch b := objB.(type) { + case *Service: + return true, Convert_api_Service_To_v1_Service(a, b, s) + } + + case *Endpoints: + switch b := objB.(type) { + case *api.Endpoints: + return true, Convert_v1_Endpoints_To_api_Endpoints(a, b, s) + } + case *api.Endpoints: + switch b := objB.(type) { + case *Endpoints: + return true, Convert_api_Endpoints_To_v1_Endpoints(a, b, s) + } + + case *versioned.Event: + switch b := objB.(type) { + case *versioned.InternalEvent: + return true, versioned.Convert_versioned_Event_to_versioned_InternalEvent(a, b, s) + } + case *versioned.InternalEvent: + switch b := objB.(type) { + case *versioned.Event: + return true, versioned.Convert_versioned_InternalEvent_to_versioned_Event(a, b, s) + } + } + return false, nil + }) + return nil +} + +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions err := scheme.AddConversionFuncs( Convert_api_Pod_To_v1_Pod, @@ -60,8 +160,7 @@ func addConversionFuncs(scheme *runtime.Scheme) { Convert_extensions_ReplicaSetStatus_to_v1_ReplicationControllerStatus, ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } // Add field label conversions for kinds having selectable nothing but ObjectMeta fields. @@ -82,10 +181,10 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label %q not supported for %q", label, kind) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } } @@ -108,10 +207,10 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } err = api.Scheme.AddFieldLabelConversionFunc("v1", "Node", func(label, value string) (string, string, error) { @@ -123,10 +222,10 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } err = api.Scheme.AddFieldLabelConversionFunc("v1", "ReplicationController", func(label, value string) (string, string, error) { @@ -140,8 +239,7 @@ func addConversionFuncs(scheme *runtime.Scheme) { } }) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } err = api.Scheme.AddFieldLabelConversionFunc("v1", "Event", func(label, value string) (string, string, error) { @@ -162,10 +260,10 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } err = api.Scheme.AddFieldLabelConversionFunc("v1", "Namespace", func(label, value string) (string, string, error) { @@ -176,10 +274,10 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } err = api.Scheme.AddFieldLabelConversionFunc("v1", "PersistentVolume", func(label, value string) (string, string, error) { @@ -189,10 +287,10 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } err = api.Scheme.AddFieldLabelConversionFunc("v1", "Secret", func(label, value string) (string, string, error) { @@ -204,11 +302,12 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } + return nil } func Convert_v1_ReplicationController_to_extensions_ReplicaSet(in *ReplicationController, out *extensions.ReplicaSet, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/v1/defaults.go b/staging/src/k8s.io/client-go/1.4/pkg/api/v1/defaults.go index 30c9734f88d..e0aa6e2cbd7 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/api/v1/defaults.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/v1/defaults.go @@ -23,8 +23,8 @@ import ( "k8s.io/client-go/1.4/pkg/util/parsers" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs( +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( SetDefaults_PodExecOptions, SetDefaults_PodAttachOptions, SetDefaults_ReplicationController, diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/v1/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/api/v1/generated.pb.go index 9982718e10d..432378bcd3a 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/api/v1/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/v1/generated.pb.go @@ -201,461 +201,647 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 + func (m *AWSElasticBlockStoreVolumeSource) Reset() { *m = AWSElasticBlockStoreVolumeSource{} } func (*AWSElasticBlockStoreVolumeSource) ProtoMessage() {} +func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{0} +} -func (m *Affinity) Reset() { *m = Affinity{} } -func (*Affinity) ProtoMessage() {} +func (m *Affinity) Reset() { *m = Affinity{} } +func (*Affinity) ProtoMessage() {} +func (*Affinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } -func (m *AttachedVolume) Reset() { *m = AttachedVolume{} } -func (*AttachedVolume) ProtoMessage() {} +func (m *AttachedVolume) Reset() { *m = AttachedVolume{} } +func (*AttachedVolume) ProtoMessage() {} +func (*AttachedVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } -func (m *AvoidPods) Reset() { *m = AvoidPods{} } -func (*AvoidPods) ProtoMessage() {} +func (m *AvoidPods) Reset() { *m = AvoidPods{} } +func (*AvoidPods) ProtoMessage() {} +func (*AvoidPods) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } -func (m *AzureFileVolumeSource) Reset() { *m = AzureFileVolumeSource{} } -func (*AzureFileVolumeSource) ProtoMessage() {} +func (m *AzureFileVolumeSource) Reset() { *m = AzureFileVolumeSource{} } +func (*AzureFileVolumeSource) ProtoMessage() {} +func (*AzureFileVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } -func (m *Binding) Reset() { *m = Binding{} } -func (*Binding) ProtoMessage() {} +func (m *Binding) Reset() { *m = Binding{} } +func (*Binding) ProtoMessage() {} +func (*Binding) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } -func (m *Capabilities) Reset() { *m = Capabilities{} } -func (*Capabilities) ProtoMessage() {} +func (m *Capabilities) Reset() { *m = Capabilities{} } +func (*Capabilities) ProtoMessage() {} +func (*Capabilities) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } -func (m *CephFSVolumeSource) Reset() { *m = CephFSVolumeSource{} } -func (*CephFSVolumeSource) ProtoMessage() {} +func (m *CephFSVolumeSource) Reset() { *m = CephFSVolumeSource{} } +func (*CephFSVolumeSource) ProtoMessage() {} +func (*CephFSVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } -func (m *CinderVolumeSource) Reset() { *m = CinderVolumeSource{} } -func (*CinderVolumeSource) ProtoMessage() {} +func (m *CinderVolumeSource) Reset() { *m = CinderVolumeSource{} } +func (*CinderVolumeSource) ProtoMessage() {} +func (*CinderVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } -func (m *ComponentCondition) Reset() { *m = ComponentCondition{} } -func (*ComponentCondition) ProtoMessage() {} +func (m *ComponentCondition) Reset() { *m = ComponentCondition{} } +func (*ComponentCondition) ProtoMessage() {} +func (*ComponentCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } -func (m *ComponentStatus) Reset() { *m = ComponentStatus{} } -func (*ComponentStatus) ProtoMessage() {} +func (m *ComponentStatus) Reset() { *m = ComponentStatus{} } +func (*ComponentStatus) ProtoMessage() {} +func (*ComponentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } -func (m *ComponentStatusList) Reset() { *m = ComponentStatusList{} } -func (*ComponentStatusList) ProtoMessage() {} +func (m *ComponentStatusList) Reset() { *m = ComponentStatusList{} } +func (*ComponentStatusList) ProtoMessage() {} +func (*ComponentStatusList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } -func (m *ConfigMap) Reset() { *m = ConfigMap{} } -func (*ConfigMap) ProtoMessage() {} +func (m *ConfigMap) Reset() { *m = ConfigMap{} } +func (*ConfigMap) ProtoMessage() {} +func (*ConfigMap) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } -func (m *ConfigMapKeySelector) Reset() { *m = ConfigMapKeySelector{} } -func (*ConfigMapKeySelector) ProtoMessage() {} +func (m *ConfigMapKeySelector) Reset() { *m = ConfigMapKeySelector{} } +func (*ConfigMapKeySelector) ProtoMessage() {} +func (*ConfigMapKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} } -func (m *ConfigMapList) Reset() { *m = ConfigMapList{} } -func (*ConfigMapList) ProtoMessage() {} +func (m *ConfigMapList) Reset() { *m = ConfigMapList{} } +func (*ConfigMapList) ProtoMessage() {} +func (*ConfigMapList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} } -func (m *ConfigMapVolumeSource) Reset() { *m = ConfigMapVolumeSource{} } -func (*ConfigMapVolumeSource) ProtoMessage() {} +func (m *ConfigMapVolumeSource) Reset() { *m = ConfigMapVolumeSource{} } +func (*ConfigMapVolumeSource) ProtoMessage() {} +func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} } -func (m *Container) Reset() { *m = Container{} } -func (*Container) ProtoMessage() {} +func (m *Container) Reset() { *m = Container{} } +func (*Container) ProtoMessage() {} +func (*Container) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} } -func (m *ContainerImage) Reset() { *m = ContainerImage{} } -func (*ContainerImage) ProtoMessage() {} +func (m *ContainerImage) Reset() { *m = ContainerImage{} } +func (*ContainerImage) ProtoMessage() {} +func (*ContainerImage) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} } -func (m *ContainerPort) Reset() { *m = ContainerPort{} } -func (*ContainerPort) ProtoMessage() {} +func (m *ContainerPort) Reset() { *m = ContainerPort{} } +func (*ContainerPort) ProtoMessage() {} +func (*ContainerPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} } -func (m *ContainerState) Reset() { *m = ContainerState{} } -func (*ContainerState) ProtoMessage() {} +func (m *ContainerState) Reset() { *m = ContainerState{} } +func (*ContainerState) ProtoMessage() {} +func (*ContainerState) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} } -func (m *ContainerStateRunning) Reset() { *m = ContainerStateRunning{} } -func (*ContainerStateRunning) ProtoMessage() {} +func (m *ContainerStateRunning) Reset() { *m = ContainerStateRunning{} } +func (*ContainerStateRunning) ProtoMessage() {} +func (*ContainerStateRunning) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} } func (m *ContainerStateTerminated) Reset() { *m = ContainerStateTerminated{} } func (*ContainerStateTerminated) ProtoMessage() {} +func (*ContainerStateTerminated) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{21} +} -func (m *ContainerStateWaiting) Reset() { *m = ContainerStateWaiting{} } -func (*ContainerStateWaiting) ProtoMessage() {} +func (m *ContainerStateWaiting) Reset() { *m = ContainerStateWaiting{} } +func (*ContainerStateWaiting) ProtoMessage() {} +func (*ContainerStateWaiting) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{22} } -func (m *ContainerStatus) Reset() { *m = ContainerStatus{} } -func (*ContainerStatus) ProtoMessage() {} +func (m *ContainerStatus) Reset() { *m = ContainerStatus{} } +func (*ContainerStatus) ProtoMessage() {} +func (*ContainerStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} } -func (m *DaemonEndpoint) Reset() { *m = DaemonEndpoint{} } -func (*DaemonEndpoint) ProtoMessage() {} +func (m *DaemonEndpoint) Reset() { *m = DaemonEndpoint{} } +func (*DaemonEndpoint) ProtoMessage() {} +func (*DaemonEndpoint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} } -func (m *DeleteOptions) Reset() { *m = DeleteOptions{} } -func (*DeleteOptions) ProtoMessage() {} +func (m *DeleteOptions) Reset() { *m = DeleteOptions{} } +func (*DeleteOptions) ProtoMessage() {} +func (*DeleteOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} } -func (m *DownwardAPIVolumeFile) Reset() { *m = DownwardAPIVolumeFile{} } -func (*DownwardAPIVolumeFile) ProtoMessage() {} +func (m *DownwardAPIVolumeFile) Reset() { *m = DownwardAPIVolumeFile{} } +func (*DownwardAPIVolumeFile) ProtoMessage() {} +func (*DownwardAPIVolumeFile) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} } func (m *DownwardAPIVolumeSource) Reset() { *m = DownwardAPIVolumeSource{} } func (*DownwardAPIVolumeSource) ProtoMessage() {} +func (*DownwardAPIVolumeSource) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{27} +} -func (m *EmptyDirVolumeSource) Reset() { *m = EmptyDirVolumeSource{} } -func (*EmptyDirVolumeSource) ProtoMessage() {} +func (m *EmptyDirVolumeSource) Reset() { *m = EmptyDirVolumeSource{} } +func (*EmptyDirVolumeSource) ProtoMessage() {} +func (*EmptyDirVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} } -func (m *EndpointAddress) Reset() { *m = EndpointAddress{} } -func (*EndpointAddress) ProtoMessage() {} +func (m *EndpointAddress) Reset() { *m = EndpointAddress{} } +func (*EndpointAddress) ProtoMessage() {} +func (*EndpointAddress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} } -func (m *EndpointPort) Reset() { *m = EndpointPort{} } -func (*EndpointPort) ProtoMessage() {} +func (m *EndpointPort) Reset() { *m = EndpointPort{} } +func (*EndpointPort) ProtoMessage() {} +func (*EndpointPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} } -func (m *EndpointSubset) Reset() { *m = EndpointSubset{} } -func (*EndpointSubset) ProtoMessage() {} +func (m *EndpointSubset) Reset() { *m = EndpointSubset{} } +func (*EndpointSubset) ProtoMessage() {} +func (*EndpointSubset) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} } -func (m *Endpoints) Reset() { *m = Endpoints{} } -func (*Endpoints) ProtoMessage() {} +func (m *Endpoints) Reset() { *m = Endpoints{} } +func (*Endpoints) ProtoMessage() {} +func (*Endpoints) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} } -func (m *EndpointsList) Reset() { *m = EndpointsList{} } -func (*EndpointsList) ProtoMessage() {} +func (m *EndpointsList) Reset() { *m = EndpointsList{} } +func (*EndpointsList) ProtoMessage() {} +func (*EndpointsList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} } -func (m *EnvVar) Reset() { *m = EnvVar{} } -func (*EnvVar) ProtoMessage() {} +func (m *EnvVar) Reset() { *m = EnvVar{} } +func (*EnvVar) ProtoMessage() {} +func (*EnvVar) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} } -func (m *EnvVarSource) Reset() { *m = EnvVarSource{} } -func (*EnvVarSource) ProtoMessage() {} +func (m *EnvVarSource) Reset() { *m = EnvVarSource{} } +func (*EnvVarSource) ProtoMessage() {} +func (*EnvVarSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} } -func (m *Event) Reset() { *m = Event{} } -func (*Event) ProtoMessage() {} +func (m *Event) Reset() { *m = Event{} } +func (*Event) ProtoMessage() {} +func (*Event) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} } -func (m *EventList) Reset() { *m = EventList{} } -func (*EventList) ProtoMessage() {} +func (m *EventList) Reset() { *m = EventList{} } +func (*EventList) ProtoMessage() {} +func (*EventList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} } -func (m *EventSource) Reset() { *m = EventSource{} } -func (*EventSource) ProtoMessage() {} +func (m *EventSource) Reset() { *m = EventSource{} } +func (*EventSource) ProtoMessage() {} +func (*EventSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} } -func (m *ExecAction) Reset() { *m = ExecAction{} } -func (*ExecAction) ProtoMessage() {} +func (m *ExecAction) Reset() { *m = ExecAction{} } +func (*ExecAction) ProtoMessage() {} +func (*ExecAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} } -func (m *ExportOptions) Reset() { *m = ExportOptions{} } -func (*ExportOptions) ProtoMessage() {} +func (m *ExportOptions) Reset() { *m = ExportOptions{} } +func (*ExportOptions) ProtoMessage() {} +func (*ExportOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} } -func (m *FCVolumeSource) Reset() { *m = FCVolumeSource{} } -func (*FCVolumeSource) ProtoMessage() {} +func (m *FCVolumeSource) Reset() { *m = FCVolumeSource{} } +func (*FCVolumeSource) ProtoMessage() {} +func (*FCVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} } -func (m *FlexVolumeSource) Reset() { *m = FlexVolumeSource{} } -func (*FlexVolumeSource) ProtoMessage() {} +func (m *FlexVolumeSource) Reset() { *m = FlexVolumeSource{} } +func (*FlexVolumeSource) ProtoMessage() {} +func (*FlexVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} } -func (m *FlockerVolumeSource) Reset() { *m = FlockerVolumeSource{} } -func (*FlockerVolumeSource) ProtoMessage() {} +func (m *FlockerVolumeSource) Reset() { *m = FlockerVolumeSource{} } +func (*FlockerVolumeSource) ProtoMessage() {} +func (*FlockerVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} } func (m *GCEPersistentDiskVolumeSource) Reset() { *m = GCEPersistentDiskVolumeSource{} } func (*GCEPersistentDiskVolumeSource) ProtoMessage() {} +func (*GCEPersistentDiskVolumeSource) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{44} +} -func (m *GitRepoVolumeSource) Reset() { *m = GitRepoVolumeSource{} } -func (*GitRepoVolumeSource) ProtoMessage() {} +func (m *GitRepoVolumeSource) Reset() { *m = GitRepoVolumeSource{} } +func (*GitRepoVolumeSource) ProtoMessage() {} +func (*GitRepoVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} } -func (m *GlusterfsVolumeSource) Reset() { *m = GlusterfsVolumeSource{} } -func (*GlusterfsVolumeSource) ProtoMessage() {} +func (m *GlusterfsVolumeSource) Reset() { *m = GlusterfsVolumeSource{} } +func (*GlusterfsVolumeSource) ProtoMessage() {} +func (*GlusterfsVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} } -func (m *HTTPGetAction) Reset() { *m = HTTPGetAction{} } -func (*HTTPGetAction) ProtoMessage() {} +func (m *HTTPGetAction) Reset() { *m = HTTPGetAction{} } +func (*HTTPGetAction) ProtoMessage() {} +func (*HTTPGetAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} } -func (m *HTTPHeader) Reset() { *m = HTTPHeader{} } -func (*HTTPHeader) ProtoMessage() {} +func (m *HTTPHeader) Reset() { *m = HTTPHeader{} } +func (*HTTPHeader) ProtoMessage() {} +func (*HTTPHeader) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} } -func (m *Handler) Reset() { *m = Handler{} } -func (*Handler) ProtoMessage() {} +func (m *Handler) Reset() { *m = Handler{} } +func (*Handler) ProtoMessage() {} +func (*Handler) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} } -func (m *HostPathVolumeSource) Reset() { *m = HostPathVolumeSource{} } -func (*HostPathVolumeSource) ProtoMessage() {} +func (m *HostPathVolumeSource) Reset() { *m = HostPathVolumeSource{} } +func (*HostPathVolumeSource) ProtoMessage() {} +func (*HostPathVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} } -func (m *ISCSIVolumeSource) Reset() { *m = ISCSIVolumeSource{} } -func (*ISCSIVolumeSource) ProtoMessage() {} +func (m *ISCSIVolumeSource) Reset() { *m = ISCSIVolumeSource{} } +func (*ISCSIVolumeSource) ProtoMessage() {} +func (*ISCSIVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} } -func (m *KeyToPath) Reset() { *m = KeyToPath{} } -func (*KeyToPath) ProtoMessage() {} +func (m *KeyToPath) Reset() { *m = KeyToPath{} } +func (*KeyToPath) ProtoMessage() {} +func (*KeyToPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} } -func (m *Lifecycle) Reset() { *m = Lifecycle{} } -func (*Lifecycle) ProtoMessage() {} +func (m *Lifecycle) Reset() { *m = Lifecycle{} } +func (*Lifecycle) ProtoMessage() {} +func (*Lifecycle) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} } -func (m *LimitRange) Reset() { *m = LimitRange{} } -func (*LimitRange) ProtoMessage() {} +func (m *LimitRange) Reset() { *m = LimitRange{} } +func (*LimitRange) ProtoMessage() {} +func (*LimitRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} } -func (m *LimitRangeItem) Reset() { *m = LimitRangeItem{} } -func (*LimitRangeItem) ProtoMessage() {} +func (m *LimitRangeItem) Reset() { *m = LimitRangeItem{} } +func (*LimitRangeItem) ProtoMessage() {} +func (*LimitRangeItem) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{55} } -func (m *LimitRangeList) Reset() { *m = LimitRangeList{} } -func (*LimitRangeList) ProtoMessage() {} +func (m *LimitRangeList) Reset() { *m = LimitRangeList{} } +func (*LimitRangeList) ProtoMessage() {} +func (*LimitRangeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{56} } -func (m *LimitRangeSpec) Reset() { *m = LimitRangeSpec{} } -func (*LimitRangeSpec) ProtoMessage() {} +func (m *LimitRangeSpec) Reset() { *m = LimitRangeSpec{} } +func (*LimitRangeSpec) ProtoMessage() {} +func (*LimitRangeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{57} } -func (m *List) Reset() { *m = List{} } -func (*List) ProtoMessage() {} +func (m *List) Reset() { *m = List{} } +func (*List) ProtoMessage() {} +func (*List) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{58} } -func (m *ListOptions) Reset() { *m = ListOptions{} } -func (*ListOptions) ProtoMessage() {} +func (m *ListOptions) Reset() { *m = ListOptions{} } +func (*ListOptions) ProtoMessage() {} +func (*ListOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} } -func (m *LoadBalancerIngress) Reset() { *m = LoadBalancerIngress{} } -func (*LoadBalancerIngress) ProtoMessage() {} +func (m *LoadBalancerIngress) Reset() { *m = LoadBalancerIngress{} } +func (*LoadBalancerIngress) ProtoMessage() {} +func (*LoadBalancerIngress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} } -func (m *LoadBalancerStatus) Reset() { *m = LoadBalancerStatus{} } -func (*LoadBalancerStatus) ProtoMessage() {} +func (m *LoadBalancerStatus) Reset() { *m = LoadBalancerStatus{} } +func (*LoadBalancerStatus) ProtoMessage() {} +func (*LoadBalancerStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} } -func (m *LocalObjectReference) Reset() { *m = LocalObjectReference{} } -func (*LocalObjectReference) ProtoMessage() {} +func (m *LocalObjectReference) Reset() { *m = LocalObjectReference{} } +func (*LocalObjectReference) ProtoMessage() {} +func (*LocalObjectReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{62} } -func (m *NFSVolumeSource) Reset() { *m = NFSVolumeSource{} } -func (*NFSVolumeSource) ProtoMessage() {} +func (m *NFSVolumeSource) Reset() { *m = NFSVolumeSource{} } +func (*NFSVolumeSource) ProtoMessage() {} +func (*NFSVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} } -func (m *Namespace) Reset() { *m = Namespace{} } -func (*Namespace) ProtoMessage() {} +func (m *Namespace) Reset() { *m = Namespace{} } +func (*Namespace) ProtoMessage() {} +func (*Namespace) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{64} } -func (m *NamespaceList) Reset() { *m = NamespaceList{} } -func (*NamespaceList) ProtoMessage() {} +func (m *NamespaceList) Reset() { *m = NamespaceList{} } +func (*NamespaceList) ProtoMessage() {} +func (*NamespaceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{65} } -func (m *NamespaceSpec) Reset() { *m = NamespaceSpec{} } -func (*NamespaceSpec) ProtoMessage() {} +func (m *NamespaceSpec) Reset() { *m = NamespaceSpec{} } +func (*NamespaceSpec) ProtoMessage() {} +func (*NamespaceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{66} } -func (m *NamespaceStatus) Reset() { *m = NamespaceStatus{} } -func (*NamespaceStatus) ProtoMessage() {} +func (m *NamespaceStatus) Reset() { *m = NamespaceStatus{} } +func (*NamespaceStatus) ProtoMessage() {} +func (*NamespaceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{67} } -func (m *Node) Reset() { *m = Node{} } -func (*Node) ProtoMessage() {} +func (m *Node) Reset() { *m = Node{} } +func (*Node) ProtoMessage() {} +func (*Node) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{68} } -func (m *NodeAddress) Reset() { *m = NodeAddress{} } -func (*NodeAddress) ProtoMessage() {} +func (m *NodeAddress) Reset() { *m = NodeAddress{} } +func (*NodeAddress) ProtoMessage() {} +func (*NodeAddress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{69} } -func (m *NodeAffinity) Reset() { *m = NodeAffinity{} } -func (*NodeAffinity) ProtoMessage() {} +func (m *NodeAffinity) Reset() { *m = NodeAffinity{} } +func (*NodeAffinity) ProtoMessage() {} +func (*NodeAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{70} } -func (m *NodeCondition) Reset() { *m = NodeCondition{} } -func (*NodeCondition) ProtoMessage() {} +func (m *NodeCondition) Reset() { *m = NodeCondition{} } +func (*NodeCondition) ProtoMessage() {} +func (*NodeCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{71} } -func (m *NodeDaemonEndpoints) Reset() { *m = NodeDaemonEndpoints{} } -func (*NodeDaemonEndpoints) ProtoMessage() {} +func (m *NodeDaemonEndpoints) Reset() { *m = NodeDaemonEndpoints{} } +func (*NodeDaemonEndpoints) ProtoMessage() {} +func (*NodeDaemonEndpoints) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{72} } -func (m *NodeList) Reset() { *m = NodeList{} } -func (*NodeList) ProtoMessage() {} +func (m *NodeList) Reset() { *m = NodeList{} } +func (*NodeList) ProtoMessage() {} +func (*NodeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{73} } -func (m *NodeProxyOptions) Reset() { *m = NodeProxyOptions{} } -func (*NodeProxyOptions) ProtoMessage() {} +func (m *NodeProxyOptions) Reset() { *m = NodeProxyOptions{} } +func (*NodeProxyOptions) ProtoMessage() {} +func (*NodeProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{74} } -func (m *NodeSelector) Reset() { *m = NodeSelector{} } -func (*NodeSelector) ProtoMessage() {} +func (m *NodeSelector) Reset() { *m = NodeSelector{} } +func (*NodeSelector) ProtoMessage() {} +func (*NodeSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{75} } func (m *NodeSelectorRequirement) Reset() { *m = NodeSelectorRequirement{} } func (*NodeSelectorRequirement) ProtoMessage() {} +func (*NodeSelectorRequirement) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{76} +} -func (m *NodeSelectorTerm) Reset() { *m = NodeSelectorTerm{} } -func (*NodeSelectorTerm) ProtoMessage() {} +func (m *NodeSelectorTerm) Reset() { *m = NodeSelectorTerm{} } +func (*NodeSelectorTerm) ProtoMessage() {} +func (*NodeSelectorTerm) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{77} } -func (m *NodeSpec) Reset() { *m = NodeSpec{} } -func (*NodeSpec) ProtoMessage() {} +func (m *NodeSpec) Reset() { *m = NodeSpec{} } +func (*NodeSpec) ProtoMessage() {} +func (*NodeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{78} } -func (m *NodeStatus) Reset() { *m = NodeStatus{} } -func (*NodeStatus) ProtoMessage() {} +func (m *NodeStatus) Reset() { *m = NodeStatus{} } +func (*NodeStatus) ProtoMessage() {} +func (*NodeStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{79} } -func (m *NodeSystemInfo) Reset() { *m = NodeSystemInfo{} } -func (*NodeSystemInfo) ProtoMessage() {} +func (m *NodeSystemInfo) Reset() { *m = NodeSystemInfo{} } +func (*NodeSystemInfo) ProtoMessage() {} +func (*NodeSystemInfo) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{80} } -func (m *ObjectFieldSelector) Reset() { *m = ObjectFieldSelector{} } -func (*ObjectFieldSelector) ProtoMessage() {} +func (m *ObjectFieldSelector) Reset() { *m = ObjectFieldSelector{} } +func (*ObjectFieldSelector) ProtoMessage() {} +func (*ObjectFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{81} } -func (m *ObjectMeta) Reset() { *m = ObjectMeta{} } -func (*ObjectMeta) ProtoMessage() {} +func (m *ObjectMeta) Reset() { *m = ObjectMeta{} } +func (*ObjectMeta) ProtoMessage() {} +func (*ObjectMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{82} } -func (m *ObjectReference) Reset() { *m = ObjectReference{} } -func (*ObjectReference) ProtoMessage() {} +func (m *ObjectReference) Reset() { *m = ObjectReference{} } +func (*ObjectReference) ProtoMessage() {} +func (*ObjectReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{83} } -func (m *OwnerReference) Reset() { *m = OwnerReference{} } -func (*OwnerReference) ProtoMessage() {} +func (m *OwnerReference) Reset() { *m = OwnerReference{} } +func (*OwnerReference) ProtoMessage() {} +func (*OwnerReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{84} } -func (m *PersistentVolume) Reset() { *m = PersistentVolume{} } -func (*PersistentVolume) ProtoMessage() {} +func (m *PersistentVolume) Reset() { *m = PersistentVolume{} } +func (*PersistentVolume) ProtoMessage() {} +func (*PersistentVolume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{85} } -func (m *PersistentVolumeClaim) Reset() { *m = PersistentVolumeClaim{} } -func (*PersistentVolumeClaim) ProtoMessage() {} +func (m *PersistentVolumeClaim) Reset() { *m = PersistentVolumeClaim{} } +func (*PersistentVolumeClaim) ProtoMessage() {} +func (*PersistentVolumeClaim) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{86} } func (m *PersistentVolumeClaimList) Reset() { *m = PersistentVolumeClaimList{} } func (*PersistentVolumeClaimList) ProtoMessage() {} +func (*PersistentVolumeClaimList) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{87} +} func (m *PersistentVolumeClaimSpec) Reset() { *m = PersistentVolumeClaimSpec{} } func (*PersistentVolumeClaimSpec) ProtoMessage() {} +func (*PersistentVolumeClaimSpec) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{88} +} func (m *PersistentVolumeClaimStatus) Reset() { *m = PersistentVolumeClaimStatus{} } func (*PersistentVolumeClaimStatus) ProtoMessage() {} +func (*PersistentVolumeClaimStatus) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{89} +} func (m *PersistentVolumeClaimVolumeSource) Reset() { *m = PersistentVolumeClaimVolumeSource{} } func (*PersistentVolumeClaimVolumeSource) ProtoMessage() {} +func (*PersistentVolumeClaimVolumeSource) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{90} +} -func (m *PersistentVolumeList) Reset() { *m = PersistentVolumeList{} } -func (*PersistentVolumeList) ProtoMessage() {} +func (m *PersistentVolumeList) Reset() { *m = PersistentVolumeList{} } +func (*PersistentVolumeList) ProtoMessage() {} +func (*PersistentVolumeList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{91} } -func (m *PersistentVolumeSource) Reset() { *m = PersistentVolumeSource{} } -func (*PersistentVolumeSource) ProtoMessage() {} +func (m *PersistentVolumeSource) Reset() { *m = PersistentVolumeSource{} } +func (*PersistentVolumeSource) ProtoMessage() {} +func (*PersistentVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{92} } -func (m *PersistentVolumeSpec) Reset() { *m = PersistentVolumeSpec{} } -func (*PersistentVolumeSpec) ProtoMessage() {} +func (m *PersistentVolumeSpec) Reset() { *m = PersistentVolumeSpec{} } +func (*PersistentVolumeSpec) ProtoMessage() {} +func (*PersistentVolumeSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{93} } -func (m *PersistentVolumeStatus) Reset() { *m = PersistentVolumeStatus{} } -func (*PersistentVolumeStatus) ProtoMessage() {} +func (m *PersistentVolumeStatus) Reset() { *m = PersistentVolumeStatus{} } +func (*PersistentVolumeStatus) ProtoMessage() {} +func (*PersistentVolumeStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{94} } -func (m *Pod) Reset() { *m = Pod{} } -func (*Pod) ProtoMessage() {} +func (m *Pod) Reset() { *m = Pod{} } +func (*Pod) ProtoMessage() {} +func (*Pod) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{95} } -func (m *PodAffinity) Reset() { *m = PodAffinity{} } -func (*PodAffinity) ProtoMessage() {} +func (m *PodAffinity) Reset() { *m = PodAffinity{} } +func (*PodAffinity) ProtoMessage() {} +func (*PodAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{96} } -func (m *PodAffinityTerm) Reset() { *m = PodAffinityTerm{} } -func (*PodAffinityTerm) ProtoMessage() {} +func (m *PodAffinityTerm) Reset() { *m = PodAffinityTerm{} } +func (*PodAffinityTerm) ProtoMessage() {} +func (*PodAffinityTerm) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{97} } -func (m *PodAntiAffinity) Reset() { *m = PodAntiAffinity{} } -func (*PodAntiAffinity) ProtoMessage() {} +func (m *PodAntiAffinity) Reset() { *m = PodAntiAffinity{} } +func (*PodAntiAffinity) ProtoMessage() {} +func (*PodAntiAffinity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{98} } -func (m *PodAttachOptions) Reset() { *m = PodAttachOptions{} } -func (*PodAttachOptions) ProtoMessage() {} +func (m *PodAttachOptions) Reset() { *m = PodAttachOptions{} } +func (*PodAttachOptions) ProtoMessage() {} +func (*PodAttachOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{99} } -func (m *PodCondition) Reset() { *m = PodCondition{} } -func (*PodCondition) ProtoMessage() {} +func (m *PodCondition) Reset() { *m = PodCondition{} } +func (*PodCondition) ProtoMessage() {} +func (*PodCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{100} } -func (m *PodExecOptions) Reset() { *m = PodExecOptions{} } -func (*PodExecOptions) ProtoMessage() {} +func (m *PodExecOptions) Reset() { *m = PodExecOptions{} } +func (*PodExecOptions) ProtoMessage() {} +func (*PodExecOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{101} } -func (m *PodList) Reset() { *m = PodList{} } -func (*PodList) ProtoMessage() {} +func (m *PodList) Reset() { *m = PodList{} } +func (*PodList) ProtoMessage() {} +func (*PodList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{102} } -func (m *PodLogOptions) Reset() { *m = PodLogOptions{} } -func (*PodLogOptions) ProtoMessage() {} +func (m *PodLogOptions) Reset() { *m = PodLogOptions{} } +func (*PodLogOptions) ProtoMessage() {} +func (*PodLogOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{103} } -func (m *PodProxyOptions) Reset() { *m = PodProxyOptions{} } -func (*PodProxyOptions) ProtoMessage() {} +func (m *PodProxyOptions) Reset() { *m = PodProxyOptions{} } +func (*PodProxyOptions) ProtoMessage() {} +func (*PodProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{104} } -func (m *PodSecurityContext) Reset() { *m = PodSecurityContext{} } -func (*PodSecurityContext) ProtoMessage() {} +func (m *PodSecurityContext) Reset() { *m = PodSecurityContext{} } +func (*PodSecurityContext) ProtoMessage() {} +func (*PodSecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{105} } -func (m *PodSignature) Reset() { *m = PodSignature{} } -func (*PodSignature) ProtoMessage() {} +func (m *PodSignature) Reset() { *m = PodSignature{} } +func (*PodSignature) ProtoMessage() {} +func (*PodSignature) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{106} } -func (m *PodSpec) Reset() { *m = PodSpec{} } -func (*PodSpec) ProtoMessage() {} +func (m *PodSpec) Reset() { *m = PodSpec{} } +func (*PodSpec) ProtoMessage() {} +func (*PodSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{107} } -func (m *PodStatus) Reset() { *m = PodStatus{} } -func (*PodStatus) ProtoMessage() {} +func (m *PodStatus) Reset() { *m = PodStatus{} } +func (*PodStatus) ProtoMessage() {} +func (*PodStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{108} } -func (m *PodStatusResult) Reset() { *m = PodStatusResult{} } -func (*PodStatusResult) ProtoMessage() {} +func (m *PodStatusResult) Reset() { *m = PodStatusResult{} } +func (*PodStatusResult) ProtoMessage() {} +func (*PodStatusResult) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{109} } -func (m *PodTemplate) Reset() { *m = PodTemplate{} } -func (*PodTemplate) ProtoMessage() {} +func (m *PodTemplate) Reset() { *m = PodTemplate{} } +func (*PodTemplate) ProtoMessage() {} +func (*PodTemplate) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{110} } -func (m *PodTemplateList) Reset() { *m = PodTemplateList{} } -func (*PodTemplateList) ProtoMessage() {} +func (m *PodTemplateList) Reset() { *m = PodTemplateList{} } +func (*PodTemplateList) ProtoMessage() {} +func (*PodTemplateList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{111} } -func (m *PodTemplateSpec) Reset() { *m = PodTemplateSpec{} } -func (*PodTemplateSpec) ProtoMessage() {} +func (m *PodTemplateSpec) Reset() { *m = PodTemplateSpec{} } +func (*PodTemplateSpec) ProtoMessage() {} +func (*PodTemplateSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{112} } -func (m *Preconditions) Reset() { *m = Preconditions{} } -func (*Preconditions) ProtoMessage() {} +func (m *Preconditions) Reset() { *m = Preconditions{} } +func (*Preconditions) ProtoMessage() {} +func (*Preconditions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{113} } -func (m *PreferAvoidPodsEntry) Reset() { *m = PreferAvoidPodsEntry{} } -func (*PreferAvoidPodsEntry) ProtoMessage() {} +func (m *PreferAvoidPodsEntry) Reset() { *m = PreferAvoidPodsEntry{} } +func (*PreferAvoidPodsEntry) ProtoMessage() {} +func (*PreferAvoidPodsEntry) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{114} } func (m *PreferredSchedulingTerm) Reset() { *m = PreferredSchedulingTerm{} } func (*PreferredSchedulingTerm) ProtoMessage() {} +func (*PreferredSchedulingTerm) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{115} +} -func (m *Probe) Reset() { *m = Probe{} } -func (*Probe) ProtoMessage() {} +func (m *Probe) Reset() { *m = Probe{} } +func (*Probe) ProtoMessage() {} +func (*Probe) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{116} } -func (m *RBDVolumeSource) Reset() { *m = RBDVolumeSource{} } -func (*RBDVolumeSource) ProtoMessage() {} +func (m *RBDVolumeSource) Reset() { *m = RBDVolumeSource{} } +func (*RBDVolumeSource) ProtoMessage() {} +func (*RBDVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{117} } -func (m *RangeAllocation) Reset() { *m = RangeAllocation{} } -func (*RangeAllocation) ProtoMessage() {} +func (m *RangeAllocation) Reset() { *m = RangeAllocation{} } +func (*RangeAllocation) ProtoMessage() {} +func (*RangeAllocation) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{118} } -func (m *ReplicationController) Reset() { *m = ReplicationController{} } -func (*ReplicationController) ProtoMessage() {} +func (m *ReplicationController) Reset() { *m = ReplicationController{} } +func (*ReplicationController) ProtoMessage() {} +func (*ReplicationController) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{119} } func (m *ReplicationControllerList) Reset() { *m = ReplicationControllerList{} } func (*ReplicationControllerList) ProtoMessage() {} +func (*ReplicationControllerList) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{120} +} func (m *ReplicationControllerSpec) Reset() { *m = ReplicationControllerSpec{} } func (*ReplicationControllerSpec) ProtoMessage() {} +func (*ReplicationControllerSpec) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{121} +} func (m *ReplicationControllerStatus) Reset() { *m = ReplicationControllerStatus{} } func (*ReplicationControllerStatus) ProtoMessage() {} +func (*ReplicationControllerStatus) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{122} +} -func (m *ResourceFieldSelector) Reset() { *m = ResourceFieldSelector{} } -func (*ResourceFieldSelector) ProtoMessage() {} +func (m *ResourceFieldSelector) Reset() { *m = ResourceFieldSelector{} } +func (*ResourceFieldSelector) ProtoMessage() {} +func (*ResourceFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{123} } -func (m *ResourceQuota) Reset() { *m = ResourceQuota{} } -func (*ResourceQuota) ProtoMessage() {} +func (m *ResourceQuota) Reset() { *m = ResourceQuota{} } +func (*ResourceQuota) ProtoMessage() {} +func (*ResourceQuota) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{124} } -func (m *ResourceQuotaList) Reset() { *m = ResourceQuotaList{} } -func (*ResourceQuotaList) ProtoMessage() {} +func (m *ResourceQuotaList) Reset() { *m = ResourceQuotaList{} } +func (*ResourceQuotaList) ProtoMessage() {} +func (*ResourceQuotaList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{125} } -func (m *ResourceQuotaSpec) Reset() { *m = ResourceQuotaSpec{} } -func (*ResourceQuotaSpec) ProtoMessage() {} +func (m *ResourceQuotaSpec) Reset() { *m = ResourceQuotaSpec{} } +func (*ResourceQuotaSpec) ProtoMessage() {} +func (*ResourceQuotaSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{126} } -func (m *ResourceQuotaStatus) Reset() { *m = ResourceQuotaStatus{} } -func (*ResourceQuotaStatus) ProtoMessage() {} +func (m *ResourceQuotaStatus) Reset() { *m = ResourceQuotaStatus{} } +func (*ResourceQuotaStatus) ProtoMessage() {} +func (*ResourceQuotaStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{127} } -func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} } -func (*ResourceRequirements) ProtoMessage() {} +func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} } +func (*ResourceRequirements) ProtoMessage() {} +func (*ResourceRequirements) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{128} } -func (m *SELinuxOptions) Reset() { *m = SELinuxOptions{} } -func (*SELinuxOptions) ProtoMessage() {} +func (m *SELinuxOptions) Reset() { *m = SELinuxOptions{} } +func (*SELinuxOptions) ProtoMessage() {} +func (*SELinuxOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{129} } -func (m *Secret) Reset() { *m = Secret{} } -func (*Secret) ProtoMessage() {} +func (m *Secret) Reset() { *m = Secret{} } +func (*Secret) ProtoMessage() {} +func (*Secret) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{130} } -func (m *SecretKeySelector) Reset() { *m = SecretKeySelector{} } -func (*SecretKeySelector) ProtoMessage() {} +func (m *SecretKeySelector) Reset() { *m = SecretKeySelector{} } +func (*SecretKeySelector) ProtoMessage() {} +func (*SecretKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{131} } -func (m *SecretList) Reset() { *m = SecretList{} } -func (*SecretList) ProtoMessage() {} +func (m *SecretList) Reset() { *m = SecretList{} } +func (*SecretList) ProtoMessage() {} +func (*SecretList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{132} } -func (m *SecretVolumeSource) Reset() { *m = SecretVolumeSource{} } -func (*SecretVolumeSource) ProtoMessage() {} +func (m *SecretVolumeSource) Reset() { *m = SecretVolumeSource{} } +func (*SecretVolumeSource) ProtoMessage() {} +func (*SecretVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{133} } -func (m *SecurityContext) Reset() { *m = SecurityContext{} } -func (*SecurityContext) ProtoMessage() {} +func (m *SecurityContext) Reset() { *m = SecurityContext{} } +func (*SecurityContext) ProtoMessage() {} +func (*SecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{134} } -func (m *SerializedReference) Reset() { *m = SerializedReference{} } -func (*SerializedReference) ProtoMessage() {} +func (m *SerializedReference) Reset() { *m = SerializedReference{} } +func (*SerializedReference) ProtoMessage() {} +func (*SerializedReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{135} } -func (m *Service) Reset() { *m = Service{} } -func (*Service) ProtoMessage() {} +func (m *Service) Reset() { *m = Service{} } +func (*Service) ProtoMessage() {} +func (*Service) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{136} } -func (m *ServiceAccount) Reset() { *m = ServiceAccount{} } -func (*ServiceAccount) ProtoMessage() {} +func (m *ServiceAccount) Reset() { *m = ServiceAccount{} } +func (*ServiceAccount) ProtoMessage() {} +func (*ServiceAccount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{137} } -func (m *ServiceAccountList) Reset() { *m = ServiceAccountList{} } -func (*ServiceAccountList) ProtoMessage() {} +func (m *ServiceAccountList) Reset() { *m = ServiceAccountList{} } +func (*ServiceAccountList) ProtoMessage() {} +func (*ServiceAccountList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{138} } -func (m *ServiceList) Reset() { *m = ServiceList{} } -func (*ServiceList) ProtoMessage() {} +func (m *ServiceList) Reset() { *m = ServiceList{} } +func (*ServiceList) ProtoMessage() {} +func (*ServiceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{139} } -func (m *ServicePort) Reset() { *m = ServicePort{} } -func (*ServicePort) ProtoMessage() {} +func (m *ServicePort) Reset() { *m = ServicePort{} } +func (*ServicePort) ProtoMessage() {} +func (*ServicePort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{140} } -func (m *ServiceProxyOptions) Reset() { *m = ServiceProxyOptions{} } -func (*ServiceProxyOptions) ProtoMessage() {} +func (m *ServiceProxyOptions) Reset() { *m = ServiceProxyOptions{} } +func (*ServiceProxyOptions) ProtoMessage() {} +func (*ServiceProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{141} } -func (m *ServiceSpec) Reset() { *m = ServiceSpec{} } -func (*ServiceSpec) ProtoMessage() {} +func (m *ServiceSpec) Reset() { *m = ServiceSpec{} } +func (*ServiceSpec) ProtoMessage() {} +func (*ServiceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{142} } -func (m *ServiceStatus) Reset() { *m = ServiceStatus{} } -func (*ServiceStatus) ProtoMessage() {} +func (m *ServiceStatus) Reset() { *m = ServiceStatus{} } +func (*ServiceStatus) ProtoMessage() {} +func (*ServiceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{143} } -func (m *TCPSocketAction) Reset() { *m = TCPSocketAction{} } -func (*TCPSocketAction) ProtoMessage() {} +func (m *TCPSocketAction) Reset() { *m = TCPSocketAction{} } +func (*TCPSocketAction) ProtoMessage() {} +func (*TCPSocketAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{144} } -func (m *Taint) Reset() { *m = Taint{} } -func (*Taint) ProtoMessage() {} +func (m *Taint) Reset() { *m = Taint{} } +func (*Taint) ProtoMessage() {} +func (*Taint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{145} } -func (m *Toleration) Reset() { *m = Toleration{} } -func (*Toleration) ProtoMessage() {} +func (m *Toleration) Reset() { *m = Toleration{} } +func (*Toleration) ProtoMessage() {} +func (*Toleration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{146} } -func (m *Volume) Reset() { *m = Volume{} } -func (*Volume) ProtoMessage() {} +func (m *Volume) Reset() { *m = Volume{} } +func (*Volume) ProtoMessage() {} +func (*Volume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{147} } -func (m *VolumeMount) Reset() { *m = VolumeMount{} } -func (*VolumeMount) ProtoMessage() {} +func (m *VolumeMount) Reset() { *m = VolumeMount{} } +func (*VolumeMount) ProtoMessage() {} +func (*VolumeMount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{148} } -func (m *VolumeSource) Reset() { *m = VolumeSource{} } -func (*VolumeSource) ProtoMessage() {} +func (m *VolumeSource) Reset() { *m = VolumeSource{} } +func (*VolumeSource) ProtoMessage() {} +func (*VolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{149} } func (m *VsphereVirtualDiskVolumeSource) Reset() { *m = VsphereVirtualDiskVolumeSource{} } func (*VsphereVirtualDiskVolumeSource) ProtoMessage() {} +func (*VsphereVirtualDiskVolumeSource) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{150} +} func (m *WeightedPodAffinityTerm) Reset() { *m = WeightedPodAffinityTerm{} } func (*WeightedPodAffinityTerm) ProtoMessage() {} +func (*WeightedPodAffinityTerm) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{151} +} func init() { proto.RegisterType((*AWSElasticBlockStoreVolumeSource)(nil), "k8s.io.client-go.1.4.pkg.api.v1.AWSElasticBlockStoreVolumeSource") @@ -37271,3 +37457,598 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 9454 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x7d, 0x6d, 0x8c, 0x64, 0x57, + 0x76, 0xd0, 0x56, 0x55, 0x7f, 0xd5, 0xed, 0xcf, 0x79, 0x33, 0x63, 0xb7, 0x7b, 0xd7, 0x5f, 0x6f, + 0x6d, 0xaf, 0x3d, 0xf6, 0xf4, 0x78, 0xc6, 0x76, 0x6c, 0xef, 0x2e, 0xbb, 0xee, 0xee, 0xea, 0x9e, + 0xe9, 0x4c, 0xcf, 0x4c, 0xf9, 0x54, 0x7b, 0x66, 0x37, 0x6b, 0x36, 0x7e, 0x5d, 0xf5, 0xba, 0xfb, + 0xed, 0x54, 0xd7, 0x2b, 0xbf, 0xf7, 0xaa, 0x67, 0xda, 0x4b, 0xa4, 0x10, 0x85, 0x20, 0x44, 0x08, + 0xfb, 0x83, 0x00, 0x12, 0x20, 0x05, 0x24, 0x24, 0x3e, 0x44, 0xc8, 0x86, 0x25, 0xf1, 0x42, 0x14, + 0x21, 0x11, 0x56, 0x2b, 0x20, 0xc8, 0x2b, 0x01, 0x89, 0x12, 0x69, 0x21, 0x89, 0x10, 0x42, 0xe2, + 0x07, 0x12, 0xbf, 0xb0, 0x22, 0xe0, 0x9e, 0xfb, 0x7d, 0x5f, 0xbd, 0xea, 0xf7, 0xaa, 0x3d, 0xd5, + 0x4c, 0x56, 0xfc, 0x68, 0xa9, 0xeb, 0xdc, 0x73, 0xcf, 0xfd, 0x78, 0xe7, 0x9e, 0x7b, 0xce, 0xb9, + 0xe7, 0x9e, 0x4b, 0x5e, 0xba, 0xfb, 0x46, 0xbc, 0x1c, 0x84, 0x97, 0xee, 0xf6, 0x76, 0xfc, 0xa8, + 0xe3, 0x27, 0x7e, 0x7c, 0xa9, 0x7b, 0x77, 0xef, 0x92, 0xd7, 0x0d, 0x2e, 0x1d, 0x5e, 0xbe, 0xb4, + 0xe7, 0x77, 0xfc, 0xc8, 0x4b, 0xfc, 0xd6, 0x72, 0x37, 0x0a, 0x93, 0xd0, 0xf9, 0x0c, 0xc7, 0x5e, + 0xd6, 0xd8, 0xcb, 0x14, 0x7b, 0x99, 0x62, 0x2f, 0x1f, 0x5e, 0x5e, 0xba, 0xb8, 0x17, 0x24, 0xfb, + 0xbd, 0x9d, 0xe5, 0x66, 0x78, 0x70, 0x69, 0x2f, 0xdc, 0x0b, 0x2f, 0xb1, 0x4a, 0x3b, 0xbd, 0x5d, + 0xf6, 0x8b, 0xfd, 0x60, 0xff, 0x71, 0x62, 0x4b, 0x57, 0x06, 0x37, 0x1d, 0xf9, 0x71, 0xd8, 0x8b, + 0x9a, 0x7e, 0xba, 0x03, 0x4b, 0xaf, 0x0d, 0xae, 0xd3, 0xeb, 0x1c, 0xfa, 0x51, 0x1c, 0x84, 0x1d, + 0xbf, 0xd5, 0x57, 0xed, 0x62, 0x76, 0xb5, 0xa8, 0xd7, 0x49, 0x82, 0x83, 0xfe, 0x56, 0x2e, 0x67, + 0xa3, 0xf7, 0x92, 0xa0, 0x7d, 0x29, 0xe8, 0x24, 0x71, 0x12, 0xa5, 0xab, 0xb8, 0xbf, 0x53, 0x22, + 0x4f, 0xad, 0xdc, 0x69, 0xac, 0xb7, 0xbd, 0x38, 0x09, 0x9a, 0xab, 0xed, 0xb0, 0x79, 0xb7, 0x91, + 0x84, 0x91, 0x7f, 0x3b, 0x6c, 0xf7, 0x0e, 0xfc, 0x06, 0x1b, 0x8d, 0xf3, 0x12, 0x99, 0x3a, 0x64, + 0xbf, 0x37, 0x6b, 0x8b, 0xa5, 0xa7, 0x4a, 0xcf, 0x57, 0x57, 0x17, 0xbe, 0xff, 0xc3, 0x27, 0x3f, + 0xf5, 0x87, 0x3f, 0x7c, 0x72, 0xea, 0xb6, 0x80, 0x83, 0xc2, 0x70, 0x9e, 0x23, 0x13, 0xbb, 0xf1, + 0xf6, 0x51, 0xd7, 0x5f, 0x2c, 0x33, 0xdc, 0x39, 0x81, 0x3b, 0xb1, 0xd1, 0x40, 0x28, 0x88, 0x52, + 0xe7, 0x12, 0xa9, 0x76, 0xbd, 0x28, 0x09, 0x12, 0x3a, 0xf6, 0xc5, 0x0a, 0x45, 0x1d, 0x5f, 0x3d, + 0x23, 0x50, 0xab, 0x75, 0x59, 0x00, 0x1a, 0x07, 0xbb, 0x11, 0xf9, 0x5e, 0xeb, 0x56, 0xa7, 0x7d, + 0xb4, 0x38, 0x46, 0xf1, 0xa7, 0x74, 0x37, 0x40, 0xc0, 0x41, 0x61, 0xb8, 0x1f, 0x96, 0xc9, 0xd4, + 0xca, 0xee, 0x6e, 0xd0, 0x09, 0x92, 0x23, 0xe7, 0x3d, 0x32, 0xd3, 0x09, 0x5b, 0xbe, 0xfc, 0xcd, + 0x46, 0x31, 0x7d, 0xe5, 0xc2, 0xf2, 0x71, 0x7c, 0xb1, 0x7c, 0xd3, 0xa8, 0xb1, 0xba, 0x40, 0x9b, + 0x99, 0x31, 0x21, 0x60, 0x51, 0x74, 0xde, 0x25, 0xd3, 0xdd, 0xb0, 0xa5, 0x1a, 0x28, 0xb3, 0x06, + 0x5e, 0x38, 0xbe, 0x81, 0xba, 0xae, 0xb0, 0x3a, 0x4f, 0xe9, 0x4f, 0x1b, 0x00, 0x30, 0xc9, 0x39, + 0x6d, 0x32, 0x8f, 0x3f, 0xe9, 0x67, 0x57, 0x2d, 0x54, 0x58, 0x0b, 0x17, 0xf3, 0x5b, 0x30, 0x2a, + 0xad, 0x9e, 0xa5, 0xad, 0xcc, 0xa7, 0x80, 0x90, 0x26, 0xed, 0x7e, 0x40, 0xe6, 0x56, 0x92, 0xc4, + 0x6b, 0xee, 0xfb, 0x2d, 0xfe, 0x7d, 0x9d, 0x57, 0xc9, 0x58, 0xc7, 0x3b, 0xf0, 0xc5, 0xd7, 0x7f, + 0x4a, 0x4c, 0xfb, 0xd8, 0x4d, 0x0a, 0xfb, 0xf8, 0x87, 0x4f, 0x2e, 0xbc, 0xd3, 0x09, 0xde, 0xef, + 0x09, 0x9e, 0x41, 0x18, 0x30, 0x6c, 0xe7, 0x0a, 0x21, 0x2d, 0xff, 0x30, 0x68, 0xfa, 0x75, 0x2f, + 0xd9, 0x17, 0xdc, 0xe0, 0x88, 0xba, 0xa4, 0xa6, 0x4a, 0xc0, 0xc0, 0x72, 0x7f, 0xa6, 0x44, 0xaa, + 0x2b, 0x87, 0x61, 0xd0, 0xa2, 0xbd, 0x8c, 0x9d, 0x1e, 0x1d, 0x77, 0xe4, 0xef, 0xfa, 0x91, 0x02, + 0xd1, 0x2e, 0x54, 0xe8, 0xb8, 0xaf, 0xe4, 0x8c, 0xdb, 0xae, 0xb4, 0xde, 0x49, 0xa2, 0xa3, 0xd5, + 0x47, 0x45, 0xd3, 0xf3, 0xa9, 0x52, 0x48, 0xb7, 0xe1, 0xfe, 0x83, 0x12, 0x39, 0xbf, 0xf2, 0x41, + 0x2f, 0xf2, 0x37, 0x82, 0xb6, 0xbd, 0x14, 0xe8, 0x90, 0x62, 0xbf, 0x19, 0xf9, 0xc9, 0x4d, 0x3d, + 0x1d, 0x6a, 0x48, 0x0d, 0x55, 0x02, 0x06, 0x16, 0x32, 0x7a, 0xbc, 0xef, 0x45, 0x6c, 0x66, 0xc4, + 0x2c, 0x28, 0x46, 0x6f, 0xc8, 0x02, 0xd0, 0x38, 0x16, 0xa3, 0x57, 0x72, 0x19, 0xfd, 0x9f, 0x95, + 0xc8, 0xe4, 0x6a, 0xd0, 0x69, 0x05, 0x9d, 0x3d, 0xe7, 0x2b, 0x64, 0xea, 0xc0, 0x4f, 0xbc, 0x96, + 0x97, 0x78, 0x82, 0xc7, 0x9f, 0x3f, 0x7e, 0xa2, 0x6e, 0xed, 0x7c, 0xc3, 0x6f, 0x26, 0x37, 0x68, + 0x1d, 0x3d, 0x0c, 0x0d, 0x03, 0x45, 0xcd, 0x79, 0x87, 0x4c, 0x24, 0x5e, 0xb4, 0xe7, 0x27, 0x82, + 0xb5, 0x2f, 0x16, 0xa1, 0x0b, 0x38, 0xad, 0x7e, 0xa7, 0xe9, 0x6b, 0x21, 0xb0, 0xcd, 0x88, 0x80, + 0x20, 0xe6, 0x36, 0xc9, 0xcc, 0x9a, 0xd7, 0xf5, 0x76, 0x82, 0x36, 0x5d, 0xe3, 0x7e, 0xec, 0x7c, + 0x8e, 0x54, 0xbc, 0x56, 0x8b, 0x7d, 0xe4, 0xea, 0xea, 0x79, 0x5a, 0xa1, 0xb2, 0xd2, 0x6a, 0x51, + 0x16, 0x23, 0x0a, 0xeb, 0x08, 0x10, 0xc3, 0xb9, 0x40, 0xc6, 0x5a, 0x51, 0xd8, 0xa5, 0xbd, 0x41, + 0xcc, 0x47, 0x90, 0x1b, 0x6b, 0xf4, 0x77, 0x0a, 0x95, 0xe1, 0xb8, 0xff, 0xaa, 0x4c, 0x9c, 0x35, + 0xbf, 0xbb, 0xbf, 0xd1, 0xb0, 0xbe, 0xe5, 0xf3, 0x74, 0xb2, 0x42, 0xca, 0xf0, 0x61, 0x14, 0x8b, + 0x06, 0x67, 0x70, 0x8a, 0x6f, 0x08, 0x18, 0xa8, 0x52, 0xe7, 0x29, 0x32, 0xd6, 0xd5, 0x2c, 0x3c, + 0x23, 0xd9, 0x9f, 0x31, 0x2f, 0x2b, 0x41, 0x8c, 0x5e, 0xec, 0x47, 0xec, 0x73, 0x19, 0x18, 0xef, + 0x50, 0x18, 0xb0, 0x12, 0xcd, 0x39, 0xc8, 0x53, 0x4c, 0x7e, 0xf5, 0x71, 0x0e, 0x96, 0x80, 0x81, + 0xe5, 0xfc, 0x24, 0xe5, 0x1c, 0xf6, 0x8b, 0x4e, 0xe4, 0xe2, 0x38, 0x9b, 0xf7, 0x1c, 0xc6, 0xdf, + 0x0a, 0x9b, 0x5e, 0x3b, 0x3d, 0xf9, 0xb3, 0x8c, 0xd3, 0x24, 0x21, 0xd0, 0x34, 0x2d, 0x4e, 0x9b, + 0xc8, 0xe5, 0xb4, 0xbf, 0x5e, 0xa2, 0xf3, 0x48, 0x39, 0xcd, 0x8f, 0x4e, 0x61, 0x7b, 0x18, 0x6e, + 0x11, 0xfc, 0x3e, 0x76, 0x2d, 0x3c, 0xe8, 0xd2, 0x6d, 0xb4, 0x93, 0xac, 0x85, 0x74, 0x35, 0xb0, + 0x2d, 0xe3, 0xf3, 0x64, 0x2c, 0xc1, 0xa6, 0x78, 0xb7, 0x9e, 0x93, 0x9f, 0x05, 0x1b, 0xa0, 0x9c, + 0xf2, 0x48, 0x7f, 0x0d, 0xd6, 0x05, 0x56, 0xc7, 0x79, 0x93, 0x4c, 0xc4, 0x89, 0x97, 0xf4, 0x62, + 0xd1, 0xd1, 0xa7, 0x65, 0x47, 0x1b, 0x0c, 0x4a, 0xeb, 0xcf, 0xab, 0x6a, 0x1c, 0x04, 0xa2, 0x82, + 0xf3, 0x02, 0x99, 0x3c, 0xf0, 0xe3, 0xd8, 0xdb, 0xf3, 0x05, 0x43, 0xcc, 0x8b, 0xba, 0x93, 0x37, + 0x38, 0x18, 0x64, 0xb9, 0xf3, 0x59, 0x32, 0xee, 0x47, 0x51, 0x18, 0x09, 0x8e, 0x98, 0x15, 0x88, + 0xe3, 0xeb, 0x08, 0x04, 0x5e, 0xe6, 0xfe, 0xa0, 0x44, 0xe6, 0x55, 0x5f, 0x79, 0x5b, 0x23, 0x5c, + 0xea, 0x2d, 0x42, 0x9a, 0x72, 0x60, 0x31, 0x5b, 0x60, 0xd3, 0x57, 0x5e, 0x3e, 0x9e, 0x76, 0xff, + 0x44, 0xea, 0x36, 0x14, 0x28, 0x06, 0x83, 0xae, 0xfb, 0xfd, 0x12, 0x39, 0x9b, 0x1a, 0xd3, 0x56, + 0x10, 0x27, 0xce, 0x9f, 0xee, 0x1b, 0xd7, 0xa5, 0x63, 0xda, 0x36, 0xb4, 0xa7, 0x65, 0xac, 0xce, + 0x86, 0xa7, 0x18, 0x45, 0x42, 0x8c, 0xc1, 0x01, 0x19, 0x0f, 0x12, 0xff, 0x40, 0x8e, 0xeb, 0x62, + 0xc1, 0x71, 0xf1, 0x0e, 0xea, 0xcf, 0xb3, 0x89, 0x34, 0x80, 0x93, 0x72, 0xff, 0x27, 0xdd, 0xb3, + 0xe8, 0x28, 0x77, 0x83, 0xbd, 0x1b, 0x5e, 0x77, 0x84, 0x1f, 0xa6, 0x41, 0x65, 0x1e, 0x52, 0xe5, + 0x5d, 0xbf, 0x9c, 0xd7, 0x75, 0xd1, 0xa1, 0xe5, 0x1a, 0xad, 0xc3, 0x77, 0x40, 0x25, 0x97, 0x10, + 0x04, 0x8c, 0xd8, 0xd2, 0xeb, 0xa4, 0xaa, 0x10, 0x9c, 0x05, 0x52, 0xb9, 0xeb, 0x73, 0xf5, 0xa8, + 0x0a, 0xf8, 0xaf, 0x73, 0x8e, 0x8c, 0x1f, 0x7a, 0xed, 0x9e, 0x58, 0xad, 0xc0, 0x7f, 0x7c, 0xbe, + 0xfc, 0x46, 0xc9, 0xfd, 0x8d, 0x12, 0x39, 0xa7, 0x1a, 0xb9, 0xee, 0x1f, 0x35, 0xfc, 0x36, 0xed, + 0x72, 0x18, 0x39, 0x3f, 0x4b, 0x0b, 0xda, 0x19, 0x72, 0x48, 0xcc, 0xc6, 0x49, 0x24, 0xd8, 0x67, + 0x44, 0xc7, 0xcf, 0x65, 0x95, 0x42, 0x66, 0x6b, 0xce, 0xe3, 0x7c, 0x2c, 0x7c, 0xf1, 0x4e, 0x0b, + 0x02, 0x15, 0xda, 0x51, 0x36, 0x30, 0xec, 0xfe, 0xac, 0xea, 0xfe, 0x69, 0x70, 0xde, 0x96, 0xcd, + 0x79, 0x9f, 0x2b, 0xf8, 0xf9, 0x06, 0xf0, 0xdc, 0x7f, 0xa7, 0x2a, 0x8a, 0xc2, 0xb1, 0xc4, 0xf1, + 0x43, 0x32, 0xfd, 0xc3, 0x0d, 0x97, 0x7e, 0x96, 0xed, 0x10, 0xf7, 0xd3, 0x01, 0xc3, 0xfd, 0xed, + 0x2a, 0x5b, 0x62, 0x89, 0x17, 0x50, 0xfb, 0x05, 0x77, 0x5b, 0x43, 0x1d, 0x9d, 0x31, 0xd5, 0x51, + 0xa1, 0x7a, 0x52, 0xb1, 0x1a, 0x1c, 0xa0, 0xfc, 0x2d, 0xdb, 0x62, 0x75, 0x13, 0x81, 0xc0, 0xcb, + 0x9c, 0x67, 0xc9, 0x24, 0xb5, 0xf9, 0x0e, 0xbc, 0x4e, 0x8b, 0x8a, 0x69, 0xdc, 0xff, 0xa7, 0x51, + 0x44, 0xaf, 0x71, 0x10, 0xc8, 0x32, 0xe7, 0x33, 0x64, 0x8c, 0x2a, 0x2b, 0x31, 0x95, 0xd0, 0x88, + 0x33, 0x85, 0x2d, 0xad, 0xd0, 0xdf, 0xc0, 0xa0, 0xb8, 0xaf, 0xdf, 0x0b, 0xa3, 0xbb, 0x54, 0xfb, + 0xaa, 0x05, 0x11, 0xdb, 0xa4, 0x8d, 0x7d, 0xfd, 0x8e, 0x2a, 0x01, 0x03, 0xcb, 0xa9, 0x93, 0xf1, + 0x6e, 0x18, 0x25, 0x31, 0xdd, 0x73, 0x71, 0x6e, 0x5e, 0xcc, 0x65, 0x05, 0x3e, 0xee, 0x3a, 0xad, + 0xa3, 0x87, 0x82, 0xbf, 0xe8, 0xfc, 0x30, 0x42, 0xce, 0x1a, 0xa9, 0xf8, 0x9d, 0xc3, 0xc5, 0x49, + 0x46, 0xef, 0x99, 0xe3, 0xe9, 0xad, 0x77, 0x0e, 0x6f, 0x7b, 0x91, 0x5e, 0x12, 0xf4, 0x37, 0x60, + 0x6d, 0xa7, 0x49, 0xaa, 0xd2, 0x82, 0x8d, 0x17, 0xa7, 0x8a, 0x70, 0x0b, 0x08, 0x74, 0xf0, 0xdf, + 0xef, 0x05, 0x91, 0x7f, 0x40, 0x25, 0x65, 0xac, 0x95, 0x5b, 0x59, 0x1a, 0x83, 0xa6, 0x4b, 0x1b, + 0x99, 0xe1, 0xba, 0xc0, 0x8d, 0x90, 0x9a, 0xb1, 0xf1, 0x62, 0x95, 0x75, 0x39, 0xc7, 0x52, 0xba, + 0xad, 0x6b, 0xac, 0x9e, 0x13, 0xe4, 0x67, 0x0c, 0x60, 0x0c, 0x16, 0x51, 0x6a, 0x8d, 0xcd, 0xb6, + 0x83, 0x43, 0x6a, 0xeb, 0xc6, 0x71, 0x3d, 0x0a, 0x77, 0xfc, 0x45, 0xc2, 0x46, 0xf3, 0xd9, 0x3c, + 0xab, 0x81, 0xa2, 0xae, 0x9e, 0xa1, 0xb4, 0x67, 0xb7, 0xcc, 0xda, 0x60, 0x13, 0xa3, 0x6a, 0xd9, + 0x1c, 0x2a, 0x1e, 0x81, 0x26, 0x3f, 0x5d, 0x9c, 0xbc, 0x43, 0xc9, 0xcf, 0x81, 0x55, 0x1d, 0x52, + 0xe4, 0x9c, 0x6d, 0x52, 0x6d, 0x07, 0xbb, 0x7e, 0xf3, 0xa8, 0x49, 0x55, 0xc5, 0x19, 0x46, 0x3b, + 0x67, 0xfd, 0x6c, 0x49, 0x74, 0xae, 0xec, 0xa9, 0x9f, 0xa0, 0x09, 0x39, 0xb7, 0xc9, 0x23, 0x89, + 0x1f, 0x1d, 0x04, 0x1d, 0x0f, 0x77, 0x60, 0xa1, 0x89, 0x30, 0xd3, 0x6c, 0x96, 0x71, 0xed, 0x13, + 0x62, 0x62, 0x1f, 0xd9, 0xce, 0xc4, 0x82, 0x01, 0xb5, 0x9d, 0x5b, 0x64, 0x9e, 0xad, 0xa7, 0x7a, + 0xaf, 0xdd, 0xae, 0x87, 0xed, 0xa0, 0x79, 0xb4, 0x38, 0xc7, 0x08, 0x3e, 0x2b, 0x0d, 0xae, 0x4d, + 0xbb, 0x18, 0x95, 0x74, 0xfd, 0x0b, 0xd2, 0xb5, 0xd1, 0xda, 0xa5, 0x2a, 0x6a, 0x2f, 0xa2, 0x1a, + 0x3c, 0xf2, 0xbe, 0x7f, 0x3f, 0x59, 0x9c, 0x2f, 0x62, 0x74, 0x34, 0xec, 0x4a, 0xdc, 0xda, 0x4d, + 0x01, 0x21, 0x4d, 0x1a, 0x45, 0x45, 0x9c, 0xd0, 0xd9, 0x5f, 0x5c, 0x60, 0x5a, 0xa6, 0x5a, 0x5f, + 0x0d, 0x04, 0x02, 0x2f, 0x63, 0x36, 0x1c, 0xfe, 0x73, 0x0b, 0x05, 0xe9, 0x19, 0x86, 0xa8, 0x6d, + 0x38, 0x59, 0x00, 0x1a, 0x07, 0x77, 0x9f, 0x84, 0x5a, 0xe9, 0x0e, 0x43, 0x55, 0x4b, 0x6d, 0x7b, + 0xfb, 0xab, 0x80, 0x70, 0x77, 0x87, 0xcc, 0xa9, 0x65, 0xcd, 0x66, 0xc7, 0x79, 0x92, 0x8c, 0xa3, + 0xe4, 0x92, 0xa6, 0x48, 0x15, 0xbb, 0x80, 0x02, 0x8d, 0x2e, 0x71, 0x06, 0x67, 0x5d, 0x08, 0x3e, + 0xf0, 0x57, 0x8f, 0xe8, 0xa8, 0x99, 0x58, 0xab, 0x18, 0x5d, 0x90, 0x05, 0xa0, 0x71, 0xdc, 0xff, + 0xcd, 0x77, 0x38, 0x2d, 0x3b, 0x0a, 0xc8, 0x4d, 0xaa, 0x75, 0xef, 0x87, 0x71, 0x82, 0xd8, 0xac, + 0x8d, 0x71, 0xbd, 0xa5, 0x5d, 0x13, 0x70, 0x50, 0x18, 0xce, 0x17, 0xc8, 0x6c, 0xd3, 0x6c, 0x40, + 0xb8, 0x71, 0xce, 0x8b, 0x2a, 0x76, 0xeb, 0x60, 0xe3, 0x3a, 0x6f, 0x90, 0x29, 0xe6, 0x83, 0x6a, + 0x86, 0x6d, 0xa1, 0xfc, 0xca, 0x6d, 0x66, 0xaa, 0x2e, 0xe0, 0x1f, 0x1b, 0xff, 0x83, 0xc2, 0x46, + 0x13, 0x02, 0xbb, 0xb0, 0x59, 0x17, 0xe2, 0x56, 0x99, 0x10, 0xd7, 0x18, 0x14, 0x44, 0xa9, 0xfb, + 0x2b, 0x65, 0x63, 0x96, 0x51, 0x83, 0xf3, 0x9d, 0x9f, 0x20, 0x93, 0xf7, 0x3c, 0xaa, 0x81, 0x76, + 0xf6, 0xc4, 0x76, 0xf8, 0x4a, 0x41, 0xd9, 0xcb, 0xaa, 0xdf, 0xe1, 0x55, 0xf9, 0x3e, 0x21, 0x7e, + 0x80, 0x24, 0x88, 0xb4, 0xa3, 0x5e, 0xa7, 0x83, 0xb4, 0xcb, 0xc3, 0xd3, 0x06, 0x5e, 0x95, 0xd3, + 0x16, 0x3f, 0x40, 0x12, 0x74, 0x76, 0x09, 0x91, 0xab, 0xcf, 0x6f, 0x09, 0xdf, 0xcf, 0x8f, 0x0d, + 0x43, 0x7e, 0x5b, 0xd5, 0x5e, 0x9d, 0xc3, 0x9d, 0x49, 0xff, 0x06, 0x83, 0xb2, 0xdb, 0x63, 0x5a, + 0x45, 0x7f, 0xb7, 0xa8, 0x44, 0xa5, 0xcc, 0xed, 0x45, 0x14, 0x67, 0x25, 0x11, 0x53, 0xf7, 0x62, + 0x41, 0xed, 0x68, 0x3b, 0x38, 0xf0, 0xcd, 0xd5, 0x22, 0xa8, 0x80, 0x26, 0xe8, 0x7e, 0xb7, 0x42, + 0x16, 0x07, 0xf5, 0x17, 0x79, 0xd2, 0xbf, 0x1f, 0x50, 0xd3, 0xa2, 0xc5, 0x39, 0xd7, 0xe0, 0xc9, + 0x75, 0x01, 0x07, 0x85, 0x81, 0xcc, 0x11, 0x07, 0x7b, 0x1d, 0xaf, 0x2d, 0xf8, 0x57, 0x31, 0x47, + 0x83, 0x41, 0x41, 0x94, 0x22, 0x1e, 0x95, 0xba, 0xb1, 0xf0, 0x3d, 0x1a, 0x4c, 0x04, 0x0c, 0x0a, + 0xa2, 0xd4, 0xb4, 0xe5, 0xc6, 0x72, 0x6c, 0x39, 0x6b, 0x8e, 0xc6, 0x1f, 0xf0, 0x1c, 0xd1, 0x5d, + 0x87, 0xa0, 0x7f, 0x2e, 0xde, 0x67, 0xe4, 0x27, 0x86, 0x27, 0xaf, 0xb4, 0x92, 0x0d, 0x45, 0x06, + 0x0c, 0x92, 0xce, 0x6b, 0x64, 0x5a, 0xad, 0x50, 0x6a, 0xca, 0x4f, 0xb2, 0xd1, 0x9e, 0x15, 0x95, + 0xa6, 0xb5, 0xb8, 0xaa, 0x81, 0x89, 0xe7, 0x7e, 0x23, 0xcd, 0x32, 0x62, 0x61, 0x18, 0x33, 0x5c, + 0x2a, 0x3a, 0xc3, 0xe5, 0xe3, 0x67, 0xd8, 0xfd, 0x8f, 0x15, 0x34, 0x84, 0x8d, 0xc6, 0x7a, 0x71, + 0x01, 0xa1, 0xf6, 0x36, 0x4a, 0x78, 0xda, 0x31, 0xb1, 0x2c, 0x5f, 0x1a, 0x66, 0xdd, 0x98, 0xfb, + 0x01, 0x2e, 0x07, 0x4e, 0xc9, 0xd9, 0xa7, 0x3b, 0xb4, 0x17, 0x33, 0xb3, 0xd0, 0x17, 0xcb, 0x71, + 0x38, 0xb2, 0x5a, 0xa5, 0xa6, 0x64, 0x8c, 0x0d, 0x97, 0xb7, 0xa2, 0x89, 0xe3, 0xf6, 0x84, 0xda, + 0x81, 0x74, 0x79, 0xab, 0xee, 0xa0, 0x0a, 0x71, 0x04, 0xbc, 0x8c, 0xca, 0xd2, 0x19, 0xaa, 0x61, + 0x21, 0xab, 0xac, 0xa1, 0x02, 0xc4, 0x98, 0x6f, 0x5c, 0x6b, 0x4a, 0x60, 0x94, 0x81, 0x85, 0xa9, + 0x15, 0xe5, 0x89, 0x63, 0x14, 0x65, 0xfa, 0x85, 0xd8, 0x3f, 0x8a, 0x2b, 0xd4, 0x17, 0xda, 0xe4, + 0x60, 0x90, 0xe5, 0x69, 0x26, 0x9a, 0x2a, 0xc8, 0x44, 0x17, 0xc8, 0x5c, 0xcd, 0xf3, 0x0f, 0xc2, + 0xce, 0x7a, 0xa7, 0xd5, 0x0d, 0x03, 0xda, 0xb1, 0x45, 0x32, 0xc6, 0xb6, 0x14, 0xbe, 0xe2, 0xc7, + 0x90, 0x02, 0x8c, 0xa1, 0xb2, 0xeb, 0xfe, 0x1f, 0xba, 0xaf, 0xd5, 0xa8, 0xb1, 0x99, 0xf8, 0xb7, + 0xba, 0xcc, 0x97, 0xe0, 0x6c, 0x10, 0x67, 0x2f, 0xf2, 0x9a, 0x7e, 0xdd, 0x8f, 0x82, 0xb0, 0x45, + 0x77, 0xfc, 0xb0, 0xc3, 0x3c, 0xc5, 0xb8, 0x47, 0xa2, 0x6b, 0xd0, 0xb9, 0xda, 0x57, 0x0a, 0x19, + 0x35, 0x9c, 0x16, 0x99, 0xed, 0x46, 0xbe, 0xe5, 0xfc, 0x28, 0xe5, 0xeb, 0xe7, 0x75, 0xb3, 0x0a, + 0x57, 0x1f, 0x2d, 0x10, 0xd8, 0x44, 0x9d, 0xb7, 0xc8, 0x42, 0x18, 0x75, 0xf7, 0xbd, 0x4e, 0xcd, + 0xef, 0xfa, 0x9d, 0x16, 0xea, 0xcc, 0xc2, 0xc3, 0x75, 0x8e, 0xd6, 0x5d, 0xb8, 0x95, 0x2a, 0x83, + 0x3e, 0x6c, 0xf7, 0x2f, 0x95, 0xc9, 0xf9, 0x5a, 0x78, 0xaf, 0x73, 0xcf, 0x8b, 0x5a, 0x2b, 0xf5, + 0x4d, 0xae, 0x08, 0x33, 0x8f, 0xa1, 0xf4, 0x54, 0x96, 0x06, 0x7a, 0x2a, 0xbf, 0x46, 0xa6, 0x76, + 0x03, 0xbf, 0xdd, 0x42, 0x97, 0x22, 0x1f, 0xde, 0xe5, 0x22, 0xee, 0x89, 0x0d, 0xac, 0x23, 0x4d, + 0x7c, 0xee, 0x28, 0xdd, 0x10, 0x64, 0x40, 0x11, 0x74, 0x7a, 0x64, 0x41, 0x6a, 0xfa, 0xb2, 0x54, + 0xac, 0x8e, 0x57, 0x8a, 0x19, 0x12, 0x76, 0x33, 0x6c, 0x3e, 0x20, 0x45, 0x10, 0xfa, 0x9a, 0x70, + 0x63, 0xf2, 0x68, 0xdf, 0x74, 0x08, 0x6b, 0xf8, 0x2b, 0xd2, 0x0c, 0xe5, 0xe7, 0x06, 0x39, 0xdd, + 0xc8, 0x9c, 0xd4, 0x01, 0x26, 0xe9, 0x2d, 0x72, 0x6e, 0xfd, 0xa0, 0x9b, 0x1c, 0x51, 0x83, 0xce, + 0x6a, 0xf1, 0x75, 0x32, 0x71, 0xe0, 0xb7, 0x82, 0xde, 0x81, 0xf8, 0x08, 0x4f, 0x4a, 0xb1, 0x77, + 0x83, 0x41, 0xa9, 0x4e, 0x33, 0x8b, 0x47, 0x6c, 0x74, 0xb9, 0x70, 0x00, 0x08, 0x74, 0xf7, 0xd7, + 0x4b, 0x64, 0x5e, 0xb2, 0xff, 0x4a, 0xab, 0x45, 0x47, 0x19, 0x3b, 0x4b, 0xa4, 0x1c, 0x74, 0x05, + 0x21, 0x22, 0x08, 0x95, 0xa9, 0x8a, 0x43, 0xa1, 0x54, 0xdf, 0xa8, 0x72, 0x2f, 0xba, 0xfe, 0x94, + 0x43, 0x7a, 0xe5, 0x99, 0xad, 0xb0, 0x2d, 0x69, 0x80, 0x26, 0x27, 0xf5, 0x40, 0x26, 0x58, 0x2b, + 0xb6, 0x4f, 0xf7, 0x9a, 0x80, 0x83, 0xc2, 0x70, 0x7f, 0xbe, 0x44, 0x66, 0x64, 0xcf, 0x0b, 0x2a, + 0x9a, 0xc8, 0xa8, 0x5a, 0xc9, 0xd4, 0x8c, 0x8a, 0x8a, 0x22, 0x2b, 0xb1, 0xf4, 0xc3, 0xca, 0x30, + 0xfa, 0xa1, 0xfb, 0x5d, 0xaa, 0xf7, 0xc9, 0xee, 0x34, 0x7a, 0x3b, 0xb1, 0x9f, 0x38, 0x5f, 0x27, + 0x55, 0x8f, 0x4f, 0xa9, 0x2f, 0x59, 0xe1, 0x62, 0x9e, 0x95, 0x6c, 0x7d, 0x09, 0xbd, 0x39, 0xaf, + 0x48, 0x3a, 0xa0, 0x49, 0x3a, 0x87, 0xe4, 0x4c, 0x27, 0x4c, 0x98, 0x4c, 0x56, 0xe5, 0xc5, 0x5c, + 0x8c, 0xe9, 0x76, 0x1e, 0x13, 0xed, 0x9c, 0xb9, 0x99, 0xa6, 0x07, 0xfd, 0x4d, 0x50, 0xdb, 0x4b, + 0x78, 0x12, 0x2a, 0xac, 0xad, 0x0b, 0xc5, 0xda, 0x1a, 0xec, 0x48, 0x70, 0x7f, 0xb3, 0x44, 0xaa, + 0x12, 0x6d, 0x94, 0x4e, 0xe6, 0x3b, 0x64, 0x32, 0x66, 0x9f, 0x46, 0x4e, 0xd3, 0x4b, 0xc5, 0xba, + 0xce, 0xbf, 0xa7, 0xde, 0x80, 0xf8, 0xef, 0x18, 0x24, 0x35, 0xe6, 0xd7, 0x53, 0x03, 0x78, 0xf8, + 0xfc, 0x7a, 0xaa, 0x6b, 0x03, 0xa4, 0xca, 0xdf, 0x2b, 0x91, 0x09, 0xee, 0xa0, 0x29, 0xe6, 0xe5, + 0x32, 0x9c, 0xb3, 0x9a, 0xe2, 0x6d, 0x04, 0x0a, 0x5f, 0x2d, 0x9d, 0xe9, 0x2a, 0xfb, 0x67, 0x23, + 0x0a, 0x0f, 0x84, 0x30, 0xbe, 0x50, 0xc4, 0x41, 0xc4, 0xc5, 0x19, 0x97, 0x11, 0xb7, 0x25, 0x01, + 0xd0, 0xb4, 0xdc, 0xdf, 0xa8, 0xe0, 0xaa, 0xd7, 0xa8, 0xd6, 0xd6, 0x52, 0x3a, 0x8d, 0xad, 0xa5, + 0x3c, 0xf2, 0xad, 0xc5, 0x79, 0x9f, 0xcc, 0x37, 0x0d, 0x27, 0xb7, 0xde, 0xd0, 0xae, 0x14, 0xf4, + 0xdf, 0x1a, 0x9e, 0x71, 0xee, 0x90, 0x58, 0xb3, 0xc9, 0x41, 0x9a, 0xbe, 0xe3, 0x93, 0x19, 0x7e, + 0x42, 0x27, 0xda, 0x1b, 0xcb, 0xe5, 0x59, 0xee, 0xfb, 0xe0, 0x35, 0x54, 0x63, 0x2c, 0x62, 0xa1, + 0x61, 0x10, 0x02, 0x8b, 0xac, 0xfb, 0x57, 0xc6, 0xc9, 0xf8, 0xfa, 0x21, 0xd5, 0x27, 0x46, 0xb8, + 0xca, 0x0f, 0xc8, 0x5c, 0xd0, 0x39, 0x0c, 0xdb, 0x87, 0x7e, 0x8b, 0x97, 0x9f, 0x6c, 0x9f, 0x7a, + 0x44, 0x34, 0x32, 0xb7, 0x69, 0x11, 0x83, 0x14, 0xf1, 0x51, 0xd8, 0x74, 0x6f, 0x53, 0x73, 0x92, + 0x71, 0x84, 0x30, 0xe8, 0x72, 0x1c, 0x95, 0x6c, 0x42, 0xc5, 0xca, 0xd1, 0x96, 0x27, 0xf7, 0x91, + 0x0a, 0x42, 0xce, 0x5d, 0x32, 0xb7, 0x1b, 0x44, 0x54, 0xeb, 0xa7, 0x46, 0x19, 0xd5, 0xc4, 0x0f, + 0xba, 0x27, 0x31, 0xe6, 0xd4, 0x94, 0x6c, 0x58, 0xa4, 0x20, 0x45, 0x9a, 0x1a, 0x2a, 0xb3, 0x68, + 0x4b, 0xe8, 0xb6, 0x26, 0x87, 0x6f, 0x4b, 0xf9, 0x73, 0xb6, 0x4c, 0x4a, 0x60, 0x13, 0x46, 0x61, + 0xd4, 0x64, 0xc6, 0xc7, 0x14, 0xdb, 0xd2, 0x95, 0x30, 0xe2, 0x56, 0x07, 0x2f, 0x43, 0x99, 0xc6, + 0x0e, 0x64, 0xab, 0xb6, 0x4c, 0xd3, 0xc7, 0xae, 0xee, 0x77, 0x70, 0x03, 0xc2, 0x59, 0x3c, 0x0d, + 0xd9, 0x7d, 0xcd, 0x96, 0xdd, 0x9f, 0x2d, 0xf0, 0x71, 0x07, 0xc8, 0xed, 0xf7, 0xc8, 0xb4, 0xf1, + 0xed, 0xd1, 0x59, 0xd7, 0x94, 0x67, 0x87, 0x42, 0x80, 0x2b, 0x05, 0x42, 0x1d, 0x2a, 0x82, 0xc6, + 0xc1, 0x89, 0x41, 0x75, 0x2a, 0x1d, 0x62, 0x80, 0xca, 0x16, 0xb0, 0x12, 0xf7, 0x15, 0x42, 0xd6, + 0xef, 0xfb, 0xcd, 0x95, 0x26, 0x3b, 0xd9, 0x36, 0xce, 0x2e, 0x4a, 0x83, 0xcf, 0x2e, 0xdc, 0x77, + 0xe9, 0x66, 0x78, 0x1f, 0x77, 0x76, 0x69, 0x2a, 0xd1, 0x25, 0xe2, 0x33, 0x00, 0xeb, 0xd5, 0x94, + 0x66, 0x52, 0x8e, 0x06, 0xa2, 0x94, 0x9d, 0x4b, 0xdf, 0xf7, 0xc4, 0x82, 0x35, 0xcc, 0xce, 0x75, + 0x04, 0x02, 0x2f, 0x73, 0xbf, 0x5d, 0x22, 0x73, 0x1b, 0x6b, 0x96, 0xf6, 0xbb, 0x4c, 0x08, 0xd7, + 0x22, 0xef, 0xdc, 0xb9, 0x29, 0x7d, 0x99, 0xdc, 0xe1, 0xa4, 0xa0, 0x60, 0x60, 0x38, 0x8f, 0x91, + 0x4a, 0xbb, 0xd7, 0x11, 0x6a, 0xe0, 0x24, 0xfa, 0x48, 0xb7, 0x7a, 0x1d, 0x40, 0x98, 0x11, 0x29, + 0x50, 0x29, 0x1c, 0x29, 0x90, 0x1f, 0x17, 0xf6, 0x8b, 0x15, 0xb2, 0xb0, 0xd1, 0xf6, 0xef, 0x5b, + 0xbd, 0xa6, 0x4d, 0xb5, 0xa2, 0x80, 0x32, 0x4f, 0xda, 0x55, 0x51, 0x63, 0x50, 0x10, 0xa5, 0x85, + 0x83, 0x17, 0xac, 0xc0, 0x8d, 0xca, 0x88, 0x03, 0x37, 0x72, 0xc7, 0xec, 0xec, 0x92, 0xc9, 0x90, + 0x7f, 0x7f, 0x2a, 0xc5, 0x90, 0xd1, 0xbf, 0x70, 0x7c, 0x67, 0xd2, 0xf3, 0xb3, 0x2c, 0xb8, 0x87, + 0x9f, 0x22, 0x2b, 0x61, 0x29, 0xa0, 0x20, 0x89, 0x2f, 0x7d, 0x9e, 0xcc, 0x98, 0x98, 0x43, 0x1d, + 0x27, 0x6f, 0x91, 0xb3, 0x1b, 0x18, 0x7e, 0x98, 0x0a, 0x2e, 0x79, 0x8d, 0x4c, 0xe3, 0x4a, 0x8d, + 0xad, 0x88, 0x2b, 0xe5, 0x4f, 0xa8, 0xe9, 0x22, 0x30, 0xf1, 0xdc, 0x7f, 0x57, 0x22, 0x8f, 0x5f, + 0x5d, 0x5b, 0xaf, 0xa3, 0x38, 0x88, 0x13, 0xba, 0xc0, 0x6a, 0x41, 0x7c, 0x37, 0xfd, 0xc9, 0xbb, + 0x2d, 0x83, 0xa6, 0xfa, 0x94, 0xf5, 0x1a, 0x23, 0x27, 0x4a, 0x1f, 0x96, 0x70, 0x46, 0xaa, 0x17, + 0x9e, 0xbd, 0x1a, 0xd0, 0x6f, 0xdf, 0x0d, 0xd3, 0x01, 0x69, 0x11, 0x85, 0xc5, 0x18, 0xa8, 0x74, + 0x94, 0x0e, 0x48, 0x03, 0x55, 0x02, 0x06, 0x16, 0x6f, 0xf9, 0x30, 0x40, 0x41, 0x29, 0x06, 0x65, + 0xb4, 0xcc, 0xe1, 0xa0, 0x30, 0x70, 0x60, 0xad, 0x20, 0x62, 0x3a, 0xc5, 0x91, 0x58, 0x89, 0x6a, + 0x60, 0x35, 0x59, 0x00, 0x1a, 0xc7, 0xfd, 0x9b, 0x25, 0x72, 0xfe, 0x6a, 0xbb, 0x47, 0xa7, 0x3d, + 0xda, 0x8d, 0xad, 0xce, 0xbe, 0x42, 0xaa, 0xbe, 0xd4, 0x7f, 0x45, 0x5f, 0xd5, 0xde, 0xa2, 0x14, + 0x63, 0x1e, 0x0d, 0xa7, 0xf0, 0x0a, 0x04, 0x5f, 0x0d, 0x17, 0x2a, 0xf4, 0xcf, 0xcb, 0x64, 0xf6, + 0xda, 0xf6, 0x76, 0xfd, 0xaa, 0x9f, 0x08, 0x59, 0x9a, 0xef, 0x34, 0xa9, 0x1b, 0xd6, 0xea, 0xf4, + 0x95, 0xe5, 0x01, 0xab, 0x07, 0x03, 0x6d, 0x97, 0x79, 0xa0, 0xed, 0xf2, 0x66, 0x27, 0xb9, 0x15, + 0x35, 0x92, 0x08, 0x5d, 0xfa, 0x59, 0xd6, 0xad, 0x94, 0xf7, 0x95, 0x41, 0xf2, 0x9e, 0x4e, 0xd6, + 0x44, 0xdc, 0xdc, 0xf7, 0x0f, 0xa4, 0x8e, 0xf2, 0x69, 0xa5, 0x4e, 0x30, 0x28, 0xb5, 0x7d, 0xab, + 0xef, 0xc0, 0x26, 0xff, 0x01, 0x02, 0x95, 0x0a, 0x9e, 0xe9, 0xfd, 0x24, 0xe9, 0x5e, 0xa3, 0x83, + 0xa5, 0xac, 0x2f, 0x56, 0x7b, 0x8e, 0x36, 0x87, 0x93, 0xc1, 0x2b, 0xe8, 0x85, 0xa5, 0x61, 0x31, + 0x98, 0x14, 0xdd, 0x06, 0x21, 0xba, 0xec, 0x01, 0x99, 0x28, 0xee, 0x9f, 0x2d, 0x93, 0xc9, 0x6b, + 0x74, 0xbb, 0x6a, 0x53, 0x92, 0x1b, 0x64, 0xcc, 0xa7, 0xdb, 0x5c, 0x31, 0x45, 0x54, 0x6f, 0x88, + 0xfc, 0x5c, 0x1e, 0x7f, 0x03, 0xab, 0xef, 0x00, 0x99, 0xc4, 0x7e, 0x5f, 0x55, 0x11, 0x8b, 0x2f, + 0xe6, 0xcf, 0x82, 0x62, 0x09, 0xbe, 0x9b, 0x0a, 0x10, 0x48, 0x42, 0xcc, 0xe3, 0xd2, 0xec, 0x36, + 0x50, 0x4a, 0x25, 0xc5, 0x02, 0x70, 0xb7, 0xd7, 0xea, 0x1c, 0x5d, 0xd0, 0xe5, 0x1e, 0x17, 0x09, + 0x04, 0x4d, 0xce, 0x7d, 0x83, 0x9c, 0x63, 0x27, 0x6c, 0x94, 0xdd, 0xac, 0x35, 0x93, 0xcb, 0x9c, + 0xee, 0xdf, 0x2e, 0x93, 0x33, 0x9b, 0x8d, 0xb5, 0x86, 0xed, 0xf8, 0x7a, 0x83, 0xcc, 0xf0, 0x6d, + 0x16, 0x99, 0xce, 0x6b, 0x8b, 0xfa, 0xca, 0x25, 0xbc, 0x6d, 0x94, 0x81, 0x85, 0x89, 0x47, 0x97, + 0xc1, 0xfb, 0x9d, 0x74, 0xe0, 0xcc, 0xe6, 0xdb, 0x37, 0x01, 0xe1, 0x58, 0x8c, 0x3b, 0x36, 0x17, + 0x71, 0xaa, 0x58, 0xed, 0xda, 0x5f, 0xa2, 0x2a, 0x7f, 0xdc, 0x8c, 0x03, 0xba, 0x00, 0xe8, 0xfa, + 0xf7, 0x9a, 0x92, 0x7d, 0xb5, 0x0e, 0x8f, 0x5d, 0x55, 0xa5, 0x90, 0xc2, 0x36, 0xe4, 0xed, 0x78, + 0xe1, 0x5d, 0x3f, 0x3f, 0x74, 0x71, 0x8b, 0x54, 0x55, 0x88, 0x89, 0x8c, 0x0c, 0x2a, 0x65, 0x47, + 0x06, 0xe5, 0x0b, 0x1c, 0xf7, 0x1f, 0x51, 0x1d, 0x55, 0x1d, 0xb1, 0x53, 0x4e, 0xab, 0x52, 0xd1, + 0x9a, 0xb0, 0x43, 0x1b, 0xc1, 0xb6, 0xcf, 0xe6, 0xf0, 0x1a, 0xe7, 0x75, 0xce, 0x0d, 0x75, 0x59, + 0x17, 0x34, 0x19, 0x67, 0x8b, 0x4c, 0x76, 0x23, 0xbf, 0x91, 0xb0, 0x08, 0xd7, 0x21, 0x28, 0x32, + 0xbe, 0xad, 0xf3, 0x9a, 0x20, 0x49, 0xb8, 0xbf, 0x56, 0x22, 0x64, 0x2b, 0x38, 0xa0, 0xdb, 0x87, + 0xd7, 0xd9, 0xf3, 0x47, 0x68, 0xef, 0xdd, 0x24, 0x63, 0x71, 0x97, 0x2e, 0xde, 0x42, 0x07, 0x2d, + 0xba, 0x47, 0x0d, 0x5a, 0x47, 0x4f, 0x34, 0xfe, 0x02, 0x46, 0xc7, 0xfd, 0x65, 0x42, 0xe6, 0x34, + 0x1a, 0x2a, 0xdc, 0xce, 0x45, 0x2b, 0xa4, 0xf3, 0xb1, 0x54, 0x48, 0x67, 0x95, 0x61, 0x1b, 0x51, + 0x9c, 0x09, 0xa9, 0x1c, 0x78, 0xf7, 0x85, 0x7e, 0xff, 0x5a, 0xd1, 0x0e, 0x61, 0x4b, 0xcb, 0x37, + 0xbc, 0xfb, 0x5c, 0xe1, 0x79, 0x51, 0xb2, 0x08, 0x85, 0x7c, 0xcc, 0x8f, 0x53, 0xd8, 0x1a, 0x43, + 0x83, 0xe2, 0x67, 0xfe, 0x93, 0xfe, 0xcd, 0xc4, 0x1e, 0x36, 0xc7, 0x5a, 0x0d, 0x3a, 0xc2, 0x29, + 0x37, 0x64, 0xab, 0x41, 0x27, 0xdd, 0x6a, 0xd0, 0x29, 0xd0, 0x6a, 0xd0, 0xc1, 0xc8, 0xaf, 0xc9, + 0x96, 0xbf, 0xeb, 0xf5, 0xda, 0x09, 0x0b, 0x56, 0x9a, 0xbe, 0xf2, 0xe6, 0x50, 0x4d, 0xd7, 0x78, + 0x5d, 0xde, 0xfc, 0x25, 0xa9, 0xe5, 0x09, 0x68, 0x6e, 0x17, 0x64, 0xd3, 0xce, 0x2f, 0x51, 0xab, + 0x40, 0xfc, 0x8f, 0x71, 0x41, 0xd4, 0x3c, 0x14, 0xfb, 0xd0, 0x5b, 0x27, 0xe9, 0x8d, 0x20, 0xc1, + 0x3b, 0xf5, 0x63, 0x52, 0x88, 0xd8, 0x85, 0xb9, 0x7d, 0x4b, 0xf5, 0xc7, 0xf9, 0xb0, 0x44, 0xce, + 0xd1, 0xef, 0xc4, 0x5b, 0xe4, 0x30, 0xc0, 0xe3, 0x37, 0x11, 0x90, 0xb5, 0x31, 0x2c, 0x9f, 0xf4, + 0x11, 0xe2, 0xdd, 0xfd, 0xa2, 0x3c, 0xe4, 0xcb, 0x42, 0xc9, 0xed, 0x74, 0x66, 0x0f, 0x97, 0x5a, + 0x64, 0x4a, 0x32, 0x66, 0x86, 0x7e, 0xbd, 0x6a, 0x6e, 0xb7, 0xc7, 0xaf, 0x40, 0xe9, 0xea, 0x5a, + 0x7e, 0xbb, 0xe7, 0x75, 0x12, 0x8c, 0x96, 0xd7, 0xda, 0x38, 0x6b, 0x45, 0x30, 0xe2, 0x08, 0x5b, + 0xd9, 0x27, 0x33, 0x26, 0xcf, 0x8d, 0xb0, 0xa5, 0x90, 0x9c, 0xcd, 0xe0, 0xa7, 0x11, 0x36, 0xd8, + 0x23, 0x8f, 0x0d, 0xe4, 0x8b, 0xd1, 0x35, 0x8b, 0xee, 0x7b, 0x43, 0x60, 0x9e, 0x86, 0x0b, 0xe5, + 0x86, 0xed, 0x42, 0x79, 0xbe, 0xe8, 0xd2, 0x19, 0xe0, 0x47, 0xd9, 0x35, 0xfb, 0x8f, 0x3b, 0x81, + 0xb3, 0x4d, 0x26, 0xda, 0x08, 0x91, 0xe7, 0x36, 0x2f, 0x0d, 0xb3, 0x38, 0xb5, 0xfa, 0xc0, 0xe0, + 0x31, 0x08, 0x5a, 0x78, 0xd8, 0x36, 0x76, 0x1a, 0xd3, 0x53, 0xb7, 0xa7, 0x67, 0x90, 0x12, 0x2a, + 0xae, 0xf4, 0x2d, 0x83, 0x77, 0x6f, 0xfd, 0x3e, 0xb5, 0x57, 0x63, 0xa6, 0x2c, 0x66, 0xce, 0xd0, + 0x3f, 0x2c, 0x93, 0x69, 0x6c, 0x48, 0x7a, 0x74, 0xbe, 0x80, 0x1e, 0xbe, 0x1d, 0xbf, 0x2d, 0x1d, + 0xbf, 0x69, 0xc3, 0x6a, 0xcb, 0x2c, 0x04, 0x1b, 0x17, 0x2b, 0xef, 0x9a, 0x7e, 0x71, 0xa1, 0xf4, + 0xa8, 0xca, 0x96, 0xd3, 0x1c, 0x6c, 0x5c, 0xd4, 0xed, 0xef, 0x79, 0x49, 0x73, 0x5f, 0x18, 0x5d, + 0xaa, 0xbb, 0x77, 0x10, 0x08, 0xbc, 0xcc, 0x59, 0x21, 0xf3, 0x92, 0x63, 0x6f, 0xf3, 0xa9, 0x13, + 0x0a, 0xa1, 0xba, 0x8e, 0x05, 0x76, 0x31, 0xa4, 0xf1, 0x9d, 0xcf, 0x93, 0x39, 0x9c, 0x9c, 0xb0, + 0x97, 0xc8, 0xa3, 0xfd, 0x71, 0x76, 0xb4, 0xcf, 0x42, 0x29, 0xb7, 0xad, 0x12, 0x48, 0x61, 0xba, + 0x3f, 0x49, 0xce, 0x6e, 0x85, 0x5e, 0x6b, 0xd5, 0x6b, 0x7b, 0x9d, 0xa6, 0x1f, 0x6d, 0x76, 0xf6, + 0x72, 0xcf, 0x55, 0xcd, 0xb3, 0xcf, 0x72, 0xee, 0xd9, 0x67, 0x44, 0x1c, 0xb3, 0x01, 0x11, 0x94, + 0xf2, 0x2e, 0x99, 0x0c, 0x78, 0x53, 0x82, 0x6b, 0x2f, 0xe7, 0xb9, 0x7f, 0xfa, 0xfa, 0x68, 0x04, + 0x59, 0x70, 0x00, 0x48, 0x92, 0x68, 0x2b, 0x64, 0xf9, 0x8b, 0xf2, 0xcd, 0x31, 0xf7, 0x2f, 0x94, + 0xc8, 0xfc, 0xcd, 0xd4, 0x3d, 0x28, 0x8c, 0x98, 0xf2, 0xa3, 0x0c, 0xe7, 0x57, 0x83, 0x41, 0x41, + 0x94, 0x3e, 0x70, 0x43, 0xfc, 0x2f, 0x96, 0x49, 0x95, 0x45, 0x38, 0x76, 0xbd, 0xe6, 0x28, 0x95, + 0xd2, 0x1b, 0x96, 0x52, 0x9a, 0x63, 0x06, 0xaa, 0x0e, 0x0d, 0xd2, 0x49, 0xf1, 0x26, 0x9c, 0xb8, + 0x17, 0x54, 0xc8, 0x02, 0xd4, 0x04, 0xf9, 0x15, 0x92, 0x39, 0xfb, 0x1a, 0x91, 0xbc, 0x33, 0xc4, + 0xce, 0x2d, 0x15, 0xee, 0xc3, 0x77, 0x6e, 0xa9, 0xba, 0x36, 0x40, 0x2a, 0xd5, 0x8d, 0xde, 0x33, + 0xb1, 0xfd, 0x65, 0x16, 0xae, 0xe6, 0xb5, 0x83, 0x0f, 0x7c, 0x75, 0xbf, 0xee, 0x49, 0x11, 0x7d, + 0x26, 0xa0, 0x1f, 0x33, 0x01, 0x23, 0x7e, 0xf1, 0x6b, 0x93, 0xba, 0x8a, 0x7b, 0x8d, 0x72, 0xaa, + 0x3d, 0x77, 0xce, 0x6b, 0x64, 0xbc, 0xbb, 0xef, 0xc5, 0x7e, 0x2a, 0xb2, 0x62, 0xbc, 0x8e, 0x40, + 0x4a, 0x6d, 0x4e, 0x55, 0x60, 0x10, 0xe0, 0xd8, 0xee, 0x1f, 0x53, 0x59, 0x8f, 0x57, 0x77, 0x47, + 0xc8, 0x63, 0xd7, 0x2c, 0x1e, 0x7b, 0x2e, 0xff, 0x62, 0xf1, 0x40, 0xf6, 0xaa, 0xa7, 0xd8, 0xeb, + 0xf9, 0x02, 0xb4, 0x8e, 0xe7, 0xac, 0x03, 0x32, 0xcd, 0x2e, 0x2e, 0x8b, 0x90, 0x92, 0x57, 0x2c, + 0x03, 0xea, 0xc9, 0x94, 0x01, 0x35, 0x6f, 0xa0, 0x1a, 0x66, 0xd4, 0x0b, 0x64, 0x52, 0x04, 0x3b, + 0xa4, 0x63, 0xf4, 0x04, 0x2e, 0xc8, 0x72, 0xf7, 0x57, 0x2b, 0xc4, 0xba, 0x28, 0xed, 0x7c, 0xaf, + 0x44, 0xa8, 0xd2, 0xc2, 0x2e, 0x08, 0xb4, 0x6a, 0x3d, 0xf4, 0x88, 0xa1, 0xd3, 0xaa, 0xd5, 0x6b, + 0xd3, 0xff, 0x36, 0xf7, 0x3a, 0xa1, 0x02, 0xa3, 0xf7, 0xa6, 0xc7, 0xfc, 0xa7, 0x85, 0xef, 0x67, + 0xab, 0xd3, 0xce, 0x2b, 0xb4, 0x2f, 0xcb, 0x30, 0x54, 0x2b, 0x30, 0x64, 0xaf, 0x9c, 0xdf, 0x2d, + 0x91, 0x4b, 0xfc, 0xaa, 0x70, 0xf1, 0x91, 0x14, 0x32, 0x3c, 0xeb, 0x92, 0xa8, 0x26, 0x87, 0x21, + 0x81, 0xab, 0xaf, 0x8b, 0x49, 0xbe, 0x54, 0x1f, 0xae, 0x55, 0x18, 0xb6, 0x9b, 0xee, 0xbf, 0xac, + 0xd0, 0xf5, 0x4b, 0xe7, 0x53, 0x5f, 0x9d, 0x7c, 0xcd, 0x62, 0x93, 0xa7, 0x53, 0x6c, 0x72, 0xc6, + 0x42, 0x7e, 0x30, 0xb7, 0x26, 0x13, 0x72, 0x06, 0x4f, 0x14, 0xaf, 0xf9, 0x5e, 0x94, 0xec, 0xf8, + 0x1e, 0x3b, 0x5a, 0x14, 0x8b, 0x60, 0xa8, 0xe3, 0x4a, 0x15, 0x41, 0xb3, 0x95, 0xa6, 0x06, 0xfd, + 0x0d, 0x38, 0xf7, 0x88, 0xc3, 0xce, 0x31, 0x23, 0x8f, 0x2a, 0x5d, 0x6c, 0x30, 0x81, 0x70, 0xb9, + 0x0e, 0xd9, 0xec, 0x92, 0x68, 0xd6, 0xd9, 0xea, 0x23, 0x07, 0x19, 0x4d, 0x18, 0x87, 0xd5, 0xe3, + 0x45, 0x0f, 0xab, 0x27, 0x72, 0xc2, 0x63, 0x7f, 0xae, 0x44, 0xce, 0xe2, 0x87, 0xb1, 0x43, 0x29, + 0x63, 0x27, 0x24, 0xf3, 0x38, 0x82, 0xb6, 0x9f, 0x48, 0x98, 0x58, 0x61, 0x39, 0xba, 0xb4, 0x4d, + 0x47, 0x6b, 0x6c, 0xd7, 0x6d, 0x62, 0x90, 0xa6, 0xee, 0xfe, 0x6a, 0x89, 0x4c, 0x61, 0x47, 0x4e, + 0x63, 0x1f, 0xbb, 0x6a, 0xef, 0x63, 0x6e, 0xbe, 0xd0, 0x18, 0xb0, 0x85, 0xbd, 0x4a, 0x16, 0xb0, + 0xb4, 0x1e, 0x85, 0xf7, 0x8f, 0xa4, 0x72, 0x9d, 0xef, 0x7d, 0xfd, 0xf3, 0x25, 0x2e, 0xee, 0x94, + 0x56, 0x7c, 0x0f, 0x43, 0xc1, 0xf4, 0x6f, 0x5c, 0xc8, 0x52, 0x09, 0x5c, 0x2e, 0x2e, 0xd0, 0xd8, + 0xfa, 0x37, 0x62, 0xc1, 0x52, 0x04, 0xa1, 0xbf, 0x0d, 0xf7, 0xef, 0x94, 0xc8, 0xa3, 0x26, 0xa2, + 0x71, 0x29, 0x2b, 0xcf, 0xe5, 0x59, 0x23, 0x53, 0x61, 0x17, 0x13, 0x83, 0x28, 0x0b, 0xe0, 0x79, + 0x39, 0xe3, 0xb7, 0x04, 0x9c, 0xae, 0xdc, 0x73, 0x26, 0x75, 0x09, 0x07, 0x55, 0xd3, 0x71, 0xc9, + 0x04, 0xb3, 0x44, 0x63, 0x71, 0x9d, 0x8e, 0x20, 0x37, 0x33, 0x47, 0x3f, 0x5d, 0xe4, 0xbc, 0xc4, + 0xfd, 0xcb, 0x25, 0x3e, 0xcb, 0x66, 0xd7, 0x9d, 0x6f, 0x92, 0x85, 0x03, 0x34, 0x16, 0xd6, 0xef, + 0x77, 0x71, 0x0b, 0x61, 0x07, 0x95, 0xa5, 0x22, 0x82, 0x73, 0xc0, 0x70, 0x57, 0x17, 0x45, 0xef, + 0x17, 0x6e, 0xa4, 0xc8, 0x42, 0x5f, 0x43, 0xee, 0xef, 0x09, 0x5e, 0x65, 0x5a, 0x0b, 0x5d, 0x6c, + 0xdd, 0xb0, 0xb5, 0xb6, 0x59, 0x03, 0x31, 0x57, 0x6a, 0xb1, 0xd5, 0x39, 0x18, 0x64, 0x39, 0x9e, + 0xbc, 0xf9, 0xd4, 0x54, 0x8b, 0xa8, 0xc2, 0xb2, 0x59, 0x4b, 0x67, 0xb7, 0x58, 0x57, 0x25, 0x60, + 0x60, 0x61, 0x9d, 0x6e, 0x14, 0x1e, 0x06, 0x2d, 0x16, 0x1c, 0x5d, 0xb1, 0xeb, 0xd4, 0x55, 0x09, + 0x18, 0x58, 0x68, 0xa2, 0xf5, 0x3a, 0x31, 0x17, 0xe0, 0xde, 0x8e, 0xc8, 0x1d, 0x30, 0xa5, 0x4d, + 0xb4, 0x77, 0xcc, 0x42, 0xb0, 0x71, 0xdd, 0x1f, 0x54, 0x09, 0xd1, 0x2a, 0x02, 0x7a, 0x08, 0xa7, + 0x9a, 0x1e, 0x55, 0x90, 0x78, 0x12, 0x94, 0x4a, 0xfe, 0x2d, 0x12, 0x5d, 0x79, 0x79, 0x4d, 0x54, + 0xe4, 0xbe, 0xad, 0x97, 0x25, 0x83, 0x48, 0x70, 0xae, 0x3f, 0x4b, 0xb5, 0xec, 0x7c, 0xab, 0x44, + 0xa6, 0xbd, 0x36, 0x5e, 0x1b, 0x4d, 0xd8, 0x88, 0xca, 0x45, 0x9c, 0x95, 0x46, 0x4f, 0x56, 0x74, + 0x5d, 0xde, 0x99, 0x57, 0xe4, 0xb9, 0x95, 0x51, 0x92, 0xdb, 0x1f, 0xb3, 0x0b, 0xce, 0xcb, 0x52, + 0xb5, 0xe4, 0x1f, 0x65, 0x29, 0xad, 0x5a, 0x56, 0x99, 0x68, 0x30, 0xb4, 0x4a, 0xbc, 0x8f, 0x61, + 0x44, 0x8a, 0x8f, 0x15, 0xb9, 0xc9, 0x69, 0x6d, 0x9a, 0x79, 0x37, 0xe4, 0xf1, 0xb4, 0x49, 0xc7, + 0xac, 0x8e, 0x17, 0xb9, 0x26, 0x69, 0xe8, 0x6e, 0x39, 0xf1, 0xaa, 0x09, 0x99, 0x6f, 0xd9, 0x9b, + 0x84, 0x08, 0x42, 0xba, 0x9c, 0xdf, 0x42, 0x6a, 0x77, 0xd1, 0xdb, 0x42, 0xaa, 0x00, 0xd2, 0x4d, + 0xd0, 0x11, 0x4d, 0xa1, 0xd8, 0xda, 0xec, 0xec, 0x86, 0x22, 0x0e, 0xe9, 0xa5, 0x02, 0xdf, 0xfc, + 0x28, 0xa6, 0xe2, 0x19, 0xeb, 0xe8, 0x6d, 0xe0, 0xa6, 0xa0, 0x02, 0x8a, 0x1e, 0xba, 0x89, 0xd8, + 0x1d, 0x04, 0xbc, 0xb9, 0x5a, 0x19, 0xe2, 0x3a, 0x06, 0xbb, 0xc1, 0xa0, 0x37, 0x5f, 0xf6, 0x93, + 0x8a, 0x2b, 0x4e, 0x8b, 0xea, 0xf5, 0xe2, 0x62, 0x69, 0xbc, 0xd9, 0x79, 0x27, 0xf6, 0xd9, 0x6d, + 0xd5, 0xea, 0xea, 0x33, 0xfa, 0xfa, 0x29, 0x87, 0x67, 0x26, 0xc1, 0xb1, 0x6a, 0xe2, 0x1e, 0x2c, + 0x7e, 0xcb, 0xdc, 0x3a, 0x8b, 0xa4, 0x48, 0x47, 0xed, 0x4c, 0x3c, 0x7a, 0xb2, 0x6f, 0xdb, 0xc4, + 0x20, 0x4d, 0x7d, 0x29, 0x20, 0xb3, 0xd6, 0x8a, 0x1d, 0xa1, 0xb3, 0xb3, 0x4d, 0x16, 0xd2, 0x4b, + 0x72, 0x84, 0x3e, 0xce, 0x3f, 0x1a, 0x23, 0x73, 0x36, 0x63, 0x60, 0x8c, 0xc2, 0x01, 0x1d, 0x35, + 0xfd, 0x9e, 0x2a, 0x07, 0x89, 0xe2, 0xff, 0x1b, 0xb2, 0x00, 0x34, 0x0e, 0xcb, 0xc6, 0xc2, 0xaa, + 0xbf, 0xf3, 0x4e, 0xbf, 0xf0, 0x6e, 0xa8, 0x12, 0x30, 0xb0, 0x50, 0x61, 0xdb, 0x09, 0xc3, 0x44, + 0x09, 0x6e, 0xc5, 0x33, 0xab, 0x0c, 0x0a, 0xa2, 0x14, 0x05, 0xf6, 0x5d, 0x1c, 0x50, 0xdb, 0xf6, + 0x77, 0x29, 0x81, 0x7d, 0xdd, 0x2c, 0x04, 0x1b, 0x17, 0x37, 0xa0, 0x30, 0x66, 0x4c, 0x28, 0xd4, + 0x42, 0x1d, 0x6d, 0xd3, 0xe0, 0x77, 0x72, 0x64, 0xb9, 0xf3, 0x55, 0xf2, 0xa8, 0xba, 0x42, 0x03, + 0xdc, 0x7f, 0x28, 0x5b, 0x9c, 0xb0, 0x6c, 0xbb, 0x47, 0xd7, 0xb2, 0xd1, 0x60, 0x50, 0x7d, 0x3c, + 0xc4, 0x15, 0x2a, 0x9d, 0xa4, 0x38, 0x69, 0x1f, 0xe2, 0x5e, 0xb7, 0x4a, 0x21, 0x85, 0x4d, 0xf5, + 0x89, 0x05, 0x84, 0x30, 0x55, 0x4a, 0x52, 0xe0, 0x57, 0x81, 0xd4, 0xce, 0x7c, 0x3d, 0x55, 0x0e, + 0x7d, 0x35, 0xd0, 0x75, 0xc8, 0x75, 0x0b, 0xb4, 0x60, 0xd8, 0x77, 0x10, 0x71, 0x83, 0x6a, 0x11, + 0xdc, 0xb2, 0x8b, 0x21, 0x8d, 0x8f, 0xa7, 0xe0, 0x5e, 0x44, 0x3f, 0x7a, 0x42, 0x55, 0x84, 0x5e, + 0xc4, 0xef, 0x81, 0x1b, 0xa7, 0xe0, 0x2b, 0x46, 0x19, 0x58, 0x98, 0xee, 0x07, 0xe4, 0x6c, 0x46, + 0x78, 0x32, 0x32, 0x0e, 0x65, 0x50, 0x39, 0xa6, 0x54, 0xbc, 0x0d, 0x5e, 0x1b, 0x11, 0xa3, 0x31, + 0xb0, 0x90, 0x3b, 0x99, 0xe3, 0xd4, 0x48, 0x83, 0xa5, 0xb8, 0x73, 0x43, 0x16, 0x80, 0xc6, 0x71, + 0xbf, 0x43, 0x77, 0x6d, 0xed, 0x66, 0x28, 0x10, 0x65, 0x41, 0x87, 0x29, 0x33, 0xbb, 0x19, 0x59, + 0xa6, 0xd4, 0x30, 0xaf, 0x1a, 0x65, 0x60, 0x61, 0x62, 0xdf, 0x3a, 0xd2, 0x69, 0x92, 0x8e, 0xee, + 0x51, 0xde, 0x14, 0xd0, 0x38, 0xe8, 0xe3, 0x8b, 0xfd, 0xf6, 0xee, 0x56, 0xd0, 0xb9, 0x2b, 0x18, + 0x5b, 0x49, 0xe5, 0x86, 0x80, 0x83, 0xc2, 0x70, 0xde, 0x22, 0x95, 0x5e, 0xd0, 0x12, 0xac, 0xbc, + 0x2c, 0xf5, 0x4e, 0xba, 0x9a, 0xa8, 0xc4, 0x7c, 0x32, 0x3b, 0x5d, 0x1d, 0x9a, 0x91, 0xf1, 0x32, + 0x2e, 0x3e, 0xac, 0x9a, 0xe5, 0x3f, 0x9e, 0x18, 0xd2, 0x7f, 0x4c, 0xbf, 0x99, 0x18, 0xb3, 0xe4, + 0xe4, 0x8a, 0xfe, 0x66, 0x57, 0x55, 0x09, 0x18, 0x58, 0x68, 0x8c, 0x36, 0xa9, 0x01, 0x26, 0xad, + 0x35, 0x1e, 0x3b, 0x3b, 0xf5, 0x09, 0x8c, 0xd1, 0xb5, 0x34, 0x35, 0xe8, 0x6f, 0xc0, 0xe9, 0x92, + 0x33, 0x2d, 0x5c, 0x47, 0x56, 0xab, 0xd5, 0x13, 0x44, 0xec, 0x62, 0x8b, 0xb5, 0x34, 0x25, 0xe8, + 0x27, 0xee, 0x7c, 0x9d, 0x2c, 0x49, 0x60, 0xff, 0x25, 0x39, 0xb6, 0x5c, 0x2a, 0xab, 0x4f, 0x50, + 0x6a, 0x4b, 0xb5, 0x81, 0x58, 0x70, 0x0c, 0x05, 0xe7, 0x5d, 0x32, 0xc1, 0x4e, 0x1c, 0xe2, 0xc5, + 0x69, 0xb6, 0xdb, 0xbd, 0x5a, 0xd4, 0xe1, 0xb6, 0xcc, 0xce, 0x2d, 0x44, 0xc8, 0xa1, 0x3e, 0xc5, + 0x61, 0x40, 0x10, 0x34, 0xe9, 0x7c, 0x4d, 0x7b, 0x9d, 0x4e, 0x98, 0x78, 0x5c, 0x09, 0x9b, 0x29, + 0xa2, 0x47, 0x1a, 0x4d, 0xac, 0xe8, 0xba, 0xbc, 0x1d, 0x15, 0xff, 0x64, 0x94, 0x80, 0xd9, 0x04, + 0x6e, 0xe3, 0xe1, 0x3d, 0x14, 0x98, 0xd2, 0xe9, 0x1e, 0x2f, 0xce, 0x16, 0xd9, 0xc6, 0x6f, 0x59, + 0x95, 0x0c, 0x09, 0x66, 0x13, 0x83, 0x34, 0x75, 0x0c, 0xa8, 0x35, 0xfc, 0xa8, 0x73, 0x3a, 0xa0, + 0x56, 0xfb, 0x51, 0x4d, 0xb7, 0xe9, 0xd2, 0x9b, 0x64, 0xda, 0x98, 0xb9, 0x61, 0x42, 0x30, 0x97, + 0xbe, 0x44, 0xb7, 0xf1, 0xd4, 0x8c, 0x0c, 0x15, 0xc2, 0xf9, 0x3f, 0xca, 0x64, 0x3e, 0xe3, 0x48, + 0xe2, 0x6e, 0xc0, 0x82, 0x94, 0x2d, 0xd9, 0x75, 0x9d, 0xc2, 0x80, 0x95, 0xd8, 0x12, 0xa8, 0x5c, + 0x40, 0x02, 0x49, 0x71, 0x58, 0x19, 0x28, 0x0e, 0x85, 0xd4, 0x19, 0x3b, 0xb9, 0xd4, 0xb1, 0xc5, + 0xfc, 0x78, 0x21, 0x31, 0xff, 0x00, 0x24, 0x95, 0xb5, 0x53, 0x4c, 0x16, 0xd8, 0x29, 0x3e, 0x2e, + 0x91, 0x39, 0x9b, 0x85, 0x0a, 0xcc, 0xf8, 0xc3, 0x3a, 0x81, 0xcb, 0xcc, 0xa2, 0x4a, 0xa2, 0xb0, + 0xdd, 0xf6, 0x23, 0x11, 0xd4, 0x35, 0x27, 0x0c, 0x24, 0x01, 0x05, 0x03, 0xc3, 0xfd, 0xa5, 0x32, + 0x59, 0xd0, 0x11, 0xbe, 0x22, 0x55, 0xe5, 0xe8, 0x7c, 0xfc, 0xdb, 0x96, 0x8f, 0x3f, 0x2f, 0x03, + 0x65, 0xaa, 0x5f, 0x03, 0xfd, 0xfd, 0xef, 0xa6, 0xfc, 0xfd, 0xaf, 0x0e, 0x49, 0xf7, 0x78, 0xdf, + 0xff, 0x3f, 0x2e, 0x93, 0xf3, 0xe9, 0x2a, 0x6b, 0x6d, 0x2f, 0x38, 0x18, 0xe1, 0x3c, 0x7d, 0xd5, + 0x9a, 0xa7, 0xd7, 0x87, 0x1b, 0x0f, 0xeb, 0xdc, 0xc0, 0xc9, 0xf2, 0x52, 0x93, 0xf5, 0xe6, 0x49, + 0x88, 0x1f, 0x3f, 0x63, 0xff, 0xbe, 0x44, 0x1e, 0xcb, 0xac, 0x77, 0x1a, 0xbe, 0xcc, 0xaf, 0xd8, + 0xbe, 0xcc, 0x57, 0x4e, 0x30, 0xbc, 0x01, 0xce, 0xcd, 0xff, 0x52, 0x1e, 0x30, 0x2c, 0xe6, 0xf6, + 0xba, 0x45, 0xf7, 0xd1, 0x26, 0xdd, 0x6d, 0xe2, 0x1b, 0xd4, 0xae, 0x92, 0xa7, 0x75, 0x17, 0xd9, + 0x46, 0xa8, 0xc1, 0x74, 0xed, 0x2f, 0xa5, 0x49, 0xe8, 0x62, 0x30, 0x29, 0xd8, 0xa9, 0xa4, 0xca, + 0x23, 0x4a, 0x25, 0x45, 0x65, 0xcc, 0xa1, 0x32, 0xb7, 0xd3, 0xde, 0x34, 0xc3, 0x10, 0x37, 0xb0, + 0xa8, 0xbe, 0x83, 0xca, 0x29, 0x8f, 0x75, 0x18, 0xcb, 0x5d, 0x70, 0xd6, 0x07, 0x34, 0x03, 0x27, + 0xf8, 0x35, 0x45, 0xe5, 0x7a, 0x54, 0x34, 0xdd, 0xef, 0x54, 0xc8, 0xa7, 0x8f, 0x61, 0x3b, 0xba, + 0x49, 0x58, 0x47, 0x98, 0x2f, 0xa6, 0xfd, 0x4c, 0x4b, 0x99, 0x95, 0x2d, 0xc7, 0x53, 0xea, 0x63, + 0x95, 0x3f, 0xf1, 0xc7, 0xfa, 0x45, 0xd3, 0x2b, 0xc8, 0x63, 0x16, 0xaf, 0x9e, 0x78, 0x61, 0x3d, + 0x38, 0x37, 0xe1, 0x29, 0x7a, 0x30, 0x30, 0xed, 0xf0, 0xd3, 0x99, 0x83, 0xb2, 0x22, 0x25, 0xf0, + 0x56, 0x17, 0x02, 0x8d, 0x6b, 0x23, 0xfa, 0x56, 0x97, 0x2c, 0x00, 0x8d, 0x63, 0x05, 0x44, 0x94, + 0x73, 0x03, 0x22, 0xfe, 0x75, 0x89, 0x9c, 0x4b, 0x77, 0xe2, 0x34, 0xa4, 0x4e, 0xc3, 0x96, 0x3a, + 0xcb, 0xc3, 0x7d, 0xfb, 0x01, 0x02, 0xe7, 0x3f, 0x10, 0xf2, 0x48, 0xdf, 0x66, 0xc5, 0xa7, 0xf1, + 0xa7, 0x4b, 0xe4, 0xcc, 0x1e, 0x33, 0x14, 0x8c, 0xcb, 0x39, 0x62, 0x60, 0x39, 0x37, 0x93, 0x8e, + 0xbd, 0xd3, 0xc3, 0xcd, 0x9e, 0x3e, 0x14, 0xe8, 0x6f, 0xcc, 0xf9, 0x79, 0x3a, 0xd5, 0xde, 0xbd, + 0xb8, 0x2f, 0xef, 0xb9, 0xe0, 0xa3, 0x2f, 0xe5, 0xf8, 0xe4, 0x72, 0x32, 0xa6, 0xaf, 0x2e, 0x62, + 0xd0, 0x67, 0x16, 0x16, 0x64, 0xb6, 0x4a, 0x95, 0x00, 0x9e, 0x54, 0x0b, 0xd5, 0xbe, 0x42, 0xd7, + 0xc5, 0xb2, 0xae, 0x0a, 0x70, 0x99, 0x24, 0x4b, 0x40, 0x51, 0x74, 0xde, 0x23, 0xd5, 0x3d, 0x79, + 0x1f, 0x47, 0x08, 0xbd, 0x9c, 0x9d, 0x25, 0xf3, 0xfa, 0x0e, 0x0f, 0x57, 0x57, 0x45, 0xa0, 0x89, + 0x3a, 0xd7, 0x48, 0xa5, 0xb3, 0x1b, 0x8b, 0x2b, 0xb2, 0x79, 0x01, 0x31, 0x76, 0xf8, 0x11, 0xbf, + 0xf4, 0x47, 0x81, 0x80, 0x24, 0x90, 0x52, 0xb4, 0xd3, 0x12, 0xce, 0xe8, 0x1c, 0x4a, 0xb0, 0x5a, + 0xeb, 0xa7, 0x44, 0x81, 0x80, 0x24, 0x58, 0xe4, 0x1d, 0x5e, 0x2d, 0x10, 0x9e, 0xe6, 0x9c, 0xfb, + 0xd3, 0x7d, 0x17, 0x28, 0x78, 0x06, 0x36, 0x06, 0x06, 0x4e, 0x08, 0x5d, 0xcc, 0x4d, 0x96, 0xfe, + 0x58, 0x38, 0x02, 0xf2, 0x92, 0xe2, 0xf6, 0xa5, 0x4a, 0xe6, 0x27, 0x62, 0x1c, 0x0e, 0x82, 0x16, + 0xa3, 0xea, 0x77, 0xf7, 0x77, 0x63, 0x61, 0xe8, 0xe7, 0x51, 0xed, 0x4b, 0x64, 0x2d, 0xa8, 0x32, + 0x38, 0x08, 0x5a, 0x4e, 0x8d, 0x94, 0x77, 0x9b, 0x22, 0xed, 0x61, 0x8e, 0x69, 0x6a, 0xdf, 0xe0, + 0x5c, 0x9d, 0xc0, 0x50, 0xb8, 0x8d, 0x35, 0xa0, 0xf5, 0xa9, 0x3e, 0x32, 0xb9, 0xcb, 0x2f, 0xe5, + 0x89, 0x14, 0x87, 0x97, 0xf3, 0x2e, 0x0e, 0xf6, 0xdd, 0xe0, 0xe3, 0x57, 0x12, 0x44, 0x01, 0x48, + 0x72, 0x74, 0x1f, 0x26, 0xbb, 0xea, 0x96, 0xa1, 0xc8, 0x71, 0xb8, 0x3c, 0xdc, 0xad, 0x44, 0x61, + 0x06, 0x2b, 0x28, 0x18, 0x14, 0x91, 0xe7, 0x3d, 0x99, 0xc1, 0x9d, 0xe5, 0x37, 0xcc, 0xe5, 0xf9, + 0xcc, 0x84, 0xef, 0x9c, 0xe7, 0x55, 0x11, 0x68, 0xa2, 0x4e, 0x8f, 0xcc, 0x1e, 0xc6, 0xdd, 0x7d, + 0x5f, 0x2e, 0x7d, 0x96, 0xf4, 0x70, 0xfa, 0xca, 0x17, 0x73, 0x32, 0x59, 0x8a, 0x2a, 0x41, 0x94, + 0xf4, 0xbc, 0x76, 0x9f, 0x04, 0x63, 0xd9, 0x83, 0x6e, 0x9b, 0x64, 0xc1, 0x6e, 0xc5, 0xfd, 0xbd, + 0xf1, 0xfe, 0x4d, 0x82, 0xe9, 0x70, 0xbf, 0xd0, 0x7f, 0xb6, 0xf7, 0xd6, 0xf0, 0x36, 0xca, 0x03, + 0x3c, 0xe5, 0xa3, 0x32, 0xf6, 0x91, 0x6e, 0xe6, 0x0e, 0x20, 0xa4, 0xec, 0xb0, 0xa6, 0x0e, 0x9f, + 0x22, 0x95, 0xa6, 0x32, 0xbb, 0x1c, 0x06, 0xb4, 0x99, 0x56, 0x9b, 0x2a, 0x9f, 0x58, 0x6d, 0xba, + 0x43, 0xe7, 0x1b, 0x77, 0x7a, 0x9d, 0xa3, 0x61, 0xc8, 0xb4, 0x06, 0x4c, 0x5e, 0xaf, 0x09, 0x12, + 0xa0, 0x88, 0xe1, 0xc4, 0x3d, 0x9e, 0x1e, 0x04, 0xf8, 0xac, 0x58, 0xe4, 0xd7, 0xe4, 0xf6, 0xf4, + 0x86, 0x98, 0x89, 0xc7, 0xeb, 0xc7, 0x21, 0x7f, 0x9c, 0x87, 0x00, 0xc7, 0x37, 0x76, 0x9a, 0x6a, + 0xd8, 0xdf, 0x2f, 0x65, 0x28, 0x0d, 0x5c, 0x71, 0xfe, 0xa2, 0xad, 0x38, 0x3f, 0x97, 0x56, 0x9c, + 0xfb, 0xcc, 0x5c, 0x4b, 0x67, 0x2e, 0x9e, 0x63, 0xae, 0x68, 0x12, 0x09, 0xf7, 0x7f, 0x95, 0x48, + 0xa5, 0x1e, 0xb6, 0x46, 0x68, 0x48, 0x5f, 0xb5, 0x0c, 0xe9, 0x67, 0x73, 0x9f, 0xfa, 0x18, 0x68, + 0x36, 0xdf, 0x4a, 0x99, 0xcd, 0x9f, 0xcb, 0x27, 0x75, 0xbc, 0x91, 0xfc, 0x61, 0x85, 0x98, 0x8f, + 0x95, 0x38, 0xbf, 0x7d, 0x92, 0x10, 0xbf, 0x4a, 0xb1, 0xf7, 0x4b, 0x44, 0x1b, 0x2c, 0x20, 0x46, + 0xde, 0xff, 0xf9, 0x13, 0x1b, 0xe9, 0x77, 0xc7, 0x0f, 0xf6, 0xf6, 0x13, 0xbf, 0x95, 0x1e, 0xd8, + 0xe9, 0x45, 0xfa, 0xfd, 0xd7, 0x12, 0x99, 0x4f, 0xb5, 0xee, 0x1c, 0x64, 0x5d, 0x21, 0x38, 0xa9, + 0x65, 0x7c, 0x26, 0xf7, 0xd2, 0xc1, 0x32, 0x21, 0xca, 0x9b, 0x2b, 0xed, 0x57, 0xb6, 0x97, 0x2b, + 0x77, 0x6f, 0x0c, 0x06, 0x06, 0xe6, 0x00, 0x48, 0xc2, 0x6e, 0xd8, 0x0e, 0xf7, 0x8e, 0xae, 0xfb, + 0xf2, 0x0e, 0xba, 0x72, 0xd5, 0x6f, 0xeb, 0x22, 0x30, 0xf1, 0x30, 0x3f, 0x51, 0xfa, 0xad, 0x9b, + 0xff, 0xcf, 0xa8, 0x7f, 0x72, 0x18, 0xf5, 0x77, 0x4a, 0x64, 0x01, 0x5b, 0x67, 0xf1, 0x0c, 0x32, + 0x1e, 0x4f, 0x25, 0x6b, 0x2e, 0x1d, 0x93, 0xac, 0x19, 0x2f, 0x34, 0x24, 0xad, 0xb0, 0x27, 0x93, + 0x97, 0x18, 0x52, 0x0c, 0xa1, 0x20, 0x4a, 0x05, 0x1e, 0xed, 0x93, 0xb8, 0xac, 0x60, 0xe2, 0x51, + 0x28, 0x88, 0x52, 0x99, 0xcb, 0x79, 0x2c, 0x3b, 0x97, 0x33, 0xcf, 0xf5, 0x22, 0xce, 0xd1, 0xc5, + 0xce, 0x6c, 0xe4, 0x7a, 0x91, 0x07, 0xec, 0x1a, 0xc7, 0xfd, 0xa7, 0x15, 0x32, 0x83, 0xe1, 0x64, + 0x2a, 0xd6, 0xf6, 0x55, 0x2b, 0xd6, 0xf6, 0xa9, 0x54, 0xac, 0xed, 0x82, 0x89, 0xfb, 0x60, 0x42, + 0x6d, 0x45, 0x56, 0x20, 0x96, 0x6d, 0xfc, 0xa4, 0x61, 0xb6, 0x56, 0x56, 0x20, 0x45, 0x09, 0x6c, + 0xc2, 0x3f, 0x52, 0xe1, 0xb5, 0x7f, 0x5c, 0x22, 0x73, 0xf4, 0x5b, 0x20, 0x8b, 0xfe, 0x28, 0xf1, + 0xa3, 0x99, 0x4b, 0x68, 0xe2, 0x98, 0x5c, 0x42, 0xbf, 0x52, 0x22, 0x18, 0x05, 0x79, 0x1a, 0x1e, + 0xa9, 0x0d, 0xdb, 0x23, 0xf5, 0x74, 0xae, 0xf0, 0x1d, 0xe0, 0x84, 0xfa, 0xf5, 0x0a, 0x99, 0xc5, + 0x2e, 0x87, 0x7b, 0xf2, 0x83, 0x59, 0x93, 0x53, 0x2a, 0x30, 0x39, 0x98, 0x8f, 0x20, 0x6c, 0xb7, + 0xc3, 0x7b, 0xe9, 0x8f, 0xb7, 0xc1, 0xa0, 0x20, 0x4a, 0xd1, 0xd5, 0xd7, 0xc5, 0x9c, 0x29, 0x61, + 0x2f, 0x4e, 0xdf, 0x7d, 0xaa, 0x0b, 0x38, 0x28, 0x0c, 0xba, 0xe2, 0x67, 0xe2, 0x80, 0xda, 0x00, + 0xf2, 0xa0, 0x7d, 0x8c, 0x1d, 0xb4, 0xf3, 0x94, 0x6d, 0x06, 0x1c, 0x2c, 0x2c, 0xaa, 0x6a, 0x56, + 0xd9, 0x6f, 0xb6, 0x86, 0x4e, 0x90, 0x60, 0x9a, 0xe7, 0x13, 0x92, 0x14, 0x40, 0x13, 0x43, 0x57, + 0x7a, 0x22, 0x63, 0x02, 0x62, 0x71, 0xf4, 0xa6, 0x94, 0x53, 0x15, 0x2d, 0x80, 0xa9, 0x9b, 0xd4, + 0xff, 0xce, 0x8b, 0x98, 0x7f, 0x34, 0x68, 0x6f, 0xe1, 0xc3, 0x05, 0x22, 0xaa, 0x42, 0x24, 0x14, + 0x15, 0x40, 0xd0, 0xe5, 0xb8, 0xe7, 0xb3, 0x9b, 0x97, 0x3c, 0x7d, 0xfd, 0x14, 0xc3, 0x66, 0x7b, + 0xfe, 0x96, 0x82, 0x82, 0x81, 0xe1, 0xbe, 0xc2, 0xf6, 0xee, 0x21, 0x63, 0xb1, 0x3f, 0x2a, 0x13, + 0xa7, 0xce, 0x62, 0x0f, 0xac, 0x0c, 0xff, 0xfb, 0x64, 0x2e, 0xa6, 0xc6, 0x6a, 0xa7, 0x77, 0x5f, + 0x90, 0x2a, 0x16, 0xfd, 0xde, 0x58, 0x37, 0xeb, 0xf0, 0xdb, 0x86, 0x36, 0x0c, 0x52, 0x74, 0x71, + 0x4a, 0xa2, 0x5e, 0x67, 0x25, 0xc6, 0x77, 0xbf, 0x44, 0x8e, 0x7e, 0x36, 0x25, 0x20, 0x81, 0xa0, + 0xcb, 0x91, 0x07, 0xd8, 0x8f, 0x9b, 0x54, 0x1a, 0x85, 0x61, 0x22, 0xb9, 0x86, 0x25, 0x6c, 0x36, + 0xe0, 0x60, 0x61, 0x61, 0xae, 0xe3, 0xb8, 0xd7, 0xed, 0xb6, 0xd9, 0x09, 0x89, 0xd7, 0xbe, 0x1a, + 0x85, 0xbd, 0x2e, 0x0f, 0x3f, 0x15, 0xb9, 0x8e, 0x1b, 0x7d, 0xa5, 0x90, 0x51, 0x03, 0x17, 0xfd, + 0x6e, 0xcc, 0xfe, 0x17, 0xb7, 0x29, 0xb9, 0x9f, 0xa6, 0xc1, 0x40, 0x20, 0xcb, 0xdc, 0x1e, 0xdb, + 0xaa, 0x58, 0xee, 0x74, 0x0c, 0x8b, 0x72, 0x7c, 0x32, 0xdb, 0x65, 0xdb, 0x91, 0x3c, 0xa6, 0x2d, + 0x34, 0x95, 0xa9, 0xe8, 0x07, 0x9e, 0x23, 0xd9, 0x24, 0x03, 0x36, 0x55, 0xf7, 0xdf, 0x12, 0x26, + 0x6b, 0xc4, 0xe1, 0xd4, 0xa4, 0x88, 0x6d, 0x14, 0xba, 0xd8, 0x33, 0x45, 0x1e, 0x0b, 0xd1, 0x72, + 0x5c, 0x44, 0x4a, 0x82, 0xa4, 0xe2, 0x7c, 0x8d, 0x9f, 0x33, 0xb3, 0xf5, 0x5d, 0xfc, 0x39, 0x1e, + 0x8e, 0x6f, 0x45, 0xed, 0x0a, 0x12, 0x60, 0x90, 0x73, 0xb6, 0xc8, 0xac, 0x48, 0xb0, 0x2d, 0x6c, + 0xf5, 0x8a, 0x65, 0xaf, 0xce, 0x82, 0x59, 0xf8, 0x71, 0x1a, 0x00, 0x76, 0x65, 0x67, 0x8f, 0x3c, + 0x6e, 0xbc, 0xba, 0x91, 0x11, 0xa1, 0xc3, 0x05, 0xc7, 0xd3, 0xe8, 0x05, 0xd8, 0x3e, 0x0e, 0x11, + 0x8e, 0xa7, 0x43, 0x27, 0xf9, 0xbc, 0xd7, 0x4c, 0x82, 0x43, 0xbf, 0xe6, 0x7b, 0x2d, 0xaa, 0x95, + 0xf9, 0xf6, 0x55, 0xdb, 0xc7, 0x68, 0x03, 0xe7, 0x57, 0xb2, 0x10, 0x20, 0xbb, 0x1e, 0xb5, 0xd7, + 0xab, 0xad, 0x4e, 0x2c, 0xe6, 0x60, 0xc2, 0x7a, 0x60, 0xa4, 0x5a, 0xbb, 0xd9, 0x50, 0xe3, 0xd7, + 0x3f, 0x40, 0x57, 0x70, 0xde, 0xe7, 0x0f, 0x76, 0x2a, 0x83, 0x84, 0x3f, 0x6c, 0xf3, 0x7a, 0x21, + 0x13, 0xd8, 0xba, 0x15, 0xc0, 0xdd, 0x58, 0x2a, 0x12, 0xce, 0xba, 0x30, 0x60, 0x35, 0xe1, 0xfc, + 0x38, 0x5d, 0x58, 0x7e, 0x84, 0x0f, 0x51, 0xae, 0x34, 0x59, 0xb2, 0x42, 0x76, 0xca, 0x33, 0x65, + 0x85, 0x83, 0x3b, 0x8d, 0x3e, 0x0c, 0xc8, 0xa8, 0xe5, 0x5c, 0x43, 0x89, 0x63, 0x42, 0x45, 0xe0, + 0xa2, 0x54, 0xed, 0x16, 0x6b, 0x3e, 0xe6, 0x04, 0xc7, 0xe7, 0x0d, 0x6c, 0x8a, 0x90, 0xaa, 0x87, + 0xdb, 0x0a, 0xf6, 0x92, 0xf5, 0x85, 0xd8, 0xe1, 0x76, 0x37, 0x05, 0x1c, 0x14, 0x06, 0x5a, 0x4a, + 0xe8, 0xf5, 0xbf, 0xe9, 0x27, 0xf8, 0xda, 0x10, 0xf3, 0xd9, 0x4e, 0x19, 0x49, 0x9d, 0x74, 0x11, + 0x98, 0x78, 0xa8, 0x03, 0xb1, 0xc3, 0x82, 0xcd, 0x1a, 0xf3, 0xc4, 0x4e, 0xe9, 0xb5, 0x73, 0x8d, + 0x83, 0x41, 0x96, 0x4b, 0xd4, 0xcd, 0xfa, 0x1a, 0xf3, 0xaa, 0xa6, 0x50, 0x29, 0x18, 0x64, 0x39, + 0x86, 0x4a, 0xa5, 0x9f, 0x71, 0x99, 0x2b, 0xe2, 0xe1, 0xee, 0x97, 0xe0, 0x05, 0x5f, 0x72, 0xb9, + 0x4f, 0x16, 0xd4, 0x53, 0x32, 0x3c, 0x6b, 0x5e, 0xbc, 0x38, 0x5f, 0xe4, 0xb9, 0xd0, 0xcc, 0xe4, + 0x7b, 0x2a, 0x52, 0x75, 0x33, 0x45, 0x13, 0xfa, 0x5a, 0xb1, 0xae, 0x8c, 0x2f, 0xe4, 0x5d, 0x19, + 0x67, 0x2f, 0xb9, 0xf4, 0x76, 0x5a, 0xe1, 0x01, 0x15, 0x19, 0xec, 0x31, 0x19, 0xf3, 0x41, 0x50, + 0x59, 0x00, 0x1a, 0x67, 0xe9, 0xcb, 0xe4, 0x4c, 0x1f, 0x4f, 0x0f, 0x15, 0x99, 0xf5, 0x0b, 0x63, + 0xa4, 0xaa, 0xbc, 0x3a, 0xb4, 0x7d, 0xcb, 0x95, 0xf6, 0x58, 0xda, 0x95, 0x36, 0x85, 0x3b, 0xaf, + 0xe9, 0x3d, 0xfb, 0x7a, 0xc6, 0x8b, 0x80, 0x17, 0x72, 0x3f, 0x62, 0xf1, 0x9b, 0x0e, 0x43, 0xbc, + 0x97, 0xa8, 0xd5, 0xfa, 0xb1, 0x63, 0xd5, 0xfa, 0x82, 0x6f, 0xc4, 0xa0, 0x02, 0x4f, 0x77, 0x1e, + 0x8a, 0x96, 0x7a, 0xff, 0xa0, 0x8e, 0x40, 0xe0, 0x65, 0x4c, 0xef, 0x42, 0xa1, 0xcc, 0xf4, 0xae, + 0xc9, 0x93, 0xea, 0x5d, 0x92, 0x02, 0x68, 0x62, 0x98, 0x37, 0xbc, 0x69, 0xbf, 0x67, 0xa1, 0x2e, + 0x30, 0x5c, 0x1c, 0xe2, 0x3d, 0x89, 0x9e, 0x91, 0x37, 0x7c, 0x2d, 0x4d, 0x0f, 0xfa, 0x9b, 0xc0, + 0xdb, 0xe6, 0xf3, 0x8a, 0x21, 0xe8, 0x0e, 0x84, 0x79, 0x7b, 0x46, 0xe7, 0xc8, 0xbc, 0x65, 0x59, + 0xaa, 0x0f, 0xc0, 0xff, 0xf8, 0x5b, 0x25, 0xe6, 0x7f, 0xdc, 0xf6, 0x0f, 0xba, 0x6d, 0x7c, 0x24, + 0x63, 0x74, 0x5d, 0xff, 0x1a, 0x99, 0x4a, 0x44, 0x2b, 0xc5, 0x72, 0x17, 0x1b, 0xdd, 0x62, 0xfe, + 0x58, 0x25, 0x08, 0x24, 0x14, 0x14, 0x41, 0xf7, 0x5f, 0xf0, 0xaf, 0x20, 0x4b, 0x4e, 0xc3, 0xb2, + 0xba, 0x69, 0x5b, 0x56, 0x2f, 0x14, 0x1e, 0xcc, 0x00, 0x0b, 0xeb, 0x3b, 0xf6, 0x10, 0x98, 0xc2, + 0xf6, 0xf0, 0x7b, 0xc4, 0xdd, 0x1b, 0xc4, 0x7e, 0xa3, 0x83, 0xaa, 0x2b, 0x2c, 0xe2, 0x91, 0x4b, + 0xc4, 0x0b, 0x43, 0x46, 0x3b, 0xba, 0xbf, 0x56, 0x26, 0xe7, 0xb2, 0xde, 0x9c, 0x76, 0x5a, 0x64, + 0xa6, 0x6b, 0xa8, 0xcf, 0xc5, 0x2e, 0xb6, 0x9b, 0x0a, 0xb7, 0x56, 0x5d, 0x4c, 0x28, 0x58, 0x54, + 0x31, 0x63, 0x38, 0xbe, 0xa0, 0xad, 0xdc, 0x2b, 0xe5, 0xe1, 0x45, 0x94, 0x6a, 0x66, 0xdd, 0x20, + 0x04, 0x16, 0xd9, 0x11, 0xa4, 0xd7, 0x76, 0xff, 0x6e, 0x89, 0x3c, 0x3a, 0xe0, 0xf6, 0x3b, 0x36, + 0x77, 0x8f, 0x79, 0x21, 0xc5, 0x1b, 0x30, 0xaa, 0x39, 0xee, 0x9b, 0x04, 0x51, 0xea, 0xec, 0xe0, + 0xa5, 0x4a, 0xf5, 0xca, 0x65, 0xb9, 0xc8, 0x51, 0x72, 0xdf, 0x4d, 0x5b, 0xe3, 0x12, 0xa6, 0x7a, + 0xd7, 0xd2, 0xa0, 0xea, 0x7e, 0xbb, 0x42, 0xc6, 0xf9, 0xdb, 0x7c, 0x75, 0xaa, 0x00, 0xf1, 0x64, + 0x7b, 0xc3, 0xe5, 0xfa, 0xd3, 0x7a, 0x12, 0x07, 0x80, 0x24, 0xe3, 0xdc, 0x20, 0x67, 0xd1, 0xbf, + 0x1a, 0x78, 0xed, 0x9a, 0xdf, 0xf6, 0x8e, 0xa4, 0xe2, 0xcd, 0x53, 0x22, 0xcb, 0xac, 0x9f, 0x67, + 0x37, 0xfb, 0x51, 0x20, 0xab, 0x1e, 0xde, 0xdd, 0x49, 0x65, 0xcb, 0xe1, 0xa9, 0x1a, 0xd5, 0xdd, + 0x9d, 0xe3, 0x33, 0xe6, 0xe0, 0xf5, 0xa5, 0x6e, 0x9f, 0x89, 0x61, 0x3c, 0xea, 0x66, 0x9b, 0x15, + 0x36, 0x2e, 0x5e, 0xfc, 0x89, 0x7b, 0xec, 0x8c, 0x74, 0x7b, 0x9f, 0x5a, 0x32, 0xfb, 0x61, 0xbb, + 0x25, 0x1e, 0x23, 0x52, 0xea, 0x54, 0x23, 0x55, 0x0e, 0x7d, 0x35, 0x90, 0xca, 0xae, 0x17, 0xb4, + 0x29, 0x6b, 0x6b, 0x2a, 0x13, 0x36, 0x95, 0x8d, 0x54, 0x39, 0xf4, 0xd5, 0xc0, 0x4c, 0xcf, 0xf3, + 0xa9, 0x10, 0x11, 0x54, 0xd4, 0x52, 0x6f, 0x7e, 0x33, 0x7b, 0x1b, 0x83, 0x27, 0x32, 0xde, 0xfd, + 0x7e, 0xce, 0x7e, 0x45, 0x54, 0xc7, 0x6e, 0xad, 0xd6, 0xac, 0xf7, 0x91, 0x8a, 0x66, 0xaa, 0xfe, + 0x2c, 0xa6, 0x91, 0x55, 0xcf, 0xdd, 0x29, 0x8e, 0xa0, 0xe4, 0xea, 0x14, 0x0c, 0xac, 0x90, 0x1a, + 0xe6, 0xfc, 0x29, 0xf1, 0x94, 0xe7, 0x0e, 0xbc, 0x56, 0x18, 0x1b, 0xef, 0x89, 0xd3, 0x45, 0x46, + 0x75, 0x3e, 0x74, 0x99, 0xa7, 0xfd, 0x96, 0xd7, 0x39, 0x18, 0x64, 0xb9, 0x9d, 0x8d, 0x7a, 0x72, + 0xc4, 0xd9, 0xa8, 0xa7, 0x72, 0xc3, 0xdc, 0x7e, 0x99, 0x6e, 0x19, 0x2c, 0x41, 0x97, 0xb8, 0x33, + 0x88, 0x1e, 0xf0, 0xd1, 0x6d, 0x19, 0xf8, 0x7e, 0x16, 0x36, 0x96, 0x4e, 0x40, 0xcb, 0x7a, 0x00, + 0xbc, 0x0c, 0x9f, 0x78, 0x65, 0x4d, 0xe3, 0xe7, 0x9b, 0xe1, 0xa9, 0x64, 0xf5, 0x13, 0xc9, 0x2c, + 0x88, 0x1a, 0xfc, 0x2e, 0x35, 0x4c, 0x59, 0x67, 0xb5, 0x9b, 0xe2, 0x61, 0x09, 0xa2, 0xce, 0xec, + 0xdc, 0x83, 0x0a, 0xa2, 0xce, 0x26, 0x9e, 0x1f, 0x44, 0x9d, 0x59, 0xef, 0xe1, 0x0b, 0xa2, 0xce, + 0xec, 0xe6, 0x00, 0x65, 0xe7, 0xa3, 0xf2, 0x80, 0x61, 0x31, 0xb5, 0xe7, 0x79, 0x5c, 0x05, 0xac, + 0x30, 0x16, 0x3b, 0xd6, 0x0c, 0x5f, 0x01, 0x1c, 0x06, 0xaa, 0xd4, 0x89, 0x8d, 0x20, 0x64, 0xde, + 0xc9, 0xf5, 0x13, 0x7e, 0xe0, 0x65, 0xdb, 0xcf, 0x61, 0x5e, 0xc5, 0x4b, 0x45, 0x26, 0x63, 0xb8, + 0x8a, 0xd2, 0x64, 0x2b, 0x27, 0xd1, 0x64, 0x67, 0xb2, 0xb5, 0xd8, 0x25, 0xba, 0x61, 0x9c, 0xdc, + 0x32, 0xfd, 0x6f, 0x25, 0xf2, 0xe9, 0x63, 0x38, 0x8c, 0x8b, 0x16, 0x6b, 0x52, 0x0d, 0xd1, 0xd2, + 0x37, 0xb1, 0x75, 0x72, 0x6e, 0x97, 0x9a, 0xe5, 0x47, 0xec, 0xf8, 0xd9, 0x6f, 0x49, 0x0c, 0xb1, + 0x97, 0xaa, 0x37, 0xf7, 0x36, 0x32, 0x70, 0x20, 0xb3, 0x26, 0x7a, 0x85, 0xc2, 0x1d, 0x96, 0x00, + 0xad, 0xa5, 0x6f, 0x0a, 0xb2, 0xf9, 0xab, 0x68, 0xaf, 0xd0, 0xad, 0x3e, 0x0c, 0xc8, 0xa8, 0xe5, + 0xfe, 0x7e, 0x09, 0xe5, 0x48, 0xc6, 0x6b, 0x34, 0xd6, 0x43, 0xaa, 0x46, 0x70, 0x71, 0xff, 0x43, + 0xaa, 0xcc, 0xdf, 0x63, 0xe3, 0xf2, 0x29, 0x8a, 0x75, 0x60, 0x95, 0x95, 0xce, 0x5d, 0x04, 0xd5, + 0x2b, 0x0c, 0x7c, 0x78, 0xa9, 0x15, 0x1c, 0x06, 0x71, 0x18, 0x15, 0x78, 0xb7, 0xb0, 0x2f, 0x58, + 0x47, 0xef, 0x32, 0x35, 0x4e, 0x04, 0x24, 0x35, 0xf7, 0xaf, 0x95, 0xc9, 0xac, 0x6c, 0xef, 0xed, + 0x5e, 0xc8, 0x16, 0xe2, 0xa8, 0xa4, 0xe3, 0xdb, 0x96, 0x74, 0xbc, 0x54, 0xec, 0x66, 0x01, 0xeb, + 0xd4, 0x40, 0xa9, 0xf8, 0xd5, 0x94, 0x54, 0xbc, 0x3c, 0x0c, 0xd1, 0x5c, 0x6b, 0xf5, 0x8c, 0x85, + 0xff, 0x10, 0x25, 0x9e, 0xcc, 0x1a, 0xce, 0x00, 0xe9, 0xf7, 0xed, 0x72, 0x6a, 0x18, 0x4c, 0xea, + 0x7d, 0x93, 0x8c, 0xed, 0x7b, 0x51, 0x4b, 0xb8, 0xe6, 0xdf, 0x1c, 0xf2, 0x53, 0x50, 0xf5, 0x38, + 0x6a, 0x71, 0xd9, 0xf5, 0x92, 0xca, 0x81, 0x4f, 0x41, 0xb9, 0x61, 0x86, 0xac, 0x51, 0xe7, 0x0d, + 0xcc, 0x91, 0x1f, 0x76, 0x55, 0x14, 0xc9, 0x53, 0x3c, 0x3f, 0x3e, 0x42, 0x28, 0x05, 0xc7, 0x6e, + 0x0e, 0xc1, 0x20, 0xf0, 0x97, 0x7c, 0x52, 0x55, 0x4d, 0x8f, 0x30, 0xa0, 0xed, 0x0f, 0x2a, 0xe4, + 0x6c, 0x06, 0xab, 0x38, 0x3f, 0x65, 0xcd, 0xda, 0x17, 0x86, 0xe6, 0xb5, 0x4f, 0x38, 0x6f, 0x3f, + 0xc5, 0x74, 0xcc, 0x96, 0xe0, 0x8d, 0x13, 0x34, 0x4f, 0x15, 0xd1, 0x74, 0xf3, 0x08, 0xca, 0x6f, + 0x1e, 0x9b, 0x3d, 0xa5, 0xc9, 0xc7, 0x66, 0x54, 0x3f, 0x47, 0xf8, 0x8d, 0x7f, 0x76, 0x8c, 0x9c, + 0xcb, 0xba, 0xbd, 0xe4, 0xfc, 0x5c, 0x29, 0x95, 0xba, 0xf6, 0x4b, 0xc3, 0x5f, 0x81, 0xe2, 0xf9, + 0x6c, 0xc5, 0xf5, 0xe4, 0x65, 0x3b, 0x99, 0x6d, 0xee, 0x6c, 0x8b, 0xd6, 0x59, 0x68, 0x70, 0xc4, + 0xb3, 0x10, 0x4b, 0x79, 0xf0, 0xd6, 0x09, 0xba, 0x22, 0x12, 0x19, 0xc7, 0xa9, 0xd0, 0x60, 0x09, + 0xce, 0x0f, 0x0d, 0x96, 0x7d, 0x58, 0xda, 0xc3, 0x14, 0xb6, 0x6a, 0x5c, 0x23, 0x64, 0x81, 0x00, + 0xf7, 0x24, 0xa3, 0xd7, 0x23, 0x64, 0x83, 0xbf, 0x51, 0x22, 0xa9, 0xe3, 0x61, 0x3c, 0xb1, 0x66, + 0xa6, 0x5c, 0xea, 0xc4, 0xda, 0xb0, 0xe2, 0x28, 0x06, 0x55, 0x77, 0xfc, 0x74, 0x4e, 0x55, 0xa0, + 0x30, 0x60, 0x25, 0xea, 0xc5, 0xac, 0xca, 0xa0, 0x17, 0xb3, 0xd0, 0xc2, 0x69, 0xfb, 0x87, 0xbe, + 0x34, 0x2b, 0x95, 0xf0, 0xde, 0x42, 0x20, 0xf0, 0x32, 0xf7, 0x7b, 0x15, 0x32, 0xc1, 0x6d, 0xb7, + 0x11, 0x6e, 0xcb, 0x75, 0x61, 0x46, 0x15, 0xba, 0x47, 0xc4, 0x7b, 0xb3, 0x8c, 0x76, 0x16, 0x67, + 0x28, 0x35, 0x36, 0x6d, 0x7a, 0x39, 0xcb, 0xd6, 0xe8, 0x97, 0x52, 0x91, 0x51, 0x84, 0xd3, 0x30, + 0xe6, 0x62, 0x9f, 0x90, 0x98, 0x3d, 0xba, 0x82, 0x34, 0x44, 0x52, 0xa6, 0x57, 0x0b, 0xf5, 0xa3, + 0xa1, 0xaa, 0xf1, 0xde, 0xe8, 0x6c, 0x30, 0xaa, 0x00, 0x0c, 0xda, 0x4b, 0xaf, 0x93, 0xaa, 0x42, + 0xce, 0xd3, 0x78, 0x67, 0x4c, 0x96, 0xfc, 0x53, 0x64, 0x3e, 0xd5, 0xd6, 0x50, 0x0a, 0xf3, 0x77, + 0xa9, 0x32, 0xd1, 0xf7, 0xd8, 0x1f, 0x26, 0xf6, 0x3a, 0xd7, 0xce, 0x30, 0xda, 0xc5, 0x07, 0x3e, + 0x89, 0xb9, 0xaf, 0x5f, 0xa8, 0xce, 0x28, 0x85, 0xcc, 0xd6, 0x64, 0x9a, 0xb9, 0x72, 0x76, 0x9a, + 0x39, 0xf6, 0x0e, 0x05, 0xef, 0xfb, 0x69, 0x68, 0x40, 0x9b, 0xb6, 0x06, 0xf4, 0x4c, 0x11, 0x36, + 0x18, 0xa0, 0xfa, 0xfc, 0xd5, 0x12, 0x71, 0x38, 0x42, 0xfa, 0xf1, 0x25, 0xee, 0x04, 0x31, 0x74, + 0x76, 0xcd, 0x37, 0xaa, 0x04, 0x0c, 0xac, 0x21, 0xd3, 0xee, 0xaa, 0x47, 0x4b, 0x06, 0x74, 0xec, + 0xb7, 0x2a, 0x24, 0x7d, 0x2e, 0xea, 0xbc, 0x47, 0x66, 0xf0, 0x0e, 0xc6, 0x4e, 0xd0, 0x0e, 0x92, + 0xc0, 0x8f, 0x8b, 0xf9, 0x9c, 0xd7, 0x8c, 0x1a, 0xc2, 0x27, 0x66, 0x40, 0xc0, 0xa2, 0x88, 0xc1, + 0x3c, 0xdd, 0x88, 0xaa, 0xfd, 0x6d, 0x7f, 0x8f, 0x29, 0x11, 0xea, 0xa2, 0x7e, 0x5d, 0x41, 0xc1, + 0xc0, 0xc8, 0x08, 0xc0, 0xa9, 0x9c, 0x46, 0x00, 0xce, 0xd8, 0x90, 0x01, 0x38, 0xe3, 0x85, 0x02, + 0x70, 0x80, 0x3c, 0x22, 0x5d, 0x59, 0xf8, 0x1b, 0xef, 0x02, 0xf1, 0x24, 0x51, 0x22, 0x6c, 0x6a, + 0x09, 0xef, 0xa6, 0x40, 0x26, 0x06, 0x0c, 0xa8, 0xe9, 0xf6, 0xc8, 0xd9, 0x86, 0x1f, 0x05, 0x2c, + 0x87, 0x47, 0x4b, 0x2f, 0xa7, 0xaf, 0xe3, 0x2d, 0x6a, 0x7b, 0x25, 0x0f, 0x79, 0xc5, 0xc4, 0xb8, + 0x40, 0x2d, 0x57, 0xae, 0x26, 0xe9, 0xfe, 0xb9, 0x32, 0x99, 0x14, 0xf1, 0x07, 0x23, 0xdc, 0x15, + 0xae, 0x5b, 0xc6, 0xda, 0x0b, 0x79, 0xcb, 0x90, 0x75, 0x67, 0xa0, 0x99, 0xd6, 0x48, 0x99, 0x69, + 0x2f, 0x16, 0x23, 0x77, 0xbc, 0x81, 0xf6, 0x9b, 0x65, 0xba, 0x75, 0xdb, 0x71, 0x17, 0xa3, 0x9b, + 0x8e, 0xaf, 0x90, 0xc9, 0x58, 0x04, 0x27, 0x14, 0x7a, 0x20, 0x3a, 0xfd, 0x49, 0xf5, 0xd3, 0xc7, + 0x22, 0x1c, 0x41, 0x92, 0xcb, 0x8c, 0x7f, 0xa8, 0x9c, 0x46, 0xfc, 0x83, 0xfb, 0x3d, 0x26, 0x1f, + 0xcd, 0x09, 0x3c, 0x0d, 0x01, 0xff, 0xb6, 0x2d, 0x4a, 0x5f, 0x2a, 0xc4, 0x0a, 0xa2, 0x7f, 0x03, + 0xe4, 0xe9, 0x87, 0x25, 0x32, 0x2d, 0x10, 0x4f, 0x63, 0x04, 0x3f, 0x6e, 0x8f, 0xe0, 0xd9, 0x42, + 0x23, 0x18, 0xd0, 0xf5, 0xbf, 0x55, 0x56, 0x5d, 0x2f, 0xf8, 0x06, 0xbb, 0xf9, 0xc2, 0x7a, 0x79, + 0x98, 0x17, 0xd6, 0xd5, 0xeb, 0xed, 0x95, 0x81, 0xaf, 0xb7, 0xef, 0xc8, 0x77, 0x40, 0x11, 0x26, + 0xe2, 0xbd, 0x87, 0x7d, 0x37, 0x4f, 0x07, 0xa0, 0x2a, 0x4a, 0x60, 0x50, 0x95, 0xb1, 0x51, 0xac, + 0x85, 0x71, 0xdb, 0x37, 0x78, 0x53, 0xc0, 0x41, 0x61, 0xb8, 0xaf, 0x33, 0x19, 0xcb, 0xa6, 0x67, + 0xb8, 0xa8, 0xd2, 0x1f, 0x8c, 0xab, 0x89, 0x65, 0x1e, 0x8f, 0x9b, 0xf2, 0xcd, 0xf5, 0x52, 0x91, + 0x23, 0x74, 0xe3, 0x93, 0x64, 0x3f, 0xb9, 0xee, 0xf8, 0x7d, 0xde, 0xe0, 0xd7, 0x0b, 0xcb, 0xc8, + 0x21, 0xfc, 0xbf, 0x2c, 0x79, 0x01, 0xbb, 0xb0, 0xbd, 0x59, 0x4f, 0x67, 0x7a, 0x5b, 0x93, 0x05, + 0xa0, 0x71, 0x68, 0x05, 0xae, 0x7b, 0xdb, 0xcf, 0x0f, 0x4a, 0xdd, 0x5b, 0x4e, 0x89, 0xa1, 0x7c, + 0x5f, 0x26, 0xd3, 0x2a, 0xd7, 0x6d, 0x9d, 0xa7, 0x2c, 0xad, 0xae, 0xce, 0x63, 0xe4, 0xd9, 0xba, + 0x06, 0x83, 0x89, 0x43, 0x75, 0xb4, 0xb3, 0x2d, 0x15, 0x0a, 0x57, 0xef, 0xed, 0xb4, 0x83, 0x26, + 0x56, 0xe5, 0x61, 0xe8, 0x8f, 0xe2, 0xb9, 0x67, 0xad, 0xbf, 0x18, 0xb2, 0xea, 0x38, 0xdb, 0x18, + 0x6e, 0xc6, 0x72, 0xfa, 0xca, 0x0b, 0x2b, 0x22, 0x83, 0xd2, 0x05, 0x99, 0x7e, 0xa9, 0x61, 0x17, + 0x7f, 0xcc, 0x40, 0x5c, 0x28, 0x08, 0x10, 0xa4, 0x49, 0xe0, 0x69, 0x6a, 0xdb, 0x7c, 0x9b, 0xa3, + 0x2e, 0x22, 0x02, 0xd5, 0x69, 0xaa, 0xf5, 0x72, 0x47, 0x1d, 0x52, 0xd8, 0x54, 0xda, 0x2f, 0x9a, + 0x10, 0x71, 0x47, 0x15, 0x0f, 0x9d, 0x62, 0x91, 0x4c, 0xf4, 0x33, 0x18, 0x0f, 0xb8, 0x35, 0x00, + 0x07, 0x06, 0xd6, 0xfe, 0x64, 0x6e, 0xf7, 0x6f, 0x62, 0x65, 0x63, 0x6b, 0x74, 0xbe, 0x41, 0x66, + 0xcc, 0x96, 0x84, 0xb0, 0x7b, 0xb9, 0xf8, 0xab, 0x25, 0x62, 0x8b, 0x55, 0x71, 0x04, 0x66, 0x19, + 0x58, 0xb4, 0xdd, 0x26, 0x99, 0x4f, 0xbd, 0x8b, 0xa8, 0x1e, 0xd8, 0x2c, 0x3d, 0xa8, 0x07, 0x36, + 0x31, 0xa3, 0xc7, 0xf8, 0xb6, 0x17, 0xe4, 0xe7, 0xbe, 0x2e, 0xf4, 0x88, 0xfe, 0x6b, 0x64, 0xc2, + 0xdf, 0xdd, 0xc5, 0x07, 0xcc, 0xf9, 0xca, 0x79, 0x5c, 0x3d, 0x9b, 0xcc, 0xa0, 0xb8, 0x1e, 0x58, + 0x63, 0xfc, 0x27, 0x08, 0x64, 0xf7, 0xdf, 0x50, 0x83, 0x67, 0x9b, 0x5a, 0xf1, 0x22, 0xa9, 0x60, + 0x4e, 0x4f, 0x56, 0xfb, 0xb2, 0x70, 0x3f, 0x97, 0x91, 0x85, 0xdb, 0xd1, 0x04, 0x33, 0x72, 0x70, + 0xab, 0xd1, 0x54, 0x0a, 0x8d, 0x66, 0x6c, 0x98, 0xd1, 0x7c, 0xab, 0x44, 0x26, 0xc4, 0xf5, 0xfa, + 0xfc, 0xcd, 0xa5, 0x25, 0x33, 0xe7, 0x5a, 0x57, 0xbe, 0x2f, 0x14, 0x09, 0xdd, 0x16, 0x17, 0xbd, + 0x15, 0x2b, 0x59, 0xd7, 0xbb, 0x2d, 0xaa, 0x68, 0x0d, 0x4f, 0xf3, 0xe2, 0x1b, 0xf2, 0x7d, 0xf1, + 0x9c, 0x7e, 0x0d, 0x95, 0x92, 0x85, 0x25, 0x96, 0x45, 0xc2, 0x2a, 0x33, 0x87, 0x99, 0x58, 0x56, + 0x16, 0x80, 0xc6, 0xc1, 0x63, 0xf9, 0xb8, 0xb7, 0xc3, 0xd0, 0x53, 0xa7, 0xfc, 0x0d, 0x0e, 0x06, + 0x59, 0xee, 0x7e, 0x38, 0x4f, 0xac, 0xa1, 0x59, 0x59, 0x40, 0x4a, 0x0f, 0x3c, 0x0b, 0x08, 0xa5, + 0xee, 0x1f, 0x74, 0x93, 0xa3, 0x5a, 0x10, 0x15, 0xcb, 0xc8, 0xb4, 0x2e, 0xb0, 0xfb, 0xa9, 0xcb, + 0x12, 0x50, 0x14, 0x07, 0xe4, 0x74, 0xa9, 0x3c, 0x14, 0x39, 0x5d, 0xc6, 0xfe, 0x9f, 0xe4, 0x74, + 0xa1, 0x7a, 0xfe, 0x1e, 0x7f, 0xb0, 0x59, 0x5c, 0xd5, 0xc9, 0x39, 0x51, 0xca, 0x78, 0xdd, 0x99, + 0xdf, 0xc9, 0x10, 0x05, 0x20, 0xc9, 0x61, 0xc6, 0x10, 0xae, 0xf2, 0x8b, 0x34, 0x29, 0x2f, 0x17, + 0xf1, 0x6c, 0xf4, 0x67, 0x0c, 0x11, 0xa1, 0x1c, 0x82, 0x96, 0xcc, 0xe1, 0x32, 0xf9, 0xc9, 0x73, + 0xb8, 0xa8, 0xcc, 0x2b, 0x53, 0x0f, 0x2a, 0xf3, 0x8a, 0x95, 0xc1, 0xa6, 0x3a, 0x8a, 0x0c, 0x36, + 0x54, 0xb6, 0x9d, 0xef, 0x66, 0x25, 0x80, 0x12, 0x39, 0x54, 0xbe, 0x7c, 0x82, 0x84, 0x58, 0x56, + 0xd3, 0xec, 0x06, 0x45, 0x26, 0x1a, 0x64, 0x37, 0x2c, 0x53, 0xe1, 0x4c, 0x7f, 0xf2, 0x54, 0x38, + 0xa3, 0x4e, 0xb6, 0xa2, 0x13, 0xe3, 0xcc, 0x8e, 0x24, 0x31, 0xce, 0xdc, 0x03, 0x4c, 0x8c, 0x63, + 0xa4, 0xb4, 0x99, 0x7f, 0xb0, 0x29, 0x6d, 0xf6, 0xc9, 0x74, 0x2b, 0xbc, 0xd7, 0xb9, 0xe7, 0x45, + 0xad, 0x95, 0xfa, 0x26, 0xbb, 0x07, 0x90, 0x7b, 0xcd, 0xba, 0xa6, 0x2b, 0x58, 0x2d, 0x30, 0xad, + 0xd9, 0x28, 0x04, 0x93, 0xb4, 0x48, 0xee, 0x73, 0xe6, 0x13, 0x26, 0xf7, 0xb1, 0x52, 0xe4, 0x38, + 0xa3, 0x48, 0x91, 0xf3, 0x1e, 0xbb, 0x6c, 0xb9, 0x1b, 0xec, 0xdd, 0xf0, 0xba, 0x8b, 0x67, 0x8b, + 0xb4, 0xb0, 0x26, 0xd1, 0xfb, 0x5b, 0x50, 0x45, 0xa0, 0x89, 0xf6, 0x27, 0xe1, 0x39, 0x77, 0x2a, + 0x49, 0x78, 0xfe, 0x0c, 0x79, 0xe2, 0x78, 0x1a, 0x3a, 0x37, 0x61, 0x5d, 0x1b, 0x97, 0xa9, 0xdc, + 0x84, 0x6c, 0x7f, 0x36, 0xb0, 0x8c, 0x30, 0xc2, 0xf2, 0x71, 0x61, 0x84, 0xee, 0x3f, 0x29, 0x91, + 0x47, 0x07, 0xdc, 0xcf, 0x2f, 0x1c, 0x34, 0xdb, 0x25, 0xf3, 0x5d, 0xbb, 0x6a, 0xe1, 0xf0, 0x76, + 0x2b, 0x1f, 0x80, 0xca, 0x6d, 0x9b, 0x2a, 0x80, 0x34, 0xf9, 0xd5, 0x67, 0xbe, 0xff, 0x07, 0x4f, + 0x7c, 0xea, 0x23, 0xfa, 0xf7, 0xbb, 0xf4, 0xef, 0xa7, 0xff, 0xf0, 0x89, 0xd2, 0xf7, 0xe9, 0xdf, + 0x47, 0xf4, 0xef, 0x3f, 0xd3, 0xbf, 0x6f, 0xfd, 0xd1, 0x13, 0x9f, 0xfa, 0x89, 0xf2, 0xe1, 0xe5, + 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x44, 0x9a, 0xbd, 0xf4, 0xd9, 0xab, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/v1/register.go b/staging/src/k8s.io/client-go/1.4/pkg/api/v1/register.go index d31d1e62acf..0b2f244e0b3 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/api/v1/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/v1/register.go @@ -28,15 +28,13 @@ const GroupName = "" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"} -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) - addConversionFuncs(scheme) - addDefaultingFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs, addFastPathConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Pod{}, &PodList{}, @@ -91,4 +89,5 @@ func addKnownTypes(scheme *runtime.Scheme) { // Add the watch version that applies versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/v1/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/api/v1/types.generated.go index e501336a8e3..98952955308 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/api/v1/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/v1/types.generated.go @@ -556,25 +556,25 @@ func (x *ObjectMeta) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym49 := z.DecBinary() + _ = yym49 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct50 := r.ContainerType() + if yyct50 == codecSelferValueTypeMap1234 { + yyl50 := r.ReadMapStart() + if yyl50 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl50, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct50 == codecSelferValueTypeArray1234 { + yyl50 := r.ReadArrayStart() + if yyl50 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl50, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -586,12 +586,12 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys51Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys51Slc + var yyhl51 bool = l >= 0 + for yyj51 := 0; ; yyj51++ { + if yyhl51 { + if yyj51 >= l { break } } else { @@ -600,10 +600,10 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys51Slc = r.DecodeBytes(yys51Slc, true, true) + yys51 := string(yys51Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys51 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -650,17 +650,17 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.CreationTimestamp = pkg2_unversioned.Time{} } else { - yyv11 := &x.CreationTimestamp - yym12 := z.DecBinary() - _ = yym12 + yyv59 := &x.CreationTimestamp + yym60 := z.DecBinary() + _ = yym60 if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else if yym12 { - z.DecBinaryUnmarshal(yyv11) - } else if !yym12 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv11) + } else if z.HasExtensions() && z.DecExt(yyv59) { + } else if yym60 { + z.DecBinaryUnmarshal(yyv59) + } else if !yym60 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv59) } else { - z.DecFallback(yyv11, false) + z.DecFallback(yyv59, false) } } case "deletionTimestamp": @@ -672,13 +672,13 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.DeletionTimestamp == nil { x.DeletionTimestamp = new(pkg2_unversioned.Time) } - yym14 := z.DecBinary() - _ = yym14 + yym62 := z.DecBinary() + _ = yym62 if false { } else if z.HasExtensions() && z.DecExt(x.DeletionTimestamp) { - } else if yym14 { + } else if yym62 { z.DecBinaryUnmarshal(x.DeletionTimestamp) - } else if !yym14 && z.IsJSONHandle() { + } else if !yym62 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.DeletionTimestamp) } else { z.DecFallback(x.DeletionTimestamp, false) @@ -693,8 +693,8 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.DeletionGracePeriodSeconds == nil { x.DeletionGracePeriodSeconds = new(int64) } - yym16 := z.DecBinary() - _ = yym16 + yym64 := z.DecBinary() + _ = yym64 if false { } else { *((*int64)(x.DeletionGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -704,54 +704,54 @@ func (x *ObjectMeta) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv17 := &x.Labels - yym18 := z.DecBinary() - _ = yym18 + yyv65 := &x.Labels + yym66 := z.DecBinary() + _ = yym66 if false { } else { - z.F.DecMapStringStringX(yyv17, false, d) + z.F.DecMapStringStringX(yyv65, false, d) } } case "annotations": if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv19 := &x.Annotations - yym20 := z.DecBinary() - _ = yym20 + yyv67 := &x.Annotations + yym68 := z.DecBinary() + _ = yym68 if false { } else { - z.F.DecMapStringStringX(yyv19, false, d) + z.F.DecMapStringStringX(yyv67, false, d) } } case "ownerReferences": if r.TryDecodeAsNil() { x.OwnerReferences = nil } else { - yyv21 := &x.OwnerReferences - yym22 := z.DecBinary() - _ = yym22 + yyv69 := &x.OwnerReferences + yym70 := z.DecBinary() + _ = yym70 if false { } else { - h.decSliceOwnerReference((*[]OwnerReference)(yyv21), d) + h.decSliceOwnerReference((*[]OwnerReference)(yyv69), d) } } case "finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv23 := &x.Finalizers - yym24 := z.DecBinary() - _ = yym24 + yyv71 := &x.Finalizers + yym72 := z.DecBinary() + _ = yym72 if false { } else { - z.F.DecSliceStringX(yyv23, false, d) + z.F.DecSliceStringX(yyv71, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys51) + } // end switch yys51 + } // end for yyj51 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -759,16 +759,16 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj25 int - var yyb25 bool - var yyhl25 bool = l >= 0 - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + var yyj73 int + var yyb73 bool + var yyhl73 bool = l >= 0 + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -778,13 +778,13 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -794,13 +794,13 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.GenerateName = string(r.DecodeString()) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -810,13 +810,13 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Namespace = string(r.DecodeString()) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -826,13 +826,13 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SelfLink = string(r.DecodeString()) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -842,13 +842,13 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -858,13 +858,13 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -874,13 +874,13 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Generation = int64(r.DecodeInt(64)) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -888,26 +888,26 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.CreationTimestamp = pkg2_unversioned.Time{} } else { - yyv33 := &x.CreationTimestamp - yym34 := z.DecBinary() - _ = yym34 + yyv81 := &x.CreationTimestamp + yym82 := z.DecBinary() + _ = yym82 if false { - } else if z.HasExtensions() && z.DecExt(yyv33) { - } else if yym34 { - z.DecBinaryUnmarshal(yyv33) - } else if !yym34 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv33) + } else if z.HasExtensions() && z.DecExt(yyv81) { + } else if yym82 { + z.DecBinaryUnmarshal(yyv81) + } else if !yym82 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv81) } else { - z.DecFallback(yyv33, false) + z.DecFallback(yyv81, false) } } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -920,25 +920,25 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.DeletionTimestamp == nil { x.DeletionTimestamp = new(pkg2_unversioned.Time) } - yym36 := z.DecBinary() - _ = yym36 + yym84 := z.DecBinary() + _ = yym84 if false { } else if z.HasExtensions() && z.DecExt(x.DeletionTimestamp) { - } else if yym36 { + } else if yym84 { z.DecBinaryUnmarshal(x.DeletionTimestamp) - } else if !yym36 && z.IsJSONHandle() { + } else if !yym84 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.DeletionTimestamp) } else { z.DecFallback(x.DeletionTimestamp, false) } } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -951,20 +951,20 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.DeletionGracePeriodSeconds == nil { x.DeletionGracePeriodSeconds = new(int64) } - yym38 := z.DecBinary() - _ = yym38 + yym86 := z.DecBinary() + _ = yym86 if false { } else { *((*int64)(x.DeletionGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -972,21 +972,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv39 := &x.Labels - yym40 := z.DecBinary() - _ = yym40 + yyv87 := &x.Labels + yym88 := z.DecBinary() + _ = yym88 if false { } else { - z.F.DecMapStringStringX(yyv39, false, d) + z.F.DecMapStringStringX(yyv87, false, d) } } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -994,21 +994,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv41 := &x.Annotations - yym42 := z.DecBinary() - _ = yym42 + yyv89 := &x.Annotations + yym90 := z.DecBinary() + _ = yym90 if false { } else { - z.F.DecMapStringStringX(yyv41, false, d) + z.F.DecMapStringStringX(yyv89, false, d) } } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1016,21 +1016,21 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.OwnerReferences = nil } else { - yyv43 := &x.OwnerReferences - yym44 := z.DecBinary() - _ = yym44 + yyv91 := &x.OwnerReferences + yym92 := z.DecBinary() + _ = yym92 if false { } else { - h.decSliceOwnerReference((*[]OwnerReference)(yyv43), d) + h.decSliceOwnerReference((*[]OwnerReference)(yyv91), d) } } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1038,26 +1038,26 @@ func (x *ObjectMeta) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv45 := &x.Finalizers - yym46 := z.DecBinary() - _ = yym46 + yyv93 := &x.Finalizers + yym94 := z.DecBinary() + _ = yym94 if false { } else { - z.F.DecSliceStringX(yyv45, false, d) + z.F.DecSliceStringX(yyv93, false, d) } } for { - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj73++ + if yyhl73 { + yyb73 = yyj73 > l } else { - yyb25 = r.CheckBreak() + yyb73 = r.CheckBreak() } - if yyb25 { + if yyb73 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj25-1, "") + z.DecStructFieldNotFound(yyj73-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1069,53 +1069,53 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym95 := z.EncBinary() + _ = yym95 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [21]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.VolumeSource.HostPath != nil && x.HostPath != nil - yyq2[2] = x.VolumeSource.EmptyDir != nil && x.EmptyDir != nil - yyq2[3] = x.VolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil - yyq2[4] = x.VolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil - yyq2[5] = x.VolumeSource.GitRepo != nil && x.GitRepo != nil - yyq2[6] = x.VolumeSource.Secret != nil && x.Secret != nil - yyq2[7] = x.VolumeSource.NFS != nil && x.NFS != nil - yyq2[8] = x.VolumeSource.ISCSI != nil && x.ISCSI != nil - yyq2[9] = x.VolumeSource.Glusterfs != nil && x.Glusterfs != nil - yyq2[10] = x.VolumeSource.PersistentVolumeClaim != nil && x.PersistentVolumeClaim != nil - yyq2[11] = x.VolumeSource.RBD != nil && x.RBD != nil - yyq2[12] = x.VolumeSource.FlexVolume != nil && x.FlexVolume != nil - yyq2[13] = x.VolumeSource.Cinder != nil && x.Cinder != nil - yyq2[14] = x.VolumeSource.CephFS != nil && x.CephFS != nil - yyq2[15] = x.VolumeSource.Flocker != nil && x.Flocker != nil - yyq2[16] = x.VolumeSource.DownwardAPI != nil && x.DownwardAPI != nil - yyq2[17] = x.VolumeSource.FC != nil && x.FC != nil - yyq2[18] = x.VolumeSource.AzureFile != nil && x.AzureFile != nil - yyq2[19] = x.VolumeSource.ConfigMap != nil && x.ConfigMap != nil - yyq2[20] = x.VolumeSource.VsphereVolume != nil && x.VsphereVolume != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep96 := !z.EncBinary() + yy2arr96 := z.EncBasicHandle().StructToArray + var yyq96 [21]bool + _, _, _ = yysep96, yyq96, yy2arr96 + const yyr96 bool = false + yyq96[1] = x.VolumeSource.HostPath != nil && x.HostPath != nil + yyq96[2] = x.VolumeSource.EmptyDir != nil && x.EmptyDir != nil + yyq96[3] = x.VolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil + yyq96[4] = x.VolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil + yyq96[5] = x.VolumeSource.GitRepo != nil && x.GitRepo != nil + yyq96[6] = x.VolumeSource.Secret != nil && x.Secret != nil + yyq96[7] = x.VolumeSource.NFS != nil && x.NFS != nil + yyq96[8] = x.VolumeSource.ISCSI != nil && x.ISCSI != nil + yyq96[9] = x.VolumeSource.Glusterfs != nil && x.Glusterfs != nil + yyq96[10] = x.VolumeSource.PersistentVolumeClaim != nil && x.PersistentVolumeClaim != nil + yyq96[11] = x.VolumeSource.RBD != nil && x.RBD != nil + yyq96[12] = x.VolumeSource.FlexVolume != nil && x.FlexVolume != nil + yyq96[13] = x.VolumeSource.Cinder != nil && x.Cinder != nil + yyq96[14] = x.VolumeSource.CephFS != nil && x.CephFS != nil + yyq96[15] = x.VolumeSource.Flocker != nil && x.Flocker != nil + yyq96[16] = x.VolumeSource.DownwardAPI != nil && x.DownwardAPI != nil + yyq96[17] = x.VolumeSource.FC != nil && x.FC != nil + yyq96[18] = x.VolumeSource.AzureFile != nil && x.AzureFile != nil + yyq96[19] = x.VolumeSource.ConfigMap != nil && x.ConfigMap != nil + yyq96[20] = x.VolumeSource.VsphereVolume != nil && x.VsphereVolume != nil + var yynn96 int + if yyr96 || yy2arr96 { r.EncodeArrayStart(21) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn96 = 1 + for _, b := range yyq96 { if b { - yynn2++ + yynn96++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn96) + yynn96 = 0 } - if yyr2 || yy2arr2 { + if yyr96 || yy2arr96 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym98 := z.EncBinary() + _ = yym98 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -1124,25 +1124,25 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym99 := z.EncBinary() + _ = yym99 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - var yyn6 bool + var yyn100 bool if x.VolumeSource.HostPath == nil { - yyn6 = true - goto LABEL6 + yyn100 = true + goto LABEL100 } - LABEL6: - if yyr2 || yy2arr2 { - if yyn6 { + LABEL100: + if yyr96 || yy2arr96 { + if yyn100 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq96[1] { if x.HostPath == nil { r.EncodeNil() } else { @@ -1153,11 +1153,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[1] { + if yyq96[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn6 { + if yyn100 { r.EncodeNil() } else { if x.HostPath == nil { @@ -1168,18 +1168,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn9 bool + var yyn101 bool if x.VolumeSource.EmptyDir == nil { - yyn9 = true - goto LABEL9 + yyn101 = true + goto LABEL101 } - LABEL9: - if yyr2 || yy2arr2 { - if yyn9 { + LABEL101: + if yyr96 || yy2arr96 { + if yyn101 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq96[2] { if x.EmptyDir == nil { r.EncodeNil() } else { @@ -1190,11 +1190,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[2] { + if yyq96[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("emptyDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn9 { + if yyn101 { r.EncodeNil() } else { if x.EmptyDir == nil { @@ -1205,18 +1205,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn12 bool + var yyn102 bool if x.VolumeSource.GCEPersistentDisk == nil { - yyn12 = true - goto LABEL12 + yyn102 = true + goto LABEL102 } - LABEL12: - if yyr2 || yy2arr2 { - if yyn12 { + LABEL102: + if yyr96 || yy2arr96 { + if yyn102 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq96[3] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -1227,11 +1227,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[3] { + if yyq96[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn12 { + if yyn102 { r.EncodeNil() } else { if x.GCEPersistentDisk == nil { @@ -1242,18 +1242,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn15 bool + var yyn103 bool if x.VolumeSource.AWSElasticBlockStore == nil { - yyn15 = true - goto LABEL15 + yyn103 = true + goto LABEL103 } - LABEL15: - if yyr2 || yy2arr2 { - if yyn15 { + LABEL103: + if yyr96 || yy2arr96 { + if yyn103 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq96[4] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -1264,11 +1264,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[4] { + if yyq96[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn15 { + if yyn103 { r.EncodeNil() } else { if x.AWSElasticBlockStore == nil { @@ -1279,18 +1279,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn18 bool + var yyn104 bool if x.VolumeSource.GitRepo == nil { - yyn18 = true - goto LABEL18 + yyn104 = true + goto LABEL104 } - LABEL18: - if yyr2 || yy2arr2 { - if yyn18 { + LABEL104: + if yyr96 || yy2arr96 { + if yyn104 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq96[5] { if x.GitRepo == nil { r.EncodeNil() } else { @@ -1301,11 +1301,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[5] { + if yyq96[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gitRepo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn18 { + if yyn104 { r.EncodeNil() } else { if x.GitRepo == nil { @@ -1316,18 +1316,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn21 bool + var yyn105 bool if x.VolumeSource.Secret == nil { - yyn21 = true - goto LABEL21 + yyn105 = true + goto LABEL105 } - LABEL21: - if yyr2 || yy2arr2 { - if yyn21 { + LABEL105: + if yyr96 || yy2arr96 { + if yyn105 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq96[6] { if x.Secret == nil { r.EncodeNil() } else { @@ -1338,11 +1338,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[6] { + if yyq96[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secret")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn21 { + if yyn105 { r.EncodeNil() } else { if x.Secret == nil { @@ -1353,18 +1353,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn24 bool + var yyn106 bool if x.VolumeSource.NFS == nil { - yyn24 = true - goto LABEL24 + yyn106 = true + goto LABEL106 } - LABEL24: - if yyr2 || yy2arr2 { - if yyn24 { + LABEL106: + if yyr96 || yy2arr96 { + if yyn106 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq96[7] { if x.NFS == nil { r.EncodeNil() } else { @@ -1375,11 +1375,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[7] { + if yyq96[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn24 { + if yyn106 { r.EncodeNil() } else { if x.NFS == nil { @@ -1390,18 +1390,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn27 bool + var yyn107 bool if x.VolumeSource.ISCSI == nil { - yyn27 = true - goto LABEL27 + yyn107 = true + goto LABEL107 } - LABEL27: - if yyr2 || yy2arr2 { - if yyn27 { + LABEL107: + if yyr96 || yy2arr96 { + if yyn107 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { + if yyq96[8] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -1412,11 +1412,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[8] { + if yyq96[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn27 { + if yyn107 { r.EncodeNil() } else { if x.ISCSI == nil { @@ -1427,18 +1427,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn30 bool + var yyn108 bool if x.VolumeSource.Glusterfs == nil { - yyn30 = true - goto LABEL30 + yyn108 = true + goto LABEL108 } - LABEL30: - if yyr2 || yy2arr2 { - if yyn30 { + LABEL108: + if yyr96 || yy2arr96 { + if yyn108 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { + if yyq96[9] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -1449,11 +1449,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[9] { + if yyq96[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn30 { + if yyn108 { r.EncodeNil() } else { if x.Glusterfs == nil { @@ -1464,18 +1464,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn33 bool + var yyn109 bool if x.VolumeSource.PersistentVolumeClaim == nil { - yyn33 = true - goto LABEL33 + yyn109 = true + goto LABEL109 } - LABEL33: - if yyr2 || yy2arr2 { - if yyn33 { + LABEL109: + if yyr96 || yy2arr96 { + if yyn109 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { + if yyq96[10] { if x.PersistentVolumeClaim == nil { r.EncodeNil() } else { @@ -1486,11 +1486,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[10] { + if yyq96[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeClaim")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn33 { + if yyn109 { r.EncodeNil() } else { if x.PersistentVolumeClaim == nil { @@ -1501,18 +1501,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn36 bool + var yyn110 bool if x.VolumeSource.RBD == nil { - yyn36 = true - goto LABEL36 + yyn110 = true + goto LABEL110 } - LABEL36: - if yyr2 || yy2arr2 { - if yyn36 { + LABEL110: + if yyr96 || yy2arr96 { + if yyn110 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { + if yyq96[11] { if x.RBD == nil { r.EncodeNil() } else { @@ -1523,11 +1523,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[11] { + if yyq96[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn36 { + if yyn110 { r.EncodeNil() } else { if x.RBD == nil { @@ -1538,18 +1538,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn39 bool + var yyn111 bool if x.VolumeSource.FlexVolume == nil { - yyn39 = true - goto LABEL39 + yyn111 = true + goto LABEL111 } - LABEL39: - if yyr2 || yy2arr2 { - if yyn39 { + LABEL111: + if yyr96 || yy2arr96 { + if yyn111 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { + if yyq96[12] { if x.FlexVolume == nil { r.EncodeNil() } else { @@ -1560,11 +1560,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[12] { + if yyq96[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn39 { + if yyn111 { r.EncodeNil() } else { if x.FlexVolume == nil { @@ -1575,18 +1575,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn42 bool + var yyn112 bool if x.VolumeSource.Cinder == nil { - yyn42 = true - goto LABEL42 + yyn112 = true + goto LABEL112 } - LABEL42: - if yyr2 || yy2arr2 { - if yyn42 { + LABEL112: + if yyr96 || yy2arr96 { + if yyn112 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { + if yyq96[13] { if x.Cinder == nil { r.EncodeNil() } else { @@ -1597,11 +1597,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[13] { + if yyq96[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn42 { + if yyn112 { r.EncodeNil() } else { if x.Cinder == nil { @@ -1612,18 +1612,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn45 bool + var yyn113 bool if x.VolumeSource.CephFS == nil { - yyn45 = true - goto LABEL45 + yyn113 = true + goto LABEL113 } - LABEL45: - if yyr2 || yy2arr2 { - if yyn45 { + LABEL113: + if yyr96 || yy2arr96 { + if yyn113 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[14] { + if yyq96[14] { if x.CephFS == nil { r.EncodeNil() } else { @@ -1634,11 +1634,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[14] { + if yyq96[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn45 { + if yyn113 { r.EncodeNil() } else { if x.CephFS == nil { @@ -1649,18 +1649,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn48 bool + var yyn114 bool if x.VolumeSource.Flocker == nil { - yyn48 = true - goto LABEL48 + yyn114 = true + goto LABEL114 } - LABEL48: - if yyr2 || yy2arr2 { - if yyn48 { + LABEL114: + if yyr96 || yy2arr96 { + if yyn114 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[15] { + if yyq96[15] { if x.Flocker == nil { r.EncodeNil() } else { @@ -1671,11 +1671,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[15] { + if yyq96[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn48 { + if yyn114 { r.EncodeNil() } else { if x.Flocker == nil { @@ -1686,18 +1686,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn51 bool + var yyn115 bool if x.VolumeSource.DownwardAPI == nil { - yyn51 = true - goto LABEL51 + yyn115 = true + goto LABEL115 } - LABEL51: - if yyr2 || yy2arr2 { - if yyn51 { + LABEL115: + if yyr96 || yy2arr96 { + if yyn115 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[16] { + if yyq96[16] { if x.DownwardAPI == nil { r.EncodeNil() } else { @@ -1708,11 +1708,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[16] { + if yyq96[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("downwardAPI")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn51 { + if yyn115 { r.EncodeNil() } else { if x.DownwardAPI == nil { @@ -1723,18 +1723,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn54 bool + var yyn116 bool if x.VolumeSource.FC == nil { - yyn54 = true - goto LABEL54 + yyn116 = true + goto LABEL116 } - LABEL54: - if yyr2 || yy2arr2 { - if yyn54 { + LABEL116: + if yyr96 || yy2arr96 { + if yyn116 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[17] { + if yyq96[17] { if x.FC == nil { r.EncodeNil() } else { @@ -1745,11 +1745,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[17] { + if yyq96[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn54 { + if yyn116 { r.EncodeNil() } else { if x.FC == nil { @@ -1760,18 +1760,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn57 bool + var yyn117 bool if x.VolumeSource.AzureFile == nil { - yyn57 = true - goto LABEL57 + yyn117 = true + goto LABEL117 } - LABEL57: - if yyr2 || yy2arr2 { - if yyn57 { + LABEL117: + if yyr96 || yy2arr96 { + if yyn117 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[18] { + if yyq96[18] { if x.AzureFile == nil { r.EncodeNil() } else { @@ -1782,11 +1782,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[18] { + if yyq96[18] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("azureFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn57 { + if yyn117 { r.EncodeNil() } else { if x.AzureFile == nil { @@ -1797,18 +1797,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn60 bool + var yyn118 bool if x.VolumeSource.ConfigMap == nil { - yyn60 = true - goto LABEL60 + yyn118 = true + goto LABEL118 } - LABEL60: - if yyr2 || yy2arr2 { - if yyn60 { + LABEL118: + if yyr96 || yy2arr96 { + if yyn118 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[19] { + if yyq96[19] { if x.ConfigMap == nil { r.EncodeNil() } else { @@ -1819,11 +1819,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[19] { + if yyq96[19] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configMap")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn60 { + if yyn118 { r.EncodeNil() } else { if x.ConfigMap == nil { @@ -1834,18 +1834,18 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn63 bool + var yyn119 bool if x.VolumeSource.VsphereVolume == nil { - yyn63 = true - goto LABEL63 + yyn119 = true + goto LABEL119 } - LABEL63: - if yyr2 || yy2arr2 { - if yyn63 { + LABEL119: + if yyr96 || yy2arr96 { + if yyn119 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[20] { + if yyq96[20] { if x.VsphereVolume == nil { r.EncodeNil() } else { @@ -1856,11 +1856,11 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[20] { + if yyq96[20] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("vsphereVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn63 { + if yyn119 { r.EncodeNil() } else { if x.VsphereVolume == nil { @@ -1871,7 +1871,7 @@ func (x *Volume) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr96 || yy2arr96 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1884,25 +1884,25 @@ func (x *Volume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym120 := z.DecBinary() + _ = yym120 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct121 := r.ContainerType() + if yyct121 == codecSelferValueTypeMap1234 { + yyl121 := r.ReadMapStart() + if yyl121 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl121, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct121 == codecSelferValueTypeArray1234 { + yyl121 := r.ReadArrayStart() + if yyl121 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl121, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1914,12 +1914,12 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys122Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys122Slc + var yyhl122 bool = l >= 0 + for yyj122 := 0; ; yyj122++ { + if yyhl122 { + if yyj122 >= l { break } } else { @@ -1928,10 +1928,10 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys122Slc = r.DecodeBytes(yys122Slc, true, true) + yys122 := string(yys122Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys122 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -2219,9 +2219,9 @@ func (x *Volume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.VsphereVolume.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys122) + } // end switch yys122 + } // end for yyj122 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2229,16 +2229,16 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj25 int - var yyb25 bool - var yyhl25 bool = l >= 0 - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + var yyj144 int + var yyb144 bool + var yyhl144 bool = l >= 0 + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2251,13 +2251,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.HostPath == nil { x.VolumeSource.HostPath = new(HostPathVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2275,13 +2275,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.EmptyDir == nil { x.VolumeSource.EmptyDir = new(EmptyDirVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2299,13 +2299,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.GCEPersistentDisk == nil { x.VolumeSource.GCEPersistentDisk = new(GCEPersistentDiskVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2323,13 +2323,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.AWSElasticBlockStore == nil { x.VolumeSource.AWSElasticBlockStore = new(AWSElasticBlockStoreVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2347,13 +2347,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.GitRepo == nil { x.VolumeSource.GitRepo = new(GitRepoVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2371,13 +2371,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Secret == nil { x.VolumeSource.Secret = new(SecretVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2395,13 +2395,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.NFS == nil { x.VolumeSource.NFS = new(NFSVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2419,13 +2419,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.ISCSI == nil { x.VolumeSource.ISCSI = new(ISCSIVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2443,13 +2443,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Glusterfs == nil { x.VolumeSource.Glusterfs = new(GlusterfsVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2467,13 +2467,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.PersistentVolumeClaim == nil { x.VolumeSource.PersistentVolumeClaim = new(PersistentVolumeClaimVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2491,13 +2491,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.RBD == nil { x.VolumeSource.RBD = new(RBDVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2515,13 +2515,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.FlexVolume == nil { x.VolumeSource.FlexVolume = new(FlexVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2539,13 +2539,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Cinder == nil { x.VolumeSource.Cinder = new(CinderVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2563,13 +2563,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.CephFS == nil { x.VolumeSource.CephFS = new(CephFSVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2587,13 +2587,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.Flocker == nil { x.VolumeSource.Flocker = new(FlockerVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2611,13 +2611,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.DownwardAPI == nil { x.VolumeSource.DownwardAPI = new(DownwardAPIVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2635,13 +2635,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.FC == nil { x.VolumeSource.FC = new(FCVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2659,13 +2659,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.AzureFile == nil { x.VolumeSource.AzureFile = new(AzureFileVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2683,13 +2683,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.ConfigMap == nil { x.VolumeSource.ConfigMap = new(ConfigMapVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2707,13 +2707,13 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.VolumeSource.VsphereVolume == nil { x.VolumeSource.VsphereVolume = new(VsphereVirtualDiskVolumeSource) } - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2729,17 +2729,17 @@ func (x *Volume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.VsphereVolume.CodecDecodeSelf(d) } for { - yyj25++ - if yyhl25 { - yyb25 = yyj25 > l + yyj144++ + if yyhl144 { + yyb144 = yyj144 > l } else { - yyb25 = r.CheckBreak() + yyb144 = r.CheckBreak() } - if yyb25 { + if yyb144 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj25-1, "") + z.DecStructFieldNotFound(yyj144-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2751,52 +2751,52 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym166 := z.EncBinary() + _ = yym166 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [20]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.HostPath != nil - yyq2[1] = x.EmptyDir != nil - yyq2[2] = x.GCEPersistentDisk != nil - yyq2[3] = x.AWSElasticBlockStore != nil - yyq2[4] = x.GitRepo != nil - yyq2[5] = x.Secret != nil - yyq2[6] = x.NFS != nil - yyq2[7] = x.ISCSI != nil - yyq2[8] = x.Glusterfs != nil - yyq2[9] = x.PersistentVolumeClaim != nil - yyq2[10] = x.RBD != nil - yyq2[11] = x.FlexVolume != nil - yyq2[12] = x.Cinder != nil - yyq2[13] = x.CephFS != nil - yyq2[14] = x.Flocker != nil - yyq2[15] = x.DownwardAPI != nil - yyq2[16] = x.FC != nil - yyq2[17] = x.AzureFile != nil - yyq2[18] = x.ConfigMap != nil - yyq2[19] = x.VsphereVolume != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep167 := !z.EncBinary() + yy2arr167 := z.EncBasicHandle().StructToArray + var yyq167 [20]bool + _, _, _ = yysep167, yyq167, yy2arr167 + const yyr167 bool = false + yyq167[0] = x.HostPath != nil + yyq167[1] = x.EmptyDir != nil + yyq167[2] = x.GCEPersistentDisk != nil + yyq167[3] = x.AWSElasticBlockStore != nil + yyq167[4] = x.GitRepo != nil + yyq167[5] = x.Secret != nil + yyq167[6] = x.NFS != nil + yyq167[7] = x.ISCSI != nil + yyq167[8] = x.Glusterfs != nil + yyq167[9] = x.PersistentVolumeClaim != nil + yyq167[10] = x.RBD != nil + yyq167[11] = x.FlexVolume != nil + yyq167[12] = x.Cinder != nil + yyq167[13] = x.CephFS != nil + yyq167[14] = x.Flocker != nil + yyq167[15] = x.DownwardAPI != nil + yyq167[16] = x.FC != nil + yyq167[17] = x.AzureFile != nil + yyq167[18] = x.ConfigMap != nil + yyq167[19] = x.VsphereVolume != nil + var yynn167 int + if yyr167 || yy2arr167 { r.EncodeArrayStart(20) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn167 = 0 + for _, b := range yyq167 { if b { - yynn2++ + yynn167++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn167) + yynn167 = 0 } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq167[0] { if x.HostPath == nil { r.EncodeNil() } else { @@ -2806,7 +2806,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq167[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2817,9 +2817,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq167[1] { if x.EmptyDir == nil { r.EncodeNil() } else { @@ -2829,7 +2829,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq167[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("emptyDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2840,9 +2840,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq167[2] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -2852,7 +2852,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq167[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2863,9 +2863,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq167[3] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -2875,7 +2875,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq167[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2886,9 +2886,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq167[4] { if x.GitRepo == nil { r.EncodeNil() } else { @@ -2898,7 +2898,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq167[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gitRepo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2909,9 +2909,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq167[5] { if x.Secret == nil { r.EncodeNil() } else { @@ -2921,7 +2921,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[5] { + if yyq167[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secret")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2932,9 +2932,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq167[6] { if x.NFS == nil { r.EncodeNil() } else { @@ -2944,7 +2944,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[6] { + if yyq167[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2955,9 +2955,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq167[7] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -2967,7 +2967,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[7] { + if yyq167[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2978,9 +2978,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { + if yyq167[8] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -2990,7 +2990,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[8] { + if yyq167[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3001,9 +3001,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { + if yyq167[9] { if x.PersistentVolumeClaim == nil { r.EncodeNil() } else { @@ -3013,7 +3013,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[9] { + if yyq167[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeClaim")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3024,9 +3024,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { + if yyq167[10] { if x.RBD == nil { r.EncodeNil() } else { @@ -3036,7 +3036,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[10] { + if yyq167[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3047,9 +3047,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { + if yyq167[11] { if x.FlexVolume == nil { r.EncodeNil() } else { @@ -3059,7 +3059,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[11] { + if yyq167[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3070,9 +3070,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { + if yyq167[12] { if x.Cinder == nil { r.EncodeNil() } else { @@ -3082,7 +3082,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[12] { + if yyq167[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3093,9 +3093,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { + if yyq167[13] { if x.CephFS == nil { r.EncodeNil() } else { @@ -3105,7 +3105,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[13] { + if yyq167[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3116,9 +3116,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[14] { + if yyq167[14] { if x.Flocker == nil { r.EncodeNil() } else { @@ -3128,7 +3128,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[14] { + if yyq167[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3139,9 +3139,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[15] { + if yyq167[15] { if x.DownwardAPI == nil { r.EncodeNil() } else { @@ -3151,7 +3151,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[15] { + if yyq167[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("downwardAPI")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3162,9 +3162,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[16] { + if yyq167[16] { if x.FC == nil { r.EncodeNil() } else { @@ -3174,7 +3174,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[16] { + if yyq167[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3185,9 +3185,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[17] { + if yyq167[17] { if x.AzureFile == nil { r.EncodeNil() } else { @@ -3197,7 +3197,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[17] { + if yyq167[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("azureFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3208,9 +3208,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[18] { + if yyq167[18] { if x.ConfigMap == nil { r.EncodeNil() } else { @@ -3220,7 +3220,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[18] { + if yyq167[18] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configMap")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3231,9 +3231,9 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[19] { + if yyq167[19] { if x.VsphereVolume == nil { r.EncodeNil() } else { @@ -3243,7 +3243,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[19] { + if yyq167[19] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("vsphereVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3254,7 +3254,7 @@ func (x *VolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr167 || yy2arr167 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3267,25 +3267,25 @@ func (x *VolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym188 := z.DecBinary() + _ = yym188 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct189 := r.ContainerType() + if yyct189 == codecSelferValueTypeMap1234 { + yyl189 := r.ReadMapStart() + if yyl189 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl189, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct189 == codecSelferValueTypeArray1234 { + yyl189 := r.ReadArrayStart() + if yyl189 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl189, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3297,12 +3297,12 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys190Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys190Slc + var yyhl190 bool = l >= 0 + for yyj190 := 0; ; yyj190++ { + if yyhl190 { + if yyj190 >= l { break } } else { @@ -3311,10 +3311,10 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys190Slc = r.DecodeBytes(yys190Slc, true, true) + yys190 := string(yys190Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys190 { case "hostPath": if r.TryDecodeAsNil() { if x.HostPath != nil { @@ -3536,9 +3536,9 @@ func (x *VolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.VsphereVolume.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys190) + } // end switch yys190 + } // end for yyj190 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3546,16 +3546,16 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj24 int - var yyb24 bool - var yyhl24 bool = l >= 0 - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + var yyj211 int + var yyb211 bool + var yyhl211 bool = l >= 0 + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3570,13 +3570,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HostPath.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3591,13 +3591,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.EmptyDir.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3612,13 +3612,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.GCEPersistentDisk.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3633,13 +3633,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.AWSElasticBlockStore.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3654,13 +3654,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.GitRepo.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3675,13 +3675,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Secret.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3696,13 +3696,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.NFS.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3717,13 +3717,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ISCSI.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3738,13 +3738,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Glusterfs.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3759,13 +3759,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PersistentVolumeClaim.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3780,13 +3780,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RBD.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3801,13 +3801,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FlexVolume.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3822,13 +3822,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Cinder.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3843,13 +3843,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.CephFS.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3864,13 +3864,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Flocker.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3885,13 +3885,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.DownwardAPI.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3906,13 +3906,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FC.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3927,13 +3927,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.AzureFile.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3948,13 +3948,13 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ConfigMap.CodecDecodeSelf(d) } - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3970,17 +3970,17 @@ func (x *VolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.VsphereVolume.CodecDecodeSelf(d) } for { - yyj24++ - if yyhl24 { - yyb24 = yyj24 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb24 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb24 { + if yyb211 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj24-1, "") + z.DecStructFieldNotFound(yyj211-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3992,34 +3992,34 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym232 := z.EncBinary() + _ = yym232 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep233 := !z.EncBinary() + yy2arr233 := z.EncBasicHandle().StructToArray + var yyq233 [2]bool + _, _, _ = yysep233, yyq233, yy2arr233 + const yyr233 bool = false + yyq233[1] = x.ReadOnly != false + var yynn233 int + if yyr233 || yy2arr233 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn233 = 1 + for _, b := range yyq233 { if b { - yynn2++ + yynn233++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn233) + yynn233 = 0 } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym235 := z.EncBinary() + _ = yym235 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClaimName)) @@ -4028,18 +4028,18 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("claimName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym236 := z.EncBinary() + _ = yym236 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClaimName)) } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq233[1] { + yym238 := z.EncBinary() + _ = yym238 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -4048,19 +4048,19 @@ func (x *PersistentVolumeClaimVolumeSource) CodecEncodeSelf(e *codec1978.Encoder r.EncodeBool(false) } } else { - if yyq2[1] { + if yyq233[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym239 := z.EncBinary() + _ = yym239 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr233 || yy2arr233 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4073,25 +4073,25 @@ func (x *PersistentVolumeClaimVolumeSource) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym240 := z.DecBinary() + _ = yym240 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct241 := r.ContainerType() + if yyct241 == codecSelferValueTypeMap1234 { + yyl241 := r.ReadMapStart() + if yyl241 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl241, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct241 == codecSelferValueTypeArray1234 { + yyl241 := r.ReadArrayStart() + if yyl241 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl241, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4103,12 +4103,12 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys242Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys242Slc + var yyhl242 bool = l >= 0 + for yyj242 := 0; ; yyj242++ { + if yyhl242 { + if yyj242 >= l { break } } else { @@ -4117,10 +4117,10 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys242Slc = r.DecodeBytes(yys242Slc, true, true) + yys242 := string(yys242Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys242 { case "claimName": if r.TryDecodeAsNil() { x.ClaimName = "" @@ -4134,9 +4134,9 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromMap(l int, d *cod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys242) + } // end switch yys242 + } // end for yyj242 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4144,16 +4144,16 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj245 int + var yyb245 bool + var yyhl245 bool = l >= 0 + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb6 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb6 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4163,13 +4163,13 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c } else { x.ClaimName = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb6 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb6 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4180,17 +4180,17 @@ func (x *PersistentVolumeClaimVolumeSource) codecDecodeSelfFromArray(l int, d *c x.ReadOnly = bool(r.DecodeBool()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb6 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb6 { + if yyb245 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj245-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4202,46 +4202,46 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym248 := z.EncBinary() + _ = yym248 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [14]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.GCEPersistentDisk != nil - yyq2[1] = x.AWSElasticBlockStore != nil - yyq2[2] = x.HostPath != nil - yyq2[3] = x.Glusterfs != nil - yyq2[4] = x.NFS != nil - yyq2[5] = x.RBD != nil - yyq2[6] = x.ISCSI != nil - yyq2[7] = x.Cinder != nil - yyq2[8] = x.CephFS != nil - yyq2[9] = x.FC != nil - yyq2[10] = x.Flocker != nil - yyq2[11] = x.FlexVolume != nil - yyq2[12] = x.AzureFile != nil - yyq2[13] = x.VsphereVolume != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep249 := !z.EncBinary() + yy2arr249 := z.EncBasicHandle().StructToArray + var yyq249 [14]bool + _, _, _ = yysep249, yyq249, yy2arr249 + const yyr249 bool = false + yyq249[0] = x.GCEPersistentDisk != nil + yyq249[1] = x.AWSElasticBlockStore != nil + yyq249[2] = x.HostPath != nil + yyq249[3] = x.Glusterfs != nil + yyq249[4] = x.NFS != nil + yyq249[5] = x.RBD != nil + yyq249[6] = x.ISCSI != nil + yyq249[7] = x.Cinder != nil + yyq249[8] = x.CephFS != nil + yyq249[9] = x.FC != nil + yyq249[10] = x.Flocker != nil + yyq249[11] = x.FlexVolume != nil + yyq249[12] = x.AzureFile != nil + yyq249[13] = x.VsphereVolume != nil + var yynn249 int + if yyr249 || yy2arr249 { r.EncodeArrayStart(14) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn249 = 0 + for _, b := range yyq249 { if b { - yynn2++ + yynn249++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn249) + yynn249 = 0 } - if yyr2 || yy2arr2 { + if yyr249 || yy2arr249 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq249[0] { if x.GCEPersistentDisk == nil { r.EncodeNil() } else { @@ -4251,7 +4251,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq249[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4262,9 +4262,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr249 || yy2arr249 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq249[1] { if x.AWSElasticBlockStore == nil { r.EncodeNil() } else { @@ -4274,7 +4274,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq249[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4285,9 +4285,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr249 || yy2arr249 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq249[2] { if x.HostPath == nil { r.EncodeNil() } else { @@ -4297,7 +4297,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq249[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4308,9 +4308,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr249 || yy2arr249 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq249[3] { if x.Glusterfs == nil { r.EncodeNil() } else { @@ -4320,7 +4320,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq249[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4331,9 +4331,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr249 || yy2arr249 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq249[4] { if x.NFS == nil { r.EncodeNil() } else { @@ -4343,7 +4343,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq249[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4354,9 +4354,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr249 || yy2arr249 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq249[5] { if x.RBD == nil { r.EncodeNil() } else { @@ -4366,7 +4366,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[5] { + if yyq249[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rbd")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4377,9 +4377,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr249 || yy2arr249 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq249[6] { if x.ISCSI == nil { r.EncodeNil() } else { @@ -4389,7 +4389,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[6] { + if yyq249[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsi")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4400,9 +4400,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr249 || yy2arr249 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq249[7] { if x.Cinder == nil { r.EncodeNil() } else { @@ -4412,7 +4412,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[7] { + if yyq249[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cinder")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4423,9 +4423,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr249 || yy2arr249 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { + if yyq249[8] { if x.CephFS == nil { r.EncodeNil() } else { @@ -4435,7 +4435,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[8] { + if yyq249[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cephfs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4446,9 +4446,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr249 || yy2arr249 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { + if yyq249[9] { if x.FC == nil { r.EncodeNil() } else { @@ -4458,7 +4458,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[9] { + if yyq249[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fc")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4469,9 +4469,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr249 || yy2arr249 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { + if yyq249[10] { if x.Flocker == nil { r.EncodeNil() } else { @@ -4481,7 +4481,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[10] { + if yyq249[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flocker")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4492,9 +4492,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr249 || yy2arr249 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { + if yyq249[11] { if x.FlexVolume == nil { r.EncodeNil() } else { @@ -4504,7 +4504,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[11] { + if yyq249[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4515,9 +4515,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr249 || yy2arr249 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { + if yyq249[12] { if x.AzureFile == nil { r.EncodeNil() } else { @@ -4527,7 +4527,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[12] { + if yyq249[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("azureFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4538,9 +4538,9 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr249 || yy2arr249 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { + if yyq249[13] { if x.VsphereVolume == nil { r.EncodeNil() } else { @@ -4550,7 +4550,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[13] { + if yyq249[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("vsphereVolume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4561,7 +4561,7 @@ func (x *PersistentVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr249 || yy2arr249 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4574,25 +4574,25 @@ func (x *PersistentVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym264 := z.DecBinary() + _ = yym264 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct265 := r.ContainerType() + if yyct265 == codecSelferValueTypeMap1234 { + yyl265 := r.ReadMapStart() + if yyl265 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl265, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct265 == codecSelferValueTypeArray1234 { + yyl265 := r.ReadArrayStart() + if yyl265 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl265, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4604,12 +4604,12 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys266Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys266Slc + var yyhl266 bool = l >= 0 + for yyj266 := 0; ; yyj266++ { + if yyhl266 { + if yyj266 >= l { break } } else { @@ -4618,10 +4618,10 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys266Slc = r.DecodeBytes(yys266Slc, true, true) + yys266 := string(yys266Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys266 { case "gcePersistentDisk": if r.TryDecodeAsNil() { if x.GCEPersistentDisk != nil { @@ -4777,9 +4777,9 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.VsphereVolume.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys266) + } // end switch yys266 + } // end for yyj266 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4787,16 +4787,16 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj18 int - var yyb18 bool - var yyhl18 bool = l >= 0 - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + var yyj281 int + var yyb281 bool + var yyhl281 bool = l >= 0 + yyj281++ + if yyhl281 { + yyb281 = yyj281 > l } else { - yyb18 = r.CheckBreak() + yyb281 = r.CheckBreak() } - if yyb18 { + if yyb281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4811,13 +4811,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.GCEPersistentDisk.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj281++ + if yyhl281 { + yyb281 = yyj281 > l } else { - yyb18 = r.CheckBreak() + yyb281 = r.CheckBreak() } - if yyb18 { + if yyb281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4832,13 +4832,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.AWSElasticBlockStore.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj281++ + if yyhl281 { + yyb281 = yyj281 > l } else { - yyb18 = r.CheckBreak() + yyb281 = r.CheckBreak() } - if yyb18 { + if yyb281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4853,13 +4853,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.HostPath.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj281++ + if yyhl281 { + yyb281 = yyj281 > l } else { - yyb18 = r.CheckBreak() + yyb281 = r.CheckBreak() } - if yyb18 { + if yyb281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4874,13 +4874,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Glusterfs.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj281++ + if yyhl281 { + yyb281 = yyj281 > l } else { - yyb18 = r.CheckBreak() + yyb281 = r.CheckBreak() } - if yyb18 { + if yyb281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4895,13 +4895,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.NFS.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj281++ + if yyhl281 { + yyb281 = yyj281 > l } else { - yyb18 = r.CheckBreak() + yyb281 = r.CheckBreak() } - if yyb18 { + if yyb281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4916,13 +4916,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.RBD.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj281++ + if yyhl281 { + yyb281 = yyj281 > l } else { - yyb18 = r.CheckBreak() + yyb281 = r.CheckBreak() } - if yyb18 { + if yyb281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4937,13 +4937,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.ISCSI.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj281++ + if yyhl281 { + yyb281 = yyj281 > l } else { - yyb18 = r.CheckBreak() + yyb281 = r.CheckBreak() } - if yyb18 { + if yyb281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4958,13 +4958,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Cinder.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj281++ + if yyhl281 { + yyb281 = yyj281 > l } else { - yyb18 = r.CheckBreak() + yyb281 = r.CheckBreak() } - if yyb18 { + if yyb281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4979,13 +4979,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.CephFS.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj281++ + if yyhl281 { + yyb281 = yyj281 > l } else { - yyb18 = r.CheckBreak() + yyb281 = r.CheckBreak() } - if yyb18 { + if yyb281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5000,13 +5000,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.FC.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj281++ + if yyhl281 { + yyb281 = yyj281 > l } else { - yyb18 = r.CheckBreak() + yyb281 = r.CheckBreak() } - if yyb18 { + if yyb281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5021,13 +5021,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.Flocker.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj281++ + if yyhl281 { + yyb281 = yyj281 > l } else { - yyb18 = r.CheckBreak() + yyb281 = r.CheckBreak() } - if yyb18 { + if yyb281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5042,13 +5042,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.FlexVolume.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj281++ + if yyhl281 { + yyb281 = yyj281 > l } else { - yyb18 = r.CheckBreak() + yyb281 = r.CheckBreak() } - if yyb18 { + if yyb281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5063,13 +5063,13 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De } x.AzureFile.CodecDecodeSelf(d) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj281++ + if yyhl281 { + yyb281 = yyj281 > l } else { - yyb18 = r.CheckBreak() + yyb281 = r.CheckBreak() } - if yyb18 { + if yyb281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5085,17 +5085,17 @@ func (x *PersistentVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.De x.VsphereVolume.CodecDecodeSelf(d) } for { - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj281++ + if yyhl281 { + yyb281 = yyj281 > l } else { - yyb18 = r.CheckBreak() + yyb281 = r.CheckBreak() } - if yyb18 { + if yyb281 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj18-1, "") + z.DecStructFieldNotFound(yyj281-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5107,90 +5107,39 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym296 := z.EncBinary() + _ = yym296 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep297 := !z.EncBinary() + yy2arr297 := z.EncBasicHandle().StructToArray + var yyq297 [5]bool + _, _, _ = yysep297, yyq297, yy2arr297 + const yyr297 bool = false + yyq297[0] = x.Kind != "" + yyq297[1] = x.APIVersion != "" + yyq297[2] = true + yyq297[3] = true + yyq297[4] = true + var yynn297 int + if yyr297 || yy2arr297 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn297 = 0 + for _, b := range yyq297 { if b { - yynn2++ + yynn297++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn297) + yynn297 = 0 } - if yyr2 || yy2arr2 { + if yyr297 || yy2arr297 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq297[0] { + yym299 := z.EncBinary() + _ = yym299 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -5199,23 +5148,23 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq297[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym300 := z.EncBinary() + _ = yym300 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr297 || yy2arr297 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq297[1] { + yym302 := z.EncBinary() + _ = yym302 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -5224,19 +5173,70 @@ func (x *PersistentVolume) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq297[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym303 := z.EncBinary() + _ = yym303 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr297 || yy2arr297 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq297[2] { + yy305 := &x.ObjectMeta + yy305.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq297[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy306 := &x.ObjectMeta + yy306.CodecEncodeSelf(e) + } + } + if yyr297 || yy2arr297 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq297[3] { + yy308 := &x.Spec + yy308.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq297[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy309 := &x.Spec + yy309.CodecEncodeSelf(e) + } + } + if yyr297 || yy2arr297 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq297[4] { + yy311 := &x.Status + yy311.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq297[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy312 := &x.Status + yy312.CodecEncodeSelf(e) + } + } + if yyr297 || yy2arr297 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5249,25 +5249,25 @@ func (x *PersistentVolume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym313 := z.DecBinary() + _ = yym313 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct314 := r.ContainerType() + if yyct314 == codecSelferValueTypeMap1234 { + yyl314 := r.ReadMapStart() + if yyl314 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl314, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct314 == codecSelferValueTypeArray1234 { + yyl314 := r.ReadArrayStart() + if yyl314 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl314, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5279,12 +5279,12 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys315Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys315Slc + var yyhl315 bool = l >= 0 + for yyj315 := 0; ; yyj315++ { + if yyhl315 { + if yyj315 >= l { break } } else { @@ -5293,31 +5293,10 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys315Slc = r.DecodeBytes(yys315Slc, true, true) + yys315 := string(yys315Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = PersistentVolumeSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = PersistentVolumeStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys315 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -5330,10 +5309,31 @@ func (x *PersistentVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv318 := &x.ObjectMeta + yyv318.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = PersistentVolumeSpec{} + } else { + yyv319 := &x.Spec + yyv319.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = PersistentVolumeStatus{} + } else { + yyv320 := &x.Status + yyv320.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys315) + } // end switch yys315 + } // end for yyj315 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5341,67 +5341,16 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj321 int + var yyb321 bool + var yyhl321 bool = l >= 0 + yyj321++ + if yyhl321 { + yyb321 = yyj321 > l } else { - yyb9 = r.CheckBreak() + yyb321 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = PersistentVolumeSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = PersistentVolumeStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5411,13 +5360,13 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj321++ + if yyhl321 { + yyb321 = yyj321 > l } else { - yyb9 = r.CheckBreak() + yyb321 = r.CheckBreak() } - if yyb9 { + if yyb321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5427,18 +5376,69 @@ func (x *PersistentVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + yyj321++ + if yyhl321 { + yyb321 = yyj321 > l + } else { + yyb321 = r.CheckBreak() + } + if yyb321 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv324 := &x.ObjectMeta + yyv324.CodecDecodeSelf(d) + } + yyj321++ + if yyhl321 { + yyb321 = yyj321 > l + } else { + yyb321 = r.CheckBreak() + } + if yyb321 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = PersistentVolumeSpec{} + } else { + yyv325 := &x.Spec + yyv325.CodecDecodeSelf(d) + } + yyj321++ + if yyhl321 { + yyb321 = yyj321 > l + } else { + yyb321 = r.CheckBreak() + } + if yyb321 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = PersistentVolumeStatus{} + } else { + yyv326 := &x.Status + yyv326.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj321++ + if yyhl321 { + yyb321 = yyj321 > l } else { - yyb9 = r.CheckBreak() + yyb321 = r.CheckBreak() } - if yyb9 { + if yyb321 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj321-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5450,50 +5450,50 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym327 := z.EncBinary() + _ = yym327 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [18]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Capacity) != 0 - yyq2[1] = len(x.AccessModes) != 0 - yyq2[2] = x.ClaimRef != nil - yyq2[3] = x.PersistentVolumeReclaimPolicy != "" - yyq2[4] = x.PersistentVolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil - yyq2[5] = x.PersistentVolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil - yyq2[6] = x.PersistentVolumeSource.HostPath != nil && x.HostPath != nil - yyq2[7] = x.PersistentVolumeSource.Glusterfs != nil && x.Glusterfs != nil - yyq2[8] = x.PersistentVolumeSource.NFS != nil && x.NFS != nil - yyq2[9] = x.PersistentVolumeSource.RBD != nil && x.RBD != nil - yyq2[10] = x.PersistentVolumeSource.ISCSI != nil && x.ISCSI != nil - yyq2[11] = x.PersistentVolumeSource.Cinder != nil && x.Cinder != nil - yyq2[12] = x.PersistentVolumeSource.CephFS != nil && x.CephFS != nil - yyq2[13] = x.PersistentVolumeSource.FC != nil && x.FC != nil - yyq2[14] = x.PersistentVolumeSource.Flocker != nil && x.Flocker != nil - yyq2[15] = x.PersistentVolumeSource.FlexVolume != nil && x.FlexVolume != nil - yyq2[16] = x.PersistentVolumeSource.AzureFile != nil && x.AzureFile != nil - yyq2[17] = x.PersistentVolumeSource.VsphereVolume != nil && x.VsphereVolume != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep328 := !z.EncBinary() + yy2arr328 := z.EncBasicHandle().StructToArray + var yyq328 [18]bool + _, _, _ = yysep328, yyq328, yy2arr328 + const yyr328 bool = false + yyq328[0] = len(x.Capacity) != 0 + yyq328[1] = x.PersistentVolumeSource.GCEPersistentDisk != nil && x.GCEPersistentDisk != nil + yyq328[2] = x.PersistentVolumeSource.AWSElasticBlockStore != nil && x.AWSElasticBlockStore != nil + yyq328[3] = x.PersistentVolumeSource.HostPath != nil && x.HostPath != nil + yyq328[4] = x.PersistentVolumeSource.Glusterfs != nil && x.Glusterfs != nil + yyq328[5] = x.PersistentVolumeSource.NFS != nil && x.NFS != nil + yyq328[6] = x.PersistentVolumeSource.RBD != nil && x.RBD != nil + yyq328[7] = x.PersistentVolumeSource.ISCSI != nil && x.ISCSI != nil + yyq328[8] = x.PersistentVolumeSource.Cinder != nil && x.Cinder != nil + yyq328[9] = x.PersistentVolumeSource.CephFS != nil && x.CephFS != nil + yyq328[10] = x.PersistentVolumeSource.FC != nil && x.FC != nil + yyq328[11] = x.PersistentVolumeSource.Flocker != nil && x.Flocker != nil + yyq328[12] = x.PersistentVolumeSource.FlexVolume != nil && x.FlexVolume != nil + yyq328[13] = x.PersistentVolumeSource.AzureFile != nil && x.AzureFile != nil + yyq328[14] = x.PersistentVolumeSource.VsphereVolume != nil && x.VsphereVolume != nil + yyq328[15] = len(x.AccessModes) != 0 + yyq328[16] = x.ClaimRef != nil + yyq328[17] = x.PersistentVolumeReclaimPolicy != "" + var yynn328 int + if yyr328 || yy2arr328 { r.EncodeArrayStart(18) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn328 = 0 + for _, b := range yyq328 { if b { - yynn2++ + yynn328++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn328) + yynn328 = 0 } - if yyr2 || yy2arr2 { + if yyr328 || yy2arr328 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq328[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -5503,7 +5503,7 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq328[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -5514,14 +5514,532 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + var yyn330 bool + if x.PersistentVolumeSource.GCEPersistentDisk == nil { + yyn330 = true + goto LABEL330 + } + LABEL330: + if yyr328 || yy2arr328 { + if yyn330 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[1] { + if x.GCEPersistentDisk == nil { + r.EncodeNil() + } else { + x.GCEPersistentDisk.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn330 { + r.EncodeNil() + } else { + if x.GCEPersistentDisk == nil { + r.EncodeNil() + } else { + x.GCEPersistentDisk.CodecEncodeSelf(e) + } + } + } + } + var yyn331 bool + if x.PersistentVolumeSource.AWSElasticBlockStore == nil { + yyn331 = true + goto LABEL331 + } + LABEL331: + if yyr328 || yy2arr328 { + if yyn331 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[2] { + if x.AWSElasticBlockStore == nil { + r.EncodeNil() + } else { + x.AWSElasticBlockStore.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn331 { + r.EncodeNil() + } else { + if x.AWSElasticBlockStore == nil { + r.EncodeNil() + } else { + x.AWSElasticBlockStore.CodecEncodeSelf(e) + } + } + } + } + var yyn332 bool + if x.PersistentVolumeSource.HostPath == nil { + yyn332 = true + goto LABEL332 + } + LABEL332: + if yyr328 || yy2arr328 { + if yyn332 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[3] { + if x.HostPath == nil { + r.EncodeNil() + } else { + x.HostPath.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hostPath")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn332 { + r.EncodeNil() + } else { + if x.HostPath == nil { + r.EncodeNil() + } else { + x.HostPath.CodecEncodeSelf(e) + } + } + } + } + var yyn333 bool + if x.PersistentVolumeSource.Glusterfs == nil { + yyn333 = true + goto LABEL333 + } + LABEL333: + if yyr328 || yy2arr328 { + if yyn333 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[4] { + if x.Glusterfs == nil { + r.EncodeNil() + } else { + x.Glusterfs.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn333 { + r.EncodeNil() + } else { + if x.Glusterfs == nil { + r.EncodeNil() + } else { + x.Glusterfs.CodecEncodeSelf(e) + } + } + } + } + var yyn334 bool + if x.PersistentVolumeSource.NFS == nil { + yyn334 = true + goto LABEL334 + } + LABEL334: + if yyr328 || yy2arr328 { + if yyn334 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[5] { + if x.NFS == nil { + r.EncodeNil() + } else { + x.NFS.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn334 { + r.EncodeNil() + } else { + if x.NFS == nil { + r.EncodeNil() + } else { + x.NFS.CodecEncodeSelf(e) + } + } + } + } + var yyn335 bool + if x.PersistentVolumeSource.RBD == nil { + yyn335 = true + goto LABEL335 + } + LABEL335: + if yyr328 || yy2arr328 { + if yyn335 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[6] { + if x.RBD == nil { + r.EncodeNil() + } else { + x.RBD.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("rbd")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn335 { + r.EncodeNil() + } else { + if x.RBD == nil { + r.EncodeNil() + } else { + x.RBD.CodecEncodeSelf(e) + } + } + } + } + var yyn336 bool + if x.PersistentVolumeSource.ISCSI == nil { + yyn336 = true + goto LABEL336 + } + LABEL336: + if yyr328 || yy2arr328 { + if yyn336 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[7] { + if x.ISCSI == nil { + r.EncodeNil() + } else { + x.ISCSI.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[7] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("iscsi")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn336 { + r.EncodeNil() + } else { + if x.ISCSI == nil { + r.EncodeNil() + } else { + x.ISCSI.CodecEncodeSelf(e) + } + } + } + } + var yyn337 bool + if x.PersistentVolumeSource.Cinder == nil { + yyn337 = true + goto LABEL337 + } + LABEL337: + if yyr328 || yy2arr328 { + if yyn337 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[8] { + if x.Cinder == nil { + r.EncodeNil() + } else { + x.Cinder.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[8] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cinder")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn337 { + r.EncodeNil() + } else { + if x.Cinder == nil { + r.EncodeNil() + } else { + x.Cinder.CodecEncodeSelf(e) + } + } + } + } + var yyn338 bool + if x.PersistentVolumeSource.CephFS == nil { + yyn338 = true + goto LABEL338 + } + LABEL338: + if yyr328 || yy2arr328 { + if yyn338 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[9] { + if x.CephFS == nil { + r.EncodeNil() + } else { + x.CephFS.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[9] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cephfs")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn338 { + r.EncodeNil() + } else { + if x.CephFS == nil { + r.EncodeNil() + } else { + x.CephFS.CodecEncodeSelf(e) + } + } + } + } + var yyn339 bool + if x.PersistentVolumeSource.FC == nil { + yyn339 = true + goto LABEL339 + } + LABEL339: + if yyr328 || yy2arr328 { + if yyn339 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[10] { + if x.FC == nil { + r.EncodeNil() + } else { + x.FC.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[10] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("fc")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn339 { + r.EncodeNil() + } else { + if x.FC == nil { + r.EncodeNil() + } else { + x.FC.CodecEncodeSelf(e) + } + } + } + } + var yyn340 bool + if x.PersistentVolumeSource.Flocker == nil { + yyn340 = true + goto LABEL340 + } + LABEL340: + if yyr328 || yy2arr328 { + if yyn340 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[11] { + if x.Flocker == nil { + r.EncodeNil() + } else { + x.Flocker.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[11] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("flocker")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn340 { + r.EncodeNil() + } else { + if x.Flocker == nil { + r.EncodeNil() + } else { + x.Flocker.CodecEncodeSelf(e) + } + } + } + } + var yyn341 bool + if x.PersistentVolumeSource.FlexVolume == nil { + yyn341 = true + goto LABEL341 + } + LABEL341: + if yyr328 || yy2arr328 { + if yyn341 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[12] { + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[12] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn341 { + r.EncodeNil() + } else { + if x.FlexVolume == nil { + r.EncodeNil() + } else { + x.FlexVolume.CodecEncodeSelf(e) + } + } + } + } + var yyn342 bool + if x.PersistentVolumeSource.AzureFile == nil { + yyn342 = true + goto LABEL342 + } + LABEL342: + if yyr328 || yy2arr328 { + if yyn342 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[13] { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[13] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("azureFile")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn342 { + r.EncodeNil() + } else { + if x.AzureFile == nil { + r.EncodeNil() + } else { + x.AzureFile.CodecEncodeSelf(e) + } + } + } + } + var yyn343 bool + if x.PersistentVolumeSource.VsphereVolume == nil { + yyn343 = true + goto LABEL343 + } + LABEL343: + if yyr328 || yy2arr328 { + if yyn343 { + r.EncodeNil() + } else { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq328[14] { + if x.VsphereVolume == nil { + r.EncodeNil() + } else { + x.VsphereVolume.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } + } else { + if yyq328[14] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("vsphereVolume")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyn343 { + r.EncodeNil() + } else { + if x.VsphereVolume == nil { + r.EncodeNil() + } else { + x.VsphereVolume.CodecEncodeSelf(e) + } + } + } + } + if yyr328 || yy2arr328 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq328[15] { if x.AccessModes == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym345 := z.EncBinary() + _ = yym345 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -5531,15 +6049,15 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq328[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym346 := z.EncBinary() + _ = yym346 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -5547,9 +6065,9 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr328 || yy2arr328 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq328[16] { if x.ClaimRef == nil { r.EncodeNil() } else { @@ -5559,7 +6077,7 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq328[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("claimRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -5570,540 +6088,22 @@ func (x *PersistentVolumeSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr328 || yy2arr328 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq328[17] { x.PersistentVolumeReclaimPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq328[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persistentVolumeReclaimPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.PersistentVolumeReclaimPolicy.CodecEncodeSelf(e) } } - var yyn15 bool - if x.PersistentVolumeSource.GCEPersistentDisk == nil { - yyn15 = true - goto LABEL15 - } - LABEL15: - if yyr2 || yy2arr2 { - if yyn15 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - if x.GCEPersistentDisk == nil { - r.EncodeNil() - } else { - x.GCEPersistentDisk.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("gcePersistentDisk")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn15 { - r.EncodeNil() - } else { - if x.GCEPersistentDisk == nil { - r.EncodeNil() - } else { - x.GCEPersistentDisk.CodecEncodeSelf(e) - } - } - } - } - var yyn18 bool - if x.PersistentVolumeSource.AWSElasticBlockStore == nil { - yyn18 = true - goto LABEL18 - } - LABEL18: - if yyr2 || yy2arr2 { - if yyn18 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - if x.AWSElasticBlockStore == nil { - r.EncodeNil() - } else { - x.AWSElasticBlockStore.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("awsElasticBlockStore")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn18 { - r.EncodeNil() - } else { - if x.AWSElasticBlockStore == nil { - r.EncodeNil() - } else { - x.AWSElasticBlockStore.CodecEncodeSelf(e) - } - } - } - } - var yyn21 bool - if x.PersistentVolumeSource.HostPath == nil { - yyn21 = true - goto LABEL21 - } - LABEL21: - if yyr2 || yy2arr2 { - if yyn21 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - if x.HostPath == nil { - r.EncodeNil() - } else { - x.HostPath.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn21 { - r.EncodeNil() - } else { - if x.HostPath == nil { - r.EncodeNil() - } else { - x.HostPath.CodecEncodeSelf(e) - } - } - } - } - var yyn24 bool - if x.PersistentVolumeSource.Glusterfs == nil { - yyn24 = true - goto LABEL24 - } - LABEL24: - if yyr2 || yy2arr2 { - if yyn24 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - if x.Glusterfs == nil { - r.EncodeNil() - } else { - x.Glusterfs.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[7] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("glusterfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn24 { - r.EncodeNil() - } else { - if x.Glusterfs == nil { - r.EncodeNil() - } else { - x.Glusterfs.CodecEncodeSelf(e) - } - } - } - } - var yyn27 bool - if x.PersistentVolumeSource.NFS == nil { - yyn27 = true - goto LABEL27 - } - LABEL27: - if yyr2 || yy2arr2 { - if yyn27 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { - if x.NFS == nil { - r.EncodeNil() - } else { - x.NFS.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[8] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn27 { - r.EncodeNil() - } else { - if x.NFS == nil { - r.EncodeNil() - } else { - x.NFS.CodecEncodeSelf(e) - } - } - } - } - var yyn30 bool - if x.PersistentVolumeSource.RBD == nil { - yyn30 = true - goto LABEL30 - } - LABEL30: - if yyr2 || yy2arr2 { - if yyn30 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { - if x.RBD == nil { - r.EncodeNil() - } else { - x.RBD.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[9] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rbd")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn30 { - r.EncodeNil() - } else { - if x.RBD == nil { - r.EncodeNil() - } else { - x.RBD.CodecEncodeSelf(e) - } - } - } - } - var yyn33 bool - if x.PersistentVolumeSource.ISCSI == nil { - yyn33 = true - goto LABEL33 - } - LABEL33: - if yyr2 || yy2arr2 { - if yyn33 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { - if x.ISCSI == nil { - r.EncodeNil() - } else { - x.ISCSI.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[10] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("iscsi")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn33 { - r.EncodeNil() - } else { - if x.ISCSI == nil { - r.EncodeNil() - } else { - x.ISCSI.CodecEncodeSelf(e) - } - } - } - } - var yyn36 bool - if x.PersistentVolumeSource.Cinder == nil { - yyn36 = true - goto LABEL36 - } - LABEL36: - if yyr2 || yy2arr2 { - if yyn36 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { - if x.Cinder == nil { - r.EncodeNil() - } else { - x.Cinder.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[11] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cinder")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn36 { - r.EncodeNil() - } else { - if x.Cinder == nil { - r.EncodeNil() - } else { - x.Cinder.CodecEncodeSelf(e) - } - } - } - } - var yyn39 bool - if x.PersistentVolumeSource.CephFS == nil { - yyn39 = true - goto LABEL39 - } - LABEL39: - if yyr2 || yy2arr2 { - if yyn39 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { - if x.CephFS == nil { - r.EncodeNil() - } else { - x.CephFS.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[12] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cephfs")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn39 { - r.EncodeNil() - } else { - if x.CephFS == nil { - r.EncodeNil() - } else { - x.CephFS.CodecEncodeSelf(e) - } - } - } - } - var yyn42 bool - if x.PersistentVolumeSource.FC == nil { - yyn42 = true - goto LABEL42 - } - LABEL42: - if yyr2 || yy2arr2 { - if yyn42 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { - if x.FC == nil { - r.EncodeNil() - } else { - x.FC.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[13] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fc")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn42 { - r.EncodeNil() - } else { - if x.FC == nil { - r.EncodeNil() - } else { - x.FC.CodecEncodeSelf(e) - } - } - } - } - var yyn45 bool - if x.PersistentVolumeSource.Flocker == nil { - yyn45 = true - goto LABEL45 - } - LABEL45: - if yyr2 || yy2arr2 { - if yyn45 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[14] { - if x.Flocker == nil { - r.EncodeNil() - } else { - x.Flocker.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[14] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("flocker")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn45 { - r.EncodeNil() - } else { - if x.Flocker == nil { - r.EncodeNil() - } else { - x.Flocker.CodecEncodeSelf(e) - } - } - } - } - var yyn48 bool - if x.PersistentVolumeSource.FlexVolume == nil { - yyn48 = true - goto LABEL48 - } - LABEL48: - if yyr2 || yy2arr2 { - if yyn48 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[15] { - if x.FlexVolume == nil { - r.EncodeNil() - } else { - x.FlexVolume.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[15] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("flexVolume")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn48 { - r.EncodeNil() - } else { - if x.FlexVolume == nil { - r.EncodeNil() - } else { - x.FlexVolume.CodecEncodeSelf(e) - } - } - } - } - var yyn51 bool - if x.PersistentVolumeSource.AzureFile == nil { - yyn51 = true - goto LABEL51 - } - LABEL51: - if yyr2 || yy2arr2 { - if yyn51 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[16] { - if x.AzureFile == nil { - r.EncodeNil() - } else { - x.AzureFile.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[16] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("azureFile")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn51 { - r.EncodeNil() - } else { - if x.AzureFile == nil { - r.EncodeNil() - } else { - x.AzureFile.CodecEncodeSelf(e) - } - } - } - } - var yyn54 bool - if x.PersistentVolumeSource.VsphereVolume == nil { - yyn54 = true - goto LABEL54 - } - LABEL54: - if yyr2 || yy2arr2 { - if yyn54 { - r.EncodeNil() - } else { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[17] { - if x.VsphereVolume == nil { - r.EncodeNil() - } else { - x.VsphereVolume.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } - } else { - if yyq2[17] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("vsphereVolume")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn54 { - r.EncodeNil() - } else { - if x.VsphereVolume == nil { - r.EncodeNil() - } else { - x.VsphereVolume.CodecEncodeSelf(e) - } - } - } - } - if yyr2 || yy2arr2 { + if yyr328 || yy2arr328 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6116,25 +6116,25 @@ func (x *PersistentVolumeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym349 := z.DecBinary() + _ = yym349 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct350 := r.ContainerType() + if yyct350 == codecSelferValueTypeMap1234 { + yyl350 := r.ReadMapStart() + if yyl350 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl350, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct350 == codecSelferValueTypeArray1234 { + yyl350 := r.ReadArrayStart() + if yyl350 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl350, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6146,12 +6146,12 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys351Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys351Slc + var yyhl351 bool = l >= 0 + for yyj351 := 0; ; yyj351++ { + if yyhl351 { + if yyj351 >= l { break } } else { @@ -6160,45 +6160,16 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys351Slc = r.DecodeBytes(yys351Slc, true, true) + yys351 := string(yys351Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys351 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv4 := &x.Capacity - yyv4.CodecDecodeSelf(d) - } - case "accessModes": - if r.TryDecodeAsNil() { - x.AccessModes = nil - } else { - yyv5 := &x.AccessModes - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv5), d) - } - } - case "claimRef": - if r.TryDecodeAsNil() { - if x.ClaimRef != nil { - x.ClaimRef = nil - } - } else { - if x.ClaimRef == nil { - x.ClaimRef = new(ObjectReference) - } - x.ClaimRef.CodecDecodeSelf(d) - } - case "persistentVolumeReclaimPolicy": - if r.TryDecodeAsNil() { - x.PersistentVolumeReclaimPolicy = "" - } else { - x.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(r.DecodeString()) + yyv352 := &x.Capacity + yyv352.CodecDecodeSelf(d) } case "gcePersistentDisk": if x.PersistentVolumeSource.GCEPersistentDisk == nil { @@ -6396,10 +6367,39 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decode } x.VsphereVolume.CodecDecodeSelf(d) } + case "accessModes": + if r.TryDecodeAsNil() { + x.AccessModes = nil + } else { + yyv367 := &x.AccessModes + yym368 := z.DecBinary() + _ = yym368 + if false { + } else { + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv367), d) + } + } + case "claimRef": + if r.TryDecodeAsNil() { + if x.ClaimRef != nil { + x.ClaimRef = nil + } + } else { + if x.ClaimRef == nil { + x.ClaimRef = new(ObjectReference) + } + x.ClaimRef.CodecDecodeSelf(d) + } + case "persistentVolumeReclaimPolicy": + if r.TryDecodeAsNil() { + x.PersistentVolumeReclaimPolicy = "" + } else { + x.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys351) + } // end switch yys351 + } // end for yyj351 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6407,16 +6407,16 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj23 int - var yyb23 bool - var yyhl23 bool = l >= 0 - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + var yyj371 int + var yyb371 bool + var yyhl371 bool = l >= 0 + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6424,78 +6424,19 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv24 := &x.Capacity - yyv24.CodecDecodeSelf(d) - } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l - } else { - yyb23 = r.CheckBreak() - } - if yyb23 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.AccessModes = nil - } else { - yyv25 := &x.AccessModes - yym26 := z.DecBinary() - _ = yym26 - if false { - } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv25), d) - } - } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l - } else { - yyb23 = r.CheckBreak() - } - if yyb23 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.ClaimRef != nil { - x.ClaimRef = nil - } - } else { - if x.ClaimRef == nil { - x.ClaimRef = new(ObjectReference) - } - x.ClaimRef.CodecDecodeSelf(d) - } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l - } else { - yyb23 = r.CheckBreak() - } - if yyb23 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PersistentVolumeReclaimPolicy = "" - } else { - x.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(r.DecodeString()) + yyv372 := &x.Capacity + yyv372.CodecDecodeSelf(d) } if x.PersistentVolumeSource.GCEPersistentDisk == nil { x.PersistentVolumeSource.GCEPersistentDisk = new(GCEPersistentDiskVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6513,13 +6454,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.AWSElasticBlockStore == nil { x.PersistentVolumeSource.AWSElasticBlockStore = new(AWSElasticBlockStoreVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6537,13 +6478,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.HostPath == nil { x.PersistentVolumeSource.HostPath = new(HostPathVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6561,13 +6502,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Glusterfs == nil { x.PersistentVolumeSource.Glusterfs = new(GlusterfsVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6585,13 +6526,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.NFS == nil { x.PersistentVolumeSource.NFS = new(NFSVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6609,13 +6550,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.RBD == nil { x.PersistentVolumeSource.RBD = new(RBDVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6633,13 +6574,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.ISCSI == nil { x.PersistentVolumeSource.ISCSI = new(ISCSIVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6657,13 +6598,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Cinder == nil { x.PersistentVolumeSource.Cinder = new(CinderVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6681,13 +6622,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.CephFS == nil { x.PersistentVolumeSource.CephFS = new(CephFSVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6705,13 +6646,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.FC == nil { x.PersistentVolumeSource.FC = new(FCVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6729,13 +6670,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.Flocker == nil { x.PersistentVolumeSource.Flocker = new(FlockerVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6753,13 +6694,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.FlexVolume == nil { x.PersistentVolumeSource.FlexVolume = new(FlexVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6777,13 +6718,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.AzureFile == nil { x.PersistentVolumeSource.AzureFile = new(AzureFileVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6801,13 +6742,13 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco if x.PersistentVolumeSource.VsphereVolume == nil { x.PersistentVolumeSource.VsphereVolume = new(VsphereVirtualDiskVolumeSource) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l } else { - yyb23 = r.CheckBreak() + yyb371 = r.CheckBreak() } - if yyb23 { + if yyb371 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6822,18 +6763,77 @@ func (x *PersistentVolumeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Deco } x.VsphereVolume.CodecDecodeSelf(d) } - for { - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l + } else { + yyb371 = r.CheckBreak() + } + if yyb371 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.AccessModes = nil + } else { + yyv387 := &x.AccessModes + yym388 := z.DecBinary() + _ = yym388 + if false { } else { - yyb23 = r.CheckBreak() + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv387), d) } - if yyb23 { + } + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l + } else { + yyb371 = r.CheckBreak() + } + if yyb371 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.ClaimRef != nil { + x.ClaimRef = nil + } + } else { + if x.ClaimRef == nil { + x.ClaimRef = new(ObjectReference) + } + x.ClaimRef.CodecDecodeSelf(d) + } + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l + } else { + yyb371 = r.CheckBreak() + } + if yyb371 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PersistentVolumeReclaimPolicy = "" + } else { + x.PersistentVolumeReclaimPolicy = PersistentVolumeReclaimPolicy(r.DecodeString()) + } + for { + yyj371++ + if yyhl371 { + yyb371 = yyj371 > l + } else { + yyb371 = r.CheckBreak() + } + if yyb371 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj23-1, "") + z.DecStructFieldNotFound(yyj371-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6842,8 +6842,8 @@ func (x PersistentVolumeReclaimPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym391 := z.EncBinary() + _ = yym391 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -6855,8 +6855,8 @@ func (x *PersistentVolumeReclaimPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym392 := z.DecBinary() + _ = yym392 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -6871,52 +6871,52 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym393 := z.EncBinary() + _ = yym393 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Phase != "" - yyq2[1] = x.Message != "" - yyq2[2] = x.Reason != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep394 := !z.EncBinary() + yy2arr394 := z.EncBasicHandle().StructToArray + var yyq394 [3]bool + _, _, _ = yysep394, yyq394, yy2arr394 + const yyr394 bool = false + yyq394[0] = x.Phase != "" + yyq394[1] = x.Message != "" + yyq394[2] = x.Reason != "" + var yynn394 int + if yyr394 || yy2arr394 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn394 = 0 + for _, b := range yyq394 { if b { - yynn2++ + yynn394++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn394) + yynn394 = 0 } - if yyr2 || yy2arr2 { + if yyr394 || yy2arr394 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq394[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq394[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr394 || yy2arr394 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq394[1] { + yym397 := z.EncBinary() + _ = yym397 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -6925,23 +6925,23 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq394[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym398 := z.EncBinary() + _ = yym398 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr394 || yy2arr394 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq394[2] { + yym400 := z.EncBinary() + _ = yym400 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -6950,19 +6950,19 @@ func (x *PersistentVolumeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq394[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym401 := z.EncBinary() + _ = yym401 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr394 || yy2arr394 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6975,25 +6975,25 @@ func (x *PersistentVolumeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym402 := z.DecBinary() + _ = yym402 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct403 := r.ContainerType() + if yyct403 == codecSelferValueTypeMap1234 { + yyl403 := r.ReadMapStart() + if yyl403 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl403, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct403 == codecSelferValueTypeArray1234 { + yyl403 := r.ReadArrayStart() + if yyl403 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl403, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7005,12 +7005,12 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys404Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys404Slc + var yyhl404 bool = l >= 0 + for yyj404 := 0; ; yyj404++ { + if yyhl404 { + if yyj404 >= l { break } } else { @@ -7019,10 +7019,10 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys404Slc = r.DecodeBytes(yys404Slc, true, true) + yys404 := string(yys404Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys404 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -7042,9 +7042,9 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.Reason = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys404) + } // end switch yys404 + } // end for yyj404 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7052,16 +7052,16 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj408 int + var yyb408 bool + var yyhl408 bool = l >= 0 + yyj408++ + if yyhl408 { + yyb408 = yyj408 > l } else { - yyb7 = r.CheckBreak() + yyb408 = r.CheckBreak() } - if yyb7 { + if yyb408 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7071,13 +7071,13 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Phase = PersistentVolumePhase(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj408++ + if yyhl408 { + yyb408 = yyj408 > l } else { - yyb7 = r.CheckBreak() + yyb408 = r.CheckBreak() } - if yyb7 { + if yyb408 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7087,13 +7087,13 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Message = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj408++ + if yyhl408 { + yyb408 = yyj408 > l } else { - yyb7 = r.CheckBreak() + yyb408 = r.CheckBreak() } - if yyb7 { + if yyb408 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7104,17 +7104,17 @@ func (x *PersistentVolumeStatus) codecDecodeSelfFromArray(l int, d *codec1978.De x.Reason = string(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj408++ + if yyhl408 { + yyb408 = yyj408 > l } else { - yyb7 = r.CheckBreak() + yyb408 = r.CheckBreak() } - if yyb7 { + if yyb408 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj408-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7126,68 +7126,118 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym412 := z.EncBinary() + _ = yym412 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep413 := !z.EncBinary() + yy2arr413 := z.EncBasicHandle().StructToArray + var yyq413 [4]bool + _, _, _ = yysep413, yyq413, yy2arr413 + const yyr413 bool = false + yyq413[0] = x.Kind != "" + yyq413[1] = x.APIVersion != "" + yyq413[2] = true + var yynn413 int + if yyr413 || yy2arr413 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn413 = 1 + for _, b := range yyq413 { if b { - yynn2++ + yynn413++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn413) + yynn413 = 0 } - if yyr2 || yy2arr2 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq413[0] { + yym415 := z.EncBinary() + _ = yym415 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq413[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym416 := z.EncBinary() + _ = yym416 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr413 || yy2arr413 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq413[1] { + yym418 := z.EncBinary() + _ = yym418 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq413[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym419 := z.EncBinary() + _ = yym419 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr413 || yy2arr413 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq413[2] { + yy421 := &x.ListMeta + yym422 := z.EncBinary() + _ = yym422 + if false { + } else if z.HasExtensions() && z.EncExt(yy421) { + } else { + z.EncFallback(yy421) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq413[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy423 := &x.ListMeta + yym424 := z.EncBinary() + _ = yym424 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy423) { } else { - z.EncFallback(yy6) + z.EncFallback(yy423) } } } - if yyr2 || yy2arr2 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym426 := z.EncBinary() + _ = yym426 if false { } else { h.encSlicePersistentVolume(([]PersistentVolume)(x.Items), e) @@ -7200,65 +7250,15 @@ func (x *PersistentVolumeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym427 := z.EncBinary() + _ = yym427 if false { } else { h.encSlicePersistentVolume(([]PersistentVolume)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr413 || yy2arr413 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7271,25 +7271,25 @@ func (x *PersistentVolumeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym428 := z.DecBinary() + _ = yym428 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct429 := r.ContainerType() + if yyct429 == codecSelferValueTypeMap1234 { + yyl429 := r.ReadMapStart() + if yyl429 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl429, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct429 == codecSelferValueTypeArray1234 { + yyl429 := r.ReadArrayStart() + if yyl429 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl429, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7301,12 +7301,12 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys430Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys430Slc + var yyhl430 bool = l >= 0 + for yyj430 := 0; ; yyj430++ { + if yyhl430 { + if yyj430 >= l { break } } else { @@ -7315,35 +7315,10 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys430Slc = r.DecodeBytes(yys430Slc, true, true) + yys430 := string(yys430Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSlicePersistentVolume((*[]PersistentVolume)(yyv6), d) - } - } + switch yys430 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7356,10 +7331,35 @@ func (x *PersistentVolumeList) codecDecodeSelfFromMap(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv433 := &x.ListMeta + yym434 := z.DecBinary() + _ = yym434 + if false { + } else if z.HasExtensions() && z.DecExt(yyv433) { + } else { + z.DecFallback(yyv433, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv435 := &x.Items + yym436 := z.DecBinary() + _ = yym436 + if false { + } else { + h.decSlicePersistentVolume((*[]PersistentVolume)(yyv435), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys430) + } // end switch yys430 + } // end for yyj430 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7367,61 +7367,16 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj437 int + var yyb437 bool + var yyhl437 bool = l >= 0 + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb10 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSlicePersistentVolume((*[]PersistentVolume)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7431,13 +7386,13 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l } else { - yyb10 = r.CheckBreak() + yyb437 = r.CheckBreak() } - if yyb10 { + if yyb437 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7447,18 +7402,63 @@ func (x *PersistentVolumeList) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l + } else { + yyb437 = r.CheckBreak() + } + if yyb437 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv440 := &x.ListMeta + yym441 := z.DecBinary() + _ = yym441 + if false { + } else if z.HasExtensions() && z.DecExt(yyv440) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv440, false) } - if yyb10 { + } + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l + } else { + yyb437 = r.CheckBreak() + } + if yyb437 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv442 := &x.Items + yym443 := z.DecBinary() + _ = yym443 + if false { + } else { + h.decSlicePersistentVolume((*[]PersistentVolume)(yyv442), d) + } + } + for { + yyj437++ + if yyhl437 { + yyb437 = yyj437 > l + } else { + yyb437 = r.CheckBreak() + } + if yyb437 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj437-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7470,90 +7470,39 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym444 := z.EncBinary() + _ = yym444 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep445 := !z.EncBinary() + yy2arr445 := z.EncBasicHandle().StructToArray + var yyq445 [5]bool + _, _, _ = yysep445, yyq445, yy2arr445 + const yyr445 bool = false + yyq445[0] = x.Kind != "" + yyq445[1] = x.APIVersion != "" + yyq445[2] = true + yyq445[3] = true + yyq445[4] = true + var yynn445 int + if yyr445 || yy2arr445 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn445 = 0 + for _, b := range yyq445 { if b { - yynn2++ + yynn445++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn445) + yynn445 = 0 } - if yyr2 || yy2arr2 { + if yyr445 || yy2arr445 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq445[0] { + yym447 := z.EncBinary() + _ = yym447 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -7562,23 +7511,23 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq445[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym448 := z.EncBinary() + _ = yym448 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr445 || yy2arr445 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq445[1] { + yym450 := z.EncBinary() + _ = yym450 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7587,19 +7536,70 @@ func (x *PersistentVolumeClaim) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq445[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym451 := z.EncBinary() + _ = yym451 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr445 || yy2arr445 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq445[2] { + yy453 := &x.ObjectMeta + yy453.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq445[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy454 := &x.ObjectMeta + yy454.CodecEncodeSelf(e) + } + } + if yyr445 || yy2arr445 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq445[3] { + yy456 := &x.Spec + yy456.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq445[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy457 := &x.Spec + yy457.CodecEncodeSelf(e) + } + } + if yyr445 || yy2arr445 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq445[4] { + yy459 := &x.Status + yy459.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq445[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy460 := &x.Status + yy460.CodecEncodeSelf(e) + } + } + if yyr445 || yy2arr445 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7612,25 +7612,25 @@ func (x *PersistentVolumeClaim) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym461 := z.DecBinary() + _ = yym461 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct462 := r.ContainerType() + if yyct462 == codecSelferValueTypeMap1234 { + yyl462 := r.ReadMapStart() + if yyl462 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl462, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct462 == codecSelferValueTypeArray1234 { + yyl462 := r.ReadArrayStart() + if yyl462 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl462, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7642,12 +7642,12 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys463Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys463Slc + var yyhl463 bool = l >= 0 + for yyj463 := 0; ; yyj463++ { + if yyhl463 { + if yyj463 >= l { break } } else { @@ -7656,31 +7656,10 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys463Slc = r.DecodeBytes(yys463Slc, true, true) + yys463 := string(yys463Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = PersistentVolumeClaimSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = PersistentVolumeClaimStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys463 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7693,10 +7672,31 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromMap(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv466 := &x.ObjectMeta + yyv466.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = PersistentVolumeClaimSpec{} + } else { + yyv467 := &x.Spec + yyv467.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = PersistentVolumeClaimStatus{} + } else { + yyv468 := &x.Status + yyv468.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys463) + } // end switch yys463 + } // end for yyj463 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7704,67 +7704,16 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj469 int + var yyb469 bool + var yyhl469 bool = l >= 0 + yyj469++ + if yyhl469 { + yyb469 = yyj469 > l } else { - yyb9 = r.CheckBreak() + yyb469 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = PersistentVolumeClaimSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = PersistentVolumeClaimStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb469 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7774,13 +7723,13 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj469++ + if yyhl469 { + yyb469 = yyj469 > l } else { - yyb9 = r.CheckBreak() + yyb469 = r.CheckBreak() } - if yyb9 { + if yyb469 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7790,18 +7739,69 @@ func (x *PersistentVolumeClaim) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } + yyj469++ + if yyhl469 { + yyb469 = yyj469 > l + } else { + yyb469 = r.CheckBreak() + } + if yyb469 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv472 := &x.ObjectMeta + yyv472.CodecDecodeSelf(d) + } + yyj469++ + if yyhl469 { + yyb469 = yyj469 > l + } else { + yyb469 = r.CheckBreak() + } + if yyb469 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = PersistentVolumeClaimSpec{} + } else { + yyv473 := &x.Spec + yyv473.CodecDecodeSelf(d) + } + yyj469++ + if yyhl469 { + yyb469 = yyj469 > l + } else { + yyb469 = r.CheckBreak() + } + if yyb469 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = PersistentVolumeClaimStatus{} + } else { + yyv474 := &x.Status + yyv474.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj469++ + if yyhl469 { + yyb469 = yyj469 > l } else { - yyb9 = r.CheckBreak() + yyb469 = r.CheckBreak() } - if yyb9 { + if yyb469 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj469-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7813,68 +7813,118 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym475 := z.EncBinary() + _ = yym475 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep476 := !z.EncBinary() + yy2arr476 := z.EncBasicHandle().StructToArray + var yyq476 [4]bool + _, _, _ = yysep476, yyq476, yy2arr476 + const yyr476 bool = false + yyq476[0] = x.Kind != "" + yyq476[1] = x.APIVersion != "" + yyq476[2] = true + var yynn476 int + if yyr476 || yy2arr476 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn476 = 1 + for _, b := range yyq476 { if b { - yynn2++ + yynn476++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn476) + yynn476 = 0 } - if yyr2 || yy2arr2 { + if yyr476 || yy2arr476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq476[0] { + yym478 := z.EncBinary() + _ = yym478 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq476[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym479 := z.EncBinary() + _ = yym479 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr476 || yy2arr476 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq476[1] { + yym481 := z.EncBinary() + _ = yym481 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq476[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym482 := z.EncBinary() + _ = yym482 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr476 || yy2arr476 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq476[2] { + yy484 := &x.ListMeta + yym485 := z.EncBinary() + _ = yym485 + if false { + } else if z.HasExtensions() && z.EncExt(yy484) { + } else { + z.EncFallback(yy484) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq476[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy486 := &x.ListMeta + yym487 := z.EncBinary() + _ = yym487 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy486) { } else { - z.EncFallback(yy6) + z.EncFallback(yy486) } } } - if yyr2 || yy2arr2 { + if yyr476 || yy2arr476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym489 := z.EncBinary() + _ = yym489 if false { } else { h.encSlicePersistentVolumeClaim(([]PersistentVolumeClaim)(x.Items), e) @@ -7887,65 +7937,15 @@ func (x *PersistentVolumeClaimList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym490 := z.EncBinary() + _ = yym490 if false { } else { h.encSlicePersistentVolumeClaim(([]PersistentVolumeClaim)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr476 || yy2arr476 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7958,25 +7958,25 @@ func (x *PersistentVolumeClaimList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym491 := z.DecBinary() + _ = yym491 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct492 := r.ContainerType() + if yyct492 == codecSelferValueTypeMap1234 { + yyl492 := r.ReadMapStart() + if yyl492 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl492, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct492 == codecSelferValueTypeArray1234 { + yyl492 := r.ReadArrayStart() + if yyl492 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl492, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7988,12 +7988,12 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys493Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys493Slc + var yyhl493 bool = l >= 0 + for yyj493 := 0; ; yyj493++ { + if yyhl493 { + if yyj493 >= l { break } } else { @@ -8002,35 +8002,10 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys493Slc = r.DecodeBytes(yys493Slc, true, true) + yys493 := string(yys493Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv6), d) - } - } + switch yys493 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8043,10 +8018,35 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromMap(l int, d *codec1978.D } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv496 := &x.ListMeta + yym497 := z.DecBinary() + _ = yym497 + if false { + } else if z.HasExtensions() && z.DecExt(yyv496) { + } else { + z.DecFallback(yyv496, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv498 := &x.Items + yym499 := z.DecBinary() + _ = yym499 + if false { + } else { + h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv498), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys493) + } // end switch yys493 + } // end for yyj493 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8054,61 +8054,16 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj500 int + var yyb500 bool + var yyhl500 bool = l >= 0 + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l } else { - yyb10 = r.CheckBreak() + yyb500 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8118,13 +8073,13 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l } else { - yyb10 = r.CheckBreak() + yyb500 = r.CheckBreak() } - if yyb10 { + if yyb500 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8134,18 +8089,63 @@ func (x *PersistentVolumeClaimList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l + } else { + yyb500 = r.CheckBreak() + } + if yyb500 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv503 := &x.ListMeta + yym504 := z.DecBinary() + _ = yym504 + if false { + } else if z.HasExtensions() && z.DecExt(yyv503) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv503, false) } - if yyb10 { + } + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l + } else { + yyb500 = r.CheckBreak() + } + if yyb500 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv505 := &x.Items + yym506 := z.DecBinary() + _ = yym506 + if false { + } else { + h.decSlicePersistentVolumeClaim((*[]PersistentVolumeClaim)(yyv505), d) + } + } + for { + yyj500++ + if yyhl500 { + yyb500 = yyj500 > l + } else { + yyb500 = r.CheckBreak() + } + if yyb500 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj500-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8157,41 +8157,41 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym507 := z.EncBinary() + _ = yym507 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.AccessModes) != 0 - yyq2[1] = x.Selector != nil - yyq2[2] = true - yyq2[3] = x.VolumeName != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep508 := !z.EncBinary() + yy2arr508 := z.EncBasicHandle().StructToArray + var yyq508 [4]bool + _, _, _ = yysep508, yyq508, yy2arr508 + const yyr508 bool = false + yyq508[0] = len(x.AccessModes) != 0 + yyq508[1] = x.Selector != nil + yyq508[2] = true + yyq508[3] = x.VolumeName != "" + var yynn508 int + if yyr508 || yy2arr508 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn508 = 0 + for _, b := range yyq508 { if b { - yynn2++ + yynn508++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn508) + yynn508 = 0 } - if yyr2 || yy2arr2 { + if yyr508 || yy2arr508 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq508[0] { if x.AccessModes == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym510 := z.EncBinary() + _ = yym510 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -8201,15 +8201,15 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq508[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym511 := z.EncBinary() + _ = yym511 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -8217,14 +8217,14 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr508 || yy2arr508 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq508[1] { if x.Selector == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym513 := z.EncBinary() + _ = yym513 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -8235,15 +8235,15 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq508[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym514 := z.EncBinary() + _ = yym514 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -8252,28 +8252,28 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr508 || yy2arr508 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy10 := &x.Resources - yy10.CodecEncodeSelf(e) + if yyq508[2] { + yy516 := &x.Resources + yy516.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq508[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.Resources - yy12.CodecEncodeSelf(e) + yy517 := &x.Resources + yy517.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr508 || yy2arr508 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 + if yyq508[3] { + yym519 := z.EncBinary() + _ = yym519 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeName)) @@ -8282,19 +8282,19 @@ func (x *PersistentVolumeClaimSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq508[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 + yym520 := z.EncBinary() + _ = yym520 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeName)) } } } - if yyr2 || yy2arr2 { + if yyr508 || yy2arr508 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8307,25 +8307,25 @@ func (x *PersistentVolumeClaimSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym521 := z.DecBinary() + _ = yym521 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct522 := r.ContainerType() + if yyct522 == codecSelferValueTypeMap1234 { + yyl522 := r.ReadMapStart() + if yyl522 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl522, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct522 == codecSelferValueTypeArray1234 { + yyl522 := r.ReadArrayStart() + if yyl522 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl522, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8337,12 +8337,12 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys523Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys523Slc + var yyhl523 bool = l >= 0 + for yyj523 := 0; ; yyj523++ { + if yyhl523 { + if yyj523 >= l { break } } else { @@ -8351,20 +8351,20 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys523Slc = r.DecodeBytes(yys523Slc, true, true) + yys523 := string(yys523Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys523 { case "accessModes": if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv4 := &x.AccessModes - yym5 := z.DecBinary() - _ = yym5 + yyv524 := &x.AccessModes + yym525 := z.DecBinary() + _ = yym525 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv4), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv524), d) } } case "selector": @@ -8376,8 +8376,8 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if x.Selector == nil { x.Selector = new(pkg2_unversioned.LabelSelector) } - yym7 := z.DecBinary() - _ = yym7 + yym527 := z.DecBinary() + _ = yym527 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -8388,8 +8388,8 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv8 := &x.Resources - yyv8.CodecDecodeSelf(d) + yyv528 := &x.Resources + yyv528.CodecDecodeSelf(d) } case "volumeName": if r.TryDecodeAsNil() { @@ -8398,9 +8398,9 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromMap(l int, d *codec1978.D x.VolumeName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys523) + } // end switch yys523 + } // end for yyj523 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8408,16 +8408,16 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj530 int + var yyb530 bool + var yyhl530 bool = l >= 0 + yyj530++ + if yyhl530 { + yyb530 = yyj530 > l } else { - yyb10 = r.CheckBreak() + yyb530 = r.CheckBreak() } - if yyb10 { + if yyb530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8425,21 +8425,21 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv11 := &x.AccessModes - yym12 := z.DecBinary() - _ = yym12 + yyv531 := &x.AccessModes + yym532 := z.DecBinary() + _ = yym532 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv11), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv531), d) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj530++ + if yyhl530 { + yyb530 = yyj530 > l } else { - yyb10 = r.CheckBreak() + yyb530 = r.CheckBreak() } - if yyb10 { + if yyb530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8452,21 +8452,21 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if x.Selector == nil { x.Selector = new(pkg2_unversioned.LabelSelector) } - yym14 := z.DecBinary() - _ = yym14 + yym534 := z.DecBinary() + _ = yym534 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj530++ + if yyhl530 { + yyb530 = yyj530 > l } else { - yyb10 = r.CheckBreak() + yyb530 = r.CheckBreak() } - if yyb10 { + if yyb530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8474,16 +8474,16 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv15 := &x.Resources - yyv15.CodecDecodeSelf(d) + yyv535 := &x.Resources + yyv535.CodecDecodeSelf(d) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj530++ + if yyhl530 { + yyb530 = yyj530 > l } else { - yyb10 = r.CheckBreak() + yyb530 = r.CheckBreak() } - if yyb10 { + if yyb530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8494,17 +8494,17 @@ func (x *PersistentVolumeClaimSpec) codecDecodeSelfFromArray(l int, d *codec1978 x.VolumeName = string(r.DecodeString()) } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj530++ + if yyhl530 { + yyb530 = yyj530 > l } else { - yyb10 = r.CheckBreak() + yyb530 = r.CheckBreak() } - if yyb10 { + if yyb530 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj530-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8516,55 +8516,55 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym537 := z.EncBinary() + _ = yym537 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Phase != "" - yyq2[1] = len(x.AccessModes) != 0 - yyq2[2] = len(x.Capacity) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep538 := !z.EncBinary() + yy2arr538 := z.EncBasicHandle().StructToArray + var yyq538 [3]bool + _, _, _ = yysep538, yyq538, yy2arr538 + const yyr538 bool = false + yyq538[0] = x.Phase != "" + yyq538[1] = len(x.AccessModes) != 0 + yyq538[2] = len(x.Capacity) != 0 + var yynn538 int + if yyr538 || yy2arr538 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn538 = 0 + for _, b := range yyq538 { if b { - yynn2++ + yynn538++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn538) + yynn538 = 0 } - if yyr2 || yy2arr2 { + if yyr538 || yy2arr538 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq538[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq538[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr538 || yy2arr538 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq538[1] { if x.AccessModes == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym541 := z.EncBinary() + _ = yym541 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -8574,15 +8574,15 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq538[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("accessModes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AccessModes == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym542 := z.EncBinary() + _ = yym542 if false { } else { h.encSlicePersistentVolumeAccessMode(([]PersistentVolumeAccessMode)(x.AccessModes), e) @@ -8590,9 +8590,9 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr538 || yy2arr538 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq538[2] { if x.Capacity == nil { r.EncodeNil() } else { @@ -8602,7 +8602,7 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq538[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -8613,7 +8613,7 @@ func (x *PersistentVolumeClaimStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr538 || yy2arr538 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8626,25 +8626,25 @@ func (x *PersistentVolumeClaimStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym544 := z.DecBinary() + _ = yym544 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct545 := r.ContainerType() + if yyct545 == codecSelferValueTypeMap1234 { + yyl545 := r.ReadMapStart() + if yyl545 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl545, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct545 == codecSelferValueTypeArray1234 { + yyl545 := r.ReadArrayStart() + if yyl545 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl545, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8656,12 +8656,12 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys546Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys546Slc + var yyhl546 bool = l >= 0 + for yyj546 := 0; ; yyj546++ { + if yyhl546 { + if yyj546 >= l { break } } else { @@ -8670,10 +8670,10 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys546Slc = r.DecodeBytes(yys546Slc, true, true) + yys546 := string(yys546Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys546 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -8684,25 +8684,25 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromMap(l int, d *codec1978 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv5 := &x.AccessModes - yym6 := z.DecBinary() - _ = yym6 + yyv548 := &x.AccessModes + yym549 := z.DecBinary() + _ = yym549 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv5), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv548), d) } } case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv7 := &x.Capacity - yyv7.CodecDecodeSelf(d) + yyv550 := &x.Capacity + yyv550.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys546) + } // end switch yys546 + } // end for yyj546 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8710,16 +8710,16 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj551 int + var yyb551 bool + var yyhl551 bool = l >= 0 + yyj551++ + if yyhl551 { + yyb551 = yyj551 > l } else { - yyb8 = r.CheckBreak() + yyb551 = r.CheckBreak() } - if yyb8 { + if yyb551 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8729,13 +8729,13 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Phase = PersistentVolumeClaimPhase(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj551++ + if yyhl551 { + yyb551 = yyj551 > l } else { - yyb8 = r.CheckBreak() + yyb551 = r.CheckBreak() } - if yyb8 { + if yyb551 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8743,21 +8743,21 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.AccessModes = nil } else { - yyv10 := &x.AccessModes - yym11 := z.DecBinary() - _ = yym11 + yyv553 := &x.AccessModes + yym554 := z.DecBinary() + _ = yym554 if false { } else { - h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv10), d) + h.decSlicePersistentVolumeAccessMode((*[]PersistentVolumeAccessMode)(yyv553), d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj551++ + if yyhl551 { + yyb551 = yyj551 > l } else { - yyb8 = r.CheckBreak() + yyb551 = r.CheckBreak() } - if yyb8 { + if yyb551 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8765,21 +8765,21 @@ func (x *PersistentVolumeClaimStatus) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv12 := &x.Capacity - yyv12.CodecDecodeSelf(d) + yyv555 := &x.Capacity + yyv555.CodecDecodeSelf(d) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj551++ + if yyhl551 { + yyb551 = yyj551 > l } else { - yyb8 = r.CheckBreak() + yyb551 = r.CheckBreak() } - if yyb8 { + if yyb551 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj551-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8788,8 +8788,8 @@ func (x PersistentVolumeAccessMode) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym556 := z.EncBinary() + _ = yym556 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -8801,8 +8801,8 @@ func (x *PersistentVolumeAccessMode) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym557 := z.DecBinary() + _ = yym557 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -8814,8 +8814,8 @@ func (x PersistentVolumePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym558 := z.EncBinary() + _ = yym558 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -8827,8 +8827,8 @@ func (x *PersistentVolumePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym559 := z.DecBinary() + _ = yym559 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -8840,8 +8840,8 @@ func (x PersistentVolumeClaimPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym560 := z.EncBinary() + _ = yym560 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -8853,8 +8853,8 @@ func (x *PersistentVolumeClaimPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym561 := z.DecBinary() + _ = yym561 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -8869,33 +8869,33 @@ func (x *HostPathVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym562 := z.EncBinary() + _ = yym562 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep563 := !z.EncBinary() + yy2arr563 := z.EncBasicHandle().StructToArray + var yyq563 [1]bool + _, _, _ = yysep563, yyq563, yy2arr563 + const yyr563 bool = false + var yynn563 int + if yyr563 || yy2arr563 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn563 = 1 + for _, b := range yyq563 { if b { - yynn2++ + yynn563++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn563) + yynn563 = 0 } - if yyr2 || yy2arr2 { + if yyr563 || yy2arr563 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym565 := z.EncBinary() + _ = yym565 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -8904,14 +8904,14 @@ func (x *HostPathVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym566 := z.EncBinary() + _ = yym566 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2 || yy2arr2 { + if yyr563 || yy2arr563 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8924,25 +8924,25 @@ func (x *HostPathVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym567 := z.DecBinary() + _ = yym567 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct568 := r.ContainerType() + if yyct568 == codecSelferValueTypeMap1234 { + yyl568 := r.ReadMapStart() + if yyl568 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl568, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct568 == codecSelferValueTypeArray1234 { + yyl568 := r.ReadArrayStart() + if yyl568 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl568, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8954,12 +8954,12 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys569Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys569Slc + var yyhl569 bool = l >= 0 + for yyj569 := 0; ; yyj569++ { + if yyhl569 { + if yyj569 >= l { break } } else { @@ -8968,10 +8968,10 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys569Slc = r.DecodeBytes(yys569Slc, true, true) + yys569 := string(yys569Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys569 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -8979,9 +8979,9 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys569) + } // end switch yys569 + } // end for yyj569 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8989,16 +8989,16 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj571 int + var yyb571 bool + var yyhl571 bool = l >= 0 + yyj571++ + if yyhl571 { + yyb571 = yyj571 > l } else { - yyb5 = r.CheckBreak() + yyb571 = r.CheckBreak() } - if yyb5 { + if yyb571 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9009,17 +9009,17 @@ func (x *HostPathVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Path = string(r.DecodeString()) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj571++ + if yyhl571 { + yyb571 = yyj571 > l } else { - yyb5 = r.CheckBreak() + yyb571 = r.CheckBreak() } - if yyb5 { + if yyb571 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj571-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9031,46 +9031,46 @@ func (x *EmptyDirVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym573 := z.EncBinary() + _ = yym573 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Medium != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep574 := !z.EncBinary() + yy2arr574 := z.EncBasicHandle().StructToArray + var yyq574 [1]bool + _, _, _ = yysep574, yyq574, yy2arr574 + const yyr574 bool = false + yyq574[0] = x.Medium != "" + var yynn574 int + if yyr574 || yy2arr574 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn574 = 0 + for _, b := range yyq574 { if b { - yynn2++ + yynn574++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn574) + yynn574 = 0 } - if yyr2 || yy2arr2 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq574[0] { x.Medium.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq574[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("medium")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Medium.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr574 || yy2arr574 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9083,25 +9083,25 @@ func (x *EmptyDirVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym576 := z.DecBinary() + _ = yym576 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct577 := r.ContainerType() + if yyct577 == codecSelferValueTypeMap1234 { + yyl577 := r.ReadMapStart() + if yyl577 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl577, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct577 == codecSelferValueTypeArray1234 { + yyl577 := r.ReadArrayStart() + if yyl577 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl577, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9113,12 +9113,12 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -9127,10 +9127,10 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys578Slc = r.DecodeBytes(yys578Slc, true, true) + yys578 := string(yys578Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys578 { case "medium": if r.TryDecodeAsNil() { x.Medium = "" @@ -9138,9 +9138,9 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Medium = StorageMedium(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys578) + } // end switch yys578 + } // end for yyj578 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9148,16 +9148,16 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj580 int + var yyb580 bool + var yyhl580 bool = l >= 0 + yyj580++ + if yyhl580 { + yyb580 = yyj580 > l } else { - yyb5 = r.CheckBreak() + yyb580 = r.CheckBreak() } - if yyb5 { + if yyb580 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9168,17 +9168,17 @@ func (x *EmptyDirVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Medium = StorageMedium(r.DecodeString()) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj580++ + if yyhl580 { + yyb580 = yyj580 > l } else { - yyb5 = r.CheckBreak() + yyb580 = r.CheckBreak() } - if yyb5 { + if yyb580 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj580-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9190,34 +9190,34 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym582 := z.EncBinary() + _ = yym582 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep583 := !z.EncBinary() + yy2arr583 := z.EncBasicHandle().StructToArray + var yyq583 [3]bool + _, _, _ = yysep583, yyq583, yy2arr583 + const yyr583 bool = false + yyq583[2] = x.ReadOnly != false + var yynn583 int + if yyr583 || yy2arr583 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn583 = 2 + for _, b := range yyq583 { if b { - yynn2++ + yynn583++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn583) + yynn583 = 0 } - if yyr2 || yy2arr2 { + if yyr583 || yy2arr583 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym585 := z.EncBinary() + _ = yym585 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EndpointsName)) @@ -9226,17 +9226,17 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("endpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym586 := z.EncBinary() + _ = yym586 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EndpointsName)) } } - if yyr2 || yy2arr2 { + if yyr583 || yy2arr583 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym588 := z.EncBinary() + _ = yym588 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -9245,18 +9245,18 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym589 := z.EncBinary() + _ = yym589 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2 || yy2arr2 { + if yyr583 || yy2arr583 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq583[2] { + yym591 := z.EncBinary() + _ = yym591 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -9265,19 +9265,19 @@ func (x *GlusterfsVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[2] { + if yyq583[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym592 := z.EncBinary() + _ = yym592 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr583 || yy2arr583 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9290,25 +9290,25 @@ func (x *GlusterfsVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym593 := z.DecBinary() + _ = yym593 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct594 := r.ContainerType() + if yyct594 == codecSelferValueTypeMap1234 { + yyl594 := r.ReadMapStart() + if yyl594 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl594, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct594 == codecSelferValueTypeArray1234 { + yyl594 := r.ReadArrayStart() + if yyl594 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl594, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9320,12 +9320,12 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys595Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys595Slc + var yyhl595 bool = l >= 0 + for yyj595 := 0; ; yyj595++ { + if yyhl595 { + if yyj595 >= l { break } } else { @@ -9334,10 +9334,10 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys595Slc = r.DecodeBytes(yys595Slc, true, true) + yys595 := string(yys595Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys595 { case "endpoints": if r.TryDecodeAsNil() { x.EndpointsName = "" @@ -9357,9 +9357,9 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys595) + } // end switch yys595 + } // end for yyj595 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9367,16 +9367,16 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj599 int + var yyb599 bool + var yyhl599 bool = l >= 0 + yyj599++ + if yyhl599 { + yyb599 = yyj599 > l } else { - yyb7 = r.CheckBreak() + yyb599 = r.CheckBreak() } - if yyb7 { + if yyb599 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9386,13 +9386,13 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.EndpointsName = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj599++ + if yyhl599 { + yyb599 = yyj599 > l } else { - yyb7 = r.CheckBreak() + yyb599 = r.CheckBreak() } - if yyb7 { + if yyb599 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9402,13 +9402,13 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj599++ + if yyhl599 { + yyb599 = yyj599 > l } else { - yyb7 = r.CheckBreak() + yyb599 = r.CheckBreak() } - if yyb7 { + if yyb599 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9419,17 +9419,17 @@ func (x *GlusterfsVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj599++ + if yyhl599 { + yyb599 = yyj599 > l } else { - yyb7 = r.CheckBreak() + yyb599 = r.CheckBreak() } - if yyb7 { + if yyb599 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj599-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9441,42 +9441,42 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym603 := z.EncBinary() + _ = yym603 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [8]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.FSType != "" - yyq2[3] = x.RBDPool != "" - yyq2[4] = x.RadosUser != "" - yyq2[5] = x.Keyring != "" - yyq2[6] = x.SecretRef != nil - yyq2[7] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep604 := !z.EncBinary() + yy2arr604 := z.EncBasicHandle().StructToArray + var yyq604 [8]bool + _, _, _ = yysep604, yyq604, yy2arr604 + const yyr604 bool = false + yyq604[2] = x.FSType != "" + yyq604[3] = x.RBDPool != "" + yyq604[4] = x.RadosUser != "" + yyq604[5] = x.Keyring != "" + yyq604[6] = x.SecretRef != nil + yyq604[7] = x.ReadOnly != false + var yynn604 int + if yyr604 || yy2arr604 { r.EncodeArrayStart(8) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn604 = 2 + for _, b := range yyq604 { if b { - yynn2++ + yynn604++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn604) + yynn604 = 0 } - if yyr2 || yy2arr2 { + if yyr604 || yy2arr604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.CephMonitors == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym606 := z.EncBinary() + _ = yym606 if false { } else { z.F.EncSliceStringV(x.CephMonitors, false, e) @@ -9489,18 +9489,18 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.CephMonitors == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym607 := z.EncBinary() + _ = yym607 if false { } else { z.F.EncSliceStringV(x.CephMonitors, false, e) } } } - if yyr2 || yy2arr2 { + if yyr604 || yy2arr604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym609 := z.EncBinary() + _ = yym609 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDImage)) @@ -9509,18 +9509,18 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym610 := z.EncBinary() + _ = yym610 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDImage)) } } - if yyr2 || yy2arr2 { + if yyr604 || yy2arr604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq604[2] { + yym612 := z.EncBinary() + _ = yym612 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -9529,23 +9529,23 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq604[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym613 := z.EncBinary() + _ = yym613 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr604 || yy2arr604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq604[3] { + yym615 := z.EncBinary() + _ = yym615 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDPool)) @@ -9554,23 +9554,23 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq604[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pool")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym616 := z.EncBinary() + _ = yym616 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RBDPool)) } } } - if yyr2 || yy2arr2 { + if yyr604 || yy2arr604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq604[4] { + yym618 := z.EncBinary() + _ = yym618 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RadosUser)) @@ -9579,23 +9579,23 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq604[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym619 := z.EncBinary() + _ = yym619 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RadosUser)) } } } - if yyr2 || yy2arr2 { + if yyr604 || yy2arr604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq604[5] { + yym621 := z.EncBinary() + _ = yym621 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Keyring)) @@ -9604,21 +9604,21 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq604[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("keyring")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym622 := z.EncBinary() + _ = yym622 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Keyring)) } } } - if yyr2 || yy2arr2 { + if yyr604 || yy2arr604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq604[6] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -9628,7 +9628,7 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[6] { + if yyq604[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -9639,11 +9639,11 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr604 || yy2arr604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym25 := z.EncBinary() - _ = yym25 + if yyq604[7] { + yym625 := z.EncBinary() + _ = yym625 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -9652,19 +9652,19 @@ func (x *RBDVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[7] { + if yyq604[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym26 := z.EncBinary() - _ = yym26 + yym626 := z.EncBinary() + _ = yym626 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr604 || yy2arr604 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9677,25 +9677,25 @@ func (x *RBDVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym627 := z.DecBinary() + _ = yym627 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct628 := r.ContainerType() + if yyct628 == codecSelferValueTypeMap1234 { + yyl628 := r.ReadMapStart() + if yyl628 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl628, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct628 == codecSelferValueTypeArray1234 { + yyl628 := r.ReadArrayStart() + if yyl628 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl628, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9707,12 +9707,12 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys629Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys629Slc + var yyhl629 bool = l >= 0 + for yyj629 := 0; ; yyj629++ { + if yyhl629 { + if yyj629 >= l { break } } else { @@ -9721,20 +9721,20 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys629Slc = r.DecodeBytes(yys629Slc, true, true) + yys629 := string(yys629Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys629 { case "monitors": if r.TryDecodeAsNil() { x.CephMonitors = nil } else { - yyv4 := &x.CephMonitors - yym5 := z.DecBinary() - _ = yym5 + yyv630 := &x.CephMonitors + yym631 := z.DecBinary() + _ = yym631 if false { } else { - z.F.DecSliceStringX(yyv4, false, d) + z.F.DecSliceStringX(yyv630, false, d) } } case "image": @@ -9785,9 +9785,9 @@ func (x *RBDVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys629) + } // end switch yys629 + } // end for yyj629 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9795,16 +9795,16 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj13 int - var yyb13 bool - var yyhl13 bool = l >= 0 - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + var yyj639 int + var yyb639 bool + var yyhl639 bool = l >= 0 + yyj639++ + if yyhl639 { + yyb639 = yyj639 > l } else { - yyb13 = r.CheckBreak() + yyb639 = r.CheckBreak() } - if yyb13 { + if yyb639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9812,21 +9812,21 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.CephMonitors = nil } else { - yyv14 := &x.CephMonitors - yym15 := z.DecBinary() - _ = yym15 + yyv640 := &x.CephMonitors + yym641 := z.DecBinary() + _ = yym641 if false { } else { - z.F.DecSliceStringX(yyv14, false, d) + z.F.DecSliceStringX(yyv640, false, d) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj639++ + if yyhl639 { + yyb639 = yyj639 > l } else { - yyb13 = r.CheckBreak() + yyb639 = r.CheckBreak() } - if yyb13 { + if yyb639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9836,13 +9836,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RBDImage = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj639++ + if yyhl639 { + yyb639 = yyj639 > l } else { - yyb13 = r.CheckBreak() + yyb639 = r.CheckBreak() } - if yyb13 { + if yyb639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9852,13 +9852,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FSType = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj639++ + if yyhl639 { + yyb639 = yyj639 > l } else { - yyb13 = r.CheckBreak() + yyb639 = r.CheckBreak() } - if yyb13 { + if yyb639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9868,13 +9868,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RBDPool = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj639++ + if yyhl639 { + yyb639 = yyj639 > l } else { - yyb13 = r.CheckBreak() + yyb639 = r.CheckBreak() } - if yyb13 { + if yyb639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9884,13 +9884,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RadosUser = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj639++ + if yyhl639 { + yyb639 = yyj639 > l } else { - yyb13 = r.CheckBreak() + yyb639 = r.CheckBreak() } - if yyb13 { + if yyb639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9900,13 +9900,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Keyring = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj639++ + if yyhl639 { + yyb639 = yyj639 > l } else { - yyb13 = r.CheckBreak() + yyb639 = r.CheckBreak() } - if yyb13 { + if yyb639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9921,13 +9921,13 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SecretRef.CodecDecodeSelf(d) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj639++ + if yyhl639 { + yyb639 = yyj639 > l } else { - yyb13 = r.CheckBreak() + yyb639 = r.CheckBreak() } - if yyb13 { + if yyb639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9938,17 +9938,17 @@ func (x *RBDVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } for { - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj639++ + if yyhl639 { + yyb639 = yyj639 > l } else { - yyb13 = r.CheckBreak() + yyb639 = r.CheckBreak() } - if yyb13 { + if yyb639 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj13-1, "") + z.DecStructFieldNotFound(yyj639-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9960,35 +9960,35 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym649 := z.EncBinary() + _ = yym649 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FSType != "" - yyq2[2] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep650 := !z.EncBinary() + yy2arr650 := z.EncBasicHandle().StructToArray + var yyq650 [3]bool + _, _, _ = yysep650, yyq650, yy2arr650 + const yyr650 bool = false + yyq650[1] = x.FSType != "" + yyq650[2] = x.ReadOnly != false + var yynn650 int + if yyr650 || yy2arr650 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn650 = 1 + for _, b := range yyq650 { if b { - yynn2++ + yynn650++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn650) + yynn650 = 0 } - if yyr2 || yy2arr2 { + if yyr650 || yy2arr650 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym652 := z.EncBinary() + _ = yym652 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) @@ -9997,18 +9997,18 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym653 := z.EncBinary() + _ = yym653 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) } } - if yyr2 || yy2arr2 { + if yyr650 || yy2arr650 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq650[1] { + yym655 := z.EncBinary() + _ = yym655 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -10017,23 +10017,23 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq650[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym656 := z.EncBinary() + _ = yym656 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr650 || yy2arr650 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq650[2] { + yym658 := z.EncBinary() + _ = yym658 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10042,19 +10042,19 @@ func (x *CinderVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[2] { + if yyq650[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym659 := z.EncBinary() + _ = yym659 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr650 || yy2arr650 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10067,25 +10067,25 @@ func (x *CinderVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym660 := z.DecBinary() + _ = yym660 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct661 := r.ContainerType() + if yyct661 == codecSelferValueTypeMap1234 { + yyl661 := r.ReadMapStart() + if yyl661 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl661, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct661 == codecSelferValueTypeArray1234 { + yyl661 := r.ReadArrayStart() + if yyl661 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl661, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10097,12 +10097,12 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys662Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys662Slc + var yyhl662 bool = l >= 0 + for yyj662 := 0; ; yyj662++ { + if yyhl662 { + if yyj662 >= l { break } } else { @@ -10111,10 +10111,10 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys662Slc = r.DecodeBytes(yys662Slc, true, true) + yys662 := string(yys662Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys662 { case "volumeID": if r.TryDecodeAsNil() { x.VolumeID = "" @@ -10134,9 +10134,9 @@ func (x *CinderVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys662) + } // end switch yys662 + } // end for yyj662 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10144,16 +10144,16 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj666 int + var yyb666 bool + var yyhl666 bool = l >= 0 + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l } else { - yyb7 = r.CheckBreak() + yyb666 = r.CheckBreak() } - if yyb7 { + if yyb666 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10163,13 +10163,13 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.VolumeID = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l } else { - yyb7 = r.CheckBreak() + yyb666 = r.CheckBreak() } - if yyb7 { + if yyb666 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10179,13 +10179,13 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.FSType = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l } else { - yyb7 = r.CheckBreak() + yyb666 = r.CheckBreak() } - if yyb7 { + if yyb666 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10196,17 +10196,17 @@ func (x *CinderVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.ReadOnly = bool(r.DecodeBool()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj666++ + if yyhl666 { + yyb666 = yyj666 > l } else { - yyb7 = r.CheckBreak() + yyb666 = r.CheckBreak() } - if yyb7 { + if yyb666 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj666-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10218,41 +10218,41 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym670 := z.EncBinary() + _ = yym670 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Path != "" - yyq2[2] = x.User != "" - yyq2[3] = x.SecretFile != "" - yyq2[4] = x.SecretRef != nil - yyq2[5] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep671 := !z.EncBinary() + yy2arr671 := z.EncBasicHandle().StructToArray + var yyq671 [6]bool + _, _, _ = yysep671, yyq671, yy2arr671 + const yyr671 bool = false + yyq671[1] = x.Path != "" + yyq671[2] = x.User != "" + yyq671[3] = x.SecretFile != "" + yyq671[4] = x.SecretRef != nil + yyq671[5] = x.ReadOnly != false + var yynn671 int + if yyr671 || yy2arr671 { r.EncodeArrayStart(6) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn671 = 1 + for _, b := range yyq671 { if b { - yynn2++ + yynn671++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn671) + yynn671 = 0 } - if yyr2 || yy2arr2 { + if yyr671 || yy2arr671 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Monitors == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym673 := z.EncBinary() + _ = yym673 if false { } else { z.F.EncSliceStringV(x.Monitors, false, e) @@ -10265,19 +10265,19 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.Monitors == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym674 := z.EncBinary() + _ = yym674 if false { } else { z.F.EncSliceStringV(x.Monitors, false, e) } } } - if yyr2 || yy2arr2 { + if yyr671 || yy2arr671 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq671[1] { + yym676 := z.EncBinary() + _ = yym676 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -10286,23 +10286,23 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq671[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym677 := z.EncBinary() + _ = yym677 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr2 || yy2arr2 { + if yyr671 || yy2arr671 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq671[2] { + yym679 := z.EncBinary() + _ = yym679 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -10311,23 +10311,23 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq671[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym680 := z.EncBinary() + _ = yym680 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr2 || yy2arr2 { + if yyr671 || yy2arr671 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq671[3] { + yym682 := z.EncBinary() + _ = yym682 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretFile)) @@ -10336,21 +10336,21 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq671[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym683 := z.EncBinary() + _ = yym683 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretFile)) } } } - if yyr2 || yy2arr2 { + if yyr671 || yy2arr671 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq671[4] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -10360,7 +10360,7 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq671[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -10371,11 +10371,11 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr671 || yy2arr671 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq671[5] { + yym686 := z.EncBinary() + _ = yym686 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10384,19 +10384,19 @@ func (x *CephFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[5] { + if yyq671[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym687 := z.EncBinary() + _ = yym687 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr671 || yy2arr671 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10409,25 +10409,25 @@ func (x *CephFSVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym688 := z.DecBinary() + _ = yym688 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct689 := r.ContainerType() + if yyct689 == codecSelferValueTypeMap1234 { + yyl689 := r.ReadMapStart() + if yyl689 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl689, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct689 == codecSelferValueTypeArray1234 { + yyl689 := r.ReadArrayStart() + if yyl689 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl689, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10439,12 +10439,12 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys690Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys690Slc + var yyhl690 bool = l >= 0 + for yyj690 := 0; ; yyj690++ { + if yyhl690 { + if yyj690 >= l { break } } else { @@ -10453,20 +10453,20 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys690Slc = r.DecodeBytes(yys690Slc, true, true) + yys690 := string(yys690Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys690 { case "monitors": if r.TryDecodeAsNil() { x.Monitors = nil } else { - yyv4 := &x.Monitors - yym5 := z.DecBinary() - _ = yym5 + yyv691 := &x.Monitors + yym692 := z.DecBinary() + _ = yym692 if false { } else { - z.F.DecSliceStringX(yyv4, false, d) + z.F.DecSliceStringX(yyv691, false, d) } } case "path": @@ -10505,9 +10505,9 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys690) + } // end switch yys690 + } // end for yyj690 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10515,16 +10515,16 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj698 int + var yyb698 bool + var yyhl698 bool = l >= 0 + yyj698++ + if yyhl698 { + yyb698 = yyj698 > l } else { - yyb11 = r.CheckBreak() + yyb698 = r.CheckBreak() } - if yyb11 { + if yyb698 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10532,21 +10532,21 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Monitors = nil } else { - yyv12 := &x.Monitors - yym13 := z.DecBinary() - _ = yym13 + yyv699 := &x.Monitors + yym700 := z.DecBinary() + _ = yym700 if false { } else { - z.F.DecSliceStringX(yyv12, false, d) + z.F.DecSliceStringX(yyv699, false, d) } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj698++ + if yyhl698 { + yyb698 = yyj698 > l } else { - yyb11 = r.CheckBreak() + yyb698 = r.CheckBreak() } - if yyb11 { + if yyb698 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10556,13 +10556,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Path = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj698++ + if yyhl698 { + yyb698 = yyj698 > l } else { - yyb11 = r.CheckBreak() + yyb698 = r.CheckBreak() } - if yyb11 { + if yyb698 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10572,13 +10572,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.User = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj698++ + if yyhl698 { + yyb698 = yyj698 > l } else { - yyb11 = r.CheckBreak() + yyb698 = r.CheckBreak() } - if yyb11 { + if yyb698 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10588,13 +10588,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.SecretFile = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj698++ + if yyhl698 { + yyb698 = yyj698 > l } else { - yyb11 = r.CheckBreak() + yyb698 = r.CheckBreak() } - if yyb11 { + if yyb698 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10609,13 +10609,13 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SecretRef.CodecDecodeSelf(d) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj698++ + if yyhl698 { + yyb698 = yyj698 > l } else { - yyb11 = r.CheckBreak() + yyb698 = r.CheckBreak() } - if yyb11 { + if yyb698 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10626,17 +10626,17 @@ func (x *CephFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.ReadOnly = bool(r.DecodeBool()) } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj698++ + if yyhl698 { + yyb698 = yyj698 > l } else { - yyb11 = r.CheckBreak() + yyb698 = r.CheckBreak() } - if yyb11 { + if yyb698 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj698-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10648,33 +10648,33 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym706 := z.EncBinary() + _ = yym706 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep707 := !z.EncBinary() + yy2arr707 := z.EncBasicHandle().StructToArray + var yyq707 [1]bool + _, _, _ = yysep707, yyq707, yy2arr707 + const yyr707 bool = false + var yynn707 int + if yyr707 || yy2arr707 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn707 = 1 + for _, b := range yyq707 { if b { - yynn2++ + yynn707++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn707) + yynn707 = 0 } - if yyr2 || yy2arr2 { + if yyr707 || yy2arr707 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym709 := z.EncBinary() + _ = yym709 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) @@ -10683,14 +10683,14 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("datasetName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym710 := z.EncBinary() + _ = yym710 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) } } - if yyr2 || yy2arr2 { + if yyr707 || yy2arr707 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10703,25 +10703,25 @@ func (x *FlockerVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym711 := z.DecBinary() + _ = yym711 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct712 := r.ContainerType() + if yyct712 == codecSelferValueTypeMap1234 { + yyl712 := r.ReadMapStart() + if yyl712 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl712, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct712 == codecSelferValueTypeArray1234 { + yyl712 := r.ReadArrayStart() + if yyl712 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl712, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10733,12 +10733,12 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys713Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys713Slc + var yyhl713 bool = l >= 0 + for yyj713 := 0; ; yyj713++ { + if yyhl713 { + if yyj713 >= l { break } } else { @@ -10747,10 +10747,10 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys713Slc = r.DecodeBytes(yys713Slc, true, true) + yys713 := string(yys713Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys713 { case "datasetName": if r.TryDecodeAsNil() { x.DatasetName = "" @@ -10758,9 +10758,9 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.DatasetName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys713) + } // end switch yys713 + } // end for yyj713 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10768,16 +10768,16 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj715 int + var yyb715 bool + var yyhl715 bool = l >= 0 + yyj715++ + if yyhl715 { + yyb715 = yyj715 > l } else { - yyb5 = r.CheckBreak() + yyb715 = r.CheckBreak() } - if yyb5 { + if yyb715 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10788,17 +10788,17 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.DatasetName = string(r.DecodeString()) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj715++ + if yyhl715 { + yyb715 = yyj715 > l } else { - yyb5 = r.CheckBreak() + yyb715 = r.CheckBreak() } - if yyb5 { + if yyb715 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj715-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10807,8 +10807,8 @@ func (x StorageMedium) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym717 := z.EncBinary() + _ = yym717 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -10820,8 +10820,8 @@ func (x *StorageMedium) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym718 := z.DecBinary() + _ = yym718 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -10833,8 +10833,8 @@ func (x Protocol) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym719 := z.EncBinary() + _ = yym719 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -10846,8 +10846,8 @@ func (x *Protocol) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym720 := z.DecBinary() + _ = yym720 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -10862,36 +10862,36 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym721 := z.EncBinary() + _ = yym721 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FSType != "" - yyq2[2] = x.Partition != 0 - yyq2[3] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep722 := !z.EncBinary() + yy2arr722 := z.EncBasicHandle().StructToArray + var yyq722 [4]bool + _, _, _ = yysep722, yyq722, yy2arr722 + const yyr722 bool = false + yyq722[1] = x.FSType != "" + yyq722[2] = x.Partition != 0 + yyq722[3] = x.ReadOnly != false + var yynn722 int + if yyr722 || yy2arr722 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn722 = 1 + for _, b := range yyq722 { if b { - yynn2++ + yynn722++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn722) + yynn722 = 0 } - if yyr2 || yy2arr2 { + if yyr722 || yy2arr722 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym724 := z.EncBinary() + _ = yym724 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) @@ -10900,18 +10900,18 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pdName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym725 := z.EncBinary() + _ = yym725 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) } } - if yyr2 || yy2arr2 { + if yyr722 || yy2arr722 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq722[1] { + yym727 := z.EncBinary() + _ = yym727 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -10920,23 +10920,23 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq722[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym728 := z.EncBinary() + _ = yym728 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr722 || yy2arr722 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq722[2] { + yym730 := z.EncBinary() + _ = yym730 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -10945,23 +10945,23 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[2] { + if yyq722[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym731 := z.EncBinary() + _ = yym731 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr2 || yy2arr2 { + if yyr722 || yy2arr722 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq722[3] { + yym733 := z.EncBinary() + _ = yym733 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -10970,19 +10970,19 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[3] { + if yyq722[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym734 := z.EncBinary() + _ = yym734 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr722 || yy2arr722 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10995,25 +10995,25 @@ func (x *GCEPersistentDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym735 := z.DecBinary() + _ = yym735 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct736 := r.ContainerType() + if yyct736 == codecSelferValueTypeMap1234 { + yyl736 := r.ReadMapStart() + if yyl736 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl736, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct736 == codecSelferValueTypeArray1234 { + yyl736 := r.ReadArrayStart() + if yyl736 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl736, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11025,12 +11025,12 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys737Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys737Slc + var yyhl737 bool = l >= 0 + for yyj737 := 0; ; yyj737++ { + if yyhl737 { + if yyj737 >= l { break } } else { @@ -11039,10 +11039,10 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys737Slc = r.DecodeBytes(yys737Slc, true, true) + yys737 := string(yys737Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys737 { case "pdName": if r.TryDecodeAsNil() { x.PDName = "" @@ -11068,9 +11068,9 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys737) + } // end switch yys737 + } // end for yyj737 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11078,16 +11078,16 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj742 int + var yyb742 bool + var yyhl742 bool = l >= 0 + yyj742++ + if yyhl742 { + yyb742 = yyj742 > l } else { - yyb8 = r.CheckBreak() + yyb742 = r.CheckBreak() } - if yyb8 { + if yyb742 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11097,13 +11097,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.PDName = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj742++ + if yyhl742 { + yyb742 = yyj742 > l } else { - yyb8 = r.CheckBreak() + yyb742 = r.CheckBreak() } - if yyb8 { + if yyb742 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11113,13 +11113,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.FSType = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj742++ + if yyhl742 { + yyb742 = yyj742 > l } else { - yyb8 = r.CheckBreak() + yyb742 = r.CheckBreak() } - if yyb8 { + if yyb742 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11129,13 +11129,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.Partition = int32(r.DecodeInt(32)) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj742++ + if yyhl742 { + yyb742 = yyj742 > l } else { - yyb8 = r.CheckBreak() + yyb742 = r.CheckBreak() } - if yyb8 { + if yyb742 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11146,17 +11146,17 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj742++ + if yyhl742 { + yyb742 = yyj742 > l } else { - yyb8 = r.CheckBreak() + yyb742 = r.CheckBreak() } - if yyb8 { + if yyb742 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj742-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11168,37 +11168,37 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym747 := z.EncBinary() + _ = yym747 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FSType != "" - yyq2[2] = x.SecretRef != nil - yyq2[3] = x.ReadOnly != false - yyq2[4] = len(x.Options) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep748 := !z.EncBinary() + yy2arr748 := z.EncBasicHandle().StructToArray + var yyq748 [5]bool + _, _, _ = yysep748, yyq748, yy2arr748 + const yyr748 bool = false + yyq748[1] = x.FSType != "" + yyq748[2] = x.SecretRef != nil + yyq748[3] = x.ReadOnly != false + yyq748[4] = len(x.Options) != 0 + var yynn748 int + if yyr748 || yy2arr748 { r.EncodeArrayStart(5) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn748 = 1 + for _, b := range yyq748 { if b { - yynn2++ + yynn748++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn748) + yynn748 = 0 } - if yyr2 || yy2arr2 { + if yyr748 || yy2arr748 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym750 := z.EncBinary() + _ = yym750 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) @@ -11207,18 +11207,18 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("driver")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym751 := z.EncBinary() + _ = yym751 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) } } - if yyr2 || yy2arr2 { + if yyr748 || yy2arr748 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq748[1] { + yym753 := z.EncBinary() + _ = yym753 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -11227,21 +11227,21 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq748[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym754 := z.EncBinary() + _ = yym754 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr748 || yy2arr748 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq748[2] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -11251,7 +11251,7 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq748[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -11262,11 +11262,11 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr748 || yy2arr748 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq748[3] { + yym757 := z.EncBinary() + _ = yym757 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11275,26 +11275,26 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[3] { + if yyq748[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym758 := z.EncBinary() + _ = yym758 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr748 || yy2arr748 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq748[4] { if x.Options == nil { r.EncodeNil() } else { - yym16 := z.EncBinary() - _ = yym16 + yym760 := z.EncBinary() + _ = yym760 if false { } else { z.F.EncMapStringStringV(x.Options, false, e) @@ -11304,15 +11304,15 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq748[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("options")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Options == nil { r.EncodeNil() } else { - yym17 := z.EncBinary() - _ = yym17 + yym761 := z.EncBinary() + _ = yym761 if false { } else { z.F.EncMapStringStringV(x.Options, false, e) @@ -11320,7 +11320,7 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr748 || yy2arr748 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11333,25 +11333,25 @@ func (x *FlexVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym762 := z.DecBinary() + _ = yym762 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct763 := r.ContainerType() + if yyct763 == codecSelferValueTypeMap1234 { + yyl763 := r.ReadMapStart() + if yyl763 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl763, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct763 == codecSelferValueTypeArray1234 { + yyl763 := r.ReadArrayStart() + if yyl763 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl763, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11363,12 +11363,12 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys764Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys764Slc + var yyhl764 bool = l >= 0 + for yyj764 := 0; ; yyj764++ { + if yyhl764 { + if yyj764 >= l { break } } else { @@ -11377,10 +11377,10 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys764Slc = r.DecodeBytes(yys764Slc, true, true) + yys764 := string(yys764Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys764 { case "driver": if r.TryDecodeAsNil() { x.Driver = "" @@ -11414,18 +11414,18 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Options = nil } else { - yyv8 := &x.Options - yym9 := z.DecBinary() - _ = yym9 + yyv769 := &x.Options + yym770 := z.DecBinary() + _ = yym770 if false { } else { - z.F.DecMapStringStringX(yyv8, false, d) + z.F.DecMapStringStringX(yyv769, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys764) + } // end switch yys764 + } // end for yyj764 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11433,16 +11433,16 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj771 int + var yyb771 bool + var yyhl771 bool = l >= 0 + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb10 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb10 { + if yyb771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11452,13 +11452,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Driver = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb10 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb10 { + if yyb771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11468,13 +11468,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FSType = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb10 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb10 { + if yyb771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11489,13 +11489,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SecretRef.CodecDecodeSelf(d) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb10 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb10 { + if yyb771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11505,13 +11505,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ReadOnly = bool(r.DecodeBool()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb10 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb10 { + if yyb771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11519,26 +11519,26 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Options = nil } else { - yyv15 := &x.Options - yym16 := z.DecBinary() - _ = yym16 + yyv776 := &x.Options + yym777 := z.DecBinary() + _ = yym777 if false { } else { - z.F.DecMapStringStringX(yyv15, false, d) + z.F.DecMapStringStringX(yyv776, false, d) } } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb10 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb10 { + if yyb771 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj771-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11550,36 +11550,36 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym778 := z.EncBinary() + _ = yym778 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FSType != "" - yyq2[2] = x.Partition != 0 - yyq2[3] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep779 := !z.EncBinary() + yy2arr779 := z.EncBasicHandle().StructToArray + var yyq779 [4]bool + _, _, _ = yysep779, yyq779, yy2arr779 + const yyr779 bool = false + yyq779[1] = x.FSType != "" + yyq779[2] = x.Partition != 0 + yyq779[3] = x.ReadOnly != false + var yynn779 int + if yyr779 || yy2arr779 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn779 = 1 + for _, b := range yyq779 { if b { - yynn2++ + yynn779++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn779) + yynn779 = 0 } - if yyr2 || yy2arr2 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym781 := z.EncBinary() + _ = yym781 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) @@ -11588,18 +11588,18 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym782 := z.EncBinary() + _ = yym782 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) } } - if yyr2 || yy2arr2 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq779[1] { + yym784 := z.EncBinary() + _ = yym784 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -11608,23 +11608,23 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq779[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym785 := z.EncBinary() + _ = yym785 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq779[2] { + yym787 := z.EncBinary() + _ = yym787 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -11633,23 +11633,23 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeInt(0) } } else { - if yyq2[2] { + if yyq779[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym788 := z.EncBinary() + _ = yym788 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr2 || yy2arr2 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq779[3] { + yym790 := z.EncBinary() + _ = yym790 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11658,19 +11658,19 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeBool(false) } } else { - if yyq2[3] { + if yyq779[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym791 := z.EncBinary() + _ = yym791 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11683,25 +11683,25 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym792 := z.DecBinary() + _ = yym792 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct793 := r.ContainerType() + if yyct793 == codecSelferValueTypeMap1234 { + yyl793 := r.ReadMapStart() + if yyl793 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl793, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct793 == codecSelferValueTypeArray1234 { + yyl793 := r.ReadArrayStart() + if yyl793 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl793, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11713,12 +11713,12 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys794Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys794Slc + var yyhl794 bool = l >= 0 + for yyj794 := 0; ; yyj794++ { + if yyhl794 { + if yyj794 >= l { break } } else { @@ -11727,10 +11727,10 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys794Slc = r.DecodeBytes(yys794Slc, true, true) + yys794 := string(yys794Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys794 { case "volumeID": if r.TryDecodeAsNil() { x.VolumeID = "" @@ -11756,9 +11756,9 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys794) + } // end switch yys794 + } // end for yyj794 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11766,16 +11766,16 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj799 int + var yyb799 bool + var yyhl799 bool = l >= 0 + yyj799++ + if yyhl799 { + yyb799 = yyj799 > l } else { - yyb8 = r.CheckBreak() + yyb799 = r.CheckBreak() } - if yyb8 { + if yyb799 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11785,13 +11785,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.VolumeID = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj799++ + if yyhl799 { + yyb799 = yyj799 > l } else { - yyb8 = r.CheckBreak() + yyb799 = r.CheckBreak() } - if yyb8 { + if yyb799 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11801,13 +11801,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.FSType = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj799++ + if yyhl799 { + yyb799 = yyj799 > l } else { - yyb8 = r.CheckBreak() + yyb799 = r.CheckBreak() } - if yyb8 { + if yyb799 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11817,13 +11817,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.Partition = int32(r.DecodeInt(32)) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj799++ + if yyhl799 { + yyb799 = yyj799 > l } else { - yyb8 = r.CheckBreak() + yyb799 = r.CheckBreak() } - if yyb8 { + if yyb799 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11834,17 +11834,17 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co x.ReadOnly = bool(r.DecodeBool()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj799++ + if yyhl799 { + yyb799 = yyj799 > l } else { - yyb8 = r.CheckBreak() + yyb799 = r.CheckBreak() } - if yyb8 { + if yyb799 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj799-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11856,35 +11856,35 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym804 := z.EncBinary() + _ = yym804 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Revision != "" - yyq2[2] = x.Directory != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep805 := !z.EncBinary() + yy2arr805 := z.EncBasicHandle().StructToArray + var yyq805 [3]bool + _, _, _ = yysep805, yyq805, yy2arr805 + const yyr805 bool = false + yyq805[1] = x.Revision != "" + yyq805[2] = x.Directory != "" + var yynn805 int + if yyr805 || yy2arr805 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn805 = 1 + for _, b := range yyq805 { if b { - yynn2++ + yynn805++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn805) + yynn805 = 0 } - if yyr2 || yy2arr2 { + if yyr805 || yy2arr805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym807 := z.EncBinary() + _ = yym807 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) @@ -11893,18 +11893,18 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("repository")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym808 := z.EncBinary() + _ = yym808 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) } } - if yyr2 || yy2arr2 { + if yyr805 || yy2arr805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq805[1] { + yym810 := z.EncBinary() + _ = yym810 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) @@ -11913,23 +11913,23 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq805[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym811 := z.EncBinary() + _ = yym811 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) } } } - if yyr2 || yy2arr2 { + if yyr805 || yy2arr805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq805[2] { + yym813 := z.EncBinary() + _ = yym813 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) @@ -11938,19 +11938,19 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq805[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("directory")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym814 := z.EncBinary() + _ = yym814 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) } } } - if yyr2 || yy2arr2 { + if yyr805 || yy2arr805 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11963,25 +11963,25 @@ func (x *GitRepoVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym815 := z.DecBinary() + _ = yym815 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct816 := r.ContainerType() + if yyct816 == codecSelferValueTypeMap1234 { + yyl816 := r.ReadMapStart() + if yyl816 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl816, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct816 == codecSelferValueTypeArray1234 { + yyl816 := r.ReadArrayStart() + if yyl816 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl816, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11993,12 +11993,12 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys817Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys817Slc + var yyhl817 bool = l >= 0 + for yyj817 := 0; ; yyj817++ { + if yyhl817 { + if yyj817 >= l { break } } else { @@ -12007,10 +12007,10 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys817Slc = r.DecodeBytes(yys817Slc, true, true) + yys817 := string(yys817Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys817 { case "repository": if r.TryDecodeAsNil() { x.Repository = "" @@ -12030,9 +12030,9 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Directory = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys817) + } // end switch yys817 + } // end for yyj817 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12040,16 +12040,16 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj821 int + var yyb821 bool + var yyhl821 bool = l >= 0 + yyj821++ + if yyhl821 { + yyb821 = yyj821 > l } else { - yyb7 = r.CheckBreak() + yyb821 = r.CheckBreak() } - if yyb7 { + if yyb821 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12059,13 +12059,13 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Repository = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj821++ + if yyhl821 { + yyb821 = yyj821 > l } else { - yyb7 = r.CheckBreak() + yyb821 = r.CheckBreak() } - if yyb7 { + if yyb821 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12075,13 +12075,13 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Revision = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj821++ + if yyhl821 { + yyb821 = yyj821 > l } else { - yyb7 = r.CheckBreak() + yyb821 = r.CheckBreak() } - if yyb7 { + if yyb821 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12092,17 +12092,17 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Directory = string(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj821++ + if yyhl821 { + yyb821 = yyj821 > l } else { - yyb7 = r.CheckBreak() + yyb821 = r.CheckBreak() } - if yyb7 { + if yyb821 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj821-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12114,36 +12114,36 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym825 := z.EncBinary() + _ = yym825 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.SecretName != "" - yyq2[1] = len(x.Items) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep826 := !z.EncBinary() + yy2arr826 := z.EncBasicHandle().StructToArray + var yyq826 [2]bool + _, _, _ = yysep826, yyq826, yy2arr826 + const yyr826 bool = false + yyq826[0] = x.SecretName != "" + yyq826[1] = len(x.Items) != 0 + var yynn826 int + if yyr826 || yy2arr826 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn826 = 0 + for _, b := range yyq826 { if b { - yynn2++ + yynn826++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn826) + yynn826 = 0 } - if yyr2 || yy2arr2 { + if yyr826 || yy2arr826 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq826[0] { + yym828 := z.EncBinary() + _ = yym828 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -12152,26 +12152,26 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq826[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym829 := z.EncBinary() + _ = yym829 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } } - if yyr2 || yy2arr2 { + if yyr826 || yy2arr826 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq826[1] { if x.Items == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym831 := z.EncBinary() + _ = yym831 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -12181,15 +12181,15 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq826[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym832 := z.EncBinary() + _ = yym832 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -12197,7 +12197,7 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr826 || yy2arr826 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12210,25 +12210,25 @@ func (x *SecretVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym833 := z.DecBinary() + _ = yym833 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct834 := r.ContainerType() + if yyct834 == codecSelferValueTypeMap1234 { + yyl834 := r.ReadMapStart() + if yyl834 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl834, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct834 == codecSelferValueTypeArray1234 { + yyl834 := r.ReadArrayStart() + if yyl834 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl834, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12240,12 +12240,12 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys835Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys835Slc + var yyhl835 bool = l >= 0 + for yyj835 := 0; ; yyj835++ { + if yyhl835 { + if yyj835 >= l { break } } else { @@ -12254,10 +12254,10 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys835Slc = r.DecodeBytes(yys835Slc, true, true) + yys835 := string(yys835Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys835 { case "secretName": if r.TryDecodeAsNil() { x.SecretName = "" @@ -12268,18 +12268,18 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv5 := &x.Items - yym6 := z.DecBinary() - _ = yym6 + yyv837 := &x.Items + yym838 := z.DecBinary() + _ = yym838 if false { } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv5), d) + h.decSliceKeyToPath((*[]KeyToPath)(yyv837), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys835) + } // end switch yys835 + } // end for yyj835 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12287,16 +12287,16 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj839 int + var yyb839 bool + var yyhl839 bool = l >= 0 + yyj839++ + if yyhl839 { + yyb839 = yyj839 > l } else { - yyb7 = r.CheckBreak() + yyb839 = r.CheckBreak() } - if yyb7 { + if yyb839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12306,13 +12306,13 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.SecretName = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj839++ + if yyhl839 { + yyb839 = yyj839 > l } else { - yyb7 = r.CheckBreak() + yyb839 = r.CheckBreak() } - if yyb7 { + if yyb839 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12320,26 +12320,26 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Items = nil } else { - yyv9 := &x.Items - yym10 := z.DecBinary() - _ = yym10 + yyv841 := &x.Items + yym842 := z.DecBinary() + _ = yym842 if false { } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv9), d) + h.decSliceKeyToPath((*[]KeyToPath)(yyv841), d) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj839++ + if yyhl839 { + yyb839 = yyj839 > l } else { - yyb7 = r.CheckBreak() + yyb839 = r.CheckBreak() } - if yyb7 { + if yyb839 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj839-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12351,34 +12351,34 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym843 := z.EncBinary() + _ = yym843 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep844 := !z.EncBinary() + yy2arr844 := z.EncBasicHandle().StructToArray + var yyq844 [3]bool + _, _, _ = yysep844, yyq844, yy2arr844 + const yyr844 bool = false + yyq844[2] = x.ReadOnly != false + var yynn844 int + if yyr844 || yy2arr844 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn844 = 2 + for _, b := range yyq844 { if b { - yynn2++ + yynn844++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn844) + yynn844 = 0 } - if yyr2 || yy2arr2 { + if yyr844 || yy2arr844 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym846 := z.EncBinary() + _ = yym846 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) @@ -12387,17 +12387,17 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("server")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym847 := z.EncBinary() + _ = yym847 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) } } - if yyr2 || yy2arr2 { + if yyr844 || yy2arr844 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym849 := z.EncBinary() + _ = yym849 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -12406,18 +12406,18 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym850 := z.EncBinary() + _ = yym850 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2 || yy2arr2 { + if yyr844 || yy2arr844 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq844[2] { + yym852 := z.EncBinary() + _ = yym852 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -12426,19 +12426,19 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[2] { + if yyq844[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym853 := z.EncBinary() + _ = yym853 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr844 || yy2arr844 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12451,25 +12451,25 @@ func (x *NFSVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym854 := z.DecBinary() + _ = yym854 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct855 := r.ContainerType() + if yyct855 == codecSelferValueTypeMap1234 { + yyl855 := r.ReadMapStart() + if yyl855 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl855, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct855 == codecSelferValueTypeArray1234 { + yyl855 := r.ReadArrayStart() + if yyl855 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl855, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12481,12 +12481,12 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys856Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys856Slc + var yyhl856 bool = l >= 0 + for yyj856 := 0; ; yyj856++ { + if yyhl856 { + if yyj856 >= l { break } } else { @@ -12495,10 +12495,10 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys856Slc = r.DecodeBytes(yys856Slc, true, true) + yys856 := string(yys856Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys856 { case "server": if r.TryDecodeAsNil() { x.Server = "" @@ -12518,9 +12518,9 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys856) + } // end switch yys856 + } // end for yyj856 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12528,16 +12528,16 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj860 int + var yyb860 bool + var yyhl860 bool = l >= 0 + yyj860++ + if yyhl860 { + yyb860 = yyj860 > l } else { - yyb7 = r.CheckBreak() + yyb860 = r.CheckBreak() } - if yyb7 { + if yyb860 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12547,13 +12547,13 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Server = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj860++ + if yyhl860 { + yyb860 = yyj860 > l } else { - yyb7 = r.CheckBreak() + yyb860 = r.CheckBreak() } - if yyb7 { + if yyb860 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12563,13 +12563,13 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj860++ + if yyhl860 { + yyb860 = yyj860 > l } else { - yyb7 = r.CheckBreak() + yyb860 = r.CheckBreak() } - if yyb7 { + if yyb860 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12580,17 +12580,17 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj860++ + if yyhl860 { + yyb860 = yyj860 > l } else { - yyb7 = r.CheckBreak() + yyb860 = r.CheckBreak() } - if yyb7 { + if yyb860 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj860-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12602,36 +12602,36 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym864 := z.EncBinary() + _ = yym864 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[3] = x.ISCSIInterface != "" - yyq2[4] = x.FSType != "" - yyq2[5] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep865 := !z.EncBinary() + yy2arr865 := z.EncBasicHandle().StructToArray + var yyq865 [6]bool + _, _, _ = yysep865, yyq865, yy2arr865 + const yyr865 bool = false + yyq865[3] = x.ISCSIInterface != "" + yyq865[4] = x.FSType != "" + yyq865[5] = x.ReadOnly != false + var yynn865 int + if yyr865 || yy2arr865 { r.EncodeArrayStart(6) } else { - yynn2 = 3 - for _, b := range yyq2 { + yynn865 = 3 + for _, b := range yyq865 { if b { - yynn2++ + yynn865++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn865) + yynn865 = 0 } - if yyr2 || yy2arr2 { + if yyr865 || yy2arr865 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym867 := z.EncBinary() + _ = yym867 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) @@ -12640,17 +12640,17 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPortal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym868 := z.EncBinary() + _ = yym868 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) } } - if yyr2 || yy2arr2 { + if yyr865 || yy2arr865 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym870 := z.EncBinary() + _ = yym870 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) @@ -12659,17 +12659,17 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iqn")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym871 := z.EncBinary() + _ = yym871 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) } } - if yyr2 || yy2arr2 { + if yyr865 || yy2arr865 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym873 := z.EncBinary() + _ = yym873 if false { } else { r.EncodeInt(int64(x.Lun)) @@ -12678,18 +12678,18 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lun")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym874 := z.EncBinary() + _ = yym874 if false { } else { r.EncodeInt(int64(x.Lun)) } } - if yyr2 || yy2arr2 { + if yyr865 || yy2arr865 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq865[3] { + yym876 := z.EncBinary() + _ = yym876 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) @@ -12698,23 +12698,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq865[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsiInterface")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym877 := z.EncBinary() + _ = yym877 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) } } } - if yyr2 || yy2arr2 { + if yyr865 || yy2arr865 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq865[4] { + yym879 := z.EncBinary() + _ = yym879 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -12723,23 +12723,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq865[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym880 := z.EncBinary() + _ = yym880 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr865 || yy2arr865 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq865[5] { + yym882 := z.EncBinary() + _ = yym882 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -12748,19 +12748,19 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[5] { + if yyq865[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym883 := z.EncBinary() + _ = yym883 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr865 || yy2arr865 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12773,25 +12773,25 @@ func (x *ISCSIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym884 := z.DecBinary() + _ = yym884 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct885 := r.ContainerType() + if yyct885 == codecSelferValueTypeMap1234 { + yyl885 := r.ReadMapStart() + if yyl885 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl885, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct885 == codecSelferValueTypeArray1234 { + yyl885 := r.ReadArrayStart() + if yyl885 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl885, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12803,12 +12803,12 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -12817,10 +12817,10 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys886Slc = r.DecodeBytes(yys886Slc, true, true) + yys886 := string(yys886Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys886 { case "targetPortal": if r.TryDecodeAsNil() { x.TargetPortal = "" @@ -12858,9 +12858,9 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys886) + } // end switch yys886 + } // end for yyj886 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12868,16 +12868,16 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj893 int + var yyb893 bool + var yyhl893 bool = l >= 0 + yyj893++ + if yyhl893 { + yyb893 = yyj893 > l } else { - yyb10 = r.CheckBreak() + yyb893 = r.CheckBreak() } - if yyb10 { + if yyb893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12887,13 +12887,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.TargetPortal = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj893++ + if yyhl893 { + yyb893 = yyj893 > l } else { - yyb10 = r.CheckBreak() + yyb893 = r.CheckBreak() } - if yyb10 { + if yyb893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12903,13 +12903,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.IQN = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj893++ + if yyhl893 { + yyb893 = yyj893 > l } else { - yyb10 = r.CheckBreak() + yyb893 = r.CheckBreak() } - if yyb10 { + if yyb893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12919,13 +12919,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Lun = int32(r.DecodeInt(32)) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj893++ + if yyhl893 { + yyb893 = yyj893 > l } else { - yyb10 = r.CheckBreak() + yyb893 = r.CheckBreak() } - if yyb10 { + if yyb893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12935,13 +12935,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.ISCSIInterface = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj893++ + if yyhl893 { + yyb893 = yyj893 > l } else { - yyb10 = r.CheckBreak() + yyb893 = r.CheckBreak() } - if yyb10 { + if yyb893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12951,13 +12951,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.FSType = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj893++ + if yyhl893 { + yyb893 = yyj893 > l } else { - yyb10 = r.CheckBreak() + yyb893 = r.CheckBreak() } - if yyb10 { + if yyb893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12968,17 +12968,17 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.ReadOnly = bool(r.DecodeBool()) } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj893++ + if yyhl893 { + yyb893 = yyj893 > l } else { - yyb10 = r.CheckBreak() + yyb893 = r.CheckBreak() } - if yyb10 { + if yyb893 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj893-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12990,38 +12990,38 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym900 := z.EncBinary() + _ = yym900 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.FSType != "" - yyq2[3] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep901 := !z.EncBinary() + yy2arr901 := z.EncBasicHandle().StructToArray + var yyq901 [4]bool + _, _, _ = yysep901, yyq901, yy2arr901 + const yyr901 bool = false + yyq901[2] = x.FSType != "" + yyq901[3] = x.ReadOnly != false + var yynn901 int + if yyr901 || yy2arr901 { r.EncodeArrayStart(4) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn901 = 2 + for _, b := range yyq901 { if b { - yynn2++ + yynn901++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn901) + yynn901 = 0 } - if yyr2 || yy2arr2 { + if yyr901 || yy2arr901 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TargetWWNs == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym903 := z.EncBinary() + _ = yym903 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) @@ -13034,25 +13034,25 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.TargetWWNs == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym904 := z.EncBinary() + _ = yym904 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) } } } - if yyr2 || yy2arr2 { + if yyr901 || yy2arr901 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Lun == nil { r.EncodeNil() } else { - yy7 := *x.Lun - yym8 := z.EncBinary() - _ = yym8 + yy906 := *x.Lun + yym907 := z.EncBinary() + _ = yym907 if false { } else { - r.EncodeInt(int64(yy7)) + r.EncodeInt(int64(yy906)) } } } else { @@ -13062,20 +13062,20 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.Lun == nil { r.EncodeNil() } else { - yy9 := *x.Lun - yym10 := z.EncBinary() - _ = yym10 + yy908 := *x.Lun + yym909 := z.EncBinary() + _ = yym909 if false { } else { - r.EncodeInt(int64(yy9)) + r.EncodeInt(int64(yy908)) } } } - if yyr2 || yy2arr2 { + if yyr901 || yy2arr901 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 + if yyq901[2] { + yym911 := z.EncBinary() + _ = yym911 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -13084,23 +13084,23 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq901[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 + yym912 := z.EncBinary() + _ = yym912 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr901 || yy2arr901 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 + if yyq901[3] { + yym914 := z.EncBinary() + _ = yym914 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -13109,19 +13109,19 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[3] { + if yyq901[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 + yym915 := z.EncBinary() + _ = yym915 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr901 || yy2arr901 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13134,25 +13134,25 @@ func (x *FCVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym916 := z.DecBinary() + _ = yym916 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct917 := r.ContainerType() + if yyct917 == codecSelferValueTypeMap1234 { + yyl917 := r.ReadMapStart() + if yyl917 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl917, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct917 == codecSelferValueTypeArray1234 { + yyl917 := r.ReadArrayStart() + if yyl917 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl917, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13164,12 +13164,12 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys918Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys918Slc + var yyhl918 bool = l >= 0 + for yyj918 := 0; ; yyj918++ { + if yyhl918 { + if yyj918 >= l { break } } else { @@ -13178,20 +13178,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys918Slc = r.DecodeBytes(yys918Slc, true, true) + yys918 := string(yys918Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys918 { case "targetWWNs": if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv4 := &x.TargetWWNs - yym5 := z.DecBinary() - _ = yym5 + yyv919 := &x.TargetWWNs + yym920 := z.DecBinary() + _ = yym920 if false { } else { - z.F.DecSliceStringX(yyv4, false, d) + z.F.DecSliceStringX(yyv919, false, d) } } case "lun": @@ -13203,8 +13203,8 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int32) } - yym7 := z.DecBinary() - _ = yym7 + yym922 := z.DecBinary() + _ = yym922 if false { } else { *((*int32)(x.Lun)) = int32(r.DecodeInt(32)) @@ -13223,9 +13223,9 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys918) + } // end switch yys918 + } // end for yyj918 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13233,16 +13233,16 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj925 int + var yyb925 bool + var yyhl925 bool = l >= 0 + yyj925++ + if yyhl925 { + yyb925 = yyj925 > l } else { - yyb10 = r.CheckBreak() + yyb925 = r.CheckBreak() } - if yyb10 { + if yyb925 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13250,21 +13250,21 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv11 := &x.TargetWWNs - yym12 := z.DecBinary() - _ = yym12 + yyv926 := &x.TargetWWNs + yym927 := z.DecBinary() + _ = yym927 if false { } else { - z.F.DecSliceStringX(yyv11, false, d) + z.F.DecSliceStringX(yyv926, false, d) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj925++ + if yyhl925 { + yyb925 = yyj925 > l } else { - yyb10 = r.CheckBreak() + yyb925 = r.CheckBreak() } - if yyb10 { + if yyb925 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13277,20 +13277,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int32) } - yym14 := z.DecBinary() - _ = yym14 + yym929 := z.DecBinary() + _ = yym929 if false { } else { *((*int32)(x.Lun)) = int32(r.DecodeInt(32)) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj925++ + if yyhl925 { + yyb925 = yyj925 > l } else { - yyb10 = r.CheckBreak() + yyb925 = r.CheckBreak() } - if yyb10 { + if yyb925 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13300,13 +13300,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.FSType = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj925++ + if yyhl925 { + yyb925 = yyj925 > l } else { - yyb10 = r.CheckBreak() + yyb925 = r.CheckBreak() } - if yyb10 { + if yyb925 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13317,17 +13317,17 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj925++ + if yyhl925 { + yyb925 = yyj925 > l } else { - yyb10 = r.CheckBreak() + yyb925 = r.CheckBreak() } - if yyb10 { + if yyb925 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj925-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13339,34 +13339,34 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym932 := z.EncBinary() + _ = yym932 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.ReadOnly != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep933 := !z.EncBinary() + yy2arr933 := z.EncBasicHandle().StructToArray + var yyq933 [3]bool + _, _, _ = yysep933, yyq933, yy2arr933 + const yyr933 bool = false + yyq933[2] = x.ReadOnly != false + var yynn933 int + if yyr933 || yy2arr933 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn933 = 2 + for _, b := range yyq933 { if b { - yynn2++ + yynn933++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn933) + yynn933 = 0 } - if yyr2 || yy2arr2 { + if yyr933 || yy2arr933 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym935 := z.EncBinary() + _ = yym935 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -13375,17 +13375,17 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym936 := z.EncBinary() + _ = yym936 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } - if yyr2 || yy2arr2 { + if yyr933 || yy2arr933 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym938 := z.EncBinary() + _ = yym938 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ShareName)) @@ -13394,18 +13394,18 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("shareName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym939 := z.EncBinary() + _ = yym939 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ShareName)) } } - if yyr2 || yy2arr2 { + if yyr933 || yy2arr933 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq933[2] { + yym941 := z.EncBinary() + _ = yym941 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -13414,19 +13414,19 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[2] { + if yyq933[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym942 := z.EncBinary() + _ = yym942 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr933 || yy2arr933 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13439,25 +13439,25 @@ func (x *AzureFileVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym943 := z.DecBinary() + _ = yym943 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct944 := r.ContainerType() + if yyct944 == codecSelferValueTypeMap1234 { + yyl944 := r.ReadMapStart() + if yyl944 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl944, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct944 == codecSelferValueTypeArray1234 { + yyl944 := r.ReadArrayStart() + if yyl944 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl944, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13469,12 +13469,12 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys945Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys945Slc + var yyhl945 bool = l >= 0 + for yyj945 := 0; ; yyj945++ { + if yyhl945 { + if yyj945 >= l { break } } else { @@ -13483,10 +13483,10 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys945Slc = r.DecodeBytes(yys945Slc, true, true) + yys945 := string(yys945Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys945 { case "secretName": if r.TryDecodeAsNil() { x.SecretName = "" @@ -13506,9 +13506,9 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys945) + } // end switch yys945 + } // end for yyj945 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13516,16 +13516,16 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj949 int + var yyb949 bool + var yyhl949 bool = l >= 0 + yyj949++ + if yyhl949 { + yyb949 = yyj949 > l } else { - yyb7 = r.CheckBreak() + yyb949 = r.CheckBreak() } - if yyb7 { + if yyb949 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13535,13 +13535,13 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.SecretName = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj949++ + if yyhl949 { + yyb949 = yyj949 > l } else { - yyb7 = r.CheckBreak() + yyb949 = r.CheckBreak() } - if yyb7 { + if yyb949 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13551,13 +13551,13 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.ShareName = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj949++ + if yyhl949 { + yyb949 = yyj949 > l } else { - yyb7 = r.CheckBreak() + yyb949 = r.CheckBreak() } - if yyb7 { + if yyb949 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13568,17 +13568,17 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj949++ + if yyhl949 { + yyb949 = yyj949 > l } else { - yyb7 = r.CheckBreak() + yyb949 = r.CheckBreak() } - if yyb7 { + if yyb949 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj949-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13590,34 +13590,34 @@ func (x *VsphereVirtualDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym953 := z.EncBinary() + _ = yym953 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FSType != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep954 := !z.EncBinary() + yy2arr954 := z.EncBasicHandle().StructToArray + var yyq954 [2]bool + _, _, _ = yysep954, yyq954, yy2arr954 + const yyr954 bool = false + yyq954[1] = x.FSType != "" + var yynn954 int + if yyr954 || yy2arr954 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn954 = 1 + for _, b := range yyq954 { if b { - yynn2++ + yynn954++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn954) + yynn954 = 0 } - if yyr2 || yy2arr2 { + if yyr954 || yy2arr954 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym956 := z.EncBinary() + _ = yym956 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumePath)) @@ -13626,18 +13626,18 @@ func (x *VsphereVirtualDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym957 := z.EncBinary() + _ = yym957 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumePath)) } } - if yyr2 || yy2arr2 { + if yyr954 || yy2arr954 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq954[1] { + yym959 := z.EncBinary() + _ = yym959 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -13646,19 +13646,19 @@ func (x *VsphereVirtualDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq954[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym960 := z.EncBinary() + _ = yym960 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr2 || yy2arr2 { + if yyr954 || yy2arr954 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13671,25 +13671,25 @@ func (x *VsphereVirtualDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym961 := z.DecBinary() + _ = yym961 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct962 := r.ContainerType() + if yyct962 == codecSelferValueTypeMap1234 { + yyl962 := r.ReadMapStart() + if yyl962 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl962, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct962 == codecSelferValueTypeArray1234 { + yyl962 := r.ReadArrayStart() + if yyl962 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl962, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13701,12 +13701,12 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys963Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys963Slc + var yyhl963 bool = l >= 0 + for yyj963 := 0; ; yyj963++ { + if yyhl963 { + if yyj963 >= l { break } } else { @@ -13715,10 +13715,10 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys963Slc = r.DecodeBytes(yys963Slc, true, true) + yys963 := string(yys963Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys963 { case "volumePath": if r.TryDecodeAsNil() { x.VolumePath = "" @@ -13732,9 +13732,9 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1 x.FSType = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys963) + } // end switch yys963 + } // end for yyj963 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13742,16 +13742,16 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromArray(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj966 int + var yyb966 bool + var yyhl966 bool = l >= 0 + yyj966++ + if yyhl966 { + yyb966 = yyj966 > l } else { - yyb6 = r.CheckBreak() + yyb966 = r.CheckBreak() } - if yyb6 { + if yyb966 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13761,13 +13761,13 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromArray(l int, d *code } else { x.VolumePath = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj966++ + if yyhl966 { + yyb966 = yyj966 > l } else { - yyb6 = r.CheckBreak() + yyb966 = r.CheckBreak() } - if yyb6 { + if yyb966 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13778,17 +13778,17 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromArray(l int, d *code x.FSType = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj966++ + if yyhl966 { + yyb966 = yyj966 > l } else { - yyb6 = r.CheckBreak() + yyb966 = r.CheckBreak() } - if yyb6 { + if yyb966 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj966-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13800,39 +13800,64 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym969 := z.EncBinary() + _ = yym969 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Items) != 0 - yyq2[1] = x.Name != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep970 := !z.EncBinary() + yy2arr970 := z.EncBasicHandle().StructToArray + var yyq970 [2]bool + _, _, _ = yysep970, yyq970, yy2arr970 + const yyr970 bool = false + yyq970[0] = x.Name != "" + yyq970[1] = len(x.Items) != 0 + var yynn970 int + if yyr970 || yy2arr970 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn970 = 0 + for _, b := range yyq970 { if b { - yynn2++ + yynn970++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn970) + yynn970 = 0 } - if yyr2 || yy2arr2 { + if yyr970 || yy2arr970 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq970[0] { + yym972 := z.EncBinary() + _ = yym972 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq970[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym973 := z.EncBinary() + _ = yym973 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + } + if yyr970 || yy2arr970 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq970[1] { if x.Items == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym975 := z.EncBinary() + _ = yym975 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -13842,15 +13867,15 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq970[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym976 := z.EncBinary() + _ = yym976 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -13858,32 +13883,7 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("name")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } - } - if yyr2 || yy2arr2 { + if yyr970 || yy2arr970 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13896,25 +13896,25 @@ func (x *ConfigMapVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym977 := z.DecBinary() + _ = yym977 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct978 := r.ContainerType() + if yyct978 == codecSelferValueTypeMap1234 { + yyl978 := r.ReadMapStart() + if yyl978 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl978, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct978 == codecSelferValueTypeArray1234 { + yyl978 := r.ReadArrayStart() + if yyl978 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl978, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13926,12 +13926,12 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -13940,32 +13940,32 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys979Slc = r.DecodeBytes(yys979Slc, true, true) + yys979 := string(yys979Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv4 := &x.Items - yym5 := z.DecBinary() - _ = yym5 - if false { - } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv4), d) - } - } + switch yys979 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { x.Name = string(r.DecodeString()) } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv981 := &x.Items + yym982 := z.DecBinary() + _ = yym982 + if false { + } else { + h.decSliceKeyToPath((*[]KeyToPath)(yyv981), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys979) + } // end switch yys979 + } // end for yyj979 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13973,38 +13973,16 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj983 int + var yyb983 bool + var yyhl983 bool = l >= 0 + yyj983++ + if yyhl983 { + yyb983 = yyj983 > l } else { - yyb7 = r.CheckBreak() + yyb983 = r.CheckBreak() } - if yyb7 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv8 := &x.Items - yym9 := z.DecBinary() - _ = yym9 - if false { - } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv8), d) - } - } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = r.CheckBreak() - } - if yyb7 { + if yyb983 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14014,18 +13992,40 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Name = string(r.DecodeString()) } - for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj983++ + if yyhl983 { + yyb983 = yyj983 > l + } else { + yyb983 = r.CheckBreak() + } + if yyb983 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv985 := &x.Items + yym986 := z.DecBinary() + _ = yym986 + if false { } else { - yyb7 = r.CheckBreak() + h.decSliceKeyToPath((*[]KeyToPath)(yyv985), d) } - if yyb7 { + } + for { + yyj983++ + if yyhl983 { + yyb983 = yyj983 > l + } else { + yyb983 = r.CheckBreak() + } + if yyb983 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj983-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14037,33 +14037,33 @@ func (x *KeyToPath) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym987 := z.EncBinary() + _ = yym987 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep988 := !z.EncBinary() + yy2arr988 := z.EncBasicHandle().StructToArray + var yyq988 [2]bool + _, _, _ = yysep988, yyq988, yy2arr988 + const yyr988 bool = false + var yynn988 int + if yyr988 || yy2arr988 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn988 = 2 + for _, b := range yyq988 { if b { - yynn2++ + yynn988++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn988) + yynn988 = 0 } - if yyr2 || yy2arr2 { + if yyr988 || yy2arr988 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym990 := z.EncBinary() + _ = yym990 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -14072,17 +14072,17 @@ func (x *KeyToPath) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym991 := z.EncBinary() + _ = yym991 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr2 || yy2arr2 { + if yyr988 || yy2arr988 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym993 := z.EncBinary() + _ = yym993 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -14091,14 +14091,14 @@ func (x *KeyToPath) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym994 := z.EncBinary() + _ = yym994 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2 || yy2arr2 { + if yyr988 || yy2arr988 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14111,25 +14111,25 @@ func (x *KeyToPath) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym995 := z.DecBinary() + _ = yym995 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct996 := r.ContainerType() + if yyct996 == codecSelferValueTypeMap1234 { + yyl996 := r.ReadMapStart() + if yyl996 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl996, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct996 == codecSelferValueTypeArray1234 { + yyl996 := r.ReadArrayStart() + if yyl996 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl996, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14141,12 +14141,12 @@ func (x *KeyToPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys997Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys997Slc + var yyhl997 bool = l >= 0 + for yyj997 := 0; ; yyj997++ { + if yyhl997 { + if yyj997 >= l { break } } else { @@ -14155,10 +14155,10 @@ func (x *KeyToPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys997Slc = r.DecodeBytes(yys997Slc, true, true) + yys997 := string(yys997Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys997 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -14172,9 +14172,9 @@ func (x *KeyToPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys997) + } // end switch yys997 + } // end for yyj997 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14182,16 +14182,16 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1000 int + var yyb1000 bool + var yyhl1000 bool = l >= 0 + yyj1000++ + if yyhl1000 { + yyb1000 = yyj1000 > l } else { - yyb6 = r.CheckBreak() + yyb1000 = r.CheckBreak() } - if yyb6 { + if yyb1000 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14201,13 +14201,13 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Key = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1000++ + if yyhl1000 { + yyb1000 = yyj1000 > l } else { - yyb6 = r.CheckBreak() + yyb1000 = r.CheckBreak() } - if yyb6 { + if yyb1000 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14218,17 +14218,17 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1000++ + if yyhl1000 { + yyb1000 = yyj1000 > l } else { - yyb6 = r.CheckBreak() + yyb1000 = r.CheckBreak() } - if yyb6 { + if yyb1000 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1000-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14240,38 +14240,38 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1003 := z.EncBinary() + _ = yym1003 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Name != "" - yyq2[1] = x.HostPort != 0 - yyq2[3] = x.Protocol != "" - yyq2[4] = x.HostIP != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1004 := !z.EncBinary() + yy2arr1004 := z.EncBasicHandle().StructToArray + var yyq1004 [5]bool + _, _, _ = yysep1004, yyq1004, yy2arr1004 + const yyr1004 bool = false + yyq1004[0] = x.Name != "" + yyq1004[1] = x.HostPort != 0 + yyq1004[3] = x.Protocol != "" + yyq1004[4] = x.HostIP != "" + var yynn1004 int + if yyr1004 || yy2arr1004 { r.EncodeArrayStart(5) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1004 = 1 + for _, b := range yyq1004 { if b { - yynn2++ + yynn1004++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1004) + yynn1004 = 0 } - if yyr2 || yy2arr2 { + if yyr1004 || yy2arr1004 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq1004[0] { + yym1006 := z.EncBinary() + _ = yym1006 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -14280,23 +14280,23 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1004[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1007 := z.EncBinary() + _ = yym1007 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2 || yy2arr2 { + if yyr1004 || yy2arr1004 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1004[1] { + yym1009 := z.EncBinary() + _ = yym1009 if false { } else { r.EncodeInt(int64(x.HostPort)) @@ -14305,22 +14305,22 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[1] { + if yyq1004[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1010 := z.EncBinary() + _ = yym1010 if false { } else { r.EncodeInt(int64(x.HostPort)) } } } - if yyr2 || yy2arr2 { + if yyr1004 || yy2arr1004 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym1012 := z.EncBinary() + _ = yym1012 if false { } else { r.EncodeInt(int64(x.ContainerPort)) @@ -14329,33 +14329,33 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym1013 := z.EncBinary() + _ = yym1013 if false { } else { r.EncodeInt(int64(x.ContainerPort)) } } - if yyr2 || yy2arr2 { + if yyr1004 || yy2arr1004 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq1004[3] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq1004[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1004 || yy2arr1004 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq1004[4] { + yym1016 := z.EncBinary() + _ = yym1016 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -14364,19 +14364,19 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq1004[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym1017 := z.EncBinary() + _ = yym1017 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr2 || yy2arr2 { + if yyr1004 || yy2arr1004 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14389,25 +14389,25 @@ func (x *ContainerPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1018 := z.DecBinary() + _ = yym1018 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1019 := r.ContainerType() + if yyct1019 == codecSelferValueTypeMap1234 { + yyl1019 := r.ReadMapStart() + if yyl1019 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1019, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1019 == codecSelferValueTypeArray1234 { + yyl1019 := r.ReadArrayStart() + if yyl1019 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1019, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14419,12 +14419,12 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1020Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1020Slc + var yyhl1020 bool = l >= 0 + for yyj1020 := 0; ; yyj1020++ { + if yyhl1020 { + if yyj1020 >= l { break } } else { @@ -14433,10 +14433,10 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1020Slc = r.DecodeBytes(yys1020Slc, true, true) + yys1020 := string(yys1020Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1020 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -14468,9 +14468,9 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1020) + } // end switch yys1020 + } // end for yyj1020 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14478,16 +14478,16 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj1026 int + var yyb1026 bool + var yyhl1026 bool = l >= 0 + yyj1026++ + if yyhl1026 { + yyb1026 = yyj1026 > l } else { - yyb9 = r.CheckBreak() + yyb1026 = r.CheckBreak() } - if yyb9 { + if yyb1026 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14497,13 +14497,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1026++ + if yyhl1026 { + yyb1026 = yyj1026 > l } else { - yyb9 = r.CheckBreak() + yyb1026 = r.CheckBreak() } - if yyb9 { + if yyb1026 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14513,13 +14513,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostPort = int32(r.DecodeInt(32)) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1026++ + if yyhl1026 { + yyb1026 = yyj1026 > l } else { - yyb9 = r.CheckBreak() + yyb1026 = r.CheckBreak() } - if yyb9 { + if yyb1026 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14529,13 +14529,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerPort = int32(r.DecodeInt(32)) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1026++ + if yyhl1026 { + yyb1026 = yyj1026 > l } else { - yyb9 = r.CheckBreak() + yyb1026 = r.CheckBreak() } - if yyb9 { + if yyb1026 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14545,13 +14545,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Protocol = Protocol(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1026++ + if yyhl1026 { + yyb1026 = yyj1026 > l } else { - yyb9 = r.CheckBreak() + yyb1026 = r.CheckBreak() } - if yyb9 { + if yyb1026 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14562,17 +14562,17 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1026++ + if yyhl1026 { + yyb1026 = yyj1026 > l } else { - yyb9 = r.CheckBreak() + yyb1026 = r.CheckBreak() } - if yyb9 { + if yyb1026 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj1026-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14584,35 +14584,35 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1032 := z.EncBinary() + _ = yym1032 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.ReadOnly != false - yyq2[3] = x.SubPath != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1033 := !z.EncBinary() + yy2arr1033 := z.EncBasicHandle().StructToArray + var yyq1033 [4]bool + _, _, _ = yysep1033, yyq1033, yy2arr1033 + const yyr1033 bool = false + yyq1033[1] = x.ReadOnly != false + yyq1033[3] = x.SubPath != "" + var yynn1033 int + if yyr1033 || yy2arr1033 { r.EncodeArrayStart(4) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1033 = 2 + for _, b := range yyq1033 { if b { - yynn2++ + yynn1033++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1033) + yynn1033 = 0 } - if yyr2 || yy2arr2 { + if yyr1033 || yy2arr1033 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1035 := z.EncBinary() + _ = yym1035 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -14621,18 +14621,18 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1036 := z.EncBinary() + _ = yym1036 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr1033 || yy2arr1033 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1033[1] { + yym1038 := z.EncBinary() + _ = yym1038 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -14641,22 +14641,22 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[1] { + if yyq1033[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1039 := z.EncBinary() + _ = yym1039 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr2 || yy2arr2 { + if yyr1033 || yy2arr1033 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym1041 := z.EncBinary() + _ = yym1041 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) @@ -14665,18 +14665,18 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mountPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym1042 := z.EncBinary() + _ = yym1042 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) } } - if yyr2 || yy2arr2 { + if yyr1033 || yy2arr1033 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq1033[3] { + yym1044 := z.EncBinary() + _ = yym1044 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SubPath)) @@ -14685,19 +14685,19 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq1033[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym1045 := z.EncBinary() + _ = yym1045 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SubPath)) } } } - if yyr2 || yy2arr2 { + if yyr1033 || yy2arr1033 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14710,25 +14710,25 @@ func (x *VolumeMount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1046 := z.DecBinary() + _ = yym1046 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1047 := r.ContainerType() + if yyct1047 == codecSelferValueTypeMap1234 { + yyl1047 := r.ReadMapStart() + if yyl1047 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1047, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1047 == codecSelferValueTypeArray1234 { + yyl1047 := r.ReadArrayStart() + if yyl1047 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1047, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14740,12 +14740,12 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1048Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1048Slc + var yyhl1048 bool = l >= 0 + for yyj1048 := 0; ; yyj1048++ { + if yyhl1048 { + if yyj1048 >= l { break } } else { @@ -14754,10 +14754,10 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1048Slc = r.DecodeBytes(yys1048Slc, true, true) + yys1048 := string(yys1048Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1048 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -14783,9 +14783,9 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SubPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1048) + } // end switch yys1048 + } // end for yyj1048 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14793,16 +14793,16 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1053 int + var yyb1053 bool + var yyhl1053 bool = l >= 0 + yyj1053++ + if yyhl1053 { + yyb1053 = yyj1053 > l } else { - yyb8 = r.CheckBreak() + yyb1053 = r.CheckBreak() } - if yyb8 { + if yyb1053 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14812,13 +14812,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1053++ + if yyhl1053 { + yyb1053 = yyj1053 > l } else { - yyb8 = r.CheckBreak() + yyb1053 = r.CheckBreak() } - if yyb8 { + if yyb1053 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14828,13 +14828,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ReadOnly = bool(r.DecodeBool()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1053++ + if yyhl1053 { + yyb1053 = yyj1053 > l } else { - yyb8 = r.CheckBreak() + yyb1053 = r.CheckBreak() } - if yyb8 { + if yyb1053 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14844,13 +14844,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MountPath = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1053++ + if yyhl1053 { + yyb1053 = yyj1053 > l } else { - yyb8 = r.CheckBreak() + yyb1053 = r.CheckBreak() } - if yyb8 { + if yyb1053 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14861,17 +14861,17 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SubPath = string(r.DecodeString()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1053++ + if yyhl1053 { + yyb1053 = yyj1053 > l } else { - yyb8 = r.CheckBreak() + yyb1053 = r.CheckBreak() } - if yyb8 { + if yyb1053 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1053-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14883,35 +14883,35 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1058 := z.EncBinary() + _ = yym1058 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Value != "" - yyq2[2] = x.ValueFrom != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1059 := !z.EncBinary() + yy2arr1059 := z.EncBasicHandle().StructToArray + var yyq1059 [3]bool + _, _, _ = yysep1059, yyq1059, yy2arr1059 + const yyr1059 bool = false + yyq1059[1] = x.Value != "" + yyq1059[2] = x.ValueFrom != nil + var yynn1059 int + if yyr1059 || yy2arr1059 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1059 = 1 + for _, b := range yyq1059 { if b { - yynn2++ + yynn1059++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1059) + yynn1059 = 0 } - if yyr2 || yy2arr2 { + if yyr1059 || yy2arr1059 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1061 := z.EncBinary() + _ = yym1061 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -14920,18 +14920,18 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1062 := z.EncBinary() + _ = yym1062 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr1059 || yy2arr1059 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1059[1] { + yym1064 := z.EncBinary() + _ = yym1064 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -14940,21 +14940,21 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq1059[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1065 := z.EncBinary() + _ = yym1065 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr2 || yy2arr2 { + if yyr1059 || yy2arr1059 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1059[2] { if x.ValueFrom == nil { r.EncodeNil() } else { @@ -14964,7 +14964,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1059[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("valueFrom")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -14975,7 +14975,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1059 || yy2arr1059 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14988,25 +14988,25 @@ func (x *EnvVar) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1067 := z.DecBinary() + _ = yym1067 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1068 := r.ContainerType() + if yyct1068 == codecSelferValueTypeMap1234 { + yyl1068 := r.ReadMapStart() + if yyl1068 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1068, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1068 == codecSelferValueTypeArray1234 { + yyl1068 := r.ReadArrayStart() + if yyl1068 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1068, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15018,12 +15018,12 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1069Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1069Slc + var yyhl1069 bool = l >= 0 + for yyj1069 := 0; ; yyj1069++ { + if yyhl1069 { + if yyj1069 >= l { break } } else { @@ -15032,10 +15032,10 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1069Slc = r.DecodeBytes(yys1069Slc, true, true) + yys1069 := string(yys1069Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1069 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -15060,9 +15060,9 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1069) + } // end switch yys1069 + } // end for yyj1069 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15070,16 +15070,16 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1073 int + var yyb1073 bool + var yyhl1073 bool = l >= 0 + yyj1073++ + if yyhl1073 { + yyb1073 = yyj1073 > l } else { - yyb7 = r.CheckBreak() + yyb1073 = r.CheckBreak() } - if yyb7 { + if yyb1073 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15089,13 +15089,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1073++ + if yyhl1073 { + yyb1073 = yyj1073 > l } else { - yyb7 = r.CheckBreak() + yyb1073 = r.CheckBreak() } - if yyb7 { + if yyb1073 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15105,13 +15105,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1073++ + if yyhl1073 { + yyb1073 = yyj1073 > l } else { - yyb7 = r.CheckBreak() + yyb1073 = r.CheckBreak() } - if yyb7 { + if yyb1073 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15127,17 +15127,17 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1073++ + if yyhl1073 { + yyb1073 = yyj1073 > l } else { - yyb7 = r.CheckBreak() + yyb1073 = r.CheckBreak() } - if yyb7 { + if yyb1073 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1073-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15149,36 +15149,36 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1077 := z.EncBinary() + _ = yym1077 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.FieldRef != nil - yyq2[1] = x.ResourceFieldRef != nil - yyq2[2] = x.ConfigMapKeyRef != nil - yyq2[3] = x.SecretKeyRef != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1078 := !z.EncBinary() + yy2arr1078 := z.EncBasicHandle().StructToArray + var yyq1078 [4]bool + _, _, _ = yysep1078, yyq1078, yy2arr1078 + const yyr1078 bool = false + yyq1078[0] = x.FieldRef != nil + yyq1078[1] = x.ResourceFieldRef != nil + yyq1078[2] = x.ConfigMapKeyRef != nil + yyq1078[3] = x.SecretKeyRef != nil + var yynn1078 int + if yyr1078 || yy2arr1078 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1078 = 0 + for _, b := range yyq1078 { if b { - yynn2++ + yynn1078++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1078) + yynn1078 = 0 } - if yyr2 || yy2arr2 { + if yyr1078 || yy2arr1078 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1078[0] { if x.FieldRef == nil { r.EncodeNil() } else { @@ -15188,7 +15188,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1078[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15199,9 +15199,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1078 || yy2arr1078 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1078[1] { if x.ResourceFieldRef == nil { r.EncodeNil() } else { @@ -15211,7 +15211,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1078[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceFieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15222,9 +15222,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1078 || yy2arr1078 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1078[2] { if x.ConfigMapKeyRef == nil { r.EncodeNil() } else { @@ -15234,7 +15234,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1078[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configMapKeyRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15245,9 +15245,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1078 || yy2arr1078 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq1078[3] { if x.SecretKeyRef == nil { r.EncodeNil() } else { @@ -15257,7 +15257,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq1078[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretKeyRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15268,7 +15268,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1078 || yy2arr1078 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15281,25 +15281,25 @@ func (x *EnvVarSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1083 := z.DecBinary() + _ = yym1083 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1084 := r.ContainerType() + if yyct1084 == codecSelferValueTypeMap1234 { + yyl1084 := r.ReadMapStart() + if yyl1084 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1084, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1084 == codecSelferValueTypeArray1234 { + yyl1084 := r.ReadArrayStart() + if yyl1084 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1084, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15311,12 +15311,12 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1085Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1085Slc + var yyhl1085 bool = l >= 0 + for yyj1085 := 0; ; yyj1085++ { + if yyhl1085 { + if yyj1085 >= l { break } } else { @@ -15325,10 +15325,10 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1085Slc = r.DecodeBytes(yys1085Slc, true, true) + yys1085 := string(yys1085Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1085 { case "fieldRef": if r.TryDecodeAsNil() { if x.FieldRef != nil { @@ -15374,9 +15374,9 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretKeyRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1085) + } // end switch yys1085 + } // end for yyj1085 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15384,16 +15384,16 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1090 int + var yyb1090 bool + var yyhl1090 bool = l >= 0 + yyj1090++ + if yyhl1090 { + yyb1090 = yyj1090 > l } else { - yyb8 = r.CheckBreak() + yyb1090 = r.CheckBreak() } - if yyb8 { + if yyb1090 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15408,13 +15408,13 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FieldRef.CodecDecodeSelf(d) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1090++ + if yyhl1090 { + yyb1090 = yyj1090 > l } else { - yyb8 = r.CheckBreak() + yyb1090 = r.CheckBreak() } - if yyb8 { + if yyb1090 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15429,13 +15429,13 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ResourceFieldRef.CodecDecodeSelf(d) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1090++ + if yyhl1090 { + yyb1090 = yyj1090 > l } else { - yyb8 = r.CheckBreak() + yyb1090 = r.CheckBreak() } - if yyb8 { + if yyb1090 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15450,13 +15450,13 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ConfigMapKeyRef.CodecDecodeSelf(d) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1090++ + if yyhl1090 { + yyb1090 = yyj1090 > l } else { - yyb8 = r.CheckBreak() + yyb1090 = r.CheckBreak() } - if yyb8 { + if yyb1090 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15472,17 +15472,17 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SecretKeyRef.CodecDecodeSelf(d) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1090++ + if yyhl1090 { + yyb1090 = yyj1090 > l } else { - yyb8 = r.CheckBreak() + yyb1090 = r.CheckBreak() } - if yyb8 { + if yyb1090 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1090-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15494,35 +15494,35 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1095 := z.EncBinary() + _ = yym1095 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1096 := !z.EncBinary() + yy2arr1096 := z.EncBasicHandle().StructToArray + var yyq1096 [2]bool + _, _, _ = yysep1096, yyq1096, yy2arr1096 + const yyr1096 bool = false + yyq1096[0] = x.APIVersion != "" + var yynn1096 int + if yyr1096 || yy2arr1096 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1096 = 1 + for _, b := range yyq1096 { if b { - yynn2++ + yynn1096++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1096) + yynn1096 = 0 } - if yyr2 || yy2arr2 { + if yyr1096 || yy2arr1096 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq1096[0] { + yym1098 := z.EncBinary() + _ = yym1098 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -15531,22 +15531,22 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1096[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1099 := z.EncBinary() + _ = yym1099 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr1096 || yy2arr1096 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1101 := z.EncBinary() + _ = yym1101 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -15555,14 +15555,14 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1102 := z.EncBinary() + _ = yym1102 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } - if yyr2 || yy2arr2 { + if yyr1096 || yy2arr1096 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15575,25 +15575,25 @@ func (x *ObjectFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1103 := z.DecBinary() + _ = yym1103 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1104 := r.ContainerType() + if yyct1104 == codecSelferValueTypeMap1234 { + yyl1104 := r.ReadMapStart() + if yyl1104 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1104, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1104 == codecSelferValueTypeArray1234 { + yyl1104 := r.ReadArrayStart() + if yyl1104 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1104, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15605,12 +15605,12 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1105Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1105Slc + var yyhl1105 bool = l >= 0 + for yyj1105 := 0; ; yyj1105++ { + if yyhl1105 { + if yyj1105 >= l { break } } else { @@ -15619,10 +15619,10 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1105Slc = r.DecodeBytes(yys1105Slc, true, true) + yys1105 := string(yys1105Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1105 { case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" @@ -15636,9 +15636,9 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1105) + } // end switch yys1105 + } // end for yyj1105 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15646,16 +15646,16 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1108 int + var yyb1108 bool + var yyhl1108 bool = l >= 0 + yyj1108++ + if yyhl1108 { + yyb1108 = yyj1108 > l } else { - yyb6 = r.CheckBreak() + yyb1108 = r.CheckBreak() } - if yyb6 { + if yyb1108 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15665,13 +15665,13 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1108++ + if yyhl1108 { + yyb1108 = yyj1108 > l } else { - yyb6 = r.CheckBreak() + yyb1108 = r.CheckBreak() } - if yyb6 { + if yyb1108 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15682,17 +15682,17 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.FieldPath = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1108++ + if yyhl1108 { + yyb1108 = yyj1108 > l } else { - yyb6 = r.CheckBreak() + yyb1108 = r.CheckBreak() } - if yyb6 { + if yyb1108 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1108-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15704,36 +15704,36 @@ func (x *ResourceFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1111 := z.EncBinary() + _ = yym1111 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.ContainerName != "" - yyq2[2] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep1112 := !z.EncBinary() + yy2arr1112 := z.EncBasicHandle().StructToArray + var yyq1112 [3]bool + _, _, _ = yysep1112, yyq1112, yy2arr1112 + const yyr1112 bool = false + yyq1112[0] = x.ContainerName != "" + yyq1112[2] = true + var yynn1112 int + if yyr1112 || yy2arr1112 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1112 = 1 + for _, b := range yyq1112 { if b { - yynn2++ + yynn1112++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1112) + yynn1112 = 0 } - if yyr2 || yy2arr2 { + if yyr1112 || yy2arr1112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq1112[0] { + yym1114 := z.EncBinary() + _ = yym1114 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerName)) @@ -15742,22 +15742,22 @@ func (x *ResourceFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1112[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1115 := z.EncBinary() + _ = yym1115 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerName)) } } } - if yyr2 || yy2arr2 { + if yyr1112 || yy2arr1112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1117 := z.EncBinary() + _ = yym1117 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) @@ -15766,47 +15766,47 @@ func (x *ResourceFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resource")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1118 := z.EncBinary() + _ = yym1118 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) } } - if yyr2 || yy2arr2 { + if yyr1112 || yy2arr1112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy10 := &x.Divisor - yym11 := z.EncBinary() - _ = yym11 + if yyq1112[2] { + yy1120 := &x.Divisor + yym1121 := z.EncBinary() + _ = yym1121 if false { - } else if z.HasExtensions() && z.EncExt(yy10) { - } else if !yym11 && z.IsJSONHandle() { - z.EncJSONMarshal(yy10) + } else if z.HasExtensions() && z.EncExt(yy1120) { + } else if !yym1121 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1120) } else { - z.EncFallback(yy10) + z.EncFallback(yy1120) } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1112[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("divisor")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.Divisor - yym13 := z.EncBinary() - _ = yym13 + yy1122 := &x.Divisor + yym1123 := z.EncBinary() + _ = yym1123 if false { - } else if z.HasExtensions() && z.EncExt(yy12) { - } else if !yym13 && z.IsJSONHandle() { - z.EncJSONMarshal(yy12) + } else if z.HasExtensions() && z.EncExt(yy1122) { + } else if !yym1123 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1122) } else { - z.EncFallback(yy12) + z.EncFallback(yy1122) } } } - if yyr2 || yy2arr2 { + if yyr1112 || yy2arr1112 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15819,25 +15819,25 @@ func (x *ResourceFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1124 := z.DecBinary() + _ = yym1124 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1125 := r.ContainerType() + if yyct1125 == codecSelferValueTypeMap1234 { + yyl1125 := r.ReadMapStart() + if yyl1125 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1125, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1125 == codecSelferValueTypeArray1234 { + yyl1125 := r.ReadArrayStart() + if yyl1125 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1125, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15849,12 +15849,12 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1126Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1126Slc + var yyhl1126 bool = l >= 0 + for yyj1126 := 0; ; yyj1126++ { + if yyhl1126 { + if yyj1126 >= l { break } } else { @@ -15863,10 +15863,10 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1126Slc = r.DecodeBytes(yys1126Slc, true, true) + yys1126 := string(yys1126Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1126 { case "containerName": if r.TryDecodeAsNil() { x.ContainerName = "" @@ -15883,21 +15883,21 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Divisor = pkg3_resource.Quantity{} } else { - yyv6 := &x.Divisor - yym7 := z.DecBinary() - _ = yym7 + yyv1129 := &x.Divisor + yym1130 := z.DecBinary() + _ = yym1130 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv1129) { + } else if !yym1130 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1129) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv1129, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1126) + } // end switch yys1126 + } // end for yyj1126 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15905,16 +15905,16 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1131 int + var yyb1131 bool + var yyhl1131 bool = l >= 0 + yyj1131++ + if yyhl1131 { + yyb1131 = yyj1131 > l } else { - yyb8 = r.CheckBreak() + yyb1131 = r.CheckBreak() } - if yyb8 { + if yyb1131 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15924,13 +15924,13 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.ContainerName = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1131++ + if yyhl1131 { + yyb1131 = yyj1131 > l } else { - yyb8 = r.CheckBreak() + yyb1131 = r.CheckBreak() } - if yyb8 { + if yyb1131 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15940,13 +15940,13 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Resource = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1131++ + if yyhl1131 { + yyb1131 = yyj1131 > l } else { - yyb8 = r.CheckBreak() + yyb1131 = r.CheckBreak() } - if yyb8 { + if yyb1131 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15954,29 +15954,29 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Divisor = pkg3_resource.Quantity{} } else { - yyv11 := &x.Divisor - yym12 := z.DecBinary() - _ = yym12 + yyv1134 := &x.Divisor + yym1135 := z.DecBinary() + _ = yym1135 if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else if !yym12 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv11) + } else if z.HasExtensions() && z.DecExt(yyv1134) { + } else if !yym1135 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1134) } else { - z.DecFallback(yyv11, false) + z.DecFallback(yyv1134, false) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1131++ + if yyhl1131 { + yyb1131 = yyj1131 > l } else { - yyb8 = r.CheckBreak() + yyb1131 = r.CheckBreak() } - if yyb8 { + if yyb1131 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1131-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15988,54 +15988,35 @@ func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1136 := z.EncBinary() + _ = yym1136 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Name != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1137 := !z.EncBinary() + yy2arr1137 := z.EncBasicHandle().StructToArray + var yyq1137 [2]bool + _, _, _ = yysep1137, yyq1137, yy2arr1137 + const yyr1137 bool = false + yyq1137[0] = x.Name != "" + var yynn1137 int + if yyr1137 || yy2arr1137 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1137 = 1 + for _, b := range yyq1137 { if b { - yynn2++ + yynn1137++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1137) + yynn1137 = 0 } - if yyr2 || yy2arr2 { + if yyr1137 || yy2arr1137 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("key")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1137[0] { + yym1139 := z.EncBinary() + _ = yym1139 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -16044,19 +16025,38 @@ func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq1137[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1140 := z.EncBinary() + _ = yym1140 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2 || yy2arr2 { + if yyr1137 || yy2arr1137 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1142 := z.EncBinary() + _ = yym1142 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("key")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1143 := z.EncBinary() + _ = yym1143 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } + if yyr1137 || yy2arr1137 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16069,25 +16069,25 @@ func (x *ConfigMapKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1144 := z.DecBinary() + _ = yym1144 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1145 := r.ContainerType() + if yyct1145 == codecSelferValueTypeMap1234 { + yyl1145 := r.ReadMapStart() + if yyl1145 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1145, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1145 == codecSelferValueTypeArray1234 { + yyl1145 := r.ReadArrayStart() + if yyl1145 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1145, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16099,12 +16099,12 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1146Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1146Slc + var yyhl1146 bool = l >= 0 + for yyj1146 := 0; ; yyj1146++ { + if yyhl1146 { + if yyj1146 >= l { break } } else { @@ -16113,26 +16113,26 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1146Slc = r.DecodeBytes(yys1146Slc, true, true) + yys1146 := string(yys1146Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "key": - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } + switch yys1146 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { x.Name = string(r.DecodeString()) } + case "key": + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1146) + } // end switch yys1146 + } // end for yyj1146 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16140,32 +16140,16 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1149 int + var yyb1149 bool + var yyhl1149 bool = l >= 0 + yyj1149++ + if yyhl1149 { + yyb1149 = yyj1149 > l } else { - yyb6 = r.CheckBreak() + yyb1149 = r.CheckBreak() } - if yyb6 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = r.CheckBreak() - } - if yyb6 { + if yyb1149 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16175,18 +16159,34 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Name = string(r.DecodeString()) } + yyj1149++ + if yyhl1149 { + yyb1149 = yyj1149 > l + } else { + yyb1149 = r.CheckBreak() + } + if yyb1149 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1149++ + if yyhl1149 { + yyb1149 = yyj1149 > l } else { - yyb6 = r.CheckBreak() + yyb1149 = r.CheckBreak() } - if yyb6 { + if yyb1149 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1149-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16198,54 +16198,35 @@ func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1152 := z.EncBinary() + _ = yym1152 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Name != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1153 := !z.EncBinary() + yy2arr1153 := z.EncBasicHandle().StructToArray + var yyq1153 [2]bool + _, _, _ = yysep1153, yyq1153, yy2arr1153 + const yyr1153 bool = false + yyq1153[0] = x.Name != "" + var yynn1153 int + if yyr1153 || yy2arr1153 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1153 = 1 + for _, b := range yyq1153 { if b { - yynn2++ + yynn1153++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1153) + yynn1153 = 0 } - if yyr2 || yy2arr2 { + if yyr1153 || yy2arr1153 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("key")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Key)) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1153[0] { + yym1155 := z.EncBinary() + _ = yym1155 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -16254,19 +16235,38 @@ func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq1153[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1156 := z.EncBinary() + _ = yym1156 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2 || yy2arr2 { + if yyr1153 || yy2arr1153 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1158 := z.EncBinary() + _ = yym1158 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("key")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1159 := z.EncBinary() + _ = yym1159 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Key)) + } + } + if yyr1153 || yy2arr1153 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16279,25 +16279,25 @@ func (x *SecretKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1160 := z.DecBinary() + _ = yym1160 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1161 := r.ContainerType() + if yyct1161 == codecSelferValueTypeMap1234 { + yyl1161 := r.ReadMapStart() + if yyl1161 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1161, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1161 == codecSelferValueTypeArray1234 { + yyl1161 := r.ReadArrayStart() + if yyl1161 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1161, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16309,12 +16309,12 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1162Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1162Slc + var yyhl1162 bool = l >= 0 + for yyj1162 := 0; ; yyj1162++ { + if yyhl1162 { + if yyj1162 >= l { break } } else { @@ -16323,26 +16323,26 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1162Slc = r.DecodeBytes(yys1162Slc, true, true) + yys1162 := string(yys1162Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "key": - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } + switch yys1162 { case "name": if r.TryDecodeAsNil() { x.Name = "" } else { x.Name = string(r.DecodeString()) } + case "key": + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1162) + } // end switch yys1162 + } // end for yyj1162 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16350,32 +16350,16 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1165 int + var yyb1165 bool + var yyhl1165 bool = l >= 0 + yyj1165++ + if yyhl1165 { + yyb1165 = yyj1165 > l } else { - yyb6 = r.CheckBreak() + yyb1165 = r.CheckBreak() } - if yyb6 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Key = "" - } else { - x.Key = string(r.DecodeString()) - } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l - } else { - yyb6 = r.CheckBreak() - } - if yyb6 { + if yyb1165 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16385,18 +16369,34 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Name = string(r.DecodeString()) } + yyj1165++ + if yyhl1165 { + yyb1165 = yyj1165 > l + } else { + yyb1165 = r.CheckBreak() + } + if yyb1165 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Key = "" + } else { + x.Key = string(r.DecodeString()) + } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1165++ + if yyhl1165 { + yyb1165 = yyj1165 > l } else { - yyb6 = r.CheckBreak() + yyb1165 = r.CheckBreak() } - if yyb6 { + if yyb1165 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1165-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16408,33 +16408,33 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1168 := z.EncBinary() + _ = yym1168 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1169 := !z.EncBinary() + yy2arr1169 := z.EncBasicHandle().StructToArray + var yyq1169 [2]bool + _, _, _ = yysep1169, yyq1169, yy2arr1169 + const yyr1169 bool = false + var yynn1169 int + if yyr1169 || yy2arr1169 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1169 = 2 + for _, b := range yyq1169 { if b { - yynn2++ + yynn1169++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1169) + yynn1169 = 0 } - if yyr2 || yy2arr2 { + if yyr1169 || yy2arr1169 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1171 := z.EncBinary() + _ = yym1171 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -16443,17 +16443,17 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1172 := z.EncBinary() + _ = yym1172 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr1169 || yy2arr1169 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1174 := z.EncBinary() + _ = yym1174 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -16462,14 +16462,14 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1175 := z.EncBinary() + _ = yym1175 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } - if yyr2 || yy2arr2 { + if yyr1169 || yy2arr1169 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16482,25 +16482,25 @@ func (x *HTTPHeader) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1176 := z.DecBinary() + _ = yym1176 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1177 := r.ContainerType() + if yyct1177 == codecSelferValueTypeMap1234 { + yyl1177 := r.ReadMapStart() + if yyl1177 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1177, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1177 == codecSelferValueTypeArray1234 { + yyl1177 := r.ReadArrayStart() + if yyl1177 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1177, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16512,12 +16512,12 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1178Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1178Slc + var yyhl1178 bool = l >= 0 + for yyj1178 := 0; ; yyj1178++ { + if yyhl1178 { + if yyj1178 >= l { break } } else { @@ -16526,10 +16526,10 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1178Slc = r.DecodeBytes(yys1178Slc, true, true) + yys1178 := string(yys1178Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1178 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -16543,9 +16543,9 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Value = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1178) + } // end switch yys1178 + } // end for yyj1178 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16553,16 +16553,16 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1181 int + var yyb1181 bool + var yyhl1181 bool = l >= 0 + yyj1181++ + if yyhl1181 { + yyb1181 = yyj1181 > l } else { - yyb6 = r.CheckBreak() + yyb1181 = r.CheckBreak() } - if yyb6 { + if yyb1181 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16572,13 +16572,13 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1181++ + if yyhl1181 { + yyb1181 = yyj1181 > l } else { - yyb6 = r.CheckBreak() + yyb1181 = r.CheckBreak() } - if yyb6 { + if yyb1181 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16589,17 +16589,17 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Value = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1181++ + if yyhl1181 { + yyb1181 = yyj1181 > l } else { - yyb6 = r.CheckBreak() + yyb1181 = r.CheckBreak() } - if yyb6 { + if yyb1181 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1181-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16611,38 +16611,38 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1184 := z.EncBinary() + _ = yym1184 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Path != "" - yyq2[2] = x.Host != "" - yyq2[3] = x.Scheme != "" - yyq2[4] = len(x.HTTPHeaders) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1185 := !z.EncBinary() + yy2arr1185 := z.EncBasicHandle().StructToArray + var yyq1185 [5]bool + _, _, _ = yysep1185, yyq1185, yy2arr1185 + const yyr1185 bool = false + yyq1185[0] = x.Path != "" + yyq1185[2] = x.Host != "" + yyq1185[3] = x.Scheme != "" + yyq1185[4] = len(x.HTTPHeaders) != 0 + var yynn1185 int + if yyr1185 || yy2arr1185 { r.EncodeArrayStart(5) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1185 = 1 + for _, b := range yyq1185 { if b { - yynn2++ + yynn1185++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1185) + yynn1185 = 0 } - if yyr2 || yy2arr2 { + if yyr1185 || yy2arr1185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq1185[0] { + yym1187 := z.EncBinary() + _ = yym1187 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -16651,50 +16651,50 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1185[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1188 := z.EncBinary() + _ = yym1188 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr2 || yy2arr2 { + if yyr1185 || yy2arr1185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.Port - yym8 := z.EncBinary() - _ = yym8 + yy1190 := &x.Port + yym1191 := z.EncBinary() + _ = yym1191 if false { - } else if z.HasExtensions() && z.EncExt(yy7) { - } else if !yym8 && z.IsJSONHandle() { - z.EncJSONMarshal(yy7) + } else if z.HasExtensions() && z.EncExt(yy1190) { + } else if !yym1191 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1190) } else { - z.EncFallback(yy7) + z.EncFallback(yy1190) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.Port - yym10 := z.EncBinary() - _ = yym10 + yy1192 := &x.Port + yym1193 := z.EncBinary() + _ = yym1193 if false { - } else if z.HasExtensions() && z.EncExt(yy9) { - } else if !yym10 && z.IsJSONHandle() { - z.EncJSONMarshal(yy9) + } else if z.HasExtensions() && z.EncExt(yy1192) { + } else if !yym1193 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1192) } else { - z.EncFallback(yy9) + z.EncFallback(yy1192) } } - if yyr2 || yy2arr2 { + if yyr1185 || yy2arr1185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 + if yyq1185[2] { + yym1195 := z.EncBinary() + _ = yym1195 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -16703,41 +16703,41 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq1185[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 + yym1196 := z.EncBinary() + _ = yym1196 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr2 || yy2arr2 { + if yyr1185 || yy2arr1185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq1185[3] { x.Scheme.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq1185[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scheme")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Scheme.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1185 || yy2arr1185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq1185[4] { if x.HTTPHeaders == nil { r.EncodeNil() } else { - yym18 := z.EncBinary() - _ = yym18 + yym1199 := z.EncBinary() + _ = yym1199 if false { } else { h.encSliceHTTPHeader(([]HTTPHeader)(x.HTTPHeaders), e) @@ -16747,15 +16747,15 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq1185[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpHeaders")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HTTPHeaders == nil { r.EncodeNil() } else { - yym19 := z.EncBinary() - _ = yym19 + yym1200 := z.EncBinary() + _ = yym1200 if false { } else { h.encSliceHTTPHeader(([]HTTPHeader)(x.HTTPHeaders), e) @@ -16763,7 +16763,7 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1185 || yy2arr1185 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16776,25 +16776,25 @@ func (x *HTTPGetAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1201 := z.DecBinary() + _ = yym1201 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1202 := r.ContainerType() + if yyct1202 == codecSelferValueTypeMap1234 { + yyl1202 := r.ReadMapStart() + if yyl1202 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1202, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1202 == codecSelferValueTypeArray1234 { + yyl1202 := r.ReadArrayStart() + if yyl1202 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1202, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16806,12 +16806,12 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1203Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1203Slc + var yyhl1203 bool = l >= 0 + for yyj1203 := 0; ; yyj1203++ { + if yyhl1203 { + if yyj1203 >= l { break } } else { @@ -16820,10 +16820,10 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1203Slc = r.DecodeBytes(yys1203Slc, true, true) + yys1203 := string(yys1203Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1203 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -16834,15 +16834,15 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv5 := &x.Port - yym6 := z.DecBinary() - _ = yym6 + yyv1205 := &x.Port + yym1206 := z.DecBinary() + _ = yym1206 if false { - } else if z.HasExtensions() && z.DecExt(yyv5) { - } else if !yym6 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv5) + } else if z.HasExtensions() && z.DecExt(yyv1205) { + } else if !yym1206 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1205) } else { - z.DecFallback(yyv5, false) + z.DecFallback(yyv1205, false) } } case "host": @@ -16861,18 +16861,18 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HTTPHeaders = nil } else { - yyv9 := &x.HTTPHeaders - yym10 := z.DecBinary() - _ = yym10 + yyv1209 := &x.HTTPHeaders + yym1210 := z.DecBinary() + _ = yym1210 if false { } else { - h.decSliceHTTPHeader((*[]HTTPHeader)(yyv9), d) + h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1209), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1203) + } // end switch yys1203 + } // end for yyj1203 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16880,16 +16880,16 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj1211 int + var yyb1211 bool + var yyhl1211 bool = l >= 0 + yyj1211++ + if yyhl1211 { + yyb1211 = yyj1211 > l } else { - yyb11 = r.CheckBreak() + yyb1211 = r.CheckBreak() } - if yyb11 { + if yyb1211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16899,13 +16899,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Path = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1211++ + if yyhl1211 { + yyb1211 = yyj1211 > l } else { - yyb11 = r.CheckBreak() + yyb1211 = r.CheckBreak() } - if yyb11 { + if yyb1211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16913,24 +16913,24 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv13 := &x.Port - yym14 := z.DecBinary() - _ = yym14 + yyv1213 := &x.Port + yym1214 := z.DecBinary() + _ = yym1214 if false { - } else if z.HasExtensions() && z.DecExt(yyv13) { - } else if !yym14 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv13) + } else if z.HasExtensions() && z.DecExt(yyv1213) { + } else if !yym1214 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1213) } else { - z.DecFallback(yyv13, false) + z.DecFallback(yyv1213, false) } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1211++ + if yyhl1211 { + yyb1211 = yyj1211 > l } else { - yyb11 = r.CheckBreak() + yyb1211 = r.CheckBreak() } - if yyb11 { + if yyb1211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16940,13 +16940,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Host = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1211++ + if yyhl1211 { + yyb1211 = yyj1211 > l } else { - yyb11 = r.CheckBreak() + yyb1211 = r.CheckBreak() } - if yyb11 { + if yyb1211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16956,13 +16956,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Scheme = URIScheme(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1211++ + if yyhl1211 { + yyb1211 = yyj1211 > l } else { - yyb11 = r.CheckBreak() + yyb1211 = r.CheckBreak() } - if yyb11 { + if yyb1211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16970,26 +16970,26 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HTTPHeaders = nil } else { - yyv17 := &x.HTTPHeaders - yym18 := z.DecBinary() - _ = yym18 + yyv1217 := &x.HTTPHeaders + yym1218 := z.DecBinary() + _ = yym1218 if false { } else { - h.decSliceHTTPHeader((*[]HTTPHeader)(yyv17), d) + h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1217), d) } } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1211++ + if yyhl1211 { + yyb1211 = yyj1211 > l } else { - yyb11 = r.CheckBreak() + yyb1211 = r.CheckBreak() } - if yyb11 { + if yyb1211 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj1211-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16998,8 +16998,8 @@ func (x URIScheme) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1219 := z.EncBinary() + _ = yym1219 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -17011,8 +17011,8 @@ func (x *URIScheme) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1220 := z.DecBinary() + _ = yym1220 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -17027,57 +17027,57 @@ func (x *TCPSocketAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1221 := z.EncBinary() + _ = yym1221 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1222 := !z.EncBinary() + yy2arr1222 := z.EncBasicHandle().StructToArray + var yyq1222 [1]bool + _, _, _ = yysep1222, yyq1222, yy2arr1222 + const yyr1222 bool = false + var yynn1222 int + if yyr1222 || yy2arr1222 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1222 = 1 + for _, b := range yyq1222 { if b { - yynn2++ + yynn1222++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1222) + yynn1222 = 0 } - if yyr2 || yy2arr2 { + if yyr1222 || yy2arr1222 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4 := &x.Port - yym5 := z.EncBinary() - _ = yym5 + yy1224 := &x.Port + yym1225 := z.EncBinary() + _ = yym1225 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { - } else if !yym5 && z.IsJSONHandle() { - z.EncJSONMarshal(yy4) + } else if z.HasExtensions() && z.EncExt(yy1224) { + } else if !yym1225 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1224) } else { - z.EncFallback(yy4) + z.EncFallback(yy1224) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.Port - yym7 := z.EncBinary() - _ = yym7 + yy1226 := &x.Port + yym1227 := z.EncBinary() + _ = yym1227 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { - } else if !yym7 && z.IsJSONHandle() { - z.EncJSONMarshal(yy6) + } else if z.HasExtensions() && z.EncExt(yy1226) { + } else if !yym1227 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1226) } else { - z.EncFallback(yy6) + z.EncFallback(yy1226) } } - if yyr2 || yy2arr2 { + if yyr1222 || yy2arr1222 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17090,25 +17090,25 @@ func (x *TCPSocketAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1228 := z.DecBinary() + _ = yym1228 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1229 := r.ContainerType() + if yyct1229 == codecSelferValueTypeMap1234 { + yyl1229 := r.ReadMapStart() + if yyl1229 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1229, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1229 == codecSelferValueTypeArray1234 { + yyl1229 := r.ReadArrayStart() + if yyl1229 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1229, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17120,12 +17120,12 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1230Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1230Slc + var yyhl1230 bool = l >= 0 + for yyj1230 := 0; ; yyj1230++ { + if yyhl1230 { + if yyj1230 >= l { break } } else { @@ -17134,29 +17134,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1230Slc = r.DecodeBytes(yys1230Slc, true, true) + yys1230 := string(yys1230Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1230 { case "port": if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv4 := &x.Port - yym5 := z.DecBinary() - _ = yym5 + yyv1231 := &x.Port + yym1232 := z.DecBinary() + _ = yym1232 if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else if !yym5 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4) + } else if z.HasExtensions() && z.DecExt(yyv1231) { + } else if !yym1232 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1231) } else { - z.DecFallback(yyv4, false) + z.DecFallback(yyv1231, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1230) + } // end switch yys1230 + } // end for yyj1230 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17164,16 +17164,16 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1233 int + var yyb1233 bool + var yyhl1233 bool = l >= 0 + yyj1233++ + if yyhl1233 { + yyb1233 = yyj1233 > l } else { - yyb6 = r.CheckBreak() + yyb1233 = r.CheckBreak() } - if yyb6 { + if yyb1233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17181,29 +17181,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv7 := &x.Port - yym8 := z.DecBinary() - _ = yym8 + yyv1234 := &x.Port + yym1235 := z.DecBinary() + _ = yym1235 if false { - } else if z.HasExtensions() && z.DecExt(yyv7) { - } else if !yym8 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv7) + } else if z.HasExtensions() && z.DecExt(yyv1234) { + } else if !yym1235 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1234) } else { - z.DecFallback(yyv7, false) + z.DecFallback(yyv1234, false) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1233++ + if yyhl1233 { + yyb1233 = yyj1233 > l } else { - yyb6 = r.CheckBreak() + yyb1233 = r.CheckBreak() } - if yyb6 { + if yyb1233 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1233-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17215,38 +17215,38 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1236 := z.EncBinary() + _ = yym1236 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Command) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1237 := !z.EncBinary() + yy2arr1237 := z.EncBasicHandle().StructToArray + var yyq1237 [1]bool + _, _, _ = yysep1237, yyq1237, yy2arr1237 + const yyr1237 bool = false + yyq1237[0] = len(x.Command) != 0 + var yynn1237 int + if yyr1237 || yy2arr1237 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1237 = 0 + for _, b := range yyq1237 { if b { - yynn2++ + yynn1237++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1237) + yynn1237 = 0 } - if yyr2 || yy2arr2 { + if yyr1237 || yy2arr1237 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1237[0] { if x.Command == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1239 := z.EncBinary() + _ = yym1239 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -17256,15 +17256,15 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1237[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1240 := z.EncBinary() + _ = yym1240 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -17272,7 +17272,7 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1237 || yy2arr1237 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17285,25 +17285,25 @@ func (x *ExecAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1241 := z.DecBinary() + _ = yym1241 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1242 := r.ContainerType() + if yyct1242 == codecSelferValueTypeMap1234 { + yyl1242 := r.ReadMapStart() + if yyl1242 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1242, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1242 == codecSelferValueTypeArray1234 { + yyl1242 := r.ReadArrayStart() + if yyl1242 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1242, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17315,12 +17315,12 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -17329,26 +17329,26 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1243Slc = r.DecodeBytes(yys1243Slc, true, true) + yys1243 := string(yys1243Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1243 { case "command": if r.TryDecodeAsNil() { x.Command = nil } else { - yyv4 := &x.Command - yym5 := z.DecBinary() - _ = yym5 + yyv1244 := &x.Command + yym1245 := z.DecBinary() + _ = yym1245 if false { } else { - z.F.DecSliceStringX(yyv4, false, d) + z.F.DecSliceStringX(yyv1244, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1243) + } // end switch yys1243 + } // end for yyj1243 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17356,16 +17356,16 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1246 int + var yyb1246 bool + var yyhl1246 bool = l >= 0 + yyj1246++ + if yyhl1246 { + yyb1246 = yyj1246 > l } else { - yyb6 = r.CheckBreak() + yyb1246 = r.CheckBreak() } - if yyb6 { + if yyb1246 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17373,26 +17373,26 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv7 := &x.Command - yym8 := z.DecBinary() - _ = yym8 + yyv1247 := &x.Command + yym1248 := z.DecBinary() + _ = yym1248 if false { } else { - z.F.DecSliceStringX(yyv7, false, d) + z.F.DecSliceStringX(yyv1247, false, d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1246++ + if yyhl1246 { + yyb1246 = yyj1246 > l } else { - yyb6 = r.CheckBreak() + yyb1246 = r.CheckBreak() } - if yyb6 { + if yyb1246 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1246-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17404,174 +17404,49 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1249 := z.EncBinary() + _ = yym1249 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [8]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.InitialDelaySeconds != 0 - yyq2[1] = x.TimeoutSeconds != 0 - yyq2[2] = x.PeriodSeconds != 0 - yyq2[3] = x.SuccessThreshold != 0 - yyq2[4] = x.FailureThreshold != 0 - yyq2[5] = x.Handler.Exec != nil && x.Exec != nil - yyq2[6] = x.Handler.HTTPGet != nil && x.HTTPGet != nil - yyq2[7] = x.Handler.TCPSocket != nil && x.TCPSocket != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1250 := !z.EncBinary() + yy2arr1250 := z.EncBasicHandle().StructToArray + var yyq1250 [8]bool + _, _, _ = yysep1250, yyq1250, yy2arr1250 + const yyr1250 bool = false + yyq1250[0] = x.Handler.Exec != nil && x.Exec != nil + yyq1250[1] = x.Handler.HTTPGet != nil && x.HTTPGet != nil + yyq1250[2] = x.Handler.TCPSocket != nil && x.TCPSocket != nil + yyq1250[3] = x.InitialDelaySeconds != 0 + yyq1250[4] = x.TimeoutSeconds != 0 + yyq1250[5] = x.PeriodSeconds != 0 + yyq1250[6] = x.SuccessThreshold != 0 + yyq1250[7] = x.FailureThreshold != 0 + var yynn1250 int + if yyr1250 || yy2arr1250 { r.EncodeArrayStart(8) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1250 = 0 + for _, b := range yyq1250 { if b { - yynn2++ + yynn1250++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1250) + yynn1250 = 0 } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 - if false { - } else { - r.EncodeInt(int64(x.InitialDelaySeconds)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("initialDelaySeconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 - if false { - } else { - r.EncodeInt(int64(x.InitialDelaySeconds)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 - if false { - } else { - r.EncodeInt(int64(x.TimeoutSeconds)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 - if false { - } else { - r.EncodeInt(int64(x.TimeoutSeconds)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 - if false { - } else { - r.EncodeInt(int64(x.PeriodSeconds)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("periodSeconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 - if false { - } else { - r.EncodeInt(int64(x.PeriodSeconds)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeInt(int64(x.SuccessThreshold)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("successThreshold")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 - if false { - } else { - r.EncodeInt(int64(x.SuccessThreshold)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeInt(int64(x.FailureThreshold)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("failureThreshold")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 - if false { - } else { - r.EncodeInt(int64(x.FailureThreshold)) - } - } - } - var yyn18 bool + var yyn1251 bool if x.Handler.Exec == nil { - yyn18 = true - goto LABEL18 + yyn1251 = true + goto LABEL1251 } - LABEL18: - if yyr2 || yy2arr2 { - if yyn18 { + LABEL1251: + if yyr1250 || yy2arr1250 { + if yyn1251 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq1250[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -17582,11 +17457,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[5] { + if yyq1250[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn18 { + if yyn1251 { r.EncodeNil() } else { if x.Exec == nil { @@ -17597,18 +17472,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn21 bool + var yyn1252 bool if x.Handler.HTTPGet == nil { - yyn21 = true - goto LABEL21 + yyn1252 = true + goto LABEL1252 } - LABEL21: - if yyr2 || yy2arr2 { - if yyn21 { + LABEL1252: + if yyr1250 || yy2arr1250 { + if yyn1252 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq1250[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -17619,11 +17494,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[6] { + if yyq1250[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn21 { + if yyn1252 { r.EncodeNil() } else { if x.HTTPGet == nil { @@ -17634,18 +17509,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn24 bool + var yyn1253 bool if x.Handler.TCPSocket == nil { - yyn24 = true - goto LABEL24 + yyn1253 = true + goto LABEL1253 } - LABEL24: - if yyr2 || yy2arr2 { - if yyn24 { + LABEL1253: + if yyr1250 || yy2arr1250 { + if yyn1253 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq1250[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -17656,11 +17531,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[7] { + if yyq1250[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn24 { + if yyn1253 { r.EncodeNil() } else { if x.TCPSocket == nil { @@ -17671,7 +17546,132 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1250 || yy2arr1250 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1250[3] { + yym1255 := z.EncBinary() + _ = yym1255 + if false { + } else { + r.EncodeInt(int64(x.InitialDelaySeconds)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq1250[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("initialDelaySeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1256 := z.EncBinary() + _ = yym1256 + if false { + } else { + r.EncodeInt(int64(x.InitialDelaySeconds)) + } + } + } + if yyr1250 || yy2arr1250 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1250[4] { + yym1258 := z.EncBinary() + _ = yym1258 + if false { + } else { + r.EncodeInt(int64(x.TimeoutSeconds)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq1250[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1259 := z.EncBinary() + _ = yym1259 + if false { + } else { + r.EncodeInt(int64(x.TimeoutSeconds)) + } + } + } + if yyr1250 || yy2arr1250 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1250[5] { + yym1261 := z.EncBinary() + _ = yym1261 + if false { + } else { + r.EncodeInt(int64(x.PeriodSeconds)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq1250[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("periodSeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1262 := z.EncBinary() + _ = yym1262 + if false { + } else { + r.EncodeInt(int64(x.PeriodSeconds)) + } + } + } + if yyr1250 || yy2arr1250 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1250[6] { + yym1264 := z.EncBinary() + _ = yym1264 + if false { + } else { + r.EncodeInt(int64(x.SuccessThreshold)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq1250[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("successThreshold")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1265 := z.EncBinary() + _ = yym1265 + if false { + } else { + r.EncodeInt(int64(x.SuccessThreshold)) + } + } + } + if yyr1250 || yy2arr1250 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1250[7] { + yym1267 := z.EncBinary() + _ = yym1267 + if false { + } else { + r.EncodeInt(int64(x.FailureThreshold)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq1250[7] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("failureThreshold")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1268 := z.EncBinary() + _ = yym1268 + if false { + } else { + r.EncodeInt(int64(x.FailureThreshold)) + } + } + } + if yyr1250 || yy2arr1250 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17684,25 +17684,25 @@ func (x *Probe) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1269 := z.DecBinary() + _ = yym1269 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1270 := r.ContainerType() + if yyct1270 == codecSelferValueTypeMap1234 { + yyl1270 := r.ReadMapStart() + if yyl1270 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1270, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1270 == codecSelferValueTypeArray1234 { + yyl1270 := r.ReadArrayStart() + if yyl1270 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1270, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17714,12 +17714,12 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1271Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1271Slc + var yyhl1271 bool = l >= 0 + for yyj1271 := 0; ; yyj1271++ { + if yyhl1271 { + if yyj1271 >= l { break } } else { @@ -17728,40 +17728,10 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1271Slc = r.DecodeBytes(yys1271Slc, true, true) + yys1271 := string(yys1271Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "initialDelaySeconds": - if r.TryDecodeAsNil() { - x.InitialDelaySeconds = 0 - } else { - x.InitialDelaySeconds = int32(r.DecodeInt(32)) - } - case "timeoutSeconds": - if r.TryDecodeAsNil() { - x.TimeoutSeconds = 0 - } else { - x.TimeoutSeconds = int32(r.DecodeInt(32)) - } - case "periodSeconds": - if r.TryDecodeAsNil() { - x.PeriodSeconds = 0 - } else { - x.PeriodSeconds = int32(r.DecodeInt(32)) - } - case "successThreshold": - if r.TryDecodeAsNil() { - x.SuccessThreshold = 0 - } else { - x.SuccessThreshold = int32(r.DecodeInt(32)) - } - case "failureThreshold": - if r.TryDecodeAsNil() { - x.FailureThreshold = 0 - } else { - x.FailureThreshold = int32(r.DecodeInt(32)) - } + switch yys1271 { case "exec": if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) @@ -17804,10 +17774,40 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } x.TCPSocket.CodecDecodeSelf(d) } + case "initialDelaySeconds": + if r.TryDecodeAsNil() { + x.InitialDelaySeconds = 0 + } else { + x.InitialDelaySeconds = int32(r.DecodeInt(32)) + } + case "timeoutSeconds": + if r.TryDecodeAsNil() { + x.TimeoutSeconds = 0 + } else { + x.TimeoutSeconds = int32(r.DecodeInt(32)) + } + case "periodSeconds": + if r.TryDecodeAsNil() { + x.PeriodSeconds = 0 + } else { + x.PeriodSeconds = int32(r.DecodeInt(32)) + } + case "successThreshold": + if r.TryDecodeAsNil() { + x.SuccessThreshold = 0 + } else { + x.SuccessThreshold = int32(r.DecodeInt(32)) + } + case "failureThreshold": + if r.TryDecodeAsNil() { + x.FailureThreshold = 0 + } else { + x.FailureThreshold = int32(r.DecodeInt(32)) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1271) + } // end switch yys1271 + } // end for yyj1271 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17815,99 +17815,19 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.InitialDelaySeconds = 0 - } else { - x.InitialDelaySeconds = int32(r.DecodeInt(32)) - } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TimeoutSeconds = 0 - } else { - x.TimeoutSeconds = int32(r.DecodeInt(32)) - } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PeriodSeconds = 0 - } else { - x.PeriodSeconds = int32(r.DecodeInt(32)) - } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SuccessThreshold = 0 - } else { - x.SuccessThreshold = int32(r.DecodeInt(32)) - } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.FailureThreshold = 0 - } else { - x.FailureThreshold = int32(r.DecodeInt(32)) - } + var yyj1280 int + var yyb1280 bool + var yyhl1280 bool = l >= 0 if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1280++ + if yyhl1280 { + yyb1280 = yyj1280 > l } else { - yyb12 = r.CheckBreak() + yyb1280 = r.CheckBreak() } - if yyb12 { + if yyb1280 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17925,13 +17845,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.HTTPGet == nil { x.Handler.HTTPGet = new(HTTPGetAction) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1280++ + if yyhl1280 { + yyb1280 = yyj1280 > l } else { - yyb12 = r.CheckBreak() + yyb1280 = r.CheckBreak() } - if yyb12 { + if yyb1280 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17949,13 +17869,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.TCPSocket == nil { x.Handler.TCPSocket = new(TCPSocketAction) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1280++ + if yyhl1280 { + yyb1280 = yyj1280 > l } else { - yyb12 = r.CheckBreak() + yyb1280 = r.CheckBreak() } - if yyb12 { + if yyb1280 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17970,18 +17890,98 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.TCPSocket.CodecDecodeSelf(d) } + yyj1280++ + if yyhl1280 { + yyb1280 = yyj1280 > l + } else { + yyb1280 = r.CheckBreak() + } + if yyb1280 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.InitialDelaySeconds = 0 + } else { + x.InitialDelaySeconds = int32(r.DecodeInt(32)) + } + yyj1280++ + if yyhl1280 { + yyb1280 = yyj1280 > l + } else { + yyb1280 = r.CheckBreak() + } + if yyb1280 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TimeoutSeconds = 0 + } else { + x.TimeoutSeconds = int32(r.DecodeInt(32)) + } + yyj1280++ + if yyhl1280 { + yyb1280 = yyj1280 > l + } else { + yyb1280 = r.CheckBreak() + } + if yyb1280 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PeriodSeconds = 0 + } else { + x.PeriodSeconds = int32(r.DecodeInt(32)) + } + yyj1280++ + if yyhl1280 { + yyb1280 = yyj1280 > l + } else { + yyb1280 = r.CheckBreak() + } + if yyb1280 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.SuccessThreshold = 0 + } else { + x.SuccessThreshold = int32(r.DecodeInt(32)) + } + yyj1280++ + if yyhl1280 { + yyb1280 = yyj1280 > l + } else { + yyb1280 = r.CheckBreak() + } + if yyb1280 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.FailureThreshold = 0 + } else { + x.FailureThreshold = int32(r.DecodeInt(32)) + } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1280++ + if yyhl1280 { + yyb1280 = yyj1280 > l } else { - yyb12 = r.CheckBreak() + yyb1280 = r.CheckBreak() } - if yyb12 { + if yyb1280 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj1280-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17990,8 +17990,8 @@ func (x PullPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1289 := z.EncBinary() + _ = yym1289 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18003,8 +18003,8 @@ func (x *PullPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1290 := z.DecBinary() + _ = yym1290 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18016,8 +18016,8 @@ func (x Capability) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1291 := z.EncBinary() + _ = yym1291 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18029,8 +18029,8 @@ func (x *Capability) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1292 := z.DecBinary() + _ = yym1292 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18045,39 +18045,39 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1293 := z.EncBinary() + _ = yym1293 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Add) != 0 - yyq2[1] = len(x.Drop) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1294 := !z.EncBinary() + yy2arr1294 := z.EncBasicHandle().StructToArray + var yyq1294 [2]bool + _, _, _ = yysep1294, yyq1294, yy2arr1294 + const yyr1294 bool = false + yyq1294[0] = len(x.Add) != 0 + yyq1294[1] = len(x.Drop) != 0 + var yynn1294 int + if yyr1294 || yy2arr1294 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1294 = 0 + for _, b := range yyq1294 { if b { - yynn2++ + yynn1294++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1294) + yynn1294 = 0 } - if yyr2 || yy2arr2 { + if yyr1294 || yy2arr1294 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1294[0] { if x.Add == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1296 := z.EncBinary() + _ = yym1296 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -18087,15 +18087,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1294[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("add")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Add == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1297 := z.EncBinary() + _ = yym1297 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -18103,14 +18103,14 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1294 || yy2arr1294 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1294[1] { if x.Drop == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1299 := z.EncBinary() + _ = yym1299 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -18120,15 +18120,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1294[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("drop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Drop == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1300 := z.EncBinary() + _ = yym1300 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -18136,7 +18136,7 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1294 || yy2arr1294 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18149,25 +18149,25 @@ func (x *Capabilities) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1301 := z.DecBinary() + _ = yym1301 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1302 := r.ContainerType() + if yyct1302 == codecSelferValueTypeMap1234 { + yyl1302 := r.ReadMapStart() + if yyl1302 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1302, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1302 == codecSelferValueTypeArray1234 { + yyl1302 := r.ReadArrayStart() + if yyl1302 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1302, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18179,12 +18179,12 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1303Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1303Slc + var yyhl1303 bool = l >= 0 + for yyj1303 := 0; ; yyj1303++ { + if yyhl1303 { + if yyj1303 >= l { break } } else { @@ -18193,38 +18193,38 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1303Slc = r.DecodeBytes(yys1303Slc, true, true) + yys1303 := string(yys1303Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1303 { case "add": if r.TryDecodeAsNil() { x.Add = nil } else { - yyv4 := &x.Add - yym5 := z.DecBinary() - _ = yym5 + yyv1304 := &x.Add + yym1305 := z.DecBinary() + _ = yym1305 if false { } else { - h.decSliceCapability((*[]Capability)(yyv4), d) + h.decSliceCapability((*[]Capability)(yyv1304), d) } } case "drop": if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv6 := &x.Drop - yym7 := z.DecBinary() - _ = yym7 + yyv1306 := &x.Drop + yym1307 := z.DecBinary() + _ = yym1307 if false { } else { - h.decSliceCapability((*[]Capability)(yyv6), d) + h.decSliceCapability((*[]Capability)(yyv1306), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1303) + } // end switch yys1303 + } // end for yyj1303 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18232,16 +18232,16 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1308 int + var yyb1308 bool + var yyhl1308 bool = l >= 0 + yyj1308++ + if yyhl1308 { + yyb1308 = yyj1308 > l } else { - yyb8 = r.CheckBreak() + yyb1308 = r.CheckBreak() } - if yyb8 { + if yyb1308 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18249,21 +18249,21 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Add = nil } else { - yyv9 := &x.Add - yym10 := z.DecBinary() - _ = yym10 + yyv1309 := &x.Add + yym1310 := z.DecBinary() + _ = yym1310 if false { } else { - h.decSliceCapability((*[]Capability)(yyv9), d) + h.decSliceCapability((*[]Capability)(yyv1309), d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1308++ + if yyhl1308 { + yyb1308 = yyj1308 > l } else { - yyb8 = r.CheckBreak() + yyb1308 = r.CheckBreak() } - if yyb8 { + if yyb1308 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18271,26 +18271,26 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv11 := &x.Drop - yym12 := z.DecBinary() - _ = yym12 + yyv1311 := &x.Drop + yym1312 := z.DecBinary() + _ = yym1312 if false { } else { - h.decSliceCapability((*[]Capability)(yyv11), d) + h.decSliceCapability((*[]Capability)(yyv1311), d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1308++ + if yyhl1308 { + yyb1308 = yyj1308 > l } else { - yyb8 = r.CheckBreak() + yyb1308 = r.CheckBreak() } - if yyb8 { + if yyb1308 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1308-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18302,34 +18302,34 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1313 := z.EncBinary() + _ = yym1313 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Limits) != 0 - yyq2[1] = len(x.Requests) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1314 := !z.EncBinary() + yy2arr1314 := z.EncBasicHandle().StructToArray + var yyq1314 [2]bool + _, _, _ = yysep1314, yyq1314, yy2arr1314 + const yyr1314 bool = false + yyq1314[0] = len(x.Limits) != 0 + yyq1314[1] = len(x.Requests) != 0 + var yynn1314 int + if yyr1314 || yy2arr1314 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1314 = 0 + for _, b := range yyq1314 { if b { - yynn2++ + yynn1314++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1314) + yynn1314 = 0 } - if yyr2 || yy2arr2 { + if yyr1314 || yy2arr1314 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1314[0] { if x.Limits == nil { r.EncodeNil() } else { @@ -18339,7 +18339,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1314[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("limits")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18350,9 +18350,9 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1314 || yy2arr1314 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1314[1] { if x.Requests == nil { r.EncodeNil() } else { @@ -18362,7 +18362,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1314[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requests")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18373,7 +18373,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1314 || yy2arr1314 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18386,25 +18386,25 @@ func (x *ResourceRequirements) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1317 := z.DecBinary() + _ = yym1317 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1318 := r.ContainerType() + if yyct1318 == codecSelferValueTypeMap1234 { + yyl1318 := r.ReadMapStart() + if yyl1318 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1318, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1318 == codecSelferValueTypeArray1234 { + yyl1318 := r.ReadArrayStart() + if yyl1318 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1318, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18416,12 +18416,12 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1319Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1319Slc + var yyhl1319 bool = l >= 0 + for yyj1319 := 0; ; yyj1319++ { + if yyhl1319 { + if yyj1319 >= l { break } } else { @@ -18430,28 +18430,28 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1319Slc = r.DecodeBytes(yys1319Slc, true, true) + yys1319 := string(yys1319Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1319 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv4 := &x.Limits - yyv4.CodecDecodeSelf(d) + yyv1320 := &x.Limits + yyv1320.CodecDecodeSelf(d) } case "requests": if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv5 := &x.Requests - yyv5.CodecDecodeSelf(d) + yyv1321 := &x.Requests + yyv1321.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1319) + } // end switch yys1319 + } // end for yyj1319 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18459,16 +18459,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1322 int + var yyb1322 bool + var yyhl1322 bool = l >= 0 + yyj1322++ + if yyhl1322 { + yyb1322 = yyj1322 > l } else { - yyb6 = r.CheckBreak() + yyb1322 = r.CheckBreak() } - if yyb6 { + if yyb1322 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18476,16 +18476,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv7 := &x.Limits - yyv7.CodecDecodeSelf(d) + yyv1323 := &x.Limits + yyv1323.CodecDecodeSelf(d) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1322++ + if yyhl1322 { + yyb1322 = yyj1322 > l } else { - yyb6 = r.CheckBreak() + yyb1322 = r.CheckBreak() } - if yyb6 { + if yyb1322 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18493,21 +18493,21 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv8 := &x.Requests - yyv8.CodecDecodeSelf(d) + yyv1324 := &x.Requests + yyv1324.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1322++ + if yyhl1322 { + yyb1322 = yyj1322 > l } else { - yyb6 = r.CheckBreak() + yyb1322 = r.CheckBreak() } - if yyb6 { + if yyb1322 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1322-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18519,50 +18519,50 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1325 := z.EncBinary() + _ = yym1325 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [18]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Image != "" - yyq2[2] = len(x.Command) != 0 - yyq2[3] = len(x.Args) != 0 - yyq2[4] = x.WorkingDir != "" - yyq2[5] = len(x.Ports) != 0 - yyq2[6] = len(x.Env) != 0 - yyq2[7] = true - yyq2[8] = len(x.VolumeMounts) != 0 - yyq2[9] = x.LivenessProbe != nil - yyq2[10] = x.ReadinessProbe != nil - yyq2[11] = x.Lifecycle != nil - yyq2[12] = x.TerminationMessagePath != "" - yyq2[13] = x.ImagePullPolicy != "" - yyq2[14] = x.SecurityContext != nil - yyq2[15] = x.Stdin != false - yyq2[16] = x.StdinOnce != false - yyq2[17] = x.TTY != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1326 := !z.EncBinary() + yy2arr1326 := z.EncBasicHandle().StructToArray + var yyq1326 [18]bool + _, _, _ = yysep1326, yyq1326, yy2arr1326 + const yyr1326 bool = false + yyq1326[1] = x.Image != "" + yyq1326[2] = len(x.Command) != 0 + yyq1326[3] = len(x.Args) != 0 + yyq1326[4] = x.WorkingDir != "" + yyq1326[5] = len(x.Ports) != 0 + yyq1326[6] = len(x.Env) != 0 + yyq1326[7] = true + yyq1326[8] = len(x.VolumeMounts) != 0 + yyq1326[9] = x.LivenessProbe != nil + yyq1326[10] = x.ReadinessProbe != nil + yyq1326[11] = x.Lifecycle != nil + yyq1326[12] = x.TerminationMessagePath != "" + yyq1326[13] = x.ImagePullPolicy != "" + yyq1326[14] = x.SecurityContext != nil + yyq1326[15] = x.Stdin != false + yyq1326[16] = x.StdinOnce != false + yyq1326[17] = x.TTY != false + var yynn1326 int + if yyr1326 || yy2arr1326 { r.EncodeArrayStart(18) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1326 = 1 + for _, b := range yyq1326 { if b { - yynn2++ + yynn1326++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1326) + yynn1326 = 0 } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1328 := z.EncBinary() + _ = yym1328 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -18571,18 +18571,18 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1329 := z.EncBinary() + _ = yym1329 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1326[1] { + yym1331 := z.EncBinary() + _ = yym1331 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -18591,26 +18591,26 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq1326[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1332 := z.EncBinary() + _ = yym1332 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1326[2] { if x.Command == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1334 := z.EncBinary() + _ = yym1334 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -18620,15 +18620,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1326[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym1335 := z.EncBinary() + _ = yym1335 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -18636,14 +18636,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq1326[3] { if x.Args == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym1337 := z.EncBinary() + _ = yym1337 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -18653,15 +18653,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq1326[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("args")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Args == nil { r.EncodeNil() } else { - yym14 := z.EncBinary() - _ = yym14 + yym1338 := z.EncBinary() + _ = yym1338 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -18669,11 +18669,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq1326[4] { + yym1340 := z.EncBinary() + _ = yym1340 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) @@ -18682,26 +18682,26 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq1326[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("workingDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym1341 := z.EncBinary() + _ = yym1341 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) } } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq1326[5] { if x.Ports == nil { r.EncodeNil() } else { - yym19 := z.EncBinary() - _ = yym19 + yym1343 := z.EncBinary() + _ = yym1343 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -18711,15 +18711,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[5] { + if yyq1326[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym20 := z.EncBinary() - _ = yym20 + yym1344 := z.EncBinary() + _ = yym1344 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -18727,14 +18727,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq1326[6] { if x.Env == nil { r.EncodeNil() } else { - yym22 := z.EncBinary() - _ = yym22 + yym1346 := z.EncBinary() + _ = yym1346 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -18744,15 +18744,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[6] { + if yyq1326[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("env")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Env == nil { r.EncodeNil() } else { - yym23 := z.EncBinary() - _ = yym23 + yym1347 := z.EncBinary() + _ = yym1347 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -18760,31 +18760,31 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yy25 := &x.Resources - yy25.CodecEncodeSelf(e) + if yyq1326[7] { + yy1349 := &x.Resources + yy1349.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[7] { + if yyq1326[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy27 := &x.Resources - yy27.CodecEncodeSelf(e) + yy1350 := &x.Resources + yy1350.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { + if yyq1326[8] { if x.VolumeMounts == nil { r.EncodeNil() } else { - yym30 := z.EncBinary() - _ = yym30 + yym1352 := z.EncBinary() + _ = yym1352 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -18794,15 +18794,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[8] { + if yyq1326[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeMounts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumeMounts == nil { r.EncodeNil() } else { - yym31 := z.EncBinary() - _ = yym31 + yym1353 := z.EncBinary() + _ = yym1353 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -18810,9 +18810,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { + if yyq1326[9] { if x.LivenessProbe == nil { r.EncodeNil() } else { @@ -18822,7 +18822,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[9] { + if yyq1326[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("livenessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18833,9 +18833,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { + if yyq1326[10] { if x.ReadinessProbe == nil { r.EncodeNil() } else { @@ -18845,7 +18845,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[10] { + if yyq1326[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readinessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18856,9 +18856,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { + if yyq1326[11] { if x.Lifecycle == nil { r.EncodeNil() } else { @@ -18868,7 +18868,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[11] { + if yyq1326[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lifecycle")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18879,11 +18879,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { - yym42 := z.EncBinary() - _ = yym42 + if yyq1326[12] { + yym1358 := z.EncBinary() + _ = yym1358 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) @@ -18892,36 +18892,36 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[12] { + if yyq1326[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationMessagePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym43 := z.EncBinary() - _ = yym43 + yym1359 := z.EncBinary() + _ = yym1359 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) } } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { + if yyq1326[13] { x.ImagePullPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[13] { + if yyq1326[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.ImagePullPolicy.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[14] { + if yyq1326[14] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -18931,7 +18931,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[14] { + if yyq1326[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -18942,11 +18942,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[15] { - yym51 := z.EncBinary() - _ = yym51 + if yyq1326[15] { + yym1363 := z.EncBinary() + _ = yym1363 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -18955,23 +18955,23 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[15] { + if yyq1326[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym52 := z.EncBinary() - _ = yym52 + yym1364 := z.EncBinary() + _ = yym1364 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[16] { - yym54 := z.EncBinary() - _ = yym54 + if yyq1326[16] { + yym1366 := z.EncBinary() + _ = yym1366 if false { } else { r.EncodeBool(bool(x.StdinOnce)) @@ -18980,23 +18980,23 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[16] { + if yyq1326[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdinOnce")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym55 := z.EncBinary() - _ = yym55 + yym1367 := z.EncBinary() + _ = yym1367 if false { } else { r.EncodeBool(bool(x.StdinOnce)) } } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[17] { - yym57 := z.EncBinary() - _ = yym57 + if yyq1326[17] { + yym1369 := z.EncBinary() + _ = yym1369 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -19005,19 +19005,19 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[17] { + if yyq1326[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym58 := z.EncBinary() - _ = yym58 + yym1370 := z.EncBinary() + _ = yym1370 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr2 || yy2arr2 { + if yyr1326 || yy2arr1326 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19030,25 +19030,25 @@ func (x *Container) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1371 := z.DecBinary() + _ = yym1371 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1372 := r.ContainerType() + if yyct1372 == codecSelferValueTypeMap1234 { + yyl1372 := r.ReadMapStart() + if yyl1372 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1372, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1372 == codecSelferValueTypeArray1234 { + yyl1372 := r.ReadArrayStart() + if yyl1372 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1372, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19060,12 +19060,12 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1373Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1373Slc + var yyhl1373 bool = l >= 0 + for yyj1373 := 0; ; yyj1373++ { + if yyhl1373 { + if yyj1373 >= l { break } } else { @@ -19074,10 +19074,10 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1373Slc = r.DecodeBytes(yys1373Slc, true, true) + yys1373 := string(yys1373Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1373 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -19094,24 +19094,24 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv6 := &x.Command - yym7 := z.DecBinary() - _ = yym7 + yyv1376 := &x.Command + yym1377 := z.DecBinary() + _ = yym1377 if false { } else { - z.F.DecSliceStringX(yyv6, false, d) + z.F.DecSliceStringX(yyv1376, false, d) } } case "args": if r.TryDecodeAsNil() { x.Args = nil } else { - yyv8 := &x.Args - yym9 := z.DecBinary() - _ = yym9 + yyv1378 := &x.Args + yym1379 := z.DecBinary() + _ = yym1379 if false { } else { - z.F.DecSliceStringX(yyv8, false, d) + z.F.DecSliceStringX(yyv1378, false, d) } } case "workingDir": @@ -19124,43 +19124,43 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv11 := &x.Ports - yym12 := z.DecBinary() - _ = yym12 + yyv1381 := &x.Ports + yym1382 := z.DecBinary() + _ = yym1382 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv11), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1381), d) } } case "env": if r.TryDecodeAsNil() { x.Env = nil } else { - yyv13 := &x.Env - yym14 := z.DecBinary() - _ = yym14 + yyv1383 := &x.Env + yym1384 := z.DecBinary() + _ = yym1384 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv13), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1383), d) } } case "resources": if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv15 := &x.Resources - yyv15.CodecDecodeSelf(d) + yyv1385 := &x.Resources + yyv1385.CodecDecodeSelf(d) } case "volumeMounts": if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv16 := &x.VolumeMounts - yym17 := z.DecBinary() - _ = yym17 + yyv1386 := &x.VolumeMounts + yym1387 := z.DecBinary() + _ = yym1387 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv16), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1386), d) } } case "livenessProbe": @@ -19238,9 +19238,9 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1373) + } // end switch yys1373 + } // end for yyj1373 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19248,16 +19248,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj27 int - var yyb27 bool - var yyhl27 bool = l >= 0 - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + var yyj1397 int + var yyb1397 bool + var yyhl1397 bool = l >= 0 + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19267,13 +19267,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19283,13 +19283,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Image = string(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19297,21 +19297,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv30 := &x.Command - yym31 := z.DecBinary() - _ = yym31 + yyv1400 := &x.Command + yym1401 := z.DecBinary() + _ = yym1401 if false { } else { - z.F.DecSliceStringX(yyv30, false, d) + z.F.DecSliceStringX(yyv1400, false, d) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19319,21 +19319,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Args = nil } else { - yyv32 := &x.Args - yym33 := z.DecBinary() - _ = yym33 + yyv1402 := &x.Args + yym1403 := z.DecBinary() + _ = yym1403 if false { } else { - z.F.DecSliceStringX(yyv32, false, d) + z.F.DecSliceStringX(yyv1402, false, d) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19343,13 +19343,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.WorkingDir = string(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19357,21 +19357,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv35 := &x.Ports - yym36 := z.DecBinary() - _ = yym36 + yyv1405 := &x.Ports + yym1406 := z.DecBinary() + _ = yym1406 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv35), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1405), d) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19379,21 +19379,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Env = nil } else { - yyv37 := &x.Env - yym38 := z.DecBinary() - _ = yym38 + yyv1407 := &x.Env + yym1408 := z.DecBinary() + _ = yym1408 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv37), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1407), d) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19401,16 +19401,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv39 := &x.Resources - yyv39.CodecDecodeSelf(d) + yyv1409 := &x.Resources + yyv1409.CodecDecodeSelf(d) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19418,21 +19418,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv40 := &x.VolumeMounts - yym41 := z.DecBinary() - _ = yym41 + yyv1410 := &x.VolumeMounts + yym1411 := z.DecBinary() + _ = yym1411 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv40), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1410), d) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19447,13 +19447,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.LivenessProbe.CodecDecodeSelf(d) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19468,13 +19468,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ReadinessProbe.CodecDecodeSelf(d) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19489,13 +19489,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Lifecycle.CodecDecodeSelf(d) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19505,13 +19505,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TerminationMessagePath = string(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19521,13 +19521,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ImagePullPolicy = PullPolicy(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19542,13 +19542,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19558,13 +19558,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19574,13 +19574,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.StdinOnce = bool(r.DecodeBool()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19591,17 +19591,17 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } for { - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l } else { - yyb27 = r.CheckBreak() + yyb1397 = r.CheckBreak() } - if yyb27 { + if yyb1397 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj27-1, "") + z.DecStructFieldNotFound(yyj1397-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19613,35 +19613,35 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1421 := z.EncBinary() + _ = yym1421 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Exec != nil - yyq2[1] = x.HTTPGet != nil - yyq2[2] = x.TCPSocket != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1422 := !z.EncBinary() + yy2arr1422 := z.EncBasicHandle().StructToArray + var yyq1422 [3]bool + _, _, _ = yysep1422, yyq1422, yy2arr1422 + const yyr1422 bool = false + yyq1422[0] = x.Exec != nil + yyq1422[1] = x.HTTPGet != nil + yyq1422[2] = x.TCPSocket != nil + var yynn1422 int + if yyr1422 || yy2arr1422 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1422 = 0 + for _, b := range yyq1422 { if b { - yynn2++ + yynn1422++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1422) + yynn1422 = 0 } - if yyr2 || yy2arr2 { + if yyr1422 || yy2arr1422 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1422[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -19651,7 +19651,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1422[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19662,9 +19662,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1422 || yy2arr1422 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1422[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -19674,7 +19674,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1422[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19685,9 +19685,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1422 || yy2arr1422 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1422[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -19697,7 +19697,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1422[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19708,7 +19708,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1422 || yy2arr1422 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19721,25 +19721,25 @@ func (x *Handler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1426 := z.DecBinary() + _ = yym1426 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1427 := r.ContainerType() + if yyct1427 == codecSelferValueTypeMap1234 { + yyl1427 := r.ReadMapStart() + if yyl1427 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1427, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1427 == codecSelferValueTypeArray1234 { + yyl1427 := r.ReadArrayStart() + if yyl1427 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1427, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19751,12 +19751,12 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1428Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1428Slc + var yyhl1428 bool = l >= 0 + for yyj1428 := 0; ; yyj1428++ { + if yyhl1428 { + if yyj1428 >= l { break } } else { @@ -19765,10 +19765,10 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1428Slc = r.DecodeBytes(yys1428Slc, true, true) + yys1428 := string(yys1428Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1428 { case "exec": if r.TryDecodeAsNil() { if x.Exec != nil { @@ -19803,9 +19803,9 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1428) + } // end switch yys1428 + } // end for yyj1428 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19813,16 +19813,16 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1432 int + var yyb1432 bool + var yyhl1432 bool = l >= 0 + yyj1432++ + if yyhl1432 { + yyb1432 = yyj1432 > l } else { - yyb7 = r.CheckBreak() + yyb1432 = r.CheckBreak() } - if yyb7 { + if yyb1432 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19837,13 +19837,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Exec.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1432++ + if yyhl1432 { + yyb1432 = yyj1432 > l } else { - yyb7 = r.CheckBreak() + yyb1432 = r.CheckBreak() } - if yyb7 { + if yyb1432 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19858,13 +19858,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HTTPGet.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1432++ + if yyhl1432 { + yyb1432 = yyj1432 > l } else { - yyb7 = r.CheckBreak() + yyb1432 = r.CheckBreak() } - if yyb7 { + if yyb1432 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19880,17 +19880,17 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1432++ + if yyhl1432 { + yyb1432 = yyj1432 > l } else { - yyb7 = r.CheckBreak() + yyb1432 = r.CheckBreak() } - if yyb7 { + if yyb1432 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1432-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19902,34 +19902,34 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1436 := z.EncBinary() + _ = yym1436 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.PostStart != nil - yyq2[1] = x.PreStop != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1437 := !z.EncBinary() + yy2arr1437 := z.EncBasicHandle().StructToArray + var yyq1437 [2]bool + _, _, _ = yysep1437, yyq1437, yy2arr1437 + const yyr1437 bool = false + yyq1437[0] = x.PostStart != nil + yyq1437[1] = x.PreStop != nil + var yynn1437 int + if yyr1437 || yy2arr1437 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1437 = 0 + for _, b := range yyq1437 { if b { - yynn2++ + yynn1437++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1437) + yynn1437 = 0 } - if yyr2 || yy2arr2 { + if yyr1437 || yy2arr1437 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1437[0] { if x.PostStart == nil { r.EncodeNil() } else { @@ -19939,7 +19939,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1437[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("postStart")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19950,9 +19950,9 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1437 || yy2arr1437 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1437[1] { if x.PreStop == nil { r.EncodeNil() } else { @@ -19962,7 +19962,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1437[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preStop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19973,7 +19973,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1437 || yy2arr1437 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19986,25 +19986,25 @@ func (x *Lifecycle) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1440 := z.DecBinary() + _ = yym1440 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1441 := r.ContainerType() + if yyct1441 == codecSelferValueTypeMap1234 { + yyl1441 := r.ReadMapStart() + if yyl1441 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1441, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1441 == codecSelferValueTypeArray1234 { + yyl1441 := r.ReadArrayStart() + if yyl1441 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1441, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20016,12 +20016,12 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1442Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1442Slc + var yyhl1442 bool = l >= 0 + for yyj1442 := 0; ; yyj1442++ { + if yyhl1442 { + if yyj1442 >= l { break } } else { @@ -20030,10 +20030,10 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1442Slc = r.DecodeBytes(yys1442Slc, true, true) + yys1442 := string(yys1442Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1442 { case "postStart": if r.TryDecodeAsNil() { if x.PostStart != nil { @@ -20057,9 +20057,9 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PreStop.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1442) + } // end switch yys1442 + } // end for yyj1442 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20067,16 +20067,16 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1445 int + var yyb1445 bool + var yyhl1445 bool = l >= 0 + yyj1445++ + if yyhl1445 { + yyb1445 = yyj1445 > l } else { - yyb6 = r.CheckBreak() + yyb1445 = r.CheckBreak() } - if yyb6 { + if yyb1445 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20091,13 +20091,13 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PostStart.CodecDecodeSelf(d) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1445++ + if yyhl1445 { + yyb1445 = yyj1445 > l } else { - yyb6 = r.CheckBreak() + yyb1445 = r.CheckBreak() } - if yyb6 { + if yyb1445 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20113,17 +20113,17 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PreStop.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1445++ + if yyhl1445 { + yyb1445 = yyj1445 > l } else { - yyb6 = r.CheckBreak() + yyb1445 = r.CheckBreak() } - if yyb6 { + if yyb1445 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1445-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20132,8 +20132,8 @@ func (x ConditionStatus) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1448 := z.EncBinary() + _ = yym1448 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -20145,8 +20145,8 @@ func (x *ConditionStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1449 := z.DecBinary() + _ = yym1449 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -20161,36 +20161,36 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1450 := z.EncBinary() + _ = yym1450 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Reason != "" - yyq2[1] = x.Message != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1451 := !z.EncBinary() + yy2arr1451 := z.EncBasicHandle().StructToArray + var yyq1451 [2]bool + _, _, _ = yysep1451, yyq1451, yy2arr1451 + const yyr1451 bool = false + yyq1451[0] = x.Reason != "" + yyq1451[1] = x.Message != "" + var yynn1451 int + if yyr1451 || yy2arr1451 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1451 = 0 + for _, b := range yyq1451 { if b { - yynn2++ + yynn1451++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1451) + yynn1451 = 0 } - if yyr2 || yy2arr2 { + if yyr1451 || yy2arr1451 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq1451[0] { + yym1453 := z.EncBinary() + _ = yym1453 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -20199,23 +20199,23 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1451[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1454 := z.EncBinary() + _ = yym1454 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr1451 || yy2arr1451 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1451[1] { + yym1456 := z.EncBinary() + _ = yym1456 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -20224,19 +20224,19 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq1451[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1457 := z.EncBinary() + _ = yym1457 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr1451 || yy2arr1451 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20249,25 +20249,25 @@ func (x *ContainerStateWaiting) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1458 := z.DecBinary() + _ = yym1458 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1459 := r.ContainerType() + if yyct1459 == codecSelferValueTypeMap1234 { + yyl1459 := r.ReadMapStart() + if yyl1459 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1459, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1459 == codecSelferValueTypeArray1234 { + yyl1459 := r.ReadArrayStart() + if yyl1459 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1459, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20279,12 +20279,12 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1460Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1460Slc + var yyhl1460 bool = l >= 0 + for yyj1460 := 0; ; yyj1460++ { + if yyhl1460 { + if yyj1460 >= l { break } } else { @@ -20293,10 +20293,10 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1460Slc = r.DecodeBytes(yys1460Slc, true, true) + yys1460 := string(yys1460Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1460 { case "reason": if r.TryDecodeAsNil() { x.Reason = "" @@ -20310,9 +20310,9 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1460) + } // end switch yys1460 + } // end for yyj1460 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20320,16 +20320,16 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1463 int + var yyb1463 bool + var yyhl1463 bool = l >= 0 + yyj1463++ + if yyhl1463 { + yyb1463 = yyj1463 > l } else { - yyb6 = r.CheckBreak() + yyb1463 = r.CheckBreak() } - if yyb6 { + if yyb1463 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20339,13 +20339,13 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Reason = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1463++ + if yyhl1463 { + yyb1463 = yyj1463 > l } else { - yyb6 = r.CheckBreak() + yyb1463 = r.CheckBreak() } - if yyb6 { + if yyb1463 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20356,17 +20356,17 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.Message = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1463++ + if yyhl1463 { + yyb1463 = yyj1463 > l } else { - yyb6 = r.CheckBreak() + yyb1463 = r.CheckBreak() } - if yyb6 { + if yyb1463 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1463-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20378,68 +20378,68 @@ func (x *ContainerStateRunning) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1466 := z.EncBinary() + _ = yym1466 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep1467 := !z.EncBinary() + yy2arr1467 := z.EncBasicHandle().StructToArray + var yyq1467 [1]bool + _, _, _ = yysep1467, yyq1467, yy2arr1467 + const yyr1467 bool = false + yyq1467[0] = true + var yynn1467 int + if yyr1467 || yy2arr1467 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1467 = 0 + for _, b := range yyq1467 { if b { - yynn2++ + yynn1467++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1467) + yynn1467 = 0 } - if yyr2 || yy2arr2 { + if yyr1467 || yy2arr1467 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.StartedAt - yym5 := z.EncBinary() - _ = yym5 + if yyq1467[0] { + yy1469 := &x.StartedAt + yym1470 := z.EncBinary() + _ = yym1470 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { - } else if yym5 { - z.EncBinaryMarshal(yy4) - } else if !yym5 && z.IsJSONHandle() { - z.EncJSONMarshal(yy4) + } else if z.HasExtensions() && z.EncExt(yy1469) { + } else if yym1470 { + z.EncBinaryMarshal(yy1469) + } else if !yym1470 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1469) } else { - z.EncFallback(yy4) + z.EncFallback(yy1469) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1467[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.StartedAt - yym7 := z.EncBinary() - _ = yym7 + yy1471 := &x.StartedAt + yym1472 := z.EncBinary() + _ = yym1472 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { - } else if yym7 { - z.EncBinaryMarshal(yy6) - } else if !yym7 && z.IsJSONHandle() { - z.EncJSONMarshal(yy6) + } else if z.HasExtensions() && z.EncExt(yy1471) { + } else if yym1472 { + z.EncBinaryMarshal(yy1471) + } else if !yym1472 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1471) } else { - z.EncFallback(yy6) + z.EncFallback(yy1471) } } } - if yyr2 || yy2arr2 { + if yyr1467 || yy2arr1467 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20452,25 +20452,25 @@ func (x *ContainerStateRunning) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1473 := z.DecBinary() + _ = yym1473 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1474 := r.ContainerType() + if yyct1474 == codecSelferValueTypeMap1234 { + yyl1474 := r.ReadMapStart() + if yyl1474 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1474, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1474 == codecSelferValueTypeArray1234 { + yyl1474 := r.ReadArrayStart() + if yyl1474 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1474, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20482,12 +20482,12 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1475Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1475Slc + var yyhl1475 bool = l >= 0 + for yyj1475 := 0; ; yyj1475++ { + if yyhl1475 { + if yyj1475 >= l { break } } else { @@ -20496,31 +20496,31 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1475Slc = r.DecodeBytes(yys1475Slc, true, true) + yys1475 := string(yys1475Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1475 { case "startedAt": if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv4 := &x.StartedAt - yym5 := z.DecBinary() - _ = yym5 + yyv1476 := &x.StartedAt + yym1477 := z.DecBinary() + _ = yym1477 if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else if yym5 { - z.DecBinaryUnmarshal(yyv4) - } else if !yym5 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4) + } else if z.HasExtensions() && z.DecExt(yyv1476) { + } else if yym1477 { + z.DecBinaryUnmarshal(yyv1476) + } else if !yym1477 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1476) } else { - z.DecFallback(yyv4, false) + z.DecFallback(yyv1476, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1475) + } // end switch yys1475 + } // end for yyj1475 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20528,16 +20528,16 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1478 int + var yyb1478 bool + var yyhl1478 bool = l >= 0 + yyj1478++ + if yyhl1478 { + yyb1478 = yyj1478 > l } else { - yyb6 = r.CheckBreak() + yyb1478 = r.CheckBreak() } - if yyb6 { + if yyb1478 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20545,31 +20545,31 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv7 := &x.StartedAt - yym8 := z.DecBinary() - _ = yym8 + yyv1479 := &x.StartedAt + yym1480 := z.DecBinary() + _ = yym1480 if false { - } else if z.HasExtensions() && z.DecExt(yyv7) { - } else if yym8 { - z.DecBinaryUnmarshal(yyv7) - } else if !yym8 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv7) + } else if z.HasExtensions() && z.DecExt(yyv1479) { + } else if yym1480 { + z.DecBinaryUnmarshal(yyv1479) + } else if !yym1480 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1479) } else { - z.DecFallback(yyv7, false) + z.DecFallback(yyv1479, false) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1478++ + if yyhl1478 { + yyb1478 = yyj1478 > l } else { - yyb6 = r.CheckBreak() + yyb1478 = r.CheckBreak() } - if yyb6 { + if yyb1478 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1478-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20581,39 +20581,39 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1481 := z.EncBinary() + _ = yym1481 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [7]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Signal != 0 - yyq2[2] = x.Reason != "" - yyq2[3] = x.Message != "" - yyq2[4] = true - yyq2[5] = true - yyq2[6] = x.ContainerID != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1482 := !z.EncBinary() + yy2arr1482 := z.EncBasicHandle().StructToArray + var yyq1482 [7]bool + _, _, _ = yysep1482, yyq1482, yy2arr1482 + const yyr1482 bool = false + yyq1482[1] = x.Signal != 0 + yyq1482[2] = x.Reason != "" + yyq1482[3] = x.Message != "" + yyq1482[4] = true + yyq1482[5] = true + yyq1482[6] = x.ContainerID != "" + var yynn1482 int + if yyr1482 || yy2arr1482 { r.EncodeArrayStart(7) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1482 = 1 + for _, b := range yyq1482 { if b { - yynn2++ + yynn1482++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1482) + yynn1482 = 0 } - if yyr2 || yy2arr2 { + if yyr1482 || yy2arr1482 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1484 := z.EncBinary() + _ = yym1484 if false { } else { r.EncodeInt(int64(x.ExitCode)) @@ -20622,18 +20622,18 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exitCode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1485 := z.EncBinary() + _ = yym1485 if false { } else { r.EncodeInt(int64(x.ExitCode)) } } - if yyr2 || yy2arr2 { + if yyr1482 || yy2arr1482 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1482[1] { + yym1487 := z.EncBinary() + _ = yym1487 if false { } else { r.EncodeInt(int64(x.Signal)) @@ -20642,23 +20642,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[1] { + if yyq1482[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("signal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1488 := z.EncBinary() + _ = yym1488 if false { } else { r.EncodeInt(int64(x.Signal)) } } } - if yyr2 || yy2arr2 { + if yyr1482 || yy2arr1482 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq1482[2] { + yym1490 := z.EncBinary() + _ = yym1490 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -20667,23 +20667,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq1482[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym1491 := z.EncBinary() + _ = yym1491 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr1482 || yy2arr1482 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq1482[3] { + yym1493 := z.EncBinary() + _ = yym1493 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -20692,97 +20692,97 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq1482[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym1494 := z.EncBinary() + _ = yym1494 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr1482 || yy2arr1482 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yy16 := &x.StartedAt - yym17 := z.EncBinary() - _ = yym17 + if yyq1482[4] { + yy1496 := &x.StartedAt + yym1497 := z.EncBinary() + _ = yym1497 if false { - } else if z.HasExtensions() && z.EncExt(yy16) { - } else if yym17 { - z.EncBinaryMarshal(yy16) - } else if !yym17 && z.IsJSONHandle() { - z.EncJSONMarshal(yy16) + } else if z.HasExtensions() && z.EncExt(yy1496) { + } else if yym1497 { + z.EncBinaryMarshal(yy1496) + } else if !yym1497 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1496) } else { - z.EncFallback(yy16) + z.EncFallback(yy1496) } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq1482[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy18 := &x.StartedAt - yym19 := z.EncBinary() - _ = yym19 + yy1498 := &x.StartedAt + yym1499 := z.EncBinary() + _ = yym1499 if false { - } else if z.HasExtensions() && z.EncExt(yy18) { - } else if yym19 { - z.EncBinaryMarshal(yy18) - } else if !yym19 && z.IsJSONHandle() { - z.EncJSONMarshal(yy18) + } else if z.HasExtensions() && z.EncExt(yy1498) { + } else if yym1499 { + z.EncBinaryMarshal(yy1498) + } else if !yym1499 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1498) } else { - z.EncFallback(yy18) + z.EncFallback(yy1498) } } } - if yyr2 || yy2arr2 { + if yyr1482 || yy2arr1482 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yy21 := &x.FinishedAt - yym22 := z.EncBinary() - _ = yym22 + if yyq1482[5] { + yy1501 := &x.FinishedAt + yym1502 := z.EncBinary() + _ = yym1502 if false { - } else if z.HasExtensions() && z.EncExt(yy21) { - } else if yym22 { - z.EncBinaryMarshal(yy21) - } else if !yym22 && z.IsJSONHandle() { - z.EncJSONMarshal(yy21) + } else if z.HasExtensions() && z.EncExt(yy1501) { + } else if yym1502 { + z.EncBinaryMarshal(yy1501) + } else if !yym1502 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1501) } else { - z.EncFallback(yy21) + z.EncFallback(yy1501) } } else { r.EncodeNil() } } else { - if yyq2[5] { + if yyq1482[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finishedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy23 := &x.FinishedAt - yym24 := z.EncBinary() - _ = yym24 + yy1503 := &x.FinishedAt + yym1504 := z.EncBinary() + _ = yym1504 if false { - } else if z.HasExtensions() && z.EncExt(yy23) { - } else if yym24 { - z.EncBinaryMarshal(yy23) - } else if !yym24 && z.IsJSONHandle() { - z.EncJSONMarshal(yy23) + } else if z.HasExtensions() && z.EncExt(yy1503) { + } else if yym1504 { + z.EncBinaryMarshal(yy1503) + } else if !yym1504 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1503) } else { - z.EncFallback(yy23) + z.EncFallback(yy1503) } } } - if yyr2 || yy2arr2 { + if yyr1482 || yy2arr1482 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym26 := z.EncBinary() - _ = yym26 + if yyq1482[6] { + yym1506 := z.EncBinary() + _ = yym1506 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -20791,19 +20791,19 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[6] { + if yyq1482[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym27 := z.EncBinary() - _ = yym27 + yym1507 := z.EncBinary() + _ = yym1507 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr2 || yy2arr2 { + if yyr1482 || yy2arr1482 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20816,25 +20816,25 @@ func (x *ContainerStateTerminated) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1508 := z.DecBinary() + _ = yym1508 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1509 := r.ContainerType() + if yyct1509 == codecSelferValueTypeMap1234 { + yyl1509 := r.ReadMapStart() + if yyl1509 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1509, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1509 == codecSelferValueTypeArray1234 { + yyl1509 := r.ReadArrayStart() + if yyl1509 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1509, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20846,12 +20846,12 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1510Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1510Slc + var yyhl1510 bool = l >= 0 + for yyj1510 := 0; ; yyj1510++ { + if yyhl1510 { + if yyj1510 >= l { break } } else { @@ -20860,10 +20860,10 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1510Slc = r.DecodeBytes(yys1510Slc, true, true) + yys1510 := string(yys1510Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1510 { case "exitCode": if r.TryDecodeAsNil() { x.ExitCode = 0 @@ -20892,34 +20892,34 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv8 := &x.StartedAt - yym9 := z.DecBinary() - _ = yym9 + yyv1515 := &x.StartedAt + yym1516 := z.DecBinary() + _ = yym1516 if false { - } else if z.HasExtensions() && z.DecExt(yyv8) { - } else if yym9 { - z.DecBinaryUnmarshal(yyv8) - } else if !yym9 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv8) + } else if z.HasExtensions() && z.DecExt(yyv1515) { + } else if yym1516 { + z.DecBinaryUnmarshal(yyv1515) + } else if !yym1516 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1515) } else { - z.DecFallback(yyv8, false) + z.DecFallback(yyv1515, false) } } case "finishedAt": if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv10 := &x.FinishedAt - yym11 := z.DecBinary() - _ = yym11 + yyv1517 := &x.FinishedAt + yym1518 := z.DecBinary() + _ = yym1518 if false { - } else if z.HasExtensions() && z.DecExt(yyv10) { - } else if yym11 { - z.DecBinaryUnmarshal(yyv10) - } else if !yym11 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv10) + } else if z.HasExtensions() && z.DecExt(yyv1517) { + } else if yym1518 { + z.DecBinaryUnmarshal(yyv1517) + } else if !yym1518 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1517) } else { - z.DecFallback(yyv10, false) + z.DecFallback(yyv1517, false) } } case "containerID": @@ -20929,9 +20929,9 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1510) + } // end switch yys1510 + } // end for yyj1510 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20939,16 +20939,16 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj13 int - var yyb13 bool - var yyhl13 bool = l >= 0 - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + var yyj1520 int + var yyb1520 bool + var yyhl1520 bool = l >= 0 + yyj1520++ + if yyhl1520 { + yyb1520 = yyj1520 > l } else { - yyb13 = r.CheckBreak() + yyb1520 = r.CheckBreak() } - if yyb13 { + if yyb1520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20958,13 +20958,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.ExitCode = int32(r.DecodeInt(32)) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1520++ + if yyhl1520 { + yyb1520 = yyj1520 > l } else { - yyb13 = r.CheckBreak() + yyb1520 = r.CheckBreak() } - if yyb13 { + if yyb1520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20974,13 +20974,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Signal = int32(r.DecodeInt(32)) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1520++ + if yyhl1520 { + yyb1520 = yyj1520 > l } else { - yyb13 = r.CheckBreak() + yyb1520 = r.CheckBreak() } - if yyb13 { + if yyb1520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20990,13 +20990,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Reason = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1520++ + if yyhl1520 { + yyb1520 = yyj1520 > l } else { - yyb13 = r.CheckBreak() + yyb1520 = r.CheckBreak() } - if yyb13 { + if yyb1520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21006,13 +21006,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Message = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1520++ + if yyhl1520 { + yyb1520 = yyj1520 > l } else { - yyb13 = r.CheckBreak() + yyb1520 = r.CheckBreak() } - if yyb13 { + if yyb1520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21020,26 +21020,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv18 := &x.StartedAt - yym19 := z.DecBinary() - _ = yym19 + yyv1525 := &x.StartedAt + yym1526 := z.DecBinary() + _ = yym1526 if false { - } else if z.HasExtensions() && z.DecExt(yyv18) { - } else if yym19 { - z.DecBinaryUnmarshal(yyv18) - } else if !yym19 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv18) + } else if z.HasExtensions() && z.DecExt(yyv1525) { + } else if yym1526 { + z.DecBinaryUnmarshal(yyv1525) + } else if !yym1526 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1525) } else { - z.DecFallback(yyv18, false) + z.DecFallback(yyv1525, false) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1520++ + if yyhl1520 { + yyb1520 = yyj1520 > l } else { - yyb13 = r.CheckBreak() + yyb1520 = r.CheckBreak() } - if yyb13 { + if yyb1520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21047,26 +21047,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv20 := &x.FinishedAt - yym21 := z.DecBinary() - _ = yym21 + yyv1527 := &x.FinishedAt + yym1528 := z.DecBinary() + _ = yym1528 if false { - } else if z.HasExtensions() && z.DecExt(yyv20) { - } else if yym21 { - z.DecBinaryUnmarshal(yyv20) - } else if !yym21 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv20) + } else if z.HasExtensions() && z.DecExt(yyv1527) { + } else if yym1528 { + z.DecBinaryUnmarshal(yyv1527) + } else if !yym1528 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1527) } else { - z.DecFallback(yyv20, false) + z.DecFallback(yyv1527, false) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1520++ + if yyhl1520 { + yyb1520 = yyj1520 > l } else { - yyb13 = r.CheckBreak() + yyb1520 = r.CheckBreak() } - if yyb13 { + if yyb1520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21077,17 +21077,17 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. x.ContainerID = string(r.DecodeString()) } for { - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1520++ + if yyhl1520 { + yyb1520 = yyj1520 > l } else { - yyb13 = r.CheckBreak() + yyb1520 = r.CheckBreak() } - if yyb13 { + if yyb1520 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj13-1, "") + z.DecStructFieldNotFound(yyj1520-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21099,35 +21099,35 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1530 := z.EncBinary() + _ = yym1530 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Waiting != nil - yyq2[1] = x.Running != nil - yyq2[2] = x.Terminated != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1531 := !z.EncBinary() + yy2arr1531 := z.EncBasicHandle().StructToArray + var yyq1531 [3]bool + _, _, _ = yysep1531, yyq1531, yy2arr1531 + const yyr1531 bool = false + yyq1531[0] = x.Waiting != nil + yyq1531[1] = x.Running != nil + yyq1531[2] = x.Terminated != nil + var yynn1531 int + if yyr1531 || yy2arr1531 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1531 = 0 + for _, b := range yyq1531 { if b { - yynn2++ + yynn1531++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1531) + yynn1531 = 0 } - if yyr2 || yy2arr2 { + if yyr1531 || yy2arr1531 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1531[0] { if x.Waiting == nil { r.EncodeNil() } else { @@ -21137,7 +21137,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1531[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("waiting")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21148,9 +21148,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1531 || yy2arr1531 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1531[1] { if x.Running == nil { r.EncodeNil() } else { @@ -21160,7 +21160,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1531[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("running")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21171,9 +21171,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1531 || yy2arr1531 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1531[2] { if x.Terminated == nil { r.EncodeNil() } else { @@ -21183,7 +21183,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1531[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminated")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21194,7 +21194,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1531 || yy2arr1531 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21207,25 +21207,25 @@ func (x *ContainerState) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1535 := z.DecBinary() + _ = yym1535 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1536 := r.ContainerType() + if yyct1536 == codecSelferValueTypeMap1234 { + yyl1536 := r.ReadMapStart() + if yyl1536 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1536, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1536 == codecSelferValueTypeArray1234 { + yyl1536 := r.ReadArrayStart() + if yyl1536 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1536, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21237,12 +21237,12 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1537Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1537Slc + var yyhl1537 bool = l >= 0 + for yyj1537 := 0; ; yyj1537++ { + if yyhl1537 { + if yyj1537 >= l { break } } else { @@ -21251,10 +21251,10 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1537Slc = r.DecodeBytes(yys1537Slc, true, true) + yys1537 := string(yys1537Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1537 { case "waiting": if r.TryDecodeAsNil() { if x.Waiting != nil { @@ -21289,9 +21289,9 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1537) + } // end switch yys1537 + } // end for yyj1537 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21299,16 +21299,16 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1541 int + var yyb1541 bool + var yyhl1541 bool = l >= 0 + yyj1541++ + if yyhl1541 { + yyb1541 = yyj1541 > l } else { - yyb7 = r.CheckBreak() + yyb1541 = r.CheckBreak() } - if yyb7 { + if yyb1541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21323,13 +21323,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Waiting.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1541++ + if yyhl1541 { + yyb1541 = yyj1541 > l } else { - yyb7 = r.CheckBreak() + yyb1541 = r.CheckBreak() } - if yyb7 { + if yyb1541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21344,13 +21344,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Running.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1541++ + if yyhl1541 { + yyb1541 = yyj1541 > l } else { - yyb7 = r.CheckBreak() + yyb1541 = r.CheckBreak() } - if yyb7 { + if yyb1541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21366,17 +21366,17 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1541++ + if yyhl1541 { + yyb1541 = yyj1541 > l } else { - yyb7 = r.CheckBreak() + yyb1541 = r.CheckBreak() } - if yyb7 { + if yyb1541 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1541-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21388,36 +21388,36 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1545 := z.EncBinary() + _ = yym1545 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [8]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = true - yyq2[2] = true - yyq2[7] = x.ContainerID != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1546 := !z.EncBinary() + yy2arr1546 := z.EncBasicHandle().StructToArray + var yyq1546 [8]bool + _, _, _ = yysep1546, yyq1546, yy2arr1546 + const yyr1546 bool = false + yyq1546[1] = true + yyq1546[2] = true + yyq1546[7] = x.ContainerID != "" + var yynn1546 int + if yyr1546 || yy2arr1546 { r.EncodeArrayStart(8) } else { - yynn2 = 5 - for _, b := range yyq2 { + yynn1546 = 5 + for _, b := range yyq1546 { if b { - yynn2++ + yynn1546++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1546) + yynn1546 = 0 } - if yyr2 || yy2arr2 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1548 := z.EncBinary() + _ = yym1548 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -21426,51 +21426,51 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1549 := z.EncBinary() + _ = yym1549 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy7 := &x.State - yy7.CodecEncodeSelf(e) + if yyq1546[1] { + yy1551 := &x.State + yy1551.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1546[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("state")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.State - yy9.CodecEncodeSelf(e) + yy1552 := &x.State + yy1552.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy12 := &x.LastTerminationState - yy12.CodecEncodeSelf(e) + if yyq1546[2] { + yy1554 := &x.LastTerminationState + yy1554.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1546[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastState")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.LastTerminationState - yy14.CodecEncodeSelf(e) + yy1555 := &x.LastTerminationState + yy1555.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym17 := z.EncBinary() - _ = yym17 + yym1557 := z.EncBinary() + _ = yym1557 if false { } else { r.EncodeBool(bool(x.Ready)) @@ -21479,17 +21479,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ready")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym1558 := z.EncBinary() + _ = yym1558 if false { } else { r.EncodeBool(bool(x.Ready)) } } - if yyr2 || yy2arr2 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym20 := z.EncBinary() - _ = yym20 + yym1560 := z.EncBinary() + _ = yym1560 if false { } else { r.EncodeInt(int64(x.RestartCount)) @@ -21498,17 +21498,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartCount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym1561 := z.EncBinary() + _ = yym1561 if false { } else { r.EncodeInt(int64(x.RestartCount)) } } - if yyr2 || yy2arr2 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym23 := z.EncBinary() - _ = yym23 + yym1563 := z.EncBinary() + _ = yym1563 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -21517,17 +21517,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 + yym1564 := z.EncBinary() + _ = yym1564 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } - if yyr2 || yy2arr2 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym26 := z.EncBinary() - _ = yym26 + yym1566 := z.EncBinary() + _ = yym1566 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) @@ -21536,18 +21536,18 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imageID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym27 := z.EncBinary() - _ = yym27 + yym1567 := z.EncBinary() + _ = yym1567 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) } } - if yyr2 || yy2arr2 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym29 := z.EncBinary() - _ = yym29 + if yyq1546[7] { + yym1569 := z.EncBinary() + _ = yym1569 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -21556,19 +21556,19 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[7] { + if yyq1546[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym30 := z.EncBinary() - _ = yym30 + yym1570 := z.EncBinary() + _ = yym1570 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr2 || yy2arr2 { + if yyr1546 || yy2arr1546 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21581,25 +21581,25 @@ func (x *ContainerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1571 := z.DecBinary() + _ = yym1571 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1572 := r.ContainerType() + if yyct1572 == codecSelferValueTypeMap1234 { + yyl1572 := r.ReadMapStart() + if yyl1572 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1572, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1572 == codecSelferValueTypeArray1234 { + yyl1572 := r.ReadArrayStart() + if yyl1572 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1572, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21611,12 +21611,12 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1573Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1573Slc + var yyhl1573 bool = l >= 0 + for yyj1573 := 0; ; yyj1573++ { + if yyhl1573 { + if yyj1573 >= l { break } } else { @@ -21625,10 +21625,10 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1573Slc = r.DecodeBytes(yys1573Slc, true, true) + yys1573 := string(yys1573Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1573 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -21639,15 +21639,15 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv5 := &x.State - yyv5.CodecDecodeSelf(d) + yyv1575 := &x.State + yyv1575.CodecDecodeSelf(d) } case "lastState": if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv6 := &x.LastTerminationState - yyv6.CodecDecodeSelf(d) + yyv1576 := &x.LastTerminationState + yyv1576.CodecDecodeSelf(d) } case "ready": if r.TryDecodeAsNil() { @@ -21680,9 +21680,9 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1573) + } // end switch yys1573 + } // end for yyj1573 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21690,16 +21690,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj1582 int + var yyb1582 bool + var yyhl1582 bool = l >= 0 + yyj1582++ + if yyhl1582 { + yyb1582 = yyj1582 > l } else { - yyb12 = r.CheckBreak() + yyb1582 = r.CheckBreak() } - if yyb12 { + if yyb1582 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21709,13 +21709,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1582++ + if yyhl1582 { + yyb1582 = yyj1582 > l } else { - yyb12 = r.CheckBreak() + yyb1582 = r.CheckBreak() } - if yyb12 { + if yyb1582 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21723,16 +21723,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv14 := &x.State - yyv14.CodecDecodeSelf(d) + yyv1584 := &x.State + yyv1584.CodecDecodeSelf(d) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1582++ + if yyhl1582 { + yyb1582 = yyj1582 > l } else { - yyb12 = r.CheckBreak() + yyb1582 = r.CheckBreak() } - if yyb12 { + if yyb1582 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21740,16 +21740,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv15 := &x.LastTerminationState - yyv15.CodecDecodeSelf(d) + yyv1585 := &x.LastTerminationState + yyv1585.CodecDecodeSelf(d) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1582++ + if yyhl1582 { + yyb1582 = yyj1582 > l } else { - yyb12 = r.CheckBreak() + yyb1582 = r.CheckBreak() } - if yyb12 { + if yyb1582 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21759,13 +21759,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Ready = bool(r.DecodeBool()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1582++ + if yyhl1582 { + yyb1582 = yyj1582 > l } else { - yyb12 = r.CheckBreak() + yyb1582 = r.CheckBreak() } - if yyb12 { + if yyb1582 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21775,13 +21775,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RestartCount = int32(r.DecodeInt(32)) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1582++ + if yyhl1582 { + yyb1582 = yyj1582 > l } else { - yyb12 = r.CheckBreak() + yyb1582 = r.CheckBreak() } - if yyb12 { + if yyb1582 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21791,13 +21791,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Image = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1582++ + if yyhl1582 { + yyb1582 = yyj1582 > l } else { - yyb12 = r.CheckBreak() + yyb1582 = r.CheckBreak() } - if yyb12 { + if yyb1582 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21807,13 +21807,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ImageID = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1582++ + if yyhl1582 { + yyb1582 = yyj1582 > l } else { - yyb12 = r.CheckBreak() + yyb1582 = r.CheckBreak() } - if yyb12 { + if yyb1582 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21824,17 +21824,17 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ContainerID = string(r.DecodeString()) } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1582++ + if yyhl1582 { + yyb1582 = yyj1582 > l } else { - yyb12 = r.CheckBreak() + yyb1582 = r.CheckBreak() } - if yyb12 { + if yyb1582 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj1582-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21843,8 +21843,8 @@ func (x PodPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1591 := z.EncBinary() + _ = yym1591 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -21856,8 +21856,8 @@ func (x *PodPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1592 := z.DecBinary() + _ = yym1592 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -21869,8 +21869,8 @@ func (x PodConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1593 := z.EncBinary() + _ = yym1593 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -21882,8 +21882,8 @@ func (x *PodConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1594 := z.DecBinary() + _ = yym1594 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -21898,34 +21898,34 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1595 := z.EncBinary() + _ = yym1595 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = true - yyq2[3] = true - yyq2[4] = x.Reason != "" - yyq2[5] = x.Message != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1596 := !z.EncBinary() + yy2arr1596 := z.EncBasicHandle().StructToArray + var yyq1596 [6]bool + _, _, _ = yysep1596, yyq1596, yy2arr1596 + const yyr1596 bool = false + yyq1596[2] = true + yyq1596[3] = true + yyq1596[4] = x.Reason != "" + yyq1596[5] = x.Message != "" + var yynn1596 int + if yyr1596 || yy2arr1596 { r.EncodeArrayStart(6) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1596 = 2 + for _, b := range yyq1596 { if b { - yynn2++ + yynn1596++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1596) + yynn1596 = 0 } - if yyr2 || yy2arr2 { + if yyr1596 || yy2arr1596 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -21934,7 +21934,7 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1596 || yy2arr1596 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -21943,85 +21943,85 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1596 || yy2arr1596 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy10 := &x.LastProbeTime - yym11 := z.EncBinary() - _ = yym11 + if yyq1596[2] { + yy1600 := &x.LastProbeTime + yym1601 := z.EncBinary() + _ = yym1601 if false { - } else if z.HasExtensions() && z.EncExt(yy10) { - } else if yym11 { - z.EncBinaryMarshal(yy10) - } else if !yym11 && z.IsJSONHandle() { - z.EncJSONMarshal(yy10) + } else if z.HasExtensions() && z.EncExt(yy1600) { + } else if yym1601 { + z.EncBinaryMarshal(yy1600) + } else if !yym1601 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1600) } else { - z.EncFallback(yy10) + z.EncFallback(yy1600) } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1596[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.LastProbeTime - yym13 := z.EncBinary() - _ = yym13 + yy1602 := &x.LastProbeTime + yym1603 := z.EncBinary() + _ = yym1603 if false { - } else if z.HasExtensions() && z.EncExt(yy12) { - } else if yym13 { - z.EncBinaryMarshal(yy12) - } else if !yym13 && z.IsJSONHandle() { - z.EncJSONMarshal(yy12) + } else if z.HasExtensions() && z.EncExt(yy1602) { + } else if yym1603 { + z.EncBinaryMarshal(yy1602) + } else if !yym1603 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1602) } else { - z.EncFallback(yy12) + z.EncFallback(yy1602) } } } - if yyr2 || yy2arr2 { + if yyr1596 || yy2arr1596 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yy15 := &x.LastTransitionTime - yym16 := z.EncBinary() - _ = yym16 + if yyq1596[3] { + yy1605 := &x.LastTransitionTime + yym1606 := z.EncBinary() + _ = yym1606 if false { - } else if z.HasExtensions() && z.EncExt(yy15) { - } else if yym16 { - z.EncBinaryMarshal(yy15) - } else if !yym16 && z.IsJSONHandle() { - z.EncJSONMarshal(yy15) + } else if z.HasExtensions() && z.EncExt(yy1605) { + } else if yym1606 { + z.EncBinaryMarshal(yy1605) + } else if !yym1606 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1605) } else { - z.EncFallback(yy15) + z.EncFallback(yy1605) } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq1596[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.LastTransitionTime - yym18 := z.EncBinary() - _ = yym18 + yy1607 := &x.LastTransitionTime + yym1608 := z.EncBinary() + _ = yym1608 if false { - } else if z.HasExtensions() && z.EncExt(yy17) { - } else if yym18 { - z.EncBinaryMarshal(yy17) - } else if !yym18 && z.IsJSONHandle() { - z.EncJSONMarshal(yy17) + } else if z.HasExtensions() && z.EncExt(yy1607) { + } else if yym1608 { + z.EncBinaryMarshal(yy1607) + } else if !yym1608 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1607) } else { - z.EncFallback(yy17) + z.EncFallback(yy1607) } } } - if yyr2 || yy2arr2 { + if yyr1596 || yy2arr1596 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 + if yyq1596[4] { + yym1610 := z.EncBinary() + _ = yym1610 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -22030,23 +22030,23 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq1596[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym1611 := z.EncBinary() + _ = yym1611 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr1596 || yy2arr1596 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym23 := z.EncBinary() - _ = yym23 + if yyq1596[5] { + yym1613 := z.EncBinary() + _ = yym1613 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -22055,19 +22055,19 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq1596[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 + yym1614 := z.EncBinary() + _ = yym1614 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr1596 || yy2arr1596 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22080,25 +22080,25 @@ func (x *PodCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1615 := z.DecBinary() + _ = yym1615 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1616 := r.ContainerType() + if yyct1616 == codecSelferValueTypeMap1234 { + yyl1616 := r.ReadMapStart() + if yyl1616 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1616, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1616 == codecSelferValueTypeArray1234 { + yyl1616 := r.ReadArrayStart() + if yyl1616 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1616, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22110,12 +22110,12 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1617Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1617Slc + var yyhl1617 bool = l >= 0 + for yyj1617 := 0; ; yyj1617++ { + if yyhl1617 { + if yyj1617 >= l { break } } else { @@ -22124,10 +22124,10 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1617Slc = r.DecodeBytes(yys1617Slc, true, true) + yys1617 := string(yys1617Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1617 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -22144,34 +22144,34 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv6 := &x.LastProbeTime - yym7 := z.DecBinary() - _ = yym7 + yyv1620 := &x.LastProbeTime + yym1621 := z.DecBinary() + _ = yym1621 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if yym7 { - z.DecBinaryUnmarshal(yyv6) - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv1620) { + } else if yym1621 { + z.DecBinaryUnmarshal(yyv1620) + } else if !yym1621 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1620) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv1620, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv8 := &x.LastTransitionTime - yym9 := z.DecBinary() - _ = yym9 + yyv1622 := &x.LastTransitionTime + yym1623 := z.DecBinary() + _ = yym1623 if false { - } else if z.HasExtensions() && z.DecExt(yyv8) { - } else if yym9 { - z.DecBinaryUnmarshal(yyv8) - } else if !yym9 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv8) + } else if z.HasExtensions() && z.DecExt(yyv1622) { + } else if yym1623 { + z.DecBinaryUnmarshal(yyv1622) + } else if !yym1623 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1622) } else { - z.DecFallback(yyv8, false) + z.DecFallback(yyv1622, false) } } case "reason": @@ -22187,9 +22187,9 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1617) + } // end switch yys1617 + } // end for yyj1617 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22197,16 +22197,16 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj1626 int + var yyb1626 bool + var yyhl1626 bool = l >= 0 + yyj1626++ + if yyhl1626 { + yyb1626 = yyj1626 > l } else { - yyb12 = r.CheckBreak() + yyb1626 = r.CheckBreak() } - if yyb12 { + if yyb1626 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22216,13 +22216,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = PodConditionType(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1626++ + if yyhl1626 { + yyb1626 = yyj1626 > l } else { - yyb12 = r.CheckBreak() + yyb1626 = r.CheckBreak() } - if yyb12 { + if yyb1626 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22232,13 +22232,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1626++ + if yyhl1626 { + yyb1626 = yyj1626 > l } else { - yyb12 = r.CheckBreak() + yyb1626 = r.CheckBreak() } - if yyb12 { + if yyb1626 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22246,26 +22246,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv15 := &x.LastProbeTime - yym16 := z.DecBinary() - _ = yym16 + yyv1629 := &x.LastProbeTime + yym1630 := z.DecBinary() + _ = yym1630 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { - } else if yym16 { - z.DecBinaryUnmarshal(yyv15) - } else if !yym16 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv15) + } else if z.HasExtensions() && z.DecExt(yyv1629) { + } else if yym1630 { + z.DecBinaryUnmarshal(yyv1629) + } else if !yym1630 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1629) } else { - z.DecFallback(yyv15, false) + z.DecFallback(yyv1629, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1626++ + if yyhl1626 { + yyb1626 = yyj1626 > l } else { - yyb12 = r.CheckBreak() + yyb1626 = r.CheckBreak() } - if yyb12 { + if yyb1626 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22273,26 +22273,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv17 := &x.LastTransitionTime - yym18 := z.DecBinary() - _ = yym18 + yyv1631 := &x.LastTransitionTime + yym1632 := z.DecBinary() + _ = yym1632 if false { - } else if z.HasExtensions() && z.DecExt(yyv17) { - } else if yym18 { - z.DecBinaryUnmarshal(yyv17) - } else if !yym18 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv17) + } else if z.HasExtensions() && z.DecExt(yyv1631) { + } else if yym1632 { + z.DecBinaryUnmarshal(yyv1631) + } else if !yym1632 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1631) } else { - z.DecFallback(yyv17, false) + z.DecFallback(yyv1631, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1626++ + if yyhl1626 { + yyb1626 = yyj1626 > l } else { - yyb12 = r.CheckBreak() + yyb1626 = r.CheckBreak() } - if yyb12 { + if yyb1626 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22302,13 +22302,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1626++ + if yyhl1626 { + yyb1626 = yyj1626 > l } else { - yyb12 = r.CheckBreak() + yyb1626 = r.CheckBreak() } - if yyb12 { + if yyb1626 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22319,17 +22319,17 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1626++ + if yyhl1626 { + yyb1626 = yyj1626 > l } else { - yyb12 = r.CheckBreak() + yyb1626 = r.CheckBreak() } - if yyb12 { + if yyb1626 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj1626-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22338,8 +22338,8 @@ func (x RestartPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1635 := z.EncBinary() + _ = yym1635 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -22351,8 +22351,8 @@ func (x *RestartPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1636 := z.DecBinary() + _ = yym1636 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -22364,8 +22364,8 @@ func (x DNSPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1637 := z.EncBinary() + _ = yym1637 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -22377,8 +22377,8 @@ func (x *DNSPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1638 := z.DecBinary() + _ = yym1638 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -22393,36 +22393,36 @@ func (x *NodeSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1639 := z.EncBinary() + _ = yym1639 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1640 := !z.EncBinary() + yy2arr1640 := z.EncBasicHandle().StructToArray + var yyq1640 [1]bool + _, _, _ = yysep1640, yyq1640, yy2arr1640 + const yyr1640 bool = false + var yynn1640 int + if yyr1640 || yy2arr1640 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1640 = 1 + for _, b := range yyq1640 { if b { - yynn2++ + yynn1640++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1640) + yynn1640 = 0 } - if yyr2 || yy2arr2 { + if yyr1640 || yy2arr1640 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.NodeSelectorTerms == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1642 := z.EncBinary() + _ = yym1642 if false { } else { h.encSliceNodeSelectorTerm(([]NodeSelectorTerm)(x.NodeSelectorTerms), e) @@ -22435,15 +22435,15 @@ func (x *NodeSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x.NodeSelectorTerms == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1643 := z.EncBinary() + _ = yym1643 if false { } else { h.encSliceNodeSelectorTerm(([]NodeSelectorTerm)(x.NodeSelectorTerms), e) } } } - if yyr2 || yy2arr2 { + if yyr1640 || yy2arr1640 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22456,25 +22456,25 @@ func (x *NodeSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1644 := z.DecBinary() + _ = yym1644 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1645 := r.ContainerType() + if yyct1645 == codecSelferValueTypeMap1234 { + yyl1645 := r.ReadMapStart() + if yyl1645 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1645, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1645 == codecSelferValueTypeArray1234 { + yyl1645 := r.ReadArrayStart() + if yyl1645 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1645, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22486,12 +22486,12 @@ func (x *NodeSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1646Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1646Slc + var yyhl1646 bool = l >= 0 + for yyj1646 := 0; ; yyj1646++ { + if yyhl1646 { + if yyj1646 >= l { break } } else { @@ -22500,26 +22500,26 @@ func (x *NodeSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1646Slc = r.DecodeBytes(yys1646Slc, true, true) + yys1646 := string(yys1646Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1646 { case "nodeSelectorTerms": if r.TryDecodeAsNil() { x.NodeSelectorTerms = nil } else { - yyv4 := &x.NodeSelectorTerms - yym5 := z.DecBinary() - _ = yym5 + yyv1647 := &x.NodeSelectorTerms + yym1648 := z.DecBinary() + _ = yym1648 if false { } else { - h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv4), d) + h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1647), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1646) + } // end switch yys1646 + } // end for yyj1646 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22527,16 +22527,16 @@ func (x *NodeSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1649 int + var yyb1649 bool + var yyhl1649 bool = l >= 0 + yyj1649++ + if yyhl1649 { + yyb1649 = yyj1649 > l } else { - yyb6 = r.CheckBreak() + yyb1649 = r.CheckBreak() } - if yyb6 { + if yyb1649 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22544,26 +22544,26 @@ func (x *NodeSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelectorTerms = nil } else { - yyv7 := &x.NodeSelectorTerms - yym8 := z.DecBinary() - _ = yym8 + yyv1650 := &x.NodeSelectorTerms + yym1651 := z.DecBinary() + _ = yym1651 if false { } else { - h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv7), d) + h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1650), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1649++ + if yyhl1649 { + yyb1649 = yyj1649 > l } else { - yyb6 = r.CheckBreak() + yyb1649 = r.CheckBreak() } - if yyb6 { + if yyb1649 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1649-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22575,36 +22575,36 @@ func (x *NodeSelectorTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1652 := z.EncBinary() + _ = yym1652 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1653 := !z.EncBinary() + yy2arr1653 := z.EncBasicHandle().StructToArray + var yyq1653 [1]bool + _, _, _ = yysep1653, yyq1653, yy2arr1653 + const yyr1653 bool = false + var yynn1653 int + if yyr1653 || yy2arr1653 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1653 = 1 + for _, b := range yyq1653 { if b { - yynn2++ + yynn1653++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1653) + yynn1653 = 0 } - if yyr2 || yy2arr2 { + if yyr1653 || yy2arr1653 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.MatchExpressions == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1655 := z.EncBinary() + _ = yym1655 if false { } else { h.encSliceNodeSelectorRequirement(([]NodeSelectorRequirement)(x.MatchExpressions), e) @@ -22617,15 +22617,15 @@ func (x *NodeSelectorTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x.MatchExpressions == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1656 := z.EncBinary() + _ = yym1656 if false { } else { h.encSliceNodeSelectorRequirement(([]NodeSelectorRequirement)(x.MatchExpressions), e) } } } - if yyr2 || yy2arr2 { + if yyr1653 || yy2arr1653 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22638,25 +22638,25 @@ func (x *NodeSelectorTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1657 := z.DecBinary() + _ = yym1657 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1658 := r.ContainerType() + if yyct1658 == codecSelferValueTypeMap1234 { + yyl1658 := r.ReadMapStart() + if yyl1658 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1658, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1658 == codecSelferValueTypeArray1234 { + yyl1658 := r.ReadArrayStart() + if yyl1658 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1658, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22668,12 +22668,12 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1659Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1659Slc + var yyhl1659 bool = l >= 0 + for yyj1659 := 0; ; yyj1659++ { + if yyhl1659 { + if yyj1659 >= l { break } } else { @@ -22682,26 +22682,26 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1659Slc = r.DecodeBytes(yys1659Slc, true, true) + yys1659 := string(yys1659Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1659 { case "matchExpressions": if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv4 := &x.MatchExpressions - yym5 := z.DecBinary() - _ = yym5 + yyv1660 := &x.MatchExpressions + yym1661 := z.DecBinary() + _ = yym1661 if false { } else { - h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv4), d) + h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1660), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1659) + } // end switch yys1659 + } // end for yyj1659 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22709,16 +22709,16 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1662 int + var yyb1662 bool + var yyhl1662 bool = l >= 0 + yyj1662++ + if yyhl1662 { + yyb1662 = yyj1662 > l } else { - yyb6 = r.CheckBreak() + yyb1662 = r.CheckBreak() } - if yyb6 { + if yyb1662 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22726,26 +22726,26 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv7 := &x.MatchExpressions - yym8 := z.DecBinary() - _ = yym8 + yyv1663 := &x.MatchExpressions + yym1664 := z.DecBinary() + _ = yym1664 if false { } else { - h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv7), d) + h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1663), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1662++ + if yyhl1662 { + yyb1662 = yyj1662 > l } else { - yyb6 = r.CheckBreak() + yyb1662 = r.CheckBreak() } - if yyb6 { + if yyb1662 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1662-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22757,34 +22757,34 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1665 := z.EncBinary() + _ = yym1665 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = len(x.Values) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1666 := !z.EncBinary() + yy2arr1666 := z.EncBasicHandle().StructToArray + var yyq1666 [3]bool + _, _, _ = yysep1666, yyq1666, yy2arr1666 + const yyr1666 bool = false + yyq1666[2] = len(x.Values) != 0 + var yynn1666 int + if yyr1666 || yy2arr1666 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1666 = 2 + for _, b := range yyq1666 { if b { - yynn2++ + yynn1666++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1666) + yynn1666 = 0 } - if yyr2 || yy2arr2 { + if yyr1666 || yy2arr1666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1668 := z.EncBinary() + _ = yym1668 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -22793,14 +22793,14 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1669 := z.EncBinary() + _ = yym1669 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr2 || yy2arr2 { + if yyr1666 || yy2arr1666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Operator.CodecEncodeSelf(e) } else { @@ -22809,14 +22809,14 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1666 || yy2arr1666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1666[2] { if x.Values == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1672 := z.EncBinary() + _ = yym1672 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -22826,15 +22826,15 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1666[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("values")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Values == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym1673 := z.EncBinary() + _ = yym1673 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -22842,7 +22842,7 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1666 || yy2arr1666 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22855,25 +22855,25 @@ func (x *NodeSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1674 := z.DecBinary() + _ = yym1674 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1675 := r.ContainerType() + if yyct1675 == codecSelferValueTypeMap1234 { + yyl1675 := r.ReadMapStart() + if yyl1675 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1675, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1675 == codecSelferValueTypeArray1234 { + yyl1675 := r.ReadArrayStart() + if yyl1675 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1675, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22885,12 +22885,12 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1676Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1676Slc + var yyhl1676 bool = l >= 0 + for yyj1676 := 0; ; yyj1676++ { + if yyhl1676 { + if yyj1676 >= l { break } } else { @@ -22899,10 +22899,10 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1676Slc = r.DecodeBytes(yys1676Slc, true, true) + yys1676 := string(yys1676Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1676 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -22919,18 +22919,18 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Values = nil } else { - yyv6 := &x.Values - yym7 := z.DecBinary() - _ = yym7 + yyv1679 := &x.Values + yym1680 := z.DecBinary() + _ = yym1680 if false { } else { - z.F.DecSliceStringX(yyv6, false, d) + z.F.DecSliceStringX(yyv1679, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1676) + } // end switch yys1676 + } // end for yyj1676 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22938,16 +22938,16 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1681 int + var yyb1681 bool + var yyhl1681 bool = l >= 0 + yyj1681++ + if yyhl1681 { + yyb1681 = yyj1681 > l } else { - yyb8 = r.CheckBreak() + yyb1681 = r.CheckBreak() } - if yyb8 { + if yyb1681 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22957,13 +22957,13 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Key = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1681++ + if yyhl1681 { + yyb1681 = yyj1681 > l } else { - yyb8 = r.CheckBreak() + yyb1681 = r.CheckBreak() } - if yyb8 { + if yyb1681 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22973,13 +22973,13 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Operator = NodeSelectorOperator(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1681++ + if yyhl1681 { + yyb1681 = yyj1681 > l } else { - yyb8 = r.CheckBreak() + yyb1681 = r.CheckBreak() } - if yyb8 { + if yyb1681 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22987,26 +22987,26 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Values = nil } else { - yyv11 := &x.Values - yym12 := z.DecBinary() - _ = yym12 + yyv1684 := &x.Values + yym1685 := z.DecBinary() + _ = yym1685 if false { } else { - z.F.DecSliceStringX(yyv11, false, d) + z.F.DecSliceStringX(yyv1684, false, d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1681++ + if yyhl1681 { + yyb1681 = yyj1681 > l } else { - yyb8 = r.CheckBreak() + yyb1681 = r.CheckBreak() } - if yyb8 { + if yyb1681 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1681-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23015,8 +23015,8 @@ func (x NodeSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1686 := z.EncBinary() + _ = yym1686 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -23028,8 +23028,8 @@ func (x *NodeSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1687 := z.DecBinary() + _ = yym1687 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -23044,35 +23044,35 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1688 := z.EncBinary() + _ = yym1688 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.NodeAffinity != nil - yyq2[1] = x.PodAffinity != nil - yyq2[2] = x.PodAntiAffinity != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1689 := !z.EncBinary() + yy2arr1689 := z.EncBasicHandle().StructToArray + var yyq1689 [3]bool + _, _, _ = yysep1689, yyq1689, yy2arr1689 + const yyr1689 bool = false + yyq1689[0] = x.NodeAffinity != nil + yyq1689[1] = x.PodAffinity != nil + yyq1689[2] = x.PodAntiAffinity != nil + var yynn1689 int + if yyr1689 || yy2arr1689 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1689 = 0 + for _, b := range yyq1689 { if b { - yynn2++ + yynn1689++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1689) + yynn1689 = 0 } - if yyr2 || yy2arr2 { + if yyr1689 || yy2arr1689 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1689[0] { if x.NodeAffinity == nil { r.EncodeNil() } else { @@ -23082,7 +23082,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1689[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -23093,9 +23093,9 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1689 || yy2arr1689 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1689[1] { if x.PodAffinity == nil { r.EncodeNil() } else { @@ -23105,7 +23105,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1689[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -23116,9 +23116,9 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1689 || yy2arr1689 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1689[2] { if x.PodAntiAffinity == nil { r.EncodeNil() } else { @@ -23128,7 +23128,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1689[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podAntiAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -23139,7 +23139,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1689 || yy2arr1689 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23152,25 +23152,25 @@ func (x *Affinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1693 := z.DecBinary() + _ = yym1693 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1694 := r.ContainerType() + if yyct1694 == codecSelferValueTypeMap1234 { + yyl1694 := r.ReadMapStart() + if yyl1694 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1694, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1694 == codecSelferValueTypeArray1234 { + yyl1694 := r.ReadArrayStart() + if yyl1694 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1694, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23182,12 +23182,12 @@ func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1695Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1695Slc + var yyhl1695 bool = l >= 0 + for yyj1695 := 0; ; yyj1695++ { + if yyhl1695 { + if yyj1695 >= l { break } } else { @@ -23196,10 +23196,10 @@ func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1695Slc = r.DecodeBytes(yys1695Slc, true, true) + yys1695 := string(yys1695Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1695 { case "nodeAffinity": if r.TryDecodeAsNil() { if x.NodeAffinity != nil { @@ -23234,9 +23234,9 @@ func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PodAntiAffinity.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1695) + } // end switch yys1695 + } // end for yyj1695 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23244,16 +23244,16 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1699 int + var yyb1699 bool + var yyhl1699 bool = l >= 0 + yyj1699++ + if yyhl1699 { + yyb1699 = yyj1699 > l } else { - yyb7 = r.CheckBreak() + yyb1699 = r.CheckBreak() } - if yyb7 { + if yyb1699 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23268,13 +23268,13 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.NodeAffinity.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1699++ + if yyhl1699 { + yyb1699 = yyj1699 > l } else { - yyb7 = r.CheckBreak() + yyb1699 = r.CheckBreak() } - if yyb7 { + if yyb1699 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23289,13 +23289,13 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PodAffinity.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1699++ + if yyhl1699 { + yyb1699 = yyj1699 > l } else { - yyb7 = r.CheckBreak() + yyb1699 = r.CheckBreak() } - if yyb7 { + if yyb1699 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23311,17 +23311,17 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PodAntiAffinity.CodecDecodeSelf(d) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1699++ + if yyhl1699 { + yyb1699 = yyj1699 > l } else { - yyb7 = r.CheckBreak() + yyb1699 = r.CheckBreak() } - if yyb7 { + if yyb1699 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1699-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23333,39 +23333,39 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1703 := z.EncBinary() + _ = yym1703 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 - yyq2[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1704 := !z.EncBinary() + yy2arr1704 := z.EncBasicHandle().StructToArray + var yyq1704 [2]bool + _, _, _ = yysep1704, yyq1704, yy2arr1704 + const yyr1704 bool = false + yyq1704[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 + yyq1704[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn1704 int + if yyr1704 || yy2arr1704 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1704 = 0 + for _, b := range yyq1704 { if b { - yynn2++ + yynn1704++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1704) + yynn1704 = 0 } - if yyr2 || yy2arr2 { + if yyr1704 || yy2arr1704 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1704[0] { if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1706 := z.EncBinary() + _ = yym1706 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -23375,15 +23375,15 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1704[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1707 := z.EncBinary() + _ = yym1707 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -23391,14 +23391,14 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1704 || yy2arr1704 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1704[1] { if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1709 := z.EncBinary() + _ = yym1709 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -23408,15 +23408,15 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1704[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1710 := z.EncBinary() + _ = yym1710 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -23424,7 +23424,7 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1704 || yy2arr1704 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23437,25 +23437,25 @@ func (x *PodAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1711 := z.DecBinary() + _ = yym1711 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1712 := r.ContainerType() + if yyct1712 == codecSelferValueTypeMap1234 { + yyl1712 := r.ReadMapStart() + if yyl1712 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1712, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1712 == codecSelferValueTypeArray1234 { + yyl1712 := r.ReadArrayStart() + if yyl1712 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1712, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23467,12 +23467,12 @@ func (x *PodAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1713Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1713Slc + var yyhl1713 bool = l >= 0 + for yyj1713 := 0; ; yyj1713++ { + if yyhl1713 { + if yyj1713 >= l { break } } else { @@ -23481,38 +23481,38 @@ func (x *PodAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1713Slc = r.DecodeBytes(yys1713Slc, true, true) + yys1713 := string(yys1713Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1713 { case "requiredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv4 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym5 := z.DecBinary() - _ = yym5 + yyv1714 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1715 := z.DecBinary() + _ = yym1715 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv4), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1714), d) } } case "preferredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv6 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym7 := z.DecBinary() - _ = yym7 + yyv1716 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1717 := z.DecBinary() + _ = yym1717 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv6), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1716), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1713) + } // end switch yys1713 + } // end for yyj1713 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23520,16 +23520,16 @@ func (x *PodAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1718 int + var yyb1718 bool + var yyhl1718 bool = l >= 0 + yyj1718++ + if yyhl1718 { + yyb1718 = yyj1718 > l } else { - yyb8 = r.CheckBreak() + yyb1718 = r.CheckBreak() } - if yyb8 { + if yyb1718 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23537,21 +23537,21 @@ func (x *PodAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv9 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym10 := z.DecBinary() - _ = yym10 + yyv1719 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1720 := z.DecBinary() + _ = yym1720 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv9), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1719), d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1718++ + if yyhl1718 { + yyb1718 = yyj1718 > l } else { - yyb8 = r.CheckBreak() + yyb1718 = r.CheckBreak() } - if yyb8 { + if yyb1718 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23559,26 +23559,26 @@ func (x *PodAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv11 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym12 := z.DecBinary() - _ = yym12 + yyv1721 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1722 := z.DecBinary() + _ = yym1722 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv11), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1721), d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1718++ + if yyhl1718 { + yyb1718 = yyj1718 > l } else { - yyb8 = r.CheckBreak() + yyb1718 = r.CheckBreak() } - if yyb8 { + if yyb1718 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1718-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23590,39 +23590,39 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1723 := z.EncBinary() + _ = yym1723 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 - yyq2[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1724 := !z.EncBinary() + yy2arr1724 := z.EncBasicHandle().StructToArray + var yyq1724 [2]bool + _, _, _ = yysep1724, yyq1724, yy2arr1724 + const yyr1724 bool = false + yyq1724[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 + yyq1724[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn1724 int + if yyr1724 || yy2arr1724 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1724 = 0 + for _, b := range yyq1724 { if b { - yynn2++ + yynn1724++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1724) + yynn1724 = 0 } - if yyr2 || yy2arr2 { + if yyr1724 || yy2arr1724 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1724[0] { if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1726 := z.EncBinary() + _ = yym1726 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -23632,15 +23632,15 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1724[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1727 := z.EncBinary() + _ = yym1727 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -23648,14 +23648,14 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1724 || yy2arr1724 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1724[1] { if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1729 := z.EncBinary() + _ = yym1729 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -23665,15 +23665,15 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1724[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1730 := z.EncBinary() + _ = yym1730 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -23681,7 +23681,7 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1724 || yy2arr1724 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23694,25 +23694,25 @@ func (x *PodAntiAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1731 := z.DecBinary() + _ = yym1731 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1732 := r.ContainerType() + if yyct1732 == codecSelferValueTypeMap1234 { + yyl1732 := r.ReadMapStart() + if yyl1732 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1732, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1732 == codecSelferValueTypeArray1234 { + yyl1732 := r.ReadArrayStart() + if yyl1732 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1732, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23724,12 +23724,12 @@ func (x *PodAntiAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1733Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1733Slc + var yyhl1733 bool = l >= 0 + for yyj1733 := 0; ; yyj1733++ { + if yyhl1733 { + if yyj1733 >= l { break } } else { @@ -23738,38 +23738,38 @@ func (x *PodAntiAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1733Slc = r.DecodeBytes(yys1733Slc, true, true) + yys1733 := string(yys1733Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1733 { case "requiredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv4 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym5 := z.DecBinary() - _ = yym5 + yyv1734 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1735 := z.DecBinary() + _ = yym1735 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv4), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1734), d) } } case "preferredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv6 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym7 := z.DecBinary() - _ = yym7 + yyv1736 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1737 := z.DecBinary() + _ = yym1737 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv6), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1736), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1733) + } // end switch yys1733 + } // end for yyj1733 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23777,16 +23777,16 @@ func (x *PodAntiAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1738 int + var yyb1738 bool + var yyhl1738 bool = l >= 0 + yyj1738++ + if yyhl1738 { + yyb1738 = yyj1738 > l } else { - yyb8 = r.CheckBreak() + yyb1738 = r.CheckBreak() } - if yyb8 { + if yyb1738 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23794,21 +23794,21 @@ func (x *PodAntiAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv9 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym10 := z.DecBinary() - _ = yym10 + yyv1739 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1740 := z.DecBinary() + _ = yym1740 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv9), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1739), d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1738++ + if yyhl1738 { + yyb1738 = yyj1738 > l } else { - yyb8 = r.CheckBreak() + yyb1738 = r.CheckBreak() } - if yyb8 { + if yyb1738 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23816,26 +23816,26 @@ func (x *PodAntiAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv11 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym12 := z.DecBinary() - _ = yym12 + yyv1741 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1742 := z.DecBinary() + _ = yym1742 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv11), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1741), d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1738++ + if yyhl1738 { + yyb1738 = yyj1738 > l } else { - yyb8 = r.CheckBreak() + yyb1738 = r.CheckBreak() } - if yyb8 { + if yyb1738 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1738-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23847,33 +23847,33 @@ func (x *WeightedPodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1743 := z.EncBinary() + _ = yym1743 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1744 := !z.EncBinary() + yy2arr1744 := z.EncBasicHandle().StructToArray + var yyq1744 [2]bool + _, _, _ = yysep1744, yyq1744, yy2arr1744 + const yyr1744 bool = false + var yynn1744 int + if yyr1744 || yy2arr1744 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1744 = 2 + for _, b := range yyq1744 { if b { - yynn2++ + yynn1744++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1744) + yynn1744 = 0 } - if yyr2 || yy2arr2 { + if yyr1744 || yy2arr1744 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1746 := z.EncBinary() + _ = yym1746 if false { } else { r.EncodeInt(int64(x.Weight)) @@ -23882,25 +23882,25 @@ func (x *WeightedPodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("weight")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1747 := z.EncBinary() + _ = yym1747 if false { } else { r.EncodeInt(int64(x.Weight)) } } - if yyr2 || yy2arr2 { + if yyr1744 || yy2arr1744 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.PodAffinityTerm - yy7.CodecEncodeSelf(e) + yy1749 := &x.PodAffinityTerm + yy1749.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podAffinityTerm")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.PodAffinityTerm - yy9.CodecEncodeSelf(e) + yy1750 := &x.PodAffinityTerm + yy1750.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1744 || yy2arr1744 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23913,25 +23913,25 @@ func (x *WeightedPodAffinityTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1751 := z.DecBinary() + _ = yym1751 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1752 := r.ContainerType() + if yyct1752 == codecSelferValueTypeMap1234 { + yyl1752 := r.ReadMapStart() + if yyl1752 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1752, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1752 == codecSelferValueTypeArray1234 { + yyl1752 := r.ReadArrayStart() + if yyl1752 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1752, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23943,12 +23943,12 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1753Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1753Slc + var yyhl1753 bool = l >= 0 + for yyj1753 := 0; ; yyj1753++ { + if yyhl1753 { + if yyj1753 >= l { break } } else { @@ -23957,10 +23957,10 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1753Slc = r.DecodeBytes(yys1753Slc, true, true) + yys1753 := string(yys1753Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1753 { case "weight": if r.TryDecodeAsNil() { x.Weight = 0 @@ -23971,13 +23971,13 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.PodAffinityTerm = PodAffinityTerm{} } else { - yyv5 := &x.PodAffinityTerm - yyv5.CodecDecodeSelf(d) + yyv1755 := &x.PodAffinityTerm + yyv1755.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1753) + } // end switch yys1753 + } // end for yyj1753 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23985,16 +23985,16 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1756 int + var yyb1756 bool + var yyhl1756 bool = l >= 0 + yyj1756++ + if yyhl1756 { + yyb1756 = yyj1756 > l } else { - yyb6 = r.CheckBreak() + yyb1756 = r.CheckBreak() } - if yyb6 { + if yyb1756 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24004,13 +24004,13 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Weight = int32(r.DecodeInt(32)) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1756++ + if yyhl1756 { + yyb1756 = yyj1756 > l } else { - yyb6 = r.CheckBreak() + yyb1756 = r.CheckBreak() } - if yyb6 { + if yyb1756 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24018,21 +24018,21 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.PodAffinityTerm = PodAffinityTerm{} } else { - yyv8 := &x.PodAffinityTerm - yyv8.CodecDecodeSelf(d) + yyv1758 := &x.PodAffinityTerm + yyv1758.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1756++ + if yyhl1756 { + yyb1756 = yyj1756 > l } else { - yyb6 = r.CheckBreak() + yyb1756 = r.CheckBreak() } - if yyb6 { + if yyb1756 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1756-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24044,39 +24044,39 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1759 := z.EncBinary() + _ = yym1759 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.LabelSelector != nil - yyq2[2] = x.TopologyKey != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1760 := !z.EncBinary() + yy2arr1760 := z.EncBasicHandle().StructToArray + var yyq1760 [3]bool + _, _, _ = yysep1760, yyq1760, yy2arr1760 + const yyr1760 bool = false + yyq1760[0] = x.LabelSelector != nil + yyq1760[2] = x.TopologyKey != "" + var yynn1760 int + if yyr1760 || yy2arr1760 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1760 = 1 + for _, b := range yyq1760 { if b { - yynn2++ + yynn1760++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1760) + yynn1760 = 0 } - if yyr2 || yy2arr2 { + if yyr1760 || yy2arr1760 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1760[0] { if x.LabelSelector == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1762 := z.EncBinary() + _ = yym1762 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -24087,15 +24087,15 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1760[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LabelSelector == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1763 := z.EncBinary() + _ = yym1763 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -24104,13 +24104,13 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1760 || yy2arr1760 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Namespaces == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1765 := z.EncBinary() + _ = yym1765 if false { } else { z.F.EncSliceStringV(x.Namespaces, false, e) @@ -24123,19 +24123,19 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x.Namespaces == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1766 := z.EncBinary() + _ = yym1766 if false { } else { z.F.EncSliceStringV(x.Namespaces, false, e) } } } - if yyr2 || yy2arr2 { + if yyr1760 || yy2arr1760 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq1760[2] { + yym1768 := z.EncBinary() + _ = yym1768 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TopologyKey)) @@ -24144,19 +24144,19 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq1760[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("topologyKey")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym1769 := z.EncBinary() + _ = yym1769 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TopologyKey)) } } } - if yyr2 || yy2arr2 { + if yyr1760 || yy2arr1760 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24169,25 +24169,25 @@ func (x *PodAffinityTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1770 := z.DecBinary() + _ = yym1770 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1771 := r.ContainerType() + if yyct1771 == codecSelferValueTypeMap1234 { + yyl1771 := r.ReadMapStart() + if yyl1771 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1771, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1771 == codecSelferValueTypeArray1234 { + yyl1771 := r.ReadArrayStart() + if yyl1771 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1771, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24199,12 +24199,12 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1772Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1772Slc + var yyhl1772 bool = l >= 0 + for yyj1772 := 0; ; yyj1772++ { + if yyhl1772 { + if yyj1772 >= l { break } } else { @@ -24213,10 +24213,10 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1772Slc = r.DecodeBytes(yys1772Slc, true, true) + yys1772 := string(yys1772Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1772 { case "labelSelector": if r.TryDecodeAsNil() { if x.LabelSelector != nil { @@ -24226,8 +24226,8 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LabelSelector == nil { x.LabelSelector = new(pkg2_unversioned.LabelSelector) } - yym5 := z.DecBinary() - _ = yym5 + yym1774 := z.DecBinary() + _ = yym1774 if false { } else if z.HasExtensions() && z.DecExt(x.LabelSelector) { } else { @@ -24238,12 +24238,12 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Namespaces = nil } else { - yyv6 := &x.Namespaces - yym7 := z.DecBinary() - _ = yym7 + yyv1775 := &x.Namespaces + yym1776 := z.DecBinary() + _ = yym1776 if false { } else { - z.F.DecSliceStringX(yyv6, false, d) + z.F.DecSliceStringX(yyv1775, false, d) } } case "topologyKey": @@ -24253,9 +24253,9 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TopologyKey = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1772) + } // end switch yys1772 + } // end for yyj1772 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24263,16 +24263,16 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj1778 int + var yyb1778 bool + var yyhl1778 bool = l >= 0 + yyj1778++ + if yyhl1778 { + yyb1778 = yyj1778 > l } else { - yyb9 = r.CheckBreak() + yyb1778 = r.CheckBreak() } - if yyb9 { + if yyb1778 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24285,21 +24285,21 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.LabelSelector == nil { x.LabelSelector = new(pkg2_unversioned.LabelSelector) } - yym11 := z.DecBinary() - _ = yym11 + yym1780 := z.DecBinary() + _ = yym1780 if false { } else if z.HasExtensions() && z.DecExt(x.LabelSelector) { } else { z.DecFallback(x.LabelSelector, false) } } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1778++ + if yyhl1778 { + yyb1778 = yyj1778 > l } else { - yyb9 = r.CheckBreak() + yyb1778 = r.CheckBreak() } - if yyb9 { + if yyb1778 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24307,21 +24307,21 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Namespaces = nil } else { - yyv12 := &x.Namespaces - yym13 := z.DecBinary() - _ = yym13 + yyv1781 := &x.Namespaces + yym1782 := z.DecBinary() + _ = yym1782 if false { } else { - z.F.DecSliceStringX(yyv12, false, d) + z.F.DecSliceStringX(yyv1781, false, d) } } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1778++ + if yyhl1778 { + yyb1778 = yyj1778 > l } else { - yyb9 = r.CheckBreak() + yyb1778 = r.CheckBreak() } - if yyb9 { + if yyb1778 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24332,17 +24332,17 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.TopologyKey = string(r.DecodeString()) } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1778++ + if yyhl1778 { + yyb1778 = yyj1778 > l } else { - yyb9 = r.CheckBreak() + yyb1778 = r.CheckBreak() } - if yyb9 { + if yyb1778 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj1778-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24354,34 +24354,34 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1784 := z.EncBinary() + _ = yym1784 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.RequiredDuringSchedulingIgnoredDuringExecution != nil - yyq2[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1785 := !z.EncBinary() + yy2arr1785 := z.EncBasicHandle().StructToArray + var yyq1785 [2]bool + _, _, _ = yysep1785, yyq1785, yy2arr1785 + const yyr1785 bool = false + yyq1785[0] = x.RequiredDuringSchedulingIgnoredDuringExecution != nil + yyq1785[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn1785 int + if yyr1785 || yy2arr1785 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1785 = 0 + for _, b := range yyq1785 { if b { - yynn2++ + yynn1785++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1785) + yynn1785 = 0 } - if yyr2 || yy2arr2 { + if yyr1785 || yy2arr1785 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1785[0] { if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { @@ -24391,7 +24391,7 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1785[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -24402,14 +24402,14 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1785 || yy2arr1785 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1785[1] { if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1788 := z.EncBinary() + _ = yym1788 if false { } else { h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -24419,15 +24419,15 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1785[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1789 := z.EncBinary() + _ = yym1789 if false { } else { h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -24435,7 +24435,7 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1785 || yy2arr1785 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24448,25 +24448,25 @@ func (x *NodeAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1790 := z.DecBinary() + _ = yym1790 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1791 := r.ContainerType() + if yyct1791 == codecSelferValueTypeMap1234 { + yyl1791 := r.ReadMapStart() + if yyl1791 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1791, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1791 == codecSelferValueTypeArray1234 { + yyl1791 := r.ReadArrayStart() + if yyl1791 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1791, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24478,12 +24478,12 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1792Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1792Slc + var yyhl1792 bool = l >= 0 + for yyj1792 := 0; ; yyj1792++ { + if yyhl1792 { + if yyj1792 >= l { break } } else { @@ -24492,10 +24492,10 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1792Slc = r.DecodeBytes(yys1792Slc, true, true) + yys1792 := string(yys1792Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1792 { case "requiredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { if x.RequiredDuringSchedulingIgnoredDuringExecution != nil { @@ -24511,18 +24511,18 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv5 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym6 := z.DecBinary() - _ = yym6 + yyv1794 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1795 := z.DecBinary() + _ = yym1795 if false { } else { - h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv5), d) + h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1794), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1792) + } // end switch yys1792 + } // end for yyj1792 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24530,16 +24530,16 @@ func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1796 int + var yyb1796 bool + var yyhl1796 bool = l >= 0 + yyj1796++ + if yyhl1796 { + yyb1796 = yyj1796 > l } else { - yyb7 = r.CheckBreak() + yyb1796 = r.CheckBreak() } - if yyb7 { + if yyb1796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24554,13 +24554,13 @@ func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RequiredDuringSchedulingIgnoredDuringExecution.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1796++ + if yyhl1796 { + yyb1796 = yyj1796 > l } else { - yyb7 = r.CheckBreak() + yyb1796 = r.CheckBreak() } - if yyb7 { + if yyb1796 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24568,26 +24568,26 @@ func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv9 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym10 := z.DecBinary() - _ = yym10 + yyv1798 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1799 := z.DecBinary() + _ = yym1799 if false { } else { - h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv9), d) + h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1798), d) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1796++ + if yyhl1796 { + yyb1796 = yyj1796 > l } else { - yyb7 = r.CheckBreak() + yyb1796 = r.CheckBreak() } - if yyb7 { + if yyb1796 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1796-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24599,33 +24599,33 @@ func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1800 := z.EncBinary() + _ = yym1800 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1801 := !z.EncBinary() + yy2arr1801 := z.EncBasicHandle().StructToArray + var yyq1801 [2]bool + _, _, _ = yysep1801, yyq1801, yy2arr1801 + const yyr1801 bool = false + var yynn1801 int + if yyr1801 || yy2arr1801 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1801 = 2 + for _, b := range yyq1801 { if b { - yynn2++ + yynn1801++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1801) + yynn1801 = 0 } - if yyr2 || yy2arr2 { + if yyr1801 || yy2arr1801 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1803 := z.EncBinary() + _ = yym1803 if false { } else { r.EncodeInt(int64(x.Weight)) @@ -24634,25 +24634,25 @@ func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("weight")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1804 := z.EncBinary() + _ = yym1804 if false { } else { r.EncodeInt(int64(x.Weight)) } } - if yyr2 || yy2arr2 { + if yyr1801 || yy2arr1801 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.Preference - yy7.CodecEncodeSelf(e) + yy1806 := &x.Preference + yy1806.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.Preference - yy9.CodecEncodeSelf(e) + yy1807 := &x.Preference + yy1807.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1801 || yy2arr1801 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24665,25 +24665,25 @@ func (x *PreferredSchedulingTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1808 := z.DecBinary() + _ = yym1808 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1809 := r.ContainerType() + if yyct1809 == codecSelferValueTypeMap1234 { + yyl1809 := r.ReadMapStart() + if yyl1809 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1809, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1809 == codecSelferValueTypeArray1234 { + yyl1809 := r.ReadArrayStart() + if yyl1809 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1809, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24695,12 +24695,12 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1810Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1810Slc + var yyhl1810 bool = l >= 0 + for yyj1810 := 0; ; yyj1810++ { + if yyhl1810 { + if yyj1810 >= l { break } } else { @@ -24709,10 +24709,10 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1810Slc = r.DecodeBytes(yys1810Slc, true, true) + yys1810 := string(yys1810Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1810 { case "weight": if r.TryDecodeAsNil() { x.Weight = 0 @@ -24723,13 +24723,13 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Preference = NodeSelectorTerm{} } else { - yyv5 := &x.Preference - yyv5.CodecDecodeSelf(d) + yyv1812 := &x.Preference + yyv1812.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1810) + } // end switch yys1810 + } // end for yyj1810 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24737,16 +24737,16 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1813 int + var yyb1813 bool + var yyhl1813 bool = l >= 0 + yyj1813++ + if yyhl1813 { + yyb1813 = yyj1813 > l } else { - yyb6 = r.CheckBreak() + yyb1813 = r.CheckBreak() } - if yyb6 { + if yyb1813 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24756,13 +24756,13 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Weight = int32(r.DecodeInt(32)) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1813++ + if yyhl1813 { + yyb1813 = yyj1813 > l } else { - yyb6 = r.CheckBreak() + yyb1813 = r.CheckBreak() } - if yyb6 { + if yyb1813 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24770,21 +24770,21 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Preference = NodeSelectorTerm{} } else { - yyv8 := &x.Preference - yyv8.CodecDecodeSelf(d) + yyv1815 := &x.Preference + yyv1815.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1813++ + if yyhl1813 { + yyb1813 = yyj1813 > l } else { - yyb6 = r.CheckBreak() + yyb1813 = r.CheckBreak() } - if yyb6 { + if yyb1813 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1813-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24796,34 +24796,34 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1816 := z.EncBinary() + _ = yym1816 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Value != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1817 := !z.EncBinary() + yy2arr1817 := z.EncBasicHandle().StructToArray + var yyq1817 [3]bool + _, _, _ = yysep1817, yyq1817, yy2arr1817 + const yyr1817 bool = false + yyq1817[1] = x.Value != "" + var yynn1817 int + if yyr1817 || yy2arr1817 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1817 = 2 + for _, b := range yyq1817 { if b { - yynn2++ + yynn1817++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1817) + yynn1817 = 0 } - if yyr2 || yy2arr2 { + if yyr1817 || yy2arr1817 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1819 := z.EncBinary() + _ = yym1819 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -24832,18 +24832,18 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1820 := z.EncBinary() + _ = yym1820 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr2 || yy2arr2 { + if yyr1817 || yy2arr1817 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1817[1] { + yym1822 := z.EncBinary() + _ = yym1822 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -24852,19 +24852,19 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq1817[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1823 := z.EncBinary() + _ = yym1823 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr2 || yy2arr2 { + if yyr1817 || yy2arr1817 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Effect.CodecEncodeSelf(e) } else { @@ -24873,7 +24873,7 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Effect.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1817 || yy2arr1817 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24886,25 +24886,25 @@ func (x *Taint) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1825 := z.DecBinary() + _ = yym1825 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1826 := r.ContainerType() + if yyct1826 == codecSelferValueTypeMap1234 { + yyl1826 := r.ReadMapStart() + if yyl1826 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1826, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1826 == codecSelferValueTypeArray1234 { + yyl1826 := r.ReadArrayStart() + if yyl1826 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1826, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24916,12 +24916,12 @@ func (x *Taint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1827Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1827Slc + var yyhl1827 bool = l >= 0 + for yyj1827 := 0; ; yyj1827++ { + if yyhl1827 { + if yyj1827 >= l { break } } else { @@ -24930,10 +24930,10 @@ func (x *Taint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1827Slc = r.DecodeBytes(yys1827Slc, true, true) + yys1827 := string(yys1827Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1827 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -24953,9 +24953,9 @@ func (x *Taint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1827) + } // end switch yys1827 + } // end for yyj1827 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24963,16 +24963,16 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1831 int + var yyb1831 bool + var yyhl1831 bool = l >= 0 + yyj1831++ + if yyhl1831 { + yyb1831 = yyj1831 > l } else { - yyb7 = r.CheckBreak() + yyb1831 = r.CheckBreak() } - if yyb7 { + if yyb1831 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24982,13 +24982,13 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Key = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1831++ + if yyhl1831 { + yyb1831 = yyj1831 > l } else { - yyb7 = r.CheckBreak() + yyb1831 = r.CheckBreak() } - if yyb7 { + if yyb1831 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24998,13 +24998,13 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1831++ + if yyhl1831 { + yyb1831 = yyj1831 > l } else { - yyb7 = r.CheckBreak() + yyb1831 = r.CheckBreak() } - if yyb7 { + if yyb1831 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25015,17 +25015,17 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1831++ + if yyhl1831 { + yyb1831 = yyj1831 > l } else { - yyb7 = r.CheckBreak() + yyb1831 = r.CheckBreak() } - if yyb7 { + if yyb1831 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1831-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25034,8 +25034,8 @@ func (x TaintEffect) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1835 := z.EncBinary() + _ = yym1835 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -25047,8 +25047,8 @@ func (x *TaintEffect) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1836 := z.DecBinary() + _ = yym1836 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -25063,38 +25063,38 @@ func (x *Toleration) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1837 := z.EncBinary() + _ = yym1837 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Key != "" - yyq2[1] = x.Operator != "" - yyq2[2] = x.Value != "" - yyq2[3] = x.Effect != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1838 := !z.EncBinary() + yy2arr1838 := z.EncBasicHandle().StructToArray + var yyq1838 [4]bool + _, _, _ = yysep1838, yyq1838, yy2arr1838 + const yyr1838 bool = false + yyq1838[0] = x.Key != "" + yyq1838[1] = x.Operator != "" + yyq1838[2] = x.Value != "" + yyq1838[3] = x.Effect != "" + var yynn1838 int + if yyr1838 || yy2arr1838 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1838 = 0 + for _, b := range yyq1838 { if b { - yynn2++ + yynn1838++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1838) + yynn1838 = 0 } - if yyr2 || yy2arr2 { + if yyr1838 || yy2arr1838 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq1838[0] { + yym1840 := z.EncBinary() + _ = yym1840 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -25103,38 +25103,38 @@ func (x *Toleration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1838[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1841 := z.EncBinary() + _ = yym1841 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } } - if yyr2 || yy2arr2 { + if yyr1838 || yy2arr1838 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1838[1] { x.Operator.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq1838[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("operator")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1838 || yy2arr1838 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq1838[2] { + yym1844 := z.EncBinary() + _ = yym1844 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -25143,34 +25143,34 @@ func (x *Toleration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq1838[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym1845 := z.EncBinary() + _ = yym1845 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr2 || yy2arr2 { + if yyr1838 || yy2arr1838 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq1838[3] { x.Effect.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq1838[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("effect")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Effect.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1838 || yy2arr1838 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25183,25 +25183,25 @@ func (x *Toleration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1847 := z.DecBinary() + _ = yym1847 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1848 := r.ContainerType() + if yyct1848 == codecSelferValueTypeMap1234 { + yyl1848 := r.ReadMapStart() + if yyl1848 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1848, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1848 == codecSelferValueTypeArray1234 { + yyl1848 := r.ReadArrayStart() + if yyl1848 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1848, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25213,12 +25213,12 @@ func (x *Toleration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1849Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1849Slc + var yyhl1849 bool = l >= 0 + for yyj1849 := 0; ; yyj1849++ { + if yyhl1849 { + if yyj1849 >= l { break } } else { @@ -25227,10 +25227,10 @@ func (x *Toleration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1849Slc = r.DecodeBytes(yys1849Slc, true, true) + yys1849 := string(yys1849Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1849 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -25256,9 +25256,9 @@ func (x *Toleration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1849) + } // end switch yys1849 + } // end for yyj1849 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25266,16 +25266,16 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1854 int + var yyb1854 bool + var yyhl1854 bool = l >= 0 + yyj1854++ + if yyhl1854 { + yyb1854 = yyj1854 > l } else { - yyb8 = r.CheckBreak() + yyb1854 = r.CheckBreak() } - if yyb8 { + if yyb1854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25285,13 +25285,13 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Key = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1854++ + if yyhl1854 { + yyb1854 = yyj1854 > l } else { - yyb8 = r.CheckBreak() + yyb1854 = r.CheckBreak() } - if yyb8 { + if yyb1854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25301,13 +25301,13 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Operator = TolerationOperator(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1854++ + if yyhl1854 { + yyb1854 = yyj1854 > l } else { - yyb8 = r.CheckBreak() + yyb1854 = r.CheckBreak() } - if yyb8 { + if yyb1854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25317,13 +25317,13 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1854++ + if yyhl1854 { + yyb1854 = yyj1854 > l } else { - yyb8 = r.CheckBreak() + yyb1854 = r.CheckBreak() } - if yyb8 { + if yyb1854 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25334,17 +25334,17 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1854++ + if yyhl1854 { + yyb1854 = yyj1854 > l } else { - yyb8 = r.CheckBreak() + yyb1854 = r.CheckBreak() } - if yyb8 { + if yyb1854 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1854-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25353,8 +25353,8 @@ func (x TolerationOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1859 := z.EncBinary() + _ = yym1859 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -25366,8 +25366,8 @@ func (x *TolerationOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1860 := z.DecBinary() + _ = yym1860 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -25382,53 +25382,53 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1861 := z.EncBinary() + _ = yym1861 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [17]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Volumes) != 0 - yyq2[2] = x.RestartPolicy != "" - yyq2[3] = x.TerminationGracePeriodSeconds != nil - yyq2[4] = x.ActiveDeadlineSeconds != nil - yyq2[5] = x.DNSPolicy != "" - yyq2[6] = len(x.NodeSelector) != 0 - yyq2[7] = x.ServiceAccountName != "" - yyq2[8] = x.DeprecatedServiceAccount != "" - yyq2[9] = x.NodeName != "" - yyq2[10] = x.HostNetwork != false - yyq2[11] = x.HostPID != false - yyq2[12] = x.HostIPC != false - yyq2[13] = x.SecurityContext != nil - yyq2[14] = len(x.ImagePullSecrets) != 0 - yyq2[15] = x.Hostname != "" - yyq2[16] = x.Subdomain != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1862 := !z.EncBinary() + yy2arr1862 := z.EncBasicHandle().StructToArray + var yyq1862 [17]bool + _, _, _ = yysep1862, yyq1862, yy2arr1862 + const yyr1862 bool = false + yyq1862[0] = len(x.Volumes) != 0 + yyq1862[2] = x.RestartPolicy != "" + yyq1862[3] = x.TerminationGracePeriodSeconds != nil + yyq1862[4] = x.ActiveDeadlineSeconds != nil + yyq1862[5] = x.DNSPolicy != "" + yyq1862[6] = len(x.NodeSelector) != 0 + yyq1862[7] = x.ServiceAccountName != "" + yyq1862[8] = x.DeprecatedServiceAccount != "" + yyq1862[9] = x.NodeName != "" + yyq1862[10] = x.HostNetwork != false + yyq1862[11] = x.HostPID != false + yyq1862[12] = x.HostIPC != false + yyq1862[13] = x.SecurityContext != nil + yyq1862[14] = len(x.ImagePullSecrets) != 0 + yyq1862[15] = x.Hostname != "" + yyq1862[16] = x.Subdomain != "" + var yynn1862 int + if yyr1862 || yy2arr1862 { r.EncodeArrayStart(17) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1862 = 1 + for _, b := range yyq1862 { if b { - yynn2++ + yynn1862++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1862) + yynn1862 = 0 } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1862[0] { if x.Volumes == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1864 := z.EncBinary() + _ = yym1864 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) @@ -25438,15 +25438,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1862[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1865 := z.EncBinary() + _ = yym1865 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) @@ -25454,13 +25454,13 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Containers == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1867 := z.EncBinary() + _ = yym1867 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) @@ -25473,122 +25473,122 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Containers == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1868 := z.EncBinary() + _ = yym1868 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) } } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1862[2] { x.RestartPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq1862[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.RestartPolicy.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq1862[3] { if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy13 := *x.TerminationGracePeriodSeconds - yym14 := z.EncBinary() - _ = yym14 + yy1871 := *x.TerminationGracePeriodSeconds + yym1872 := z.EncBinary() + _ = yym1872 if false { } else { - r.EncodeInt(int64(yy13)) + r.EncodeInt(int64(yy1871)) } } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq1862[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationGracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy15 := *x.TerminationGracePeriodSeconds - yym16 := z.EncBinary() - _ = yym16 + yy1873 := *x.TerminationGracePeriodSeconds + yym1874 := z.EncBinary() + _ = yym1874 if false { } else { - r.EncodeInt(int64(yy15)) + r.EncodeInt(int64(yy1873)) } } } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq1862[4] { if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy18 := *x.ActiveDeadlineSeconds - yym19 := z.EncBinary() - _ = yym19 + yy1876 := *x.ActiveDeadlineSeconds + yym1877 := z.EncBinary() + _ = yym1877 if false { } else { - r.EncodeInt(int64(yy18)) + r.EncodeInt(int64(yy1876)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq1862[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy20 := *x.ActiveDeadlineSeconds - yym21 := z.EncBinary() - _ = yym21 + yy1878 := *x.ActiveDeadlineSeconds + yym1879 := z.EncBinary() + _ = yym1879 if false { } else { - r.EncodeInt(int64(yy20)) + r.EncodeInt(int64(yy1878)) } } } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq1862[5] { x.DNSPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq1862[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("dnsPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.DNSPolicy.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq1862[6] { if x.NodeSelector == nil { r.EncodeNil() } else { - yym26 := z.EncBinary() - _ = yym26 + yym1882 := z.EncBinary() + _ = yym1882 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -25598,15 +25598,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[6] { + if yyq1862[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NodeSelector == nil { r.EncodeNil() } else { - yym27 := z.EncBinary() - _ = yym27 + yym1883 := z.EncBinary() + _ = yym1883 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -25614,11 +25614,11 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym29 := z.EncBinary() - _ = yym29 + if yyq1862[7] { + yym1885 := z.EncBinary() + _ = yym1885 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) @@ -25627,23 +25627,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[7] { + if yyq1862[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceAccountName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym30 := z.EncBinary() - _ = yym30 + yym1886 := z.EncBinary() + _ = yym1886 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) } } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { - yym32 := z.EncBinary() - _ = yym32 + if yyq1862[8] { + yym1888 := z.EncBinary() + _ = yym1888 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DeprecatedServiceAccount)) @@ -25652,23 +25652,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[8] { + if yyq1862[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceAccount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym33 := z.EncBinary() - _ = yym33 + yym1889 := z.EncBinary() + _ = yym1889 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DeprecatedServiceAccount)) } } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { - yym35 := z.EncBinary() - _ = yym35 + if yyq1862[9] { + yym1891 := z.EncBinary() + _ = yym1891 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) @@ -25677,23 +25677,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[9] { + if yyq1862[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym36 := z.EncBinary() - _ = yym36 + yym1892 := z.EncBinary() + _ = yym1892 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) } } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { - yym38 := z.EncBinary() - _ = yym38 + if yyq1862[10] { + yym1894 := z.EncBinary() + _ = yym1894 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -25702,23 +25702,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[10] { + if yyq1862[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym39 := z.EncBinary() - _ = yym39 + yym1895 := z.EncBinary() + _ = yym1895 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { - yym41 := z.EncBinary() - _ = yym41 + if yyq1862[11] { + yym1897 := z.EncBinary() + _ = yym1897 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -25727,23 +25727,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[11] { + if yyq1862[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym42 := z.EncBinary() - _ = yym42 + yym1898 := z.EncBinary() + _ = yym1898 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { - yym44 := z.EncBinary() - _ = yym44 + if yyq1862[12] { + yym1900 := z.EncBinary() + _ = yym1900 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -25752,21 +25752,21 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[12] { + if yyq1862[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym45 := z.EncBinary() - _ = yym45 + yym1901 := z.EncBinary() + _ = yym1901 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { + if yyq1862[13] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -25776,7 +25776,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[13] { + if yyq1862[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -25787,14 +25787,14 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[14] { + if yyq1862[14] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym50 := z.EncBinary() - _ = yym50 + yym1904 := z.EncBinary() + _ = yym1904 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -25804,15 +25804,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[14] { + if yyq1862[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym51 := z.EncBinary() - _ = yym51 + yym1905 := z.EncBinary() + _ = yym1905 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -25820,11 +25820,11 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[15] { - yym53 := z.EncBinary() - _ = yym53 + if yyq1862[15] { + yym1907 := z.EncBinary() + _ = yym1907 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -25833,23 +25833,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[15] { + if yyq1862[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym54 := z.EncBinary() - _ = yym54 + yym1908 := z.EncBinary() + _ = yym1908 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[16] { - yym56 := z.EncBinary() - _ = yym56 + if yyq1862[16] { + yym1910 := z.EncBinary() + _ = yym1910 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subdomain)) @@ -25858,19 +25858,19 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[16] { + if yyq1862[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subdomain")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym57 := z.EncBinary() - _ = yym57 + yym1911 := z.EncBinary() + _ = yym1911 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subdomain)) } } } - if yyr2 || yy2arr2 { + if yyr1862 || yy2arr1862 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25883,25 +25883,25 @@ func (x *PodSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1912 := z.DecBinary() + _ = yym1912 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1913 := r.ContainerType() + if yyct1913 == codecSelferValueTypeMap1234 { + yyl1913 := r.ReadMapStart() + if yyl1913 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1913, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1913 == codecSelferValueTypeArray1234 { + yyl1913 := r.ReadArrayStart() + if yyl1913 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1913, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25913,12 +25913,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1914Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1914Slc + var yyhl1914 bool = l >= 0 + for yyj1914 := 0; ; yyj1914++ { + if yyhl1914 { + if yyj1914 >= l { break } } else { @@ -25927,32 +25927,32 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1914Slc = r.DecodeBytes(yys1914Slc, true, true) + yys1914 := string(yys1914Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1914 { case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv4 := &x.Volumes - yym5 := z.DecBinary() - _ = yym5 + yyv1915 := &x.Volumes + yym1916 := z.DecBinary() + _ = yym1916 if false { } else { - h.decSliceVolume((*[]Volume)(yyv4), d) + h.decSliceVolume((*[]Volume)(yyv1915), d) } } case "containers": if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv6 := &x.Containers - yym7 := z.DecBinary() - _ = yym7 + yyv1917 := &x.Containers + yym1918 := z.DecBinary() + _ = yym1918 if false { } else { - h.decSliceContainer((*[]Container)(yyv6), d) + h.decSliceContainer((*[]Container)(yyv1917), d) } } case "restartPolicy": @@ -25970,8 +25970,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym10 := z.DecBinary() - _ = yym10 + yym1921 := z.DecBinary() + _ = yym1921 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -25986,8 +25986,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym12 := z.DecBinary() - _ = yym12 + yym1923 := z.DecBinary() + _ = yym1923 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -26003,12 +26003,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv14 := &x.NodeSelector - yym15 := z.DecBinary() - _ = yym15 + yyv1925 := &x.NodeSelector + yym1926 := z.DecBinary() + _ = yym1926 if false { } else { - z.F.DecMapStringStringX(yyv14, false, d) + z.F.DecMapStringStringX(yyv1925, false, d) } } case "serviceAccountName": @@ -26062,12 +26062,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv23 := &x.ImagePullSecrets - yym24 := z.DecBinary() - _ = yym24 + yyv1934 := &x.ImagePullSecrets + yym1935 := z.DecBinary() + _ = yym1935 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv23), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1934), d) } } case "hostname": @@ -26083,9 +26083,9 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Subdomain = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1914) + } // end switch yys1914 + } // end for yyj1914 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26093,16 +26093,16 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj27 int - var yyb27 bool - var yyhl27 bool = l >= 0 - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + var yyj1938 int + var yyb1938 bool + var yyhl1938 bool = l >= 0 + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26110,21 +26110,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv28 := &x.Volumes - yym29 := z.DecBinary() - _ = yym29 + yyv1939 := &x.Volumes + yym1940 := z.DecBinary() + _ = yym1940 if false { } else { - h.decSliceVolume((*[]Volume)(yyv28), d) + h.decSliceVolume((*[]Volume)(yyv1939), d) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26132,21 +26132,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv30 := &x.Containers - yym31 := z.DecBinary() - _ = yym31 + yyv1941 := &x.Containers + yym1942 := z.DecBinary() + _ = yym1942 if false { } else { - h.decSliceContainer((*[]Container)(yyv30), d) + h.decSliceContainer((*[]Container)(yyv1941), d) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26156,13 +26156,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.RestartPolicy = RestartPolicy(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26175,20 +26175,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym34 := z.DecBinary() - _ = yym34 + yym1945 := z.DecBinary() + _ = yym1945 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26201,20 +26201,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym36 := z.DecBinary() - _ = yym36 + yym1947 := z.DecBinary() + _ = yym1947 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26224,13 +26224,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.DNSPolicy = DNSPolicy(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26238,21 +26238,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv38 := &x.NodeSelector - yym39 := z.DecBinary() - _ = yym39 + yyv1949 := &x.NodeSelector + yym1950 := z.DecBinary() + _ = yym1950 if false { } else { - z.F.DecMapStringStringX(yyv38, false, d) + z.F.DecMapStringStringX(yyv1949, false, d) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26262,13 +26262,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ServiceAccountName = string(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26278,13 +26278,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.DeprecatedServiceAccount = string(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26294,13 +26294,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.NodeName = string(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26310,13 +26310,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26326,13 +26326,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostPID = bool(r.DecodeBool()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26342,13 +26342,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostIPC = bool(r.DecodeBool()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26363,13 +26363,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26377,21 +26377,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv47 := &x.ImagePullSecrets - yym48 := z.DecBinary() - _ = yym48 + yyv1958 := &x.ImagePullSecrets + yym1959 := z.DecBinary() + _ = yym1959 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv47), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv1958), d) } } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26401,13 +26401,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Hostname = string(r.DecodeString()) } - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26418,17 +26418,17 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Subdomain = string(r.DecodeString()) } for { - yyj27++ - if yyhl27 { - yyb27 = yyj27 > l + yyj1938++ + if yyhl1938 { + yyb1938 = yyj1938 > l } else { - yyb27 = r.CheckBreak() + yyb1938 = r.CheckBreak() } - if yyb27 { + if yyb1938 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj27-1, "") + z.DecStructFieldNotFound(yyj1938-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26440,37 +26440,37 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1962 := z.EncBinary() + _ = yym1962 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.SELinuxOptions != nil - yyq2[1] = x.RunAsUser != nil - yyq2[2] = x.RunAsNonRoot != nil - yyq2[3] = len(x.SupplementalGroups) != 0 - yyq2[4] = x.FSGroup != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1963 := !z.EncBinary() + yy2arr1963 := z.EncBasicHandle().StructToArray + var yyq1963 [5]bool + _, _, _ = yysep1963, yyq1963, yy2arr1963 + const yyr1963 bool = false + yyq1963[0] = x.SELinuxOptions != nil + yyq1963[1] = x.RunAsUser != nil + yyq1963[2] = x.RunAsNonRoot != nil + yyq1963[3] = len(x.SupplementalGroups) != 0 + yyq1963[4] = x.FSGroup != nil + var yynn1963 int + if yyr1963 || yy2arr1963 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1963 = 0 + for _, b := range yyq1963 { if b { - yynn2++ + yynn1963++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1963) + yynn1963 = 0 } - if yyr2 || yy2arr2 { + if yyr1963 || yy2arr1963 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1963[0] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -26480,7 +26480,7 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1963[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -26491,84 +26491,84 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1963 || yy2arr1963 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1963[1] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy7 := *x.RunAsUser - yym8 := z.EncBinary() - _ = yym8 + yy1966 := *x.RunAsUser + yym1967 := z.EncBinary() + _ = yym1967 if false { } else { - r.EncodeInt(int64(yy7)) + r.EncodeInt(int64(yy1966)) } } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1963[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy9 := *x.RunAsUser - yym10 := z.EncBinary() - _ = yym10 + yy1968 := *x.RunAsUser + yym1969 := z.EncBinary() + _ = yym1969 if false { } else { - r.EncodeInt(int64(yy9)) + r.EncodeInt(int64(yy1968)) } } } } - if yyr2 || yy2arr2 { + if yyr1963 || yy2arr1963 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1963[2] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy12 := *x.RunAsNonRoot - yym13 := z.EncBinary() - _ = yym13 + yy1971 := *x.RunAsNonRoot + yym1972 := z.EncBinary() + _ = yym1972 if false { } else { - r.EncodeBool(bool(yy12)) + r.EncodeBool(bool(yy1971)) } } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1963[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy14 := *x.RunAsNonRoot - yym15 := z.EncBinary() - _ = yym15 + yy1973 := *x.RunAsNonRoot + yym1974 := z.EncBinary() + _ = yym1974 if false { } else { - r.EncodeBool(bool(yy14)) + r.EncodeBool(bool(yy1973)) } } } } - if yyr2 || yy2arr2 { + if yyr1963 || yy2arr1963 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq1963[3] { if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym17 := z.EncBinary() - _ = yym17 + yym1976 := z.EncBinary() + _ = yym1976 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -26578,15 +26578,15 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq1963[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym18 := z.EncBinary() - _ = yym18 + yym1977 := z.EncBinary() + _ = yym1977 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -26594,42 +26594,42 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1963 || yy2arr1963 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq1963[4] { if x.FSGroup == nil { r.EncodeNil() } else { - yy20 := *x.FSGroup - yym21 := z.EncBinary() - _ = yym21 + yy1979 := *x.FSGroup + yym1980 := z.EncBinary() + _ = yym1980 if false { } else { - r.EncodeInt(int64(yy20)) + r.EncodeInt(int64(yy1979)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq1963[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.FSGroup == nil { r.EncodeNil() } else { - yy22 := *x.FSGroup - yym23 := z.EncBinary() - _ = yym23 + yy1981 := *x.FSGroup + yym1982 := z.EncBinary() + _ = yym1982 if false { } else { - r.EncodeInt(int64(yy22)) + r.EncodeInt(int64(yy1981)) } } } } - if yyr2 || yy2arr2 { + if yyr1963 || yy2arr1963 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26642,25 +26642,25 @@ func (x *PodSecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1983 := z.DecBinary() + _ = yym1983 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1984 := r.ContainerType() + if yyct1984 == codecSelferValueTypeMap1234 { + yyl1984 := r.ReadMapStart() + if yyl1984 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1984, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1984 == codecSelferValueTypeArray1234 { + yyl1984 := r.ReadArrayStart() + if yyl1984 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1984, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26672,12 +26672,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1985Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1985Slc + var yyhl1985 bool = l >= 0 + for yyj1985 := 0; ; yyj1985++ { + if yyhl1985 { + if yyj1985 >= l { break } } else { @@ -26686,10 +26686,10 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1985Slc = r.DecodeBytes(yys1985Slc, true, true) + yys1985 := string(yys1985Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1985 { case "seLinuxOptions": if r.TryDecodeAsNil() { if x.SELinuxOptions != nil { @@ -26710,8 +26710,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym6 := z.DecBinary() - _ = yym6 + yym1988 := z.DecBinary() + _ = yym1988 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -26726,8 +26726,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym8 := z.DecBinary() - _ = yym8 + yym1990 := z.DecBinary() + _ = yym1990 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -26737,12 +26737,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv9 := &x.SupplementalGroups - yym10 := z.DecBinary() - _ = yym10 + yyv1991 := &x.SupplementalGroups + yym1992 := z.DecBinary() + _ = yym1992 if false { } else { - z.F.DecSliceInt64X(yyv9, false, d) + z.F.DecSliceInt64X(yyv1991, false, d) } } case "fsGroup": @@ -26754,17 +26754,17 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.FSGroup == nil { x.FSGroup = new(int64) } - yym12 := z.DecBinary() - _ = yym12 + yym1994 := z.DecBinary() + _ = yym1994 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1985) + } // end switch yys1985 + } // end for yyj1985 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26772,16 +26772,16 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj13 int - var yyb13 bool - var yyhl13 bool = l >= 0 - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + var yyj1995 int + var yyb1995 bool + var yyhl1995 bool = l >= 0 + yyj1995++ + if yyhl1995 { + yyb1995 = yyj1995 > l } else { - yyb13 = r.CheckBreak() + yyb1995 = r.CheckBreak() } - if yyb13 { + if yyb1995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26796,13 +26796,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1995++ + if yyhl1995 { + yyb1995 = yyj1995 > l } else { - yyb13 = r.CheckBreak() + yyb1995 = r.CheckBreak() } - if yyb13 { + if yyb1995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26815,20 +26815,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym16 := z.DecBinary() - _ = yym16 + yym1998 := z.DecBinary() + _ = yym1998 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1995++ + if yyhl1995 { + yyb1995 = yyj1995 > l } else { - yyb13 = r.CheckBreak() + yyb1995 = r.CheckBreak() } - if yyb13 { + if yyb1995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26841,20 +26841,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym18 := z.DecBinary() - _ = yym18 + yym2000 := z.DecBinary() + _ = yym2000 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1995++ + if yyhl1995 { + yyb1995 = yyj1995 > l } else { - yyb13 = r.CheckBreak() + yyb1995 = r.CheckBreak() } - if yyb13 { + if yyb1995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26862,21 +26862,21 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv19 := &x.SupplementalGroups - yym20 := z.DecBinary() - _ = yym20 + yyv2001 := &x.SupplementalGroups + yym2002 := z.DecBinary() + _ = yym2002 if false { } else { - z.F.DecSliceInt64X(yyv19, false, d) + z.F.DecSliceInt64X(yyv2001, false, d) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1995++ + if yyhl1995 { + yyb1995 = yyj1995 > l } else { - yyb13 = r.CheckBreak() + yyb1995 = r.CheckBreak() } - if yyb13 { + if yyb1995 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26889,25 +26889,25 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.FSGroup == nil { x.FSGroup = new(int64) } - yym22 := z.DecBinary() - _ = yym22 + yym2004 := z.DecBinary() + _ = yym2004 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } for { - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj1995++ + if yyhl1995 { + yyb1995 = yyj1995 > l } else { - yyb13 = r.CheckBreak() + yyb1995 = r.CheckBreak() } - if yyb13 { + if yyb1995 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj13-1, "") + z.DecStructFieldNotFound(yyj1995-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26919,60 +26919,60 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2005 := z.EncBinary() + _ = yym2005 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [8]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Phase != "" - yyq2[1] = len(x.Conditions) != 0 - yyq2[2] = x.Message != "" - yyq2[3] = x.Reason != "" - yyq2[4] = x.HostIP != "" - yyq2[5] = x.PodIP != "" - yyq2[6] = x.StartTime != nil - yyq2[7] = len(x.ContainerStatuses) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2006 := !z.EncBinary() + yy2arr2006 := z.EncBasicHandle().StructToArray + var yyq2006 [8]bool + _, _, _ = yysep2006, yyq2006, yy2arr2006 + const yyr2006 bool = false + yyq2006[0] = x.Phase != "" + yyq2006[1] = len(x.Conditions) != 0 + yyq2006[2] = x.Message != "" + yyq2006[3] = x.Reason != "" + yyq2006[4] = x.HostIP != "" + yyq2006[5] = x.PodIP != "" + yyq2006[6] = x.StartTime != nil + yyq2006[7] = len(x.ContainerStatuses) != 0 + var yynn2006 int + if yyr2006 || yy2arr2006 { r.EncodeArrayStart(8) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2006 = 0 + for _, b := range yyq2006 { if b { - yynn2++ + yynn2006++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2006) + yynn2006 = 0 } - if yyr2 || yy2arr2 { + if yyr2006 || yy2arr2006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq2006[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq2006[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2006 || yy2arr2006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq2006[1] { if x.Conditions == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym2009 := z.EncBinary() + _ = yym2009 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -26982,15 +26982,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq2006[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym2010 := z.EncBinary() + _ = yym2010 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -26998,11 +26998,11 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2006 || yy2arr2006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq2006[2] { + yym2012 := z.EncBinary() + _ = yym2012 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -27011,23 +27011,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq2006[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym2013 := z.EncBinary() + _ = yym2013 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr2006 || yy2arr2006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq2006[3] { + yym2015 := z.EncBinary() + _ = yym2015 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -27036,23 +27036,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2006[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym2016 := z.EncBinary() + _ = yym2016 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr2006 || yy2arr2006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq2006[4] { + yym2018 := z.EncBinary() + _ = yym2018 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -27061,23 +27061,23 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq2006[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym2019 := z.EncBinary() + _ = yym2019 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr2 || yy2arr2 { + if yyr2006 || yy2arr2006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq2006[5] { + yym2021 := z.EncBinary() + _ = yym2021 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) @@ -27086,31 +27086,31 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq2006[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym2022 := z.EncBinary() + _ = yym2022 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) } } } - if yyr2 || yy2arr2 { + if yyr2006 || yy2arr2006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq2006[6] { if x.StartTime == nil { r.EncodeNil() } else { - yym22 := z.EncBinary() - _ = yym22 + yym2024 := z.EncBinary() + _ = yym2024 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym22 { + } else if yym2024 { z.EncBinaryMarshal(x.StartTime) - } else if !yym22 && z.IsJSONHandle() { + } else if !yym2024 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -27120,20 +27120,20 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[6] { + if yyq2006[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym23 := z.EncBinary() - _ = yym23 + yym2025 := z.EncBinary() + _ = yym2025 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym23 { + } else if yym2025 { z.EncBinaryMarshal(x.StartTime) - } else if !yym23 && z.IsJSONHandle() { + } else if !yym2025 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -27141,14 +27141,14 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2006 || yy2arr2006 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq2006[7] { if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym25 := z.EncBinary() - _ = yym25 + yym2027 := z.EncBinary() + _ = yym2027 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -27158,15 +27158,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[7] { + if yyq2006[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerStatuses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym26 := z.EncBinary() - _ = yym26 + yym2028 := z.EncBinary() + _ = yym2028 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -27174,7 +27174,7 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2006 || yy2arr2006 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27187,25 +27187,25 @@ func (x *PodStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2029 := z.DecBinary() + _ = yym2029 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2030 := r.ContainerType() + if yyct2030 == codecSelferValueTypeMap1234 { + yyl2030 := r.ReadMapStart() + if yyl2030 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2030, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2030 == codecSelferValueTypeArray1234 { + yyl2030 := r.ReadArrayStart() + if yyl2030 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2030, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27217,12 +27217,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2031Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2031Slc + var yyhl2031 bool = l >= 0 + for yyj2031 := 0; ; yyj2031++ { + if yyhl2031 { + if yyj2031 >= l { break } } else { @@ -27231,10 +27231,10 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2031Slc = r.DecodeBytes(yys2031Slc, true, true) + yys2031 := string(yys2031Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2031 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -27245,12 +27245,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv5 := &x.Conditions - yym6 := z.DecBinary() - _ = yym6 + yyv2033 := &x.Conditions + yym2034 := z.DecBinary() + _ = yym2034 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv5), d) + h.decSlicePodCondition((*[]PodCondition)(yyv2033), d) } } case "message": @@ -27286,13 +27286,13 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_unversioned.Time) } - yym12 := z.DecBinary() - _ = yym12 + yym2040 := z.DecBinary() + _ = yym2040 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym12 { + } else if yym2040 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym12 && z.IsJSONHandle() { + } else if !yym2040 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -27302,18 +27302,18 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv13 := &x.ContainerStatuses - yym14 := z.DecBinary() - _ = yym14 + yyv2041 := &x.ContainerStatuses + yym2042 := z.DecBinary() + _ = yym2042 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv13), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv2041), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2031) + } // end switch yys2031 + } // end for yyj2031 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27321,16 +27321,16 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj15 int - var yyb15 bool - var yyhl15 bool = l >= 0 - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + var yyj2043 int + var yyb2043 bool + var yyhl2043 bool = l >= 0 + yyj2043++ + if yyhl2043 { + yyb2043 = yyj2043 > l } else { - yyb15 = r.CheckBreak() + yyb2043 = r.CheckBreak() } - if yyb15 { + if yyb2043 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27340,13 +27340,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = PodPhase(r.DecodeString()) } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2043++ + if yyhl2043 { + yyb2043 = yyj2043 > l } else { - yyb15 = r.CheckBreak() + yyb2043 = r.CheckBreak() } - if yyb15 { + if yyb2043 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27354,21 +27354,21 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv17 := &x.Conditions - yym18 := z.DecBinary() - _ = yym18 + yyv2045 := &x.Conditions + yym2046 := z.DecBinary() + _ = yym2046 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv17), d) + h.decSlicePodCondition((*[]PodCondition)(yyv2045), d) } } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2043++ + if yyhl2043 { + yyb2043 = yyj2043 > l } else { - yyb15 = r.CheckBreak() + yyb2043 = r.CheckBreak() } - if yyb15 { + if yyb2043 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27378,13 +27378,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2043++ + if yyhl2043 { + yyb2043 = yyj2043 > l } else { - yyb15 = r.CheckBreak() + yyb2043 = r.CheckBreak() } - if yyb15 { + if yyb2043 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27394,13 +27394,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2043++ + if yyhl2043 { + yyb2043 = yyj2043 > l } else { - yyb15 = r.CheckBreak() + yyb2043 = r.CheckBreak() } - if yyb15 { + if yyb2043 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27410,13 +27410,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostIP = string(r.DecodeString()) } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2043++ + if yyhl2043 { + yyb2043 = yyj2043 > l } else { - yyb15 = r.CheckBreak() + yyb2043 = r.CheckBreak() } - if yyb15 { + if yyb2043 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27426,13 +27426,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodIP = string(r.DecodeString()) } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2043++ + if yyhl2043 { + yyb2043 = yyj2043 > l } else { - yyb15 = r.CheckBreak() + yyb2043 = r.CheckBreak() } - if yyb15 { + if yyb2043 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27445,25 +27445,25 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_unversioned.Time) } - yym24 := z.DecBinary() - _ = yym24 + yym2052 := z.DecBinary() + _ = yym2052 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym24 { + } else if yym2052 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym24 && z.IsJSONHandle() { + } else if !yym2052 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2043++ + if yyhl2043 { + yyb2043 = yyj2043 > l } else { - yyb15 = r.CheckBreak() + yyb2043 = r.CheckBreak() } - if yyb15 { + if yyb2043 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27471,26 +27471,26 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv25 := &x.ContainerStatuses - yym26 := z.DecBinary() - _ = yym26 + yyv2053 := &x.ContainerStatuses + yym2054 := z.DecBinary() + _ = yym2054 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv25), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv2053), d) } } for { - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj2043++ + if yyhl2043 { + yyb2043 = yyj2043 > l } else { - yyb15 = r.CheckBreak() + yyb2043 = r.CheckBreak() } - if yyb15 { + if yyb2043 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj15-1, "") + z.DecStructFieldNotFound(yyj2043-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27502,72 +27502,38 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2055 := z.EncBinary() + _ = yym2055 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2056 := !z.EncBinary() + yy2arr2056 := z.EncBasicHandle().StructToArray + var yyq2056 [4]bool + _, _, _ = yysep2056, yyq2056, yy2arr2056 + const yyr2056 bool = false + yyq2056[0] = x.Kind != "" + yyq2056[1] = x.APIVersion != "" + yyq2056[2] = true + yyq2056[3] = true + var yynn2056 int + if yyr2056 || yy2arr2056 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2056 = 0 + for _, b := range yyq2056 { if b { - yynn2++ + yynn2056++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2056) + yynn2056 = 0 } - if yyr2 || yy2arr2 { + if yyr2056 || yy2arr2056 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Status - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Status - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq2056[0] { + yym2058 := z.EncBinary() + _ = yym2058 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -27576,23 +27542,23 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq2056[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym2059 := z.EncBinary() + _ = yym2059 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr2056 || yy2arr2056 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq2056[1] { + yym2061 := z.EncBinary() + _ = yym2061 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -27601,19 +27567,53 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2056[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym2062 := z.EncBinary() + _ = yym2062 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr2056 || yy2arr2056 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2056[2] { + yy2064 := &x.ObjectMeta + yy2064.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2056[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2065 := &x.ObjectMeta + yy2065.CodecEncodeSelf(e) + } + } + if yyr2056 || yy2arr2056 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2056[3] { + yy2067 := &x.Status + yy2067.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2056[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2068 := &x.Status + yy2068.CodecEncodeSelf(e) + } + } + if yyr2056 || yy2arr2056 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27626,25 +27626,25 @@ func (x *PodStatusResult) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2069 := z.DecBinary() + _ = yym2069 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2070 := r.ContainerType() + if yyct2070 == codecSelferValueTypeMap1234 { + yyl2070 := r.ReadMapStart() + if yyl2070 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2070, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2070 == codecSelferValueTypeArray1234 { + yyl2070 := r.ReadArrayStart() + if yyl2070 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2070, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27656,12 +27656,12 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -27670,24 +27670,10 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2071Slc = r.DecodeBytes(yys2071Slc, true, true) + yys2071 := string(yys2071Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = PodStatus{} - } else { - yyv5 := &x.Status - yyv5.CodecDecodeSelf(d) - } + switch yys2071 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -27700,10 +27686,24 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2074 := &x.ObjectMeta + yyv2074.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = PodStatus{} + } else { + yyv2075 := &x.Status + yyv2075.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2071) + } // end switch yys2071 + } // end for yyj2071 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27711,50 +27711,16 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj2076 int + var yyb2076 bool + var yyhl2076 bool = l >= 0 + yyj2076++ + if yyhl2076 { + yyb2076 = yyj2076 > l } else { - yyb8 = r.CheckBreak() + yyb2076 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv9 := &x.ObjectMeta - yyv9.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = PodStatus{} - } else { - yyv10 := &x.Status - yyv10.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb2076 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27764,13 +27730,13 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2076++ + if yyhl2076 { + yyb2076 = yyj2076 > l } else { - yyb8 = r.CheckBreak() + yyb2076 = r.CheckBreak() } - if yyb8 { + if yyb2076 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27780,18 +27746,52 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + yyj2076++ + if yyhl2076 { + yyb2076 = yyj2076 > l + } else { + yyb2076 = r.CheckBreak() + } + if yyb2076 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2079 := &x.ObjectMeta + yyv2079.CodecDecodeSelf(d) + } + yyj2076++ + if yyhl2076 { + yyb2076 = yyj2076 > l + } else { + yyb2076 = r.CheckBreak() + } + if yyb2076 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = PodStatus{} + } else { + yyv2080 := &x.Status + yyv2080.CodecDecodeSelf(d) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2076++ + if yyhl2076 { + yyb2076 = yyj2076 > l } else { - yyb8 = r.CheckBreak() + yyb2076 = r.CheckBreak() } - if yyb8 { + if yyb2076 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj2076-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27803,90 +27803,39 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2081 := z.EncBinary() + _ = yym2081 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2082 := !z.EncBinary() + yy2arr2082 := z.EncBasicHandle().StructToArray + var yyq2082 [5]bool + _, _, _ = yysep2082, yyq2082, yy2arr2082 + const yyr2082 bool = false + yyq2082[0] = x.Kind != "" + yyq2082[1] = x.APIVersion != "" + yyq2082[2] = true + yyq2082[3] = true + yyq2082[4] = true + var yynn2082 int + if yyr2082 || yy2arr2082 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2082 = 0 + for _, b := range yyq2082 { if b { - yynn2++ + yynn2082++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2082) + yynn2082 = 0 } - if yyr2 || yy2arr2 { + if yyr2082 || yy2arr2082 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq2082[0] { + yym2084 := z.EncBinary() + _ = yym2084 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -27895,23 +27844,23 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2082[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym2085 := z.EncBinary() + _ = yym2085 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr2082 || yy2arr2082 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq2082[1] { + yym2087 := z.EncBinary() + _ = yym2087 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -27920,19 +27869,70 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq2082[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym2088 := z.EncBinary() + _ = yym2088 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr2082 || yy2arr2082 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2082[2] { + yy2090 := &x.ObjectMeta + yy2090.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2082[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2091 := &x.ObjectMeta + yy2091.CodecEncodeSelf(e) + } + } + if yyr2082 || yy2arr2082 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2082[3] { + yy2093 := &x.Spec + yy2093.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2082[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2094 := &x.Spec + yy2094.CodecEncodeSelf(e) + } + } + if yyr2082 || yy2arr2082 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2082[4] { + yy2096 := &x.Status + yy2096.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2082[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2097 := &x.Status + yy2097.CodecEncodeSelf(e) + } + } + if yyr2082 || yy2arr2082 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27945,25 +27945,25 @@ func (x *Pod) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2098 := z.DecBinary() + _ = yym2098 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2099 := r.ContainerType() + if yyct2099 == codecSelferValueTypeMap1234 { + yyl2099 := r.ReadMapStart() + if yyl2099 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2099, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2099 == codecSelferValueTypeArray1234 { + yyl2099 := r.ReadArrayStart() + if yyl2099 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2099, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27975,12 +27975,12 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2100Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2100Slc + var yyhl2100 bool = l >= 0 + for yyj2100 := 0; ; yyj2100++ { + if yyhl2100 { + if yyj2100 >= l { break } } else { @@ -27989,31 +27989,10 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2100Slc = r.DecodeBytes(yys2100Slc, true, true) + yys2100 := string(yys2100Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = PodSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = PodStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys2100 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -28026,10 +28005,31 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2103 := &x.ObjectMeta + yyv2103.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = PodSpec{} + } else { + yyv2104 := &x.Spec + yyv2104.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = PodStatus{} + } else { + yyv2105 := &x.Status + yyv2105.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2100) + } // end switch yys2100 + } // end for yyj2100 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28037,67 +28037,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj2106 int + var yyb2106 bool + var yyhl2106 bool = l >= 0 + yyj2106++ + if yyhl2106 { + yyb2106 = yyj2106 > l } else { - yyb9 = r.CheckBreak() + yyb2106 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = PodSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = PodStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb2106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28107,13 +28056,13 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2106++ + if yyhl2106 { + yyb2106 = yyj2106 > l } else { - yyb9 = r.CheckBreak() + yyb2106 = r.CheckBreak() } - if yyb9 { + if yyb2106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28123,18 +28072,69 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj2106++ + if yyhl2106 { + yyb2106 = yyj2106 > l + } else { + yyb2106 = r.CheckBreak() + } + if yyb2106 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2109 := &x.ObjectMeta + yyv2109.CodecDecodeSelf(d) + } + yyj2106++ + if yyhl2106 { + yyb2106 = yyj2106 > l + } else { + yyb2106 = r.CheckBreak() + } + if yyb2106 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = PodSpec{} + } else { + yyv2110 := &x.Spec + yyv2110.CodecDecodeSelf(d) + } + yyj2106++ + if yyhl2106 { + yyb2106 = yyj2106 > l + } else { + yyb2106 = r.CheckBreak() + } + if yyb2106 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = PodStatus{} + } else { + yyv2111 := &x.Status + yyv2111.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2106++ + if yyhl2106 { + yyb2106 = yyj2106 > l } else { - yyb9 = r.CheckBreak() + yyb2106 = r.CheckBreak() } - if yyb9 { + if yyb2106 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj2106-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28146,68 +28146,118 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2112 := z.EncBinary() + _ = yym2112 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2113 := !z.EncBinary() + yy2arr2113 := z.EncBasicHandle().StructToArray + var yyq2113 [4]bool + _, _, _ = yysep2113, yyq2113, yy2arr2113 + const yyr2113 bool = false + yyq2113[0] = x.Kind != "" + yyq2113[1] = x.APIVersion != "" + yyq2113[2] = true + var yynn2113 int + if yyr2113 || yy2arr2113 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2113 = 1 + for _, b := range yyq2113 { if b { - yynn2++ + yynn2113++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2113) + yynn2113 = 0 } - if yyr2 || yy2arr2 { + if yyr2113 || yy2arr2113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq2113[0] { + yym2115 := z.EncBinary() + _ = yym2115 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2113[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2116 := z.EncBinary() + _ = yym2116 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2113 || yy2arr2113 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2113[1] { + yym2118 := z.EncBinary() + _ = yym2118 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2113[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2119 := z.EncBinary() + _ = yym2119 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2113 || yy2arr2113 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2113[2] { + yy2121 := &x.ListMeta + yym2122 := z.EncBinary() + _ = yym2122 + if false { + } else if z.HasExtensions() && z.EncExt(yy2121) { + } else { + z.EncFallback(yy2121) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2113[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy2123 := &x.ListMeta + yym2124 := z.EncBinary() + _ = yym2124 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy2123) { } else { - z.EncFallback(yy6) + z.EncFallback(yy2123) } } } - if yyr2 || yy2arr2 { + if yyr2113 || yy2arr2113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2126 := z.EncBinary() + _ = yym2126 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) @@ -28220,65 +28270,15 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2127 := z.EncBinary() + _ = yym2127 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr2113 || yy2arr2113 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28291,25 +28291,25 @@ func (x *PodList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2128 := z.DecBinary() + _ = yym2128 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2129 := r.ContainerType() + if yyct2129 == codecSelferValueTypeMap1234 { + yyl2129 := r.ReadMapStart() + if yyl2129 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2129, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2129 == codecSelferValueTypeArray1234 { + yyl2129 := r.ReadArrayStart() + if yyl2129 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2129, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -28321,12 +28321,12 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2130Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2130Slc + var yyhl2130 bool = l >= 0 + for yyj2130 := 0; ; yyj2130++ { + if yyhl2130 { + if yyj2130 >= l { break } } else { @@ -28335,35 +28335,10 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2130Slc = r.DecodeBytes(yys2130Slc, true, true) + yys2130 := string(yys2130Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSlicePod((*[]Pod)(yyv6), d) - } - } + switch yys2130 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -28376,10 +28351,35 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2133 := &x.ListMeta + yym2134 := z.DecBinary() + _ = yym2134 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2133) { + } else { + z.DecFallback(yyv2133, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2135 := &x.Items + yym2136 := z.DecBinary() + _ = yym2136 + if false { + } else { + h.decSlicePod((*[]Pod)(yyv2135), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2130) + } // end switch yys2130 + } // end for yyj2130 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28387,61 +28387,16 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj2137 int + var yyb2137 bool + var yyhl2137 bool = l >= 0 + yyj2137++ + if yyhl2137 { + yyb2137 = yyj2137 > l } else { - yyb10 = r.CheckBreak() + yyb2137 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSlicePod((*[]Pod)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb2137 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28451,13 +28406,13 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2137++ + if yyhl2137 { + yyb2137 = yyj2137 > l } else { - yyb10 = r.CheckBreak() + yyb2137 = r.CheckBreak() } - if yyb10 { + if yyb2137 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28467,18 +28422,63 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2137++ + if yyhl2137 { + yyb2137 = yyj2137 > l + } else { + yyb2137 = r.CheckBreak() + } + if yyb2137 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2140 := &x.ListMeta + yym2141 := z.DecBinary() + _ = yym2141 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2140) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv2140, false) } - if yyb10 { + } + yyj2137++ + if yyhl2137 { + yyb2137 = yyj2137 > l + } else { + yyb2137 = r.CheckBreak() + } + if yyb2137 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2142 := &x.Items + yym2143 := z.DecBinary() + _ = yym2143 + if false { + } else { + h.decSlicePod((*[]Pod)(yyv2142), d) + } + } + for { + yyj2137++ + if yyhl2137 { + yyb2137 = yyj2137 > l + } else { + yyb2137 = r.CheckBreak() + } + if yyb2137 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj2137-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28490,66 +28490,66 @@ func (x *PodTemplateSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2144 := z.EncBinary() + _ = yym2144 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep2145 := !z.EncBinary() + yy2arr2145 := z.EncBasicHandle().StructToArray + var yyq2145 [2]bool + _, _, _ = yysep2145, yyq2145, yy2arr2145 + const yyr2145 bool = false + yyq2145[0] = true + yyq2145[1] = true + var yynn2145 int + if yyr2145 || yy2arr2145 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2145 = 0 + for _, b := range yyq2145 { if b { - yynn2++ + yynn2145++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2145) + yynn2145 = 0 } - if yyr2 || yy2arr2 { + if yyr2145 || yy2arr2145 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq2145[0] { + yy2147 := &x.ObjectMeta + yy2147.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2145[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy2148 := &x.ObjectMeta + yy2148.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2145 || yy2arr2145 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) + if yyq2145[1] { + yy2150 := &x.Spec + yy2150.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq2145[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) + yy2151 := &x.Spec + yy2151.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2145 || yy2arr2145 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28562,25 +28562,25 @@ func (x *PodTemplateSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2152 := z.DecBinary() + _ = yym2152 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2153 := r.ContainerType() + if yyct2153 == codecSelferValueTypeMap1234 { + yyl2153 := r.ReadMapStart() + if yyl2153 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2153, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2153 == codecSelferValueTypeArray1234 { + yyl2153 := r.ReadArrayStart() + if yyl2153 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2153, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -28592,12 +28592,12 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2154Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2154Slc + var yyhl2154 bool = l >= 0 + for yyj2154 := 0; ; yyj2154++ { + if yyhl2154 { + if yyj2154 >= l { break } } else { @@ -28606,28 +28606,28 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2154Slc = r.DecodeBytes(yys2154Slc, true, true) + yys2154 := string(yys2154Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2154 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) + yyv2155 := &x.ObjectMeta + yyv2155.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) + yyv2156 := &x.Spec + yyv2156.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2154) + } // end switch yys2154 + } // end for yyj2154 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28635,16 +28635,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj2157 int + var yyb2157 bool + var yyhl2157 bool = l >= 0 + yyj2157++ + if yyhl2157 { + yyb2157 = yyj2157 > l } else { - yyb6 = r.CheckBreak() + yyb2157 = r.CheckBreak() } - if yyb6 { + if yyb2157 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28652,16 +28652,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv7 := &x.ObjectMeta - yyv7.CodecDecodeSelf(d) + yyv2158 := &x.ObjectMeta + yyv2158.CodecDecodeSelf(d) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2157++ + if yyhl2157 { + yyb2157 = yyj2157 > l } else { - yyb6 = r.CheckBreak() + yyb2157 = r.CheckBreak() } - if yyb6 { + if yyb2157 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28669,21 +28669,21 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv8 := &x.Spec - yyv8.CodecDecodeSelf(d) + yyv2159 := &x.Spec + yyv2159.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2157++ + if yyhl2157 { + yyb2157 = yyj2157 > l } else { - yyb6 = r.CheckBreak() + yyb2157 = r.CheckBreak() } - if yyb6 { + if yyb2157 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj2157-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28695,72 +28695,38 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2160 := z.EncBinary() + _ = yym2160 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2161 := !z.EncBinary() + yy2arr2161 := z.EncBasicHandle().StructToArray + var yyq2161 [4]bool + _, _, _ = yysep2161, yyq2161, yy2arr2161 + const yyr2161 bool = false + yyq2161[0] = x.Kind != "" + yyq2161[1] = x.APIVersion != "" + yyq2161[2] = true + yyq2161[3] = true + var yynn2161 int + if yyr2161 || yy2arr2161 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2161 = 0 + for _, b := range yyq2161 { if b { - yynn2++ + yynn2161++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2161) + yynn2161 = 0 } - if yyr2 || yy2arr2 { + if yyr2161 || yy2arr2161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Template - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("template")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Template - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq2161[0] { + yym2163 := z.EncBinary() + _ = yym2163 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -28769,23 +28735,23 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq2161[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym2164 := z.EncBinary() + _ = yym2164 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr2161 || yy2arr2161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq2161[1] { + yym2166 := z.EncBinary() + _ = yym2166 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -28794,19 +28760,53 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2161[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym2167 := z.EncBinary() + _ = yym2167 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr2161 || yy2arr2161 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2161[2] { + yy2169 := &x.ObjectMeta + yy2169.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2161[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2170 := &x.ObjectMeta + yy2170.CodecEncodeSelf(e) + } + } + if yyr2161 || yy2arr2161 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2161[3] { + yy2172 := &x.Template + yy2172.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2161[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("template")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2173 := &x.Template + yy2173.CodecEncodeSelf(e) + } + } + if yyr2161 || yy2arr2161 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28819,25 +28819,25 @@ func (x *PodTemplate) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2174 := z.DecBinary() + _ = yym2174 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2175 := r.ContainerType() + if yyct2175 == codecSelferValueTypeMap1234 { + yyl2175 := r.ReadMapStart() + if yyl2175 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2175, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2175 == codecSelferValueTypeArray1234 { + yyl2175 := r.ReadArrayStart() + if yyl2175 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2175, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -28849,12 +28849,12 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2176Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2176Slc + var yyhl2176 bool = l >= 0 + for yyj2176 := 0; ; yyj2176++ { + if yyhl2176 { + if yyj2176 >= l { break } } else { @@ -28863,24 +28863,10 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2176Slc = r.DecodeBytes(yys2176Slc, true, true) + yys2176 := string(yys2176Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "template": - if r.TryDecodeAsNil() { - x.Template = PodTemplateSpec{} - } else { - yyv5 := &x.Template - yyv5.CodecDecodeSelf(d) - } + switch yys2176 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -28893,10 +28879,24 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2179 := &x.ObjectMeta + yyv2179.CodecDecodeSelf(d) + } + case "template": + if r.TryDecodeAsNil() { + x.Template = PodTemplateSpec{} + } else { + yyv2180 := &x.Template + yyv2180.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2176) + } // end switch yys2176 + } // end for yyj2176 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28904,50 +28904,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj2181 int + var yyb2181 bool + var yyhl2181 bool = l >= 0 + yyj2181++ + if yyhl2181 { + yyb2181 = yyj2181 > l } else { - yyb8 = r.CheckBreak() + yyb2181 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv9 := &x.ObjectMeta - yyv9.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Template = PodTemplateSpec{} - } else { - yyv10 := &x.Template - yyv10.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb2181 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28957,13 +28923,13 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2181++ + if yyhl2181 { + yyb2181 = yyj2181 > l } else { - yyb8 = r.CheckBreak() + yyb2181 = r.CheckBreak() } - if yyb8 { + if yyb2181 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28973,18 +28939,52 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj2181++ + if yyhl2181 { + yyb2181 = yyj2181 > l + } else { + yyb2181 = r.CheckBreak() + } + if yyb2181 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2184 := &x.ObjectMeta + yyv2184.CodecDecodeSelf(d) + } + yyj2181++ + if yyhl2181 { + yyb2181 = yyj2181 > l + } else { + yyb2181 = r.CheckBreak() + } + if yyb2181 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Template = PodTemplateSpec{} + } else { + yyv2185 := &x.Template + yyv2185.CodecDecodeSelf(d) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2181++ + if yyhl2181 { + yyb2181 = yyj2181 > l } else { - yyb8 = r.CheckBreak() + yyb2181 = r.CheckBreak() } - if yyb8 { + if yyb2181 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj2181-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28996,68 +28996,118 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2186 := z.EncBinary() + _ = yym2186 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2187 := !z.EncBinary() + yy2arr2187 := z.EncBasicHandle().StructToArray + var yyq2187 [4]bool + _, _, _ = yysep2187, yyq2187, yy2arr2187 + const yyr2187 bool = false + yyq2187[0] = x.Kind != "" + yyq2187[1] = x.APIVersion != "" + yyq2187[2] = true + var yynn2187 int + if yyr2187 || yy2arr2187 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2187 = 1 + for _, b := range yyq2187 { if b { - yynn2++ + yynn2187++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2187) + yynn2187 = 0 } - if yyr2 || yy2arr2 { + if yyr2187 || yy2arr2187 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq2187[0] { + yym2189 := z.EncBinary() + _ = yym2189 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2187[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2190 := z.EncBinary() + _ = yym2190 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2187 || yy2arr2187 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2187[1] { + yym2192 := z.EncBinary() + _ = yym2192 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2187[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2193 := z.EncBinary() + _ = yym2193 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2187 || yy2arr2187 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2187[2] { + yy2195 := &x.ListMeta + yym2196 := z.EncBinary() + _ = yym2196 + if false { + } else if z.HasExtensions() && z.EncExt(yy2195) { + } else { + z.EncFallback(yy2195) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2187[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy2197 := &x.ListMeta + yym2198 := z.EncBinary() + _ = yym2198 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy2197) { } else { - z.EncFallback(yy6) + z.EncFallback(yy2197) } } } - if yyr2 || yy2arr2 { + if yyr2187 || yy2arr2187 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2200 := z.EncBinary() + _ = yym2200 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) @@ -29070,65 +29120,15 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2201 := z.EncBinary() + _ = yym2201 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr2187 || yy2arr2187 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29141,25 +29141,25 @@ func (x *PodTemplateList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2202 := z.DecBinary() + _ = yym2202 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2203 := r.ContainerType() + if yyct2203 == codecSelferValueTypeMap1234 { + yyl2203 := r.ReadMapStart() + if yyl2203 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2203, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2203 == codecSelferValueTypeArray1234 { + yyl2203 := r.ReadArrayStart() + if yyl2203 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2203, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29171,12 +29171,12 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2204Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2204Slc + var yyhl2204 bool = l >= 0 + for yyj2204 := 0; ; yyj2204++ { + if yyhl2204 { + if yyj2204 >= l { break } } else { @@ -29185,35 +29185,10 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2204Slc = r.DecodeBytes(yys2204Slc, true, true) + yys2204 := string(yys2204Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv6), d) - } - } + switch yys2204 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -29226,10 +29201,35 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2207 := &x.ListMeta + yym2208 := z.DecBinary() + _ = yym2208 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2207) { + } else { + z.DecFallback(yyv2207, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2209 := &x.Items + yym2210 := z.DecBinary() + _ = yym2210 + if false { + } else { + h.decSlicePodTemplate((*[]PodTemplate)(yyv2209), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2204) + } // end switch yys2204 + } // end for yyj2204 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29237,61 +29237,16 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj2211 int + var yyb2211 bool + var yyhl2211 bool = l >= 0 + yyj2211++ + if yyhl2211 { + yyb2211 = yyj2211 > l } else { - yyb10 = r.CheckBreak() + yyb2211 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb2211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29301,13 +29256,13 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2211++ + if yyhl2211 { + yyb2211 = yyj2211 > l } else { - yyb10 = r.CheckBreak() + yyb2211 = r.CheckBreak() } - if yyb10 { + if yyb2211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29317,18 +29272,63 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2211++ + if yyhl2211 { + yyb2211 = yyj2211 > l + } else { + yyb2211 = r.CheckBreak() + } + if yyb2211 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2214 := &x.ListMeta + yym2215 := z.DecBinary() + _ = yym2215 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2214) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv2214, false) } - if yyb10 { + } + yyj2211++ + if yyhl2211 { + yyb2211 = yyj2211 > l + } else { + yyb2211 = r.CheckBreak() + } + if yyb2211 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2216 := &x.Items + yym2217 := z.DecBinary() + _ = yym2217 + if false { + } else { + h.decSlicePodTemplate((*[]PodTemplate)(yyv2216), d) + } + } + for { + yyj2211++ + if yyhl2211 { + yyb2211 = yyj2211 > l + } else { + yyb2211 = r.CheckBreak() + } + if yyb2211 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj2211-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29340,75 +29340,75 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2218 := z.EncBinary() + _ = yym2218 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Replicas != nil - yyq2[1] = len(x.Selector) != 0 - yyq2[2] = x.Template != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep2219 := !z.EncBinary() + yy2arr2219 := z.EncBasicHandle().StructToArray + var yyq2219 [3]bool + _, _, _ = yysep2219, yyq2219, yy2arr2219 + const yyr2219 bool = false + yyq2219[0] = x.Replicas != nil + yyq2219[1] = len(x.Selector) != 0 + yyq2219[2] = x.Template != nil + var yynn2219 int + if yyr2219 || yy2arr2219 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2219 = 0 + for _, b := range yyq2219 { if b { - yynn2++ + yynn2219++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2219) + yynn2219 = 0 } - if yyr2 || yy2arr2 { + if yyr2219 || yy2arr2219 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq2219[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy4 := *x.Replicas - yym5 := z.EncBinary() - _ = yym5 + yy2221 := *x.Replicas + yym2222 := z.EncBinary() + _ = yym2222 if false { } else { - r.EncodeInt(int64(yy4)) + r.EncodeInt(int64(yy2221)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2219[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy6 := *x.Replicas - yym7 := z.EncBinary() - _ = yym7 + yy2223 := *x.Replicas + yym2224 := z.EncBinary() + _ = yym2224 if false { } else { - r.EncodeInt(int64(yy6)) + r.EncodeInt(int64(yy2223)) } } } } - if yyr2 || yy2arr2 { + if yyr2219 || yy2arr2219 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq2219[1] { if x.Selector == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2226 := z.EncBinary() + _ = yym2226 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -29418,15 +29418,15 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq2219[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2227 := z.EncBinary() + _ = yym2227 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -29434,9 +29434,9 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2219 || yy2arr2219 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq2219[2] { if x.Template == nil { r.EncodeNil() } else { @@ -29446,7 +29446,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq2219[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -29457,7 +29457,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2219 || yy2arr2219 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29470,25 +29470,25 @@ func (x *ReplicationControllerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2229 := z.DecBinary() + _ = yym2229 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2230 := r.ContainerType() + if yyct2230 == codecSelferValueTypeMap1234 { + yyl2230 := r.ReadMapStart() + if yyl2230 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2230, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2230 == codecSelferValueTypeArray1234 { + yyl2230 := r.ReadArrayStart() + if yyl2230 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2230, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29500,12 +29500,12 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2231Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2231Slc + var yyhl2231 bool = l >= 0 + for yyj2231 := 0; ; yyj2231++ { + if yyhl2231 { + if yyj2231 >= l { break } } else { @@ -29514,10 +29514,10 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2231Slc = r.DecodeBytes(yys2231Slc, true, true) + yys2231 := string(yys2231Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2231 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -29527,8 +29527,8 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if x.Replicas == nil { x.Replicas = new(int32) } - yym5 := z.DecBinary() - _ = yym5 + yym2233 := z.DecBinary() + _ = yym2233 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -29538,12 +29538,12 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv6 := &x.Selector - yym7 := z.DecBinary() - _ = yym7 + yyv2234 := &x.Selector + yym2235 := z.DecBinary() + _ = yym2235 if false { } else { - z.F.DecMapStringStringX(yyv6, false, d) + z.F.DecMapStringStringX(yyv2234, false, d) } } case "template": @@ -29558,9 +29558,9 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D x.Template.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2231) + } // end switch yys2231 + } // end for yyj2231 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29568,16 +29568,16 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj2237 int + var yyb2237 bool + var yyhl2237 bool = l >= 0 + yyj2237++ + if yyhl2237 { + yyb2237 = yyj2237 > l } else { - yyb9 = r.CheckBreak() + yyb2237 = r.CheckBreak() } - if yyb9 { + if yyb2237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29590,20 +29590,20 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 if x.Replicas == nil { x.Replicas = new(int32) } - yym11 := z.DecBinary() - _ = yym11 + yym2239 := z.DecBinary() + _ = yym2239 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2237++ + if yyhl2237 { + yyb2237 = yyj2237 > l } else { - yyb9 = r.CheckBreak() + yyb2237 = r.CheckBreak() } - if yyb9 { + if yyb2237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29611,21 +29611,21 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv12 := &x.Selector - yym13 := z.DecBinary() - _ = yym13 + yyv2240 := &x.Selector + yym2241 := z.DecBinary() + _ = yym2241 if false { } else { - z.F.DecMapStringStringX(yyv12, false, d) + z.F.DecMapStringStringX(yyv2240, false, d) } } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2237++ + if yyhl2237 { + yyb2237 = yyj2237 > l } else { - yyb9 = r.CheckBreak() + yyb2237 = r.CheckBreak() } - if yyb9 { + if yyb2237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29641,17 +29641,17 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 x.Template.CodecDecodeSelf(d) } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2237++ + if yyhl2237 { + yyb2237 = yyj2237 > l } else { - yyb9 = r.CheckBreak() + yyb2237 = r.CheckBreak() } - if yyb9 { + if yyb2237 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj2237-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29663,35 +29663,35 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2243 := z.EncBinary() + _ = yym2243 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FullyLabeledReplicas != 0 - yyq2[2] = x.ObservedGeneration != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2244 := !z.EncBinary() + yy2arr2244 := z.EncBasicHandle().StructToArray + var yyq2244 [3]bool + _, _, _ = yysep2244, yyq2244, yy2arr2244 + const yyr2244 bool = false + yyq2244[1] = x.FullyLabeledReplicas != 0 + yyq2244[2] = x.ObservedGeneration != 0 + var yynn2244 int + if yyr2244 || yy2arr2244 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2244 = 1 + for _, b := range yyq2244 { if b { - yynn2++ + yynn2244++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2244) + yynn2244 = 0 } - if yyr2 || yy2arr2 { + if yyr2244 || yy2arr2244 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym2246 := z.EncBinary() + _ = yym2246 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -29700,18 +29700,18 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2247 := z.EncBinary() + _ = yym2247 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2 || yy2arr2 { + if yyr2244 || yy2arr2244 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq2244[1] { + yym2249 := z.EncBinary() + _ = yym2249 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -29720,23 +29720,23 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[1] { + if yyq2244[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2250 := z.EncBinary() + _ = yym2250 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr2 || yy2arr2 { + if yyr2244 || yy2arr2244 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq2244[2] { + yym2252 := z.EncBinary() + _ = yym2252 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -29745,19 +29745,19 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[2] { + if yyq2244[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym2253 := z.EncBinary() + _ = yym2253 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr2 || yy2arr2 { + if yyr2244 || yy2arr2244 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29770,25 +29770,25 @@ func (x *ReplicationControllerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2254 := z.DecBinary() + _ = yym2254 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2255 := r.ContainerType() + if yyct2255 == codecSelferValueTypeMap1234 { + yyl2255 := r.ReadMapStart() + if yyl2255 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2255, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2255 == codecSelferValueTypeArray1234 { + yyl2255 := r.ReadArrayStart() + if yyl2255 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2255, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29800,12 +29800,12 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2256Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2256Slc + var yyhl2256 bool = l >= 0 + for yyj2256 := 0; ; yyj2256++ { + if yyhl2256 { + if yyj2256 >= l { break } } else { @@ -29814,10 +29814,10 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2256Slc = r.DecodeBytes(yys2256Slc, true, true) + yys2256 := string(yys2256Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2256 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -29837,9 +29837,9 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 x.ObservedGeneration = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2256) + } // end switch yys2256 + } // end for yyj2256 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29847,16 +29847,16 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj2260 int + var yyb2260 bool + var yyhl2260 bool = l >= 0 + yyj2260++ + if yyhl2260 { + yyb2260 = yyj2260 > l } else { - yyb7 = r.CheckBreak() + yyb2260 = r.CheckBreak() } - if yyb7 { + if yyb2260 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29866,13 +29866,13 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2260++ + if yyhl2260 { + yyb2260 = yyj2260 > l } else { - yyb7 = r.CheckBreak() + yyb2260 = r.CheckBreak() } - if yyb7 { + if yyb2260 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29882,13 +29882,13 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.FullyLabeledReplicas = int32(r.DecodeInt(32)) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2260++ + if yyhl2260 { + yyb2260 = yyj2260 > l } else { - yyb7 = r.CheckBreak() + yyb2260 = r.CheckBreak() } - if yyb7 { + if yyb2260 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29899,17 +29899,17 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 x.ObservedGeneration = int64(r.DecodeInt(64)) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2260++ + if yyhl2260 { + yyb2260 = yyj2260 > l } else { - yyb7 = r.CheckBreak() + yyb2260 = r.CheckBreak() } - if yyb7 { + if yyb2260 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj2260-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29921,90 +29921,39 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2264 := z.EncBinary() + _ = yym2264 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2265 := !z.EncBinary() + yy2arr2265 := z.EncBasicHandle().StructToArray + var yyq2265 [5]bool + _, _, _ = yysep2265, yyq2265, yy2arr2265 + const yyr2265 bool = false + yyq2265[0] = x.Kind != "" + yyq2265[1] = x.APIVersion != "" + yyq2265[2] = true + yyq2265[3] = true + yyq2265[4] = true + var yynn2265 int + if yyr2265 || yy2arr2265 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2265 = 0 + for _, b := range yyq2265 { if b { - yynn2++ + yynn2265++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2265) + yynn2265 = 0 } - if yyr2 || yy2arr2 { + if yyr2265 || yy2arr2265 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq2265[0] { + yym2267 := z.EncBinary() + _ = yym2267 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -30013,23 +29962,23 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2265[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym2268 := z.EncBinary() + _ = yym2268 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr2265 || yy2arr2265 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq2265[1] { + yym2270 := z.EncBinary() + _ = yym2270 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -30038,19 +29987,70 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq2265[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym2271 := z.EncBinary() + _ = yym2271 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr2265 || yy2arr2265 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2265[2] { + yy2273 := &x.ObjectMeta + yy2273.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2265[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2274 := &x.ObjectMeta + yy2274.CodecEncodeSelf(e) + } + } + if yyr2265 || yy2arr2265 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2265[3] { + yy2276 := &x.Spec + yy2276.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2265[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2277 := &x.Spec + yy2277.CodecEncodeSelf(e) + } + } + if yyr2265 || yy2arr2265 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2265[4] { + yy2279 := &x.Status + yy2279.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2265[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2280 := &x.Status + yy2280.CodecEncodeSelf(e) + } + } + if yyr2265 || yy2arr2265 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30063,25 +30063,25 @@ func (x *ReplicationController) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2281 := z.DecBinary() + _ = yym2281 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2282 := r.ContainerType() + if yyct2282 == codecSelferValueTypeMap1234 { + yyl2282 := r.ReadMapStart() + if yyl2282 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2282, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2282 == codecSelferValueTypeArray1234 { + yyl2282 := r.ReadArrayStart() + if yyl2282 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2282, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30093,12 +30093,12 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + 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 { @@ -30107,31 +30107,10 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2283Slc = r.DecodeBytes(yys2283Slc, true, true) + yys2283 := string(yys2283Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ReplicationControllerSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ReplicationControllerStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys2283 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -30144,10 +30123,31 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2286 := &x.ObjectMeta + yyv2286.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ReplicationControllerSpec{} + } else { + yyv2287 := &x.Spec + yyv2287.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ReplicationControllerStatus{} + } else { + yyv2288 := &x.Status + yyv2288.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2283) + } // end switch yys2283 + } // end for yyj2283 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30155,67 +30155,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj2289 int + var yyb2289 bool + var yyhl2289 bool = l >= 0 + yyj2289++ + if yyhl2289 { + yyb2289 = yyj2289 > l } else { - yyb9 = r.CheckBreak() + yyb2289 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ReplicationControllerSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ReplicationControllerStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb2289 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30225,13 +30174,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2289++ + if yyhl2289 { + yyb2289 = yyj2289 > l } else { - yyb9 = r.CheckBreak() + yyb2289 = r.CheckBreak() } - if yyb9 { + if yyb2289 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30241,18 +30190,69 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } + yyj2289++ + if yyhl2289 { + yyb2289 = yyj2289 > l + } else { + yyb2289 = r.CheckBreak() + } + if yyb2289 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2292 := &x.ObjectMeta + yyv2292.CodecDecodeSelf(d) + } + yyj2289++ + if yyhl2289 { + yyb2289 = yyj2289 > l + } else { + yyb2289 = r.CheckBreak() + } + if yyb2289 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ReplicationControllerSpec{} + } else { + yyv2293 := &x.Spec + yyv2293.CodecDecodeSelf(d) + } + yyj2289++ + if yyhl2289 { + yyb2289 = yyj2289 > l + } else { + yyb2289 = r.CheckBreak() + } + if yyb2289 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ReplicationControllerStatus{} + } else { + yyv2294 := &x.Status + yyv2294.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2289++ + if yyhl2289 { + yyb2289 = yyj2289 > l } else { - yyb9 = r.CheckBreak() + yyb2289 = r.CheckBreak() } - if yyb9 { + if yyb2289 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj2289-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30264,68 +30264,118 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2295 := z.EncBinary() + _ = yym2295 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2296 := !z.EncBinary() + yy2arr2296 := z.EncBasicHandle().StructToArray + var yyq2296 [4]bool + _, _, _ = yysep2296, yyq2296, yy2arr2296 + const yyr2296 bool = false + yyq2296[0] = x.Kind != "" + yyq2296[1] = x.APIVersion != "" + yyq2296[2] = true + var yynn2296 int + if yyr2296 || yy2arr2296 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2296 = 1 + for _, b := range yyq2296 { if b { - yynn2++ + yynn2296++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2296) + yynn2296 = 0 } - if yyr2 || yy2arr2 { + if yyr2296 || yy2arr2296 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq2296[0] { + yym2298 := z.EncBinary() + _ = yym2298 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2296[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2299 := z.EncBinary() + _ = yym2299 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2296 || yy2arr2296 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2296[1] { + yym2301 := z.EncBinary() + _ = yym2301 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2296[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2302 := z.EncBinary() + _ = yym2302 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2296 || yy2arr2296 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2296[2] { + yy2304 := &x.ListMeta + yym2305 := z.EncBinary() + _ = yym2305 + if false { + } else if z.HasExtensions() && z.EncExt(yy2304) { + } else { + z.EncFallback(yy2304) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2296[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy2306 := &x.ListMeta + yym2307 := z.EncBinary() + _ = yym2307 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy2306) { } else { - z.EncFallback(yy6) + z.EncFallback(yy2306) } } } - if yyr2 || yy2arr2 { + if yyr2296 || yy2arr2296 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2309 := z.EncBinary() + _ = yym2309 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) @@ -30338,65 +30388,15 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2310 := z.EncBinary() + _ = yym2310 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr2296 || yy2arr2296 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30409,25 +30409,25 @@ func (x *ReplicationControllerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2311 := z.DecBinary() + _ = yym2311 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2312 := r.ContainerType() + if yyct2312 == codecSelferValueTypeMap1234 { + yyl2312 := r.ReadMapStart() + if yyl2312 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2312, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2312 == codecSelferValueTypeArray1234 { + yyl2312 := r.ReadArrayStart() + if yyl2312 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2312, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30439,12 +30439,12 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2313Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2313Slc + var yyhl2313 bool = l >= 0 + for yyj2313 := 0; ; yyj2313++ { + if yyhl2313 { + if yyj2313 >= l { break } } else { @@ -30453,35 +30453,10 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2313Slc = r.DecodeBytes(yys2313Slc, true, true) + yys2313 := string(yys2313Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv6), d) - } - } + switch yys2313 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -30494,10 +30469,35 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2316 := &x.ListMeta + yym2317 := z.DecBinary() + _ = yym2317 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2316) { + } else { + z.DecFallback(yyv2316, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2318 := &x.Items + yym2319 := z.DecBinary() + _ = yym2319 + if false { + } else { + h.decSliceReplicationController((*[]ReplicationController)(yyv2318), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2313) + } // end switch yys2313 + } // end for yyj2313 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30505,61 +30505,16 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj2320 int + var yyb2320 bool + var yyhl2320 bool = l >= 0 + yyj2320++ + if yyhl2320 { + yyb2320 = yyj2320 > l } else { - yyb10 = r.CheckBreak() + yyb2320 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb2320 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30569,13 +30524,13 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2320++ + if yyhl2320 { + yyb2320 = yyj2320 > l } else { - yyb10 = r.CheckBreak() + yyb2320 = r.CheckBreak() } - if yyb10 { + if yyb2320 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30585,18 +30540,63 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2320++ + if yyhl2320 { + yyb2320 = yyj2320 > l + } else { + yyb2320 = r.CheckBreak() + } + if yyb2320 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2323 := &x.ListMeta + yym2324 := z.DecBinary() + _ = yym2324 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2323) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv2323, false) } - if yyb10 { + } + yyj2320++ + if yyhl2320 { + yyb2320 = yyj2320 > l + } else { + yyb2320 = r.CheckBreak() + } + if yyb2320 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2325 := &x.Items + yym2326 := z.DecBinary() + _ = yym2326 + if false { + } else { + h.decSliceReplicationController((*[]ReplicationController)(yyv2325), d) + } + } + for { + yyj2320++ + if yyhl2320 { + yyb2320 = yyj2320 > l + } else { + yyb2320 = r.CheckBreak() + } + if yyb2320 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj2320-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30605,8 +30605,8 @@ func (x ServiceAffinity) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym2327 := z.EncBinary() + _ = yym2327 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -30618,8 +30618,8 @@ func (x *ServiceAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2328 := z.DecBinary() + _ = yym2328 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -30631,8 +30631,8 @@ func (x ServiceType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym2329 := z.EncBinary() + _ = yym2329 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -30644,8 +30644,8 @@ func (x *ServiceType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2330 := z.DecBinary() + _ = yym2330 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -30660,48 +30660,48 @@ func (x *ServiceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2331 := z.EncBinary() + _ = yym2331 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep2332 := !z.EncBinary() + yy2arr2332 := z.EncBasicHandle().StructToArray + var yyq2332 [1]bool + _, _, _ = yysep2332, yyq2332, yy2arr2332 + const yyr2332 bool = false + yyq2332[0] = true + var yynn2332 int + if yyr2332 || yy2arr2332 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2332 = 0 + for _, b := range yyq2332 { if b { - yynn2++ + yynn2332++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2332) + yynn2332 = 0 } - if yyr2 || yy2arr2 { + if yyr2332 || yy2arr2332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.LoadBalancer - yy4.CodecEncodeSelf(e) + if yyq2332[0] { + yy2334 := &x.LoadBalancer + yy2334.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2332[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.LoadBalancer - yy6.CodecEncodeSelf(e) + yy2335 := &x.LoadBalancer + yy2335.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2332 || yy2arr2332 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30714,25 +30714,25 @@ func (x *ServiceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2336 := z.DecBinary() + _ = yym2336 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2337 := r.ContainerType() + if yyct2337 == codecSelferValueTypeMap1234 { + yyl2337 := r.ReadMapStart() + if yyl2337 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2337, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2337 == codecSelferValueTypeArray1234 { + yyl2337 := r.ReadArrayStart() + if yyl2337 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2337, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30744,12 +30744,12 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2338Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2338Slc + var yyhl2338 bool = l >= 0 + for yyj2338 := 0; ; yyj2338++ { + if yyhl2338 { + if yyj2338 >= l { break } } else { @@ -30758,21 +30758,21 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2338Slc = r.DecodeBytes(yys2338Slc, true, true) + yys2338 := string(yys2338Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2338 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv4 := &x.LoadBalancer - yyv4.CodecDecodeSelf(d) + yyv2339 := &x.LoadBalancer + yyv2339.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2338) + } // end switch yys2338 + } // end for yyj2338 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30780,16 +30780,16 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj2340 int + var yyb2340 bool + var yyhl2340 bool = l >= 0 + yyj2340++ + if yyhl2340 { + yyb2340 = yyj2340 > l } else { - yyb5 = r.CheckBreak() + yyb2340 = r.CheckBreak() } - if yyb5 { + if yyb2340 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30797,21 +30797,21 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv6 := &x.LoadBalancer - yyv6.CodecDecodeSelf(d) + yyv2341 := &x.LoadBalancer + yyv2341.CodecDecodeSelf(d) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj2340++ + if yyhl2340 { + yyb2340 = yyj2340 > l } else { - yyb5 = r.CheckBreak() + yyb2340 = r.CheckBreak() } - if yyb5 { + if yyb2340 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj2340-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30823,38 +30823,38 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2342 := z.EncBinary() + _ = yym2342 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Ingress) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2343 := !z.EncBinary() + yy2arr2343 := z.EncBasicHandle().StructToArray + var yyq2343 [1]bool + _, _, _ = yysep2343, yyq2343, yy2arr2343 + const yyr2343 bool = false + yyq2343[0] = len(x.Ingress) != 0 + var yynn2343 int + if yyr2343 || yy2arr2343 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2343 = 0 + for _, b := range yyq2343 { if b { - yynn2++ + yynn2343++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2343) + yynn2343 = 0 } - if yyr2 || yy2arr2 { + if yyr2343 || yy2arr2343 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq2343[0] { if x.Ingress == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym2345 := z.EncBinary() + _ = yym2345 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -30864,15 +30864,15 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2343[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym2346 := z.EncBinary() + _ = yym2346 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -30880,7 +30880,7 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2343 || yy2arr2343 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30893,25 +30893,25 @@ func (x *LoadBalancerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2347 := z.DecBinary() + _ = yym2347 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2348 := r.ContainerType() + if yyct2348 == codecSelferValueTypeMap1234 { + yyl2348 := r.ReadMapStart() + if yyl2348 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2348, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2348 == codecSelferValueTypeArray1234 { + yyl2348 := r.ReadArrayStart() + if yyl2348 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2348, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30923,12 +30923,12 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2349Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2349Slc + var yyhl2349 bool = l >= 0 + for yyj2349 := 0; ; yyj2349++ { + if yyhl2349 { + if yyj2349 >= l { break } } else { @@ -30937,26 +30937,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2349Slc = r.DecodeBytes(yys2349Slc, true, true) + yys2349 := string(yys2349Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2349 { case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv4 := &x.Ingress - yym5 := z.DecBinary() - _ = yym5 + yyv2350 := &x.Ingress + yym2351 := z.DecBinary() + _ = yym2351 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv4), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2350), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2349) + } // end switch yys2349 + } // end for yyj2349 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30964,16 +30964,16 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj2352 int + var yyb2352 bool + var yyhl2352 bool = l >= 0 + yyj2352++ + if yyhl2352 { + yyb2352 = yyj2352 > l } else { - yyb6 = r.CheckBreak() + yyb2352 = r.CheckBreak() } - if yyb6 { + if yyb2352 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30981,26 +30981,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv7 := &x.Ingress - yym8 := z.DecBinary() - _ = yym8 + yyv2353 := &x.Ingress + yym2354 := z.DecBinary() + _ = yym2354 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv7), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2353), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2352++ + if yyhl2352 { + yyb2352 = yyj2352 > l } else { - yyb6 = r.CheckBreak() + yyb2352 = r.CheckBreak() } - if yyb6 { + if yyb2352 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj2352-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31012,36 +31012,36 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2355 := z.EncBinary() + _ = yym2355 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.IP != "" - yyq2[1] = x.Hostname != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2356 := !z.EncBinary() + yy2arr2356 := z.EncBasicHandle().StructToArray + var yyq2356 [2]bool + _, _, _ = yysep2356, yyq2356, yy2arr2356 + const yyr2356 bool = false + yyq2356[0] = x.IP != "" + yyq2356[1] = x.Hostname != "" + var yynn2356 int + if yyr2356 || yy2arr2356 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2356 = 0 + for _, b := range yyq2356 { if b { - yynn2++ + yynn2356++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2356) + yynn2356 = 0 } - if yyr2 || yy2arr2 { + if yyr2356 || yy2arr2356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq2356[0] { + yym2358 := z.EncBinary() + _ = yym2358 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -31050,23 +31050,23 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq2356[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2359 := z.EncBinary() + _ = yym2359 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } } - if yyr2 || yy2arr2 { + if yyr2356 || yy2arr2356 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq2356[1] { + yym2361 := z.EncBinary() + _ = yym2361 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -31075,19 +31075,19 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq2356[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2362 := z.EncBinary() + _ = yym2362 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2 || yy2arr2 { + if yyr2356 || yy2arr2356 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31100,25 +31100,25 @@ func (x *LoadBalancerIngress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2363 := z.DecBinary() + _ = yym2363 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2364 := r.ContainerType() + if yyct2364 == codecSelferValueTypeMap1234 { + yyl2364 := r.ReadMapStart() + if yyl2364 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2364, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2364 == codecSelferValueTypeArray1234 { + yyl2364 := r.ReadArrayStart() + if yyl2364 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2364, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31130,12 +31130,12 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -31144,10 +31144,10 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2365Slc = r.DecodeBytes(yys2365Slc, true, true) + yys2365 := string(yys2365Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2365 { case "ip": if r.TryDecodeAsNil() { x.IP = "" @@ -31161,9 +31161,9 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Hostname = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2365) + } // end switch yys2365 + } // end for yyj2365 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31171,16 +31171,16 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj2368 int + var yyb2368 bool + var yyhl2368 bool = l >= 0 + yyj2368++ + if yyhl2368 { + yyb2368 = yyj2368 > l } else { - yyb6 = r.CheckBreak() + yyb2368 = r.CheckBreak() } - if yyb6 { + if yyb2368 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31190,13 +31190,13 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.IP = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2368++ + if yyhl2368 { + yyb2368 = yyj2368 > l } else { - yyb6 = r.CheckBreak() + yyb2368 = r.CheckBreak() } - if yyb6 { + if yyb2368 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31207,17 +31207,17 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Hostname = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2368++ + if yyhl2368 { + yyb2368 = yyj2368 > l } else { - yyb6 = r.CheckBreak() + yyb2368 = r.CheckBreak() } - if yyb6 { + if yyb2368 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj2368-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31229,44 +31229,44 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2371 := z.EncBinary() + _ = yym2371 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [9]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = len(x.Selector) != 0 - yyq2[2] = x.ClusterIP != "" - yyq2[3] = x.Type != "" - yyq2[4] = len(x.ExternalIPs) != 0 - yyq2[5] = len(x.DeprecatedPublicIPs) != 0 - yyq2[6] = x.SessionAffinity != "" - yyq2[7] = x.LoadBalancerIP != "" - yyq2[8] = len(x.LoadBalancerSourceRanges) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2372 := !z.EncBinary() + yy2arr2372 := z.EncBasicHandle().StructToArray + var yyq2372 [9]bool + _, _, _ = yysep2372, yyq2372, yy2arr2372 + const yyr2372 bool = false + yyq2372[1] = len(x.Selector) != 0 + yyq2372[2] = x.ClusterIP != "" + yyq2372[3] = x.Type != "" + yyq2372[4] = len(x.ExternalIPs) != 0 + yyq2372[5] = len(x.DeprecatedPublicIPs) != 0 + yyq2372[6] = x.SessionAffinity != "" + yyq2372[7] = x.LoadBalancerIP != "" + yyq2372[8] = len(x.LoadBalancerSourceRanges) != 0 + var yynn2372 int + if yyr2372 || yy2arr2372 { r.EncodeArrayStart(9) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2372 = 1 + for _, b := range yyq2372 { if b { - yynn2++ + yynn2372++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2372) + yynn2372 = 0 } - if yyr2 || yy2arr2 { + if yyr2372 || yy2arr2372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Ports == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym2374 := z.EncBinary() + _ = yym2374 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) @@ -31279,22 +31279,22 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Ports == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym2375 := z.EncBinary() + _ = yym2375 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) } } } - if yyr2 || yy2arr2 { + if yyr2372 || yy2arr2372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq2372[1] { if x.Selector == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym2377 := z.EncBinary() + _ = yym2377 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -31304,15 +31304,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq2372[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym2378 := z.EncBinary() + _ = yym2378 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -31320,11 +31320,11 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2372 || yy2arr2372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq2372[2] { + yym2380 := z.EncBinary() + _ = yym2380 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) @@ -31333,41 +31333,41 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq2372[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym2381 := z.EncBinary() + _ = yym2381 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) } } } - if yyr2 || yy2arr2 { + if yyr2372 || yy2arr2372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq2372[3] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2372[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2372 || yy2arr2372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq2372[4] { if x.ExternalIPs == nil { r.EncodeNil() } else { - yym16 := z.EncBinary() - _ = yym16 + yym2384 := z.EncBinary() + _ = yym2384 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -31377,15 +31377,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq2372[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ExternalIPs == nil { r.EncodeNil() } else { - yym17 := z.EncBinary() - _ = yym17 + yym2385 := z.EncBinary() + _ = yym2385 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -31393,14 +31393,14 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2372 || yy2arr2372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq2372[5] { if x.DeprecatedPublicIPs == nil { r.EncodeNil() } else { - yym19 := z.EncBinary() - _ = yym19 + yym2387 := z.EncBinary() + _ = yym2387 if false { } else { z.F.EncSliceStringV(x.DeprecatedPublicIPs, false, e) @@ -31410,15 +31410,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[5] { + if yyq2372[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deprecatedPublicIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DeprecatedPublicIPs == nil { r.EncodeNil() } else { - yym20 := z.EncBinary() - _ = yym20 + yym2388 := z.EncBinary() + _ = yym2388 if false { } else { z.F.EncSliceStringV(x.DeprecatedPublicIPs, false, e) @@ -31426,26 +31426,26 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2372 || yy2arr2372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq2372[6] { x.SessionAffinity.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[6] { + if yyq2372[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sessionAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.SessionAffinity.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2372 || yy2arr2372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym25 := z.EncBinary() - _ = yym25 + if yyq2372[7] { + yym2391 := z.EncBinary() + _ = yym2391 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) @@ -31454,26 +31454,26 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[7] { + if yyq2372[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym26 := z.EncBinary() - _ = yym26 + yym2392 := z.EncBinary() + _ = yym2392 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) } } } - if yyr2 || yy2arr2 { + if yyr2372 || yy2arr2372 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { + if yyq2372[8] { if x.LoadBalancerSourceRanges == nil { r.EncodeNil() } else { - yym28 := z.EncBinary() - _ = yym28 + yym2394 := z.EncBinary() + _ = yym2394 if false { } else { z.F.EncSliceStringV(x.LoadBalancerSourceRanges, false, e) @@ -31483,15 +31483,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[8] { + if yyq2372[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerSourceRanges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LoadBalancerSourceRanges == nil { r.EncodeNil() } else { - yym29 := z.EncBinary() - _ = yym29 + yym2395 := z.EncBinary() + _ = yym2395 if false { } else { z.F.EncSliceStringV(x.LoadBalancerSourceRanges, false, e) @@ -31499,7 +31499,7 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2372 || yy2arr2372 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31512,25 +31512,25 @@ func (x *ServiceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2396 := z.DecBinary() + _ = yym2396 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2397 := r.ContainerType() + if yyct2397 == codecSelferValueTypeMap1234 { + yyl2397 := r.ReadMapStart() + if yyl2397 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2397, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2397 == codecSelferValueTypeArray1234 { + yyl2397 := r.ReadArrayStart() + if yyl2397 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2397, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31542,12 +31542,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -31556,32 +31556,32 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2398Slc = r.DecodeBytes(yys2398Slc, true, true) + yys2398 := string(yys2398Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2398 { case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv4 := &x.Ports - yym5 := z.DecBinary() - _ = yym5 + yyv2399 := &x.Ports + yym2400 := z.DecBinary() + _ = yym2400 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv4), d) + h.decSliceServicePort((*[]ServicePort)(yyv2399), d) } } case "selector": if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv6 := &x.Selector - yym7 := z.DecBinary() - _ = yym7 + yyv2401 := &x.Selector + yym2402 := z.DecBinary() + _ = yym2402 if false { } else { - z.F.DecMapStringStringX(yyv6, false, d) + z.F.DecMapStringStringX(yyv2401, false, d) } } case "clusterIP": @@ -31600,24 +31600,24 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv10 := &x.ExternalIPs - yym11 := z.DecBinary() - _ = yym11 + yyv2405 := &x.ExternalIPs + yym2406 := z.DecBinary() + _ = yym2406 if false { } else { - z.F.DecSliceStringX(yyv10, false, d) + z.F.DecSliceStringX(yyv2405, false, d) } } case "deprecatedPublicIPs": if r.TryDecodeAsNil() { x.DeprecatedPublicIPs = nil } else { - yyv12 := &x.DeprecatedPublicIPs - yym13 := z.DecBinary() - _ = yym13 + yyv2407 := &x.DeprecatedPublicIPs + yym2408 := z.DecBinary() + _ = yym2408 if false { } else { - z.F.DecSliceStringX(yyv12, false, d) + z.F.DecSliceStringX(yyv2407, false, d) } } case "sessionAffinity": @@ -31636,18 +31636,18 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancerSourceRanges = nil } else { - yyv16 := &x.LoadBalancerSourceRanges - yym17 := z.DecBinary() - _ = yym17 + yyv2411 := &x.LoadBalancerSourceRanges + yym2412 := z.DecBinary() + _ = yym2412 if false { } else { - z.F.DecSliceStringX(yyv16, false, d) + z.F.DecSliceStringX(yyv2411, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2398) + } // end switch yys2398 + } // end for yyj2398 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31655,16 +31655,16 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj18 int - var yyb18 bool - var yyhl18 bool = l >= 0 - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + var yyj2413 int + var yyb2413 bool + var yyhl2413 bool = l >= 0 + yyj2413++ + if yyhl2413 { + yyb2413 = yyj2413 > l } else { - yyb18 = r.CheckBreak() + yyb2413 = r.CheckBreak() } - if yyb18 { + if yyb2413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31672,21 +31672,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv19 := &x.Ports - yym20 := z.DecBinary() - _ = yym20 + yyv2414 := &x.Ports + yym2415 := z.DecBinary() + _ = yym2415 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv19), d) + h.decSliceServicePort((*[]ServicePort)(yyv2414), d) } } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj2413++ + if yyhl2413 { + yyb2413 = yyj2413 > l } else { - yyb18 = r.CheckBreak() + yyb2413 = r.CheckBreak() } - if yyb18 { + if yyb2413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31694,21 +31694,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv21 := &x.Selector - yym22 := z.DecBinary() - _ = yym22 + yyv2416 := &x.Selector + yym2417 := z.DecBinary() + _ = yym2417 if false { } else { - z.F.DecMapStringStringX(yyv21, false, d) + z.F.DecMapStringStringX(yyv2416, false, d) } } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj2413++ + if yyhl2413 { + yyb2413 = yyj2413 > l } else { - yyb18 = r.CheckBreak() + yyb2413 = r.CheckBreak() } - if yyb18 { + if yyb2413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31718,13 +31718,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ClusterIP = string(r.DecodeString()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj2413++ + if yyhl2413 { + yyb2413 = yyj2413 > l } else { - yyb18 = r.CheckBreak() + yyb2413 = r.CheckBreak() } - if yyb18 { + if yyb2413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31734,13 +31734,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = ServiceType(r.DecodeString()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj2413++ + if yyhl2413 { + yyb2413 = yyj2413 > l } else { - yyb18 = r.CheckBreak() + yyb2413 = r.CheckBreak() } - if yyb18 { + if yyb2413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31748,21 +31748,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv25 := &x.ExternalIPs - yym26 := z.DecBinary() - _ = yym26 + yyv2420 := &x.ExternalIPs + yym2421 := z.DecBinary() + _ = yym2421 if false { } else { - z.F.DecSliceStringX(yyv25, false, d) + z.F.DecSliceStringX(yyv2420, false, d) } } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj2413++ + if yyhl2413 { + yyb2413 = yyj2413 > l } else { - yyb18 = r.CheckBreak() + yyb2413 = r.CheckBreak() } - if yyb18 { + if yyb2413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31770,21 +31770,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DeprecatedPublicIPs = nil } else { - yyv27 := &x.DeprecatedPublicIPs - yym28 := z.DecBinary() - _ = yym28 + yyv2422 := &x.DeprecatedPublicIPs + yym2423 := z.DecBinary() + _ = yym2423 if false { } else { - z.F.DecSliceStringX(yyv27, false, d) + z.F.DecSliceStringX(yyv2422, false, d) } } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj2413++ + if yyhl2413 { + yyb2413 = yyj2413 > l } else { - yyb18 = r.CheckBreak() + yyb2413 = r.CheckBreak() } - if yyb18 { + if yyb2413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31794,13 +31794,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SessionAffinity = ServiceAffinity(r.DecodeString()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj2413++ + if yyhl2413 { + yyb2413 = yyj2413 > l } else { - yyb18 = r.CheckBreak() + yyb2413 = r.CheckBreak() } - if yyb18 { + if yyb2413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31810,13 +31810,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LoadBalancerIP = string(r.DecodeString()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj2413++ + if yyhl2413 { + yyb2413 = yyj2413 > l } else { - yyb18 = r.CheckBreak() + yyb2413 = r.CheckBreak() } - if yyb18 { + if yyb2413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31824,26 +31824,26 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancerSourceRanges = nil } else { - yyv31 := &x.LoadBalancerSourceRanges - yym32 := z.DecBinary() - _ = yym32 + yyv2426 := &x.LoadBalancerSourceRanges + yym2427 := z.DecBinary() + _ = yym2427 if false { } else { - z.F.DecSliceStringX(yyv31, false, d) + z.F.DecSliceStringX(yyv2426, false, d) } } for { - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj2413++ + if yyhl2413 { + yyb2413 = yyj2413 > l } else { - yyb18 = r.CheckBreak() + yyb2413 = r.CheckBreak() } - if yyb18 { + if yyb2413 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj18-1, "") + z.DecStructFieldNotFound(yyj2413-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31855,38 +31855,38 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2428 := z.EncBinary() + _ = yym2428 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Name != "" - yyq2[1] = x.Protocol != "" - yyq2[3] = true - yyq2[4] = x.NodePort != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2429 := !z.EncBinary() + yy2arr2429 := z.EncBasicHandle().StructToArray + var yyq2429 [5]bool + _, _, _ = yysep2429, yyq2429, yy2arr2429 + const yyr2429 bool = false + yyq2429[0] = x.Name != "" + yyq2429[1] = x.Protocol != "" + yyq2429[3] = true + yyq2429[4] = x.NodePort != 0 + var yynn2429 int + if yyr2429 || yy2arr2429 { r.EncodeArrayStart(5) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2429 = 1 + for _, b := range yyq2429 { if b { - yynn2++ + yynn2429++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2429) + yynn2429 = 0 } - if yyr2 || yy2arr2 { + if yyr2429 || yy2arr2429 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq2429[0] { + yym2431 := z.EncBinary() + _ = yym2431 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -31895,37 +31895,37 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq2429[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2432 := z.EncBinary() + _ = yym2432 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2 || yy2arr2 { + if yyr2429 || yy2arr2429 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq2429[1] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq2429[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2429 || yy2arr2429 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym2435 := z.EncBinary() + _ = yym2435 if false { } else { r.EncodeInt(int64(x.Port)) @@ -31934,51 +31934,51 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym2436 := z.EncBinary() + _ = yym2436 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2 || yy2arr2 { + if yyr2429 || yy2arr2429 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yy13 := &x.TargetPort - yym14 := z.EncBinary() - _ = yym14 + if yyq2429[3] { + yy2438 := &x.TargetPort + yym2439 := z.EncBinary() + _ = yym2439 if false { - } else if z.HasExtensions() && z.EncExt(yy13) { - } else if !yym14 && z.IsJSONHandle() { - z.EncJSONMarshal(yy13) + } else if z.HasExtensions() && z.EncExt(yy2438) { + } else if !yym2439 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2438) } else { - z.EncFallback(yy13) + z.EncFallback(yy2438) } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq2429[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy15 := &x.TargetPort - yym16 := z.EncBinary() - _ = yym16 + yy2440 := &x.TargetPort + yym2441 := z.EncBinary() + _ = yym2441 if false { - } else if z.HasExtensions() && z.EncExt(yy15) { - } else if !yym16 && z.IsJSONHandle() { - z.EncJSONMarshal(yy15) + } else if z.HasExtensions() && z.EncExt(yy2440) { + } else if !yym2441 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2440) } else { - z.EncFallback(yy15) + z.EncFallback(yy2440) } } } - if yyr2 || yy2arr2 { + if yyr2429 || yy2arr2429 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym18 := z.EncBinary() - _ = yym18 + if yyq2429[4] { + yym2443 := z.EncBinary() + _ = yym2443 if false { } else { r.EncodeInt(int64(x.NodePort)) @@ -31987,19 +31987,19 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[4] { + if yyq2429[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym19 := z.EncBinary() - _ = yym19 + yym2444 := z.EncBinary() + _ = yym2444 if false { } else { r.EncodeInt(int64(x.NodePort)) } } } - if yyr2 || yy2arr2 { + if yyr2429 || yy2arr2429 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32012,25 +32012,25 @@ func (x *ServicePort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2445 := z.DecBinary() + _ = yym2445 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2446 := r.ContainerType() + if yyct2446 == codecSelferValueTypeMap1234 { + yyl2446 := r.ReadMapStart() + if yyl2446 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2446, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2446 == codecSelferValueTypeArray1234 { + yyl2446 := r.ReadArrayStart() + if yyl2446 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2446, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32042,12 +32042,12 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2447Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2447Slc + var yyhl2447 bool = l >= 0 + for yyj2447 := 0; ; yyj2447++ { + if yyhl2447 { + if yyj2447 >= l { break } } else { @@ -32056,10 +32056,10 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2447Slc = r.DecodeBytes(yys2447Slc, true, true) + yys2447 := string(yys2447Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2447 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -32082,15 +32082,15 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetPort = pkg4_intstr.IntOrString{} } else { - yyv7 := &x.TargetPort - yym8 := z.DecBinary() - _ = yym8 + yyv2451 := &x.TargetPort + yym2452 := z.DecBinary() + _ = yym2452 if false { - } else if z.HasExtensions() && z.DecExt(yyv7) { - } else if !yym8 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv7) + } else if z.HasExtensions() && z.DecExt(yyv2451) { + } else if !yym2452 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2451) } else { - z.DecFallback(yyv7, false) + z.DecFallback(yyv2451, false) } } case "nodePort": @@ -32100,9 +32100,9 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.NodePort = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2447) + } // end switch yys2447 + } // end for yyj2447 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32110,16 +32110,16 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj2454 int + var yyb2454 bool + var yyhl2454 bool = l >= 0 + yyj2454++ + if yyhl2454 { + yyb2454 = yyj2454 > l } else { - yyb10 = r.CheckBreak() + yyb2454 = r.CheckBreak() } - if yyb10 { + if yyb2454 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32129,13 +32129,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2454++ + if yyhl2454 { + yyb2454 = yyj2454 > l } else { - yyb10 = r.CheckBreak() + yyb2454 = r.CheckBreak() } - if yyb10 { + if yyb2454 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32145,13 +32145,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Protocol = Protocol(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2454++ + if yyhl2454 { + yyb2454 = yyj2454 > l } else { - yyb10 = r.CheckBreak() + yyb2454 = r.CheckBreak() } - if yyb10 { + if yyb2454 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32161,13 +32161,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Port = int32(r.DecodeInt(32)) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2454++ + if yyhl2454 { + yyb2454 = yyj2454 > l } else { - yyb10 = r.CheckBreak() + yyb2454 = r.CheckBreak() } - if yyb10 { + if yyb2454 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32175,24 +32175,24 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetPort = pkg4_intstr.IntOrString{} } else { - yyv14 := &x.TargetPort - yym15 := z.DecBinary() - _ = yym15 + yyv2458 := &x.TargetPort + yym2459 := z.DecBinary() + _ = yym2459 if false { - } else if z.HasExtensions() && z.DecExt(yyv14) { - } else if !yym15 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv14) + } else if z.HasExtensions() && z.DecExt(yyv2458) { + } else if !yym2459 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2458) } else { - z.DecFallback(yyv14, false) + z.DecFallback(yyv2458, false) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2454++ + if yyhl2454 { + yyb2454 = yyj2454 > l } else { - yyb10 = r.CheckBreak() + yyb2454 = r.CheckBreak() } - if yyb10 { + if yyb2454 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32203,17 +32203,17 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.NodePort = int32(r.DecodeInt(32)) } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2454++ + if yyhl2454 { + yyb2454 = yyj2454 > l } else { - yyb10 = r.CheckBreak() + yyb2454 = r.CheckBreak() } - if yyb10 { + if yyb2454 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj2454-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32225,90 +32225,39 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2461 := z.EncBinary() + _ = yym2461 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2462 := !z.EncBinary() + yy2arr2462 := z.EncBasicHandle().StructToArray + var yyq2462 [5]bool + _, _, _ = yysep2462, yyq2462, yy2arr2462 + const yyr2462 bool = false + yyq2462[0] = x.Kind != "" + yyq2462[1] = x.APIVersion != "" + yyq2462[2] = true + yyq2462[3] = true + yyq2462[4] = true + var yynn2462 int + if yyr2462 || yy2arr2462 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2462 = 0 + for _, b := range yyq2462 { if b { - yynn2++ + yynn2462++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2462) + yynn2462 = 0 } - if yyr2 || yy2arr2 { + if yyr2462 || yy2arr2462 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq2462[0] { + yym2464 := z.EncBinary() + _ = yym2464 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -32317,23 +32266,23 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2462[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym2465 := z.EncBinary() + _ = yym2465 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr2462 || yy2arr2462 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq2462[1] { + yym2467 := z.EncBinary() + _ = yym2467 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -32342,19 +32291,70 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq2462[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym2468 := z.EncBinary() + _ = yym2468 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr2462 || yy2arr2462 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2462[2] { + yy2470 := &x.ObjectMeta + yy2470.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2462[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2471 := &x.ObjectMeta + yy2471.CodecEncodeSelf(e) + } + } + if yyr2462 || yy2arr2462 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2462[3] { + yy2473 := &x.Spec + yy2473.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2462[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2474 := &x.Spec + yy2474.CodecEncodeSelf(e) + } + } + if yyr2462 || yy2arr2462 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2462[4] { + yy2476 := &x.Status + yy2476.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2462[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2477 := &x.Status + yy2477.CodecEncodeSelf(e) + } + } + if yyr2462 || yy2arr2462 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32367,25 +32367,25 @@ func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2478 := z.DecBinary() + _ = yym2478 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2479 := r.ContainerType() + if yyct2479 == codecSelferValueTypeMap1234 { + yyl2479 := r.ReadMapStart() + if yyl2479 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2479, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2479 == codecSelferValueTypeArray1234 { + yyl2479 := r.ReadArrayStart() + if yyl2479 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2479, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32397,12 +32397,12 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2480Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2480Slc + var yyhl2480 bool = l >= 0 + for yyj2480 := 0; ; yyj2480++ { + if yyhl2480 { + if yyj2480 >= l { break } } else { @@ -32411,31 +32411,10 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2480Slc = r.DecodeBytes(yys2480Slc, true, true) + yys2480 := string(yys2480Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ServiceSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ServiceStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys2480 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -32448,10 +32427,31 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2483 := &x.ObjectMeta + yyv2483.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ServiceSpec{} + } else { + yyv2484 := &x.Spec + yyv2484.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ServiceStatus{} + } else { + yyv2485 := &x.Status + yyv2485.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2480) + } // end switch yys2480 + } // end for yyj2480 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32459,67 +32459,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj2486 int + var yyb2486 bool + var yyhl2486 bool = l >= 0 + yyj2486++ + if yyhl2486 { + yyb2486 = yyj2486 > l } else { - yyb9 = r.CheckBreak() + yyb2486 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ServiceSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ServiceStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb2486 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32529,13 +32478,13 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2486++ + if yyhl2486 { + yyb2486 = yyj2486 > l } else { - yyb9 = r.CheckBreak() + yyb2486 = r.CheckBreak() } - if yyb9 { + if yyb2486 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32545,18 +32494,69 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj2486++ + if yyhl2486 { + yyb2486 = yyj2486 > l + } else { + yyb2486 = r.CheckBreak() + } + if yyb2486 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2489 := &x.ObjectMeta + yyv2489.CodecDecodeSelf(d) + } + yyj2486++ + if yyhl2486 { + yyb2486 = yyj2486 > l + } else { + yyb2486 = r.CheckBreak() + } + if yyb2486 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ServiceSpec{} + } else { + yyv2490 := &x.Spec + yyv2490.CodecDecodeSelf(d) + } + yyj2486++ + if yyhl2486 { + yyb2486 = yyj2486 > l + } else { + yyb2486 = r.CheckBreak() + } + if yyb2486 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ServiceStatus{} + } else { + yyv2491 := &x.Status + yyv2491.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2486++ + if yyhl2486 { + yyb2486 = yyj2486 > l } else { - yyb9 = r.CheckBreak() + yyb2486 = r.CheckBreak() } - if yyb9 { + if yyb2486 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj2486-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32568,68 +32568,118 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2492 := z.EncBinary() + _ = yym2492 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2493 := !z.EncBinary() + yy2arr2493 := z.EncBasicHandle().StructToArray + var yyq2493 [4]bool + _, _, _ = yysep2493, yyq2493, yy2arr2493 + const yyr2493 bool = false + yyq2493[0] = x.Kind != "" + yyq2493[1] = x.APIVersion != "" + yyq2493[2] = true + var yynn2493 int + if yyr2493 || yy2arr2493 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2493 = 1 + for _, b := range yyq2493 { if b { - yynn2++ + yynn2493++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2493) + yynn2493 = 0 } - if yyr2 || yy2arr2 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq2493[0] { + yym2495 := z.EncBinary() + _ = yym2495 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2493[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2496 := z.EncBinary() + _ = yym2496 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2493 || yy2arr2493 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2493[1] { + yym2498 := z.EncBinary() + _ = yym2498 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2493[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2499 := z.EncBinary() + _ = yym2499 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2493 || yy2arr2493 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2493[2] { + yy2501 := &x.ListMeta + yym2502 := z.EncBinary() + _ = yym2502 + if false { + } else if z.HasExtensions() && z.EncExt(yy2501) { + } else { + z.EncFallback(yy2501) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2493[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy2503 := &x.ListMeta + yym2504 := z.EncBinary() + _ = yym2504 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy2503) { } else { - z.EncFallback(yy6) + z.EncFallback(yy2503) } } } - if yyr2 || yy2arr2 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2506 := z.EncBinary() + _ = yym2506 if false { } else { h.encSliceService(([]Service)(x.Items), e) @@ -32642,65 +32692,15 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2507 := z.EncBinary() + _ = yym2507 if false { } else { h.encSliceService(([]Service)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32713,25 +32713,25 @@ func (x *ServiceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2508 := z.DecBinary() + _ = yym2508 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2509 := r.ContainerType() + if yyct2509 == codecSelferValueTypeMap1234 { + yyl2509 := r.ReadMapStart() + if yyl2509 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2509, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2509 == codecSelferValueTypeArray1234 { + yyl2509 := r.ReadArrayStart() + if yyl2509 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2509, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32743,12 +32743,12 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2510Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2510Slc + var yyhl2510 bool = l >= 0 + for yyj2510 := 0; ; yyj2510++ { + if yyhl2510 { + if yyj2510 >= l { break } } else { @@ -32757,35 +32757,10 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2510Slc = r.DecodeBytes(yys2510Slc, true, true) + yys2510 := string(yys2510Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceService((*[]Service)(yyv6), d) - } - } + switch yys2510 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -32798,10 +32773,35 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2513 := &x.ListMeta + yym2514 := z.DecBinary() + _ = yym2514 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2513) { + } else { + z.DecFallback(yyv2513, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2515 := &x.Items + yym2516 := z.DecBinary() + _ = yym2516 + if false { + } else { + h.decSliceService((*[]Service)(yyv2515), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2510) + } // end switch yys2510 + } // end for yyj2510 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32809,61 +32809,16 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj2517 int + var yyb2517 bool + var yyhl2517 bool = l >= 0 + yyj2517++ + if yyhl2517 { + yyb2517 = yyj2517 > l } else { - yyb10 = r.CheckBreak() + yyb2517 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceService((*[]Service)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb2517 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32873,13 +32828,13 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2517++ + if yyhl2517 { + yyb2517 = yyj2517 > l } else { - yyb10 = r.CheckBreak() + yyb2517 = r.CheckBreak() } - if yyb10 { + if yyb2517 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32889,18 +32844,63 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2517++ + if yyhl2517 { + yyb2517 = yyj2517 > l + } else { + yyb2517 = r.CheckBreak() + } + if yyb2517 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2520 := &x.ListMeta + yym2521 := z.DecBinary() + _ = yym2521 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2520) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv2520, false) } - if yyb10 { + } + yyj2517++ + if yyhl2517 { + yyb2517 = yyj2517 > l + } else { + yyb2517 = r.CheckBreak() + } + if yyb2517 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2522 := &x.Items + yym2523 := z.DecBinary() + _ = yym2523 + if false { + } else { + h.decSliceService((*[]Service)(yyv2522), d) + } + } + for { + yyj2517++ + if yyhl2517 { + yyb2517 = yyj2517 > l + } else { + yyb2517 = r.CheckBreak() + } + if yyb2517 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj2517-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32912,59 +32912,109 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2524 := z.EncBinary() + _ = yym2524 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = len(x.Secrets) != 0 - yyq2[2] = len(x.ImagePullSecrets) != 0 - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2525 := !z.EncBinary() + yy2arr2525 := z.EncBasicHandle().StructToArray + var yyq2525 [5]bool + _, _, _ = yysep2525, yyq2525, yy2arr2525 + const yyr2525 bool = false + yyq2525[0] = x.Kind != "" + yyq2525[1] = x.APIVersion != "" + yyq2525[2] = true + yyq2525[3] = len(x.Secrets) != 0 + yyq2525[4] = len(x.ImagePullSecrets) != 0 + var yynn2525 int + if yyr2525 || yy2arr2525 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2525 = 0 + for _, b := range yyq2525 { if b { - yynn2++ + yynn2525++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2525) + yynn2525 = 0 } - if yyr2 || yy2arr2 { + if yyr2525 || yy2arr2525 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq2525[0] { + yym2527 := z.EncBinary() + _ = yym2527 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2525[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2528 := z.EncBinary() + _ = yym2528 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2525 || yy2arr2525 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2525[1] { + yym2530 := z.EncBinary() + _ = yym2530 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2525[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2531 := z.EncBinary() + _ = yym2531 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2525 || yy2arr2525 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2525[2] { + yy2533 := &x.ObjectMeta + yy2533.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2525[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy2534 := &x.ObjectMeta + yy2534.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2525 || yy2arr2525 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq2525[3] { if x.Secrets == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2536 := z.EncBinary() + _ = yym2536 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) @@ -32974,15 +33024,15 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq2525[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Secrets == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2537 := z.EncBinary() + _ = yym2537 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) @@ -32990,14 +33040,14 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2525 || yy2arr2525 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq2525[4] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym12 := z.EncBinary() - _ = yym12 + yym2539 := z.EncBinary() + _ = yym2539 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -33007,15 +33057,15 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq2525[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym2540 := z.EncBinary() + _ = yym2540 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -33023,57 +33073,7 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr2525 || yy2arr2525 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33086,25 +33086,25 @@ func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2541 := z.DecBinary() + _ = yym2541 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2542 := r.ContainerType() + if yyct2542 == codecSelferValueTypeMap1234 { + yyl2542 := r.ReadMapStart() + if yyl2542 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2542, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2542 == codecSelferValueTypeArray1234 { + yyl2542 := r.ReadArrayStart() + if yyl2542 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2542, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33116,12 +33116,12 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2543Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2543Slc + var yyhl2543 bool = l >= 0 + for yyj2543 := 0; ; yyj2543++ { + if yyhl2543 { + if yyj2543 >= l { break } } else { @@ -33130,41 +33130,10 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2543Slc = r.DecodeBytes(yys2543Slc, true, true) + yys2543 := string(yys2543Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "secrets": - if r.TryDecodeAsNil() { - x.Secrets = nil - } else { - yyv5 := &x.Secrets - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv5), d) - } - } - case "imagePullSecrets": - if r.TryDecodeAsNil() { - x.ImagePullSecrets = nil - } else { - yyv7 := &x.ImagePullSecrets - yym8 := z.DecBinary() - _ = yym8 - if false { - } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv7), d) - } - } + switch yys2543 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33177,10 +33146,41 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2546 := &x.ObjectMeta + yyv2546.CodecDecodeSelf(d) + } + case "secrets": + if r.TryDecodeAsNil() { + x.Secrets = nil + } else { + yyv2547 := &x.Secrets + yym2548 := z.DecBinary() + _ = yym2548 + if false { + } else { + h.decSliceObjectReference((*[]ObjectReference)(yyv2547), d) + } + } + case "imagePullSecrets": + if r.TryDecodeAsNil() { + x.ImagePullSecrets = nil + } else { + yyv2549 := &x.ImagePullSecrets + yym2550 := z.DecBinary() + _ = yym2550 + if false { + } else { + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2549), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2543) + } // end switch yys2543 + } // end for yyj2543 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33188,77 +33188,16 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj2551 int + var yyb2551 bool + var yyhl2551 bool = l >= 0 + yyj2551++ + if yyhl2551 { + yyb2551 = yyj2551 > l } else { - yyb11 = r.CheckBreak() + yyb2551 = r.CheckBreak() } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv12 := &x.ObjectMeta - yyv12.CodecDecodeSelf(d) - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Secrets = nil - } else { - yyv13 := &x.Secrets - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv13), d) - } - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ImagePullSecrets = nil - } else { - yyv15 := &x.ImagePullSecrets - yym16 := z.DecBinary() - _ = yym16 - if false { - } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv15), d) - } - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { + if yyb2551 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33268,13 +33207,13 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj2551++ + if yyhl2551 { + yyb2551 = yyj2551 > l } else { - yyb11 = r.CheckBreak() + yyb2551 = r.CheckBreak() } - if yyb11 { + if yyb2551 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33284,18 +33223,79 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj2551++ + if yyhl2551 { + yyb2551 = yyj2551 > l + } else { + yyb2551 = r.CheckBreak() + } + if yyb2551 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2554 := &x.ObjectMeta + yyv2554.CodecDecodeSelf(d) + } + yyj2551++ + if yyhl2551 { + yyb2551 = yyj2551 > l + } else { + yyb2551 = r.CheckBreak() + } + if yyb2551 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Secrets = nil + } else { + yyv2555 := &x.Secrets + yym2556 := z.DecBinary() + _ = yym2556 + if false { } else { - yyb11 = r.CheckBreak() + h.decSliceObjectReference((*[]ObjectReference)(yyv2555), d) } - if yyb11 { + } + yyj2551++ + if yyhl2551 { + yyb2551 = yyj2551 > l + } else { + yyb2551 = r.CheckBreak() + } + if yyb2551 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ImagePullSecrets = nil + } else { + yyv2557 := &x.ImagePullSecrets + yym2558 := z.DecBinary() + _ = yym2558 + if false { + } else { + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2557), d) + } + } + for { + yyj2551++ + if yyhl2551 { + yyb2551 = yyj2551 > l + } else { + yyb2551 = r.CheckBreak() + } + if yyb2551 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj2551-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33307,68 +33307,118 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2559 := z.EncBinary() + _ = yym2559 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2560 := !z.EncBinary() + yy2arr2560 := z.EncBasicHandle().StructToArray + var yyq2560 [4]bool + _, _, _ = yysep2560, yyq2560, yy2arr2560 + const yyr2560 bool = false + yyq2560[0] = x.Kind != "" + yyq2560[1] = x.APIVersion != "" + yyq2560[2] = true + var yynn2560 int + if yyr2560 || yy2arr2560 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2560 = 1 + for _, b := range yyq2560 { if b { - yynn2++ + yynn2560++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2560) + yynn2560 = 0 } - if yyr2 || yy2arr2 { + if yyr2560 || yy2arr2560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq2560[0] { + yym2562 := z.EncBinary() + _ = yym2562 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2560[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2563 := z.EncBinary() + _ = yym2563 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2560 || yy2arr2560 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2560[1] { + yym2565 := z.EncBinary() + _ = yym2565 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2560[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2566 := z.EncBinary() + _ = yym2566 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2560 || yy2arr2560 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2560[2] { + yy2568 := &x.ListMeta + yym2569 := z.EncBinary() + _ = yym2569 + if false { + } else if z.HasExtensions() && z.EncExt(yy2568) { + } else { + z.EncFallback(yy2568) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2560[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy2570 := &x.ListMeta + yym2571 := z.EncBinary() + _ = yym2571 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy2570) { } else { - z.EncFallback(yy6) + z.EncFallback(yy2570) } } } - if yyr2 || yy2arr2 { + if yyr2560 || yy2arr2560 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2573 := z.EncBinary() + _ = yym2573 if false { } else { h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) @@ -33381,65 +33431,15 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2574 := z.EncBinary() + _ = yym2574 if false { } else { h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr2560 || yy2arr2560 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33452,25 +33452,25 @@ func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2575 := z.DecBinary() + _ = yym2575 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2576 := r.ContainerType() + if yyct2576 == codecSelferValueTypeMap1234 { + yyl2576 := r.ReadMapStart() + if yyl2576 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2576, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2576 == codecSelferValueTypeArray1234 { + yyl2576 := r.ReadArrayStart() + if yyl2576 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2576, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33482,12 +33482,12 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2577Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2577Slc + var yyhl2577 bool = l >= 0 + for yyj2577 := 0; ; yyj2577++ { + if yyhl2577 { + if yyj2577 >= l { break } } else { @@ -33496,35 +33496,10 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2577Slc = r.DecodeBytes(yys2577Slc, true, true) + yys2577 := string(yys2577Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv6), d) - } - } + switch yys2577 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33537,10 +33512,35 @@ func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2580 := &x.ListMeta + yym2581 := z.DecBinary() + _ = yym2581 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2580) { + } else { + z.DecFallback(yyv2580, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2582 := &x.Items + yym2583 := z.DecBinary() + _ = yym2583 + if false { + } else { + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2582), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2577) + } // end switch yys2577 + } // end for yyj2577 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33548,61 +33548,16 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj2584 int + var yyb2584 bool + var yyhl2584 bool = l >= 0 + yyj2584++ + if yyhl2584 { + yyb2584 = yyj2584 > l } else { - yyb10 = r.CheckBreak() + yyb2584 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb2584 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33612,13 +33567,13 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2584++ + if yyhl2584 { + yyb2584 = yyj2584 > l } else { - yyb10 = r.CheckBreak() + yyb2584 = r.CheckBreak() } - if yyb10 { + if yyb2584 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33628,18 +33583,63 @@ func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2584++ + if yyhl2584 { + yyb2584 = yyj2584 > l + } else { + yyb2584 = r.CheckBreak() + } + if yyb2584 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2587 := &x.ListMeta + yym2588 := z.DecBinary() + _ = yym2588 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2587) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv2587, false) } - if yyb10 { + } + yyj2584++ + if yyhl2584 { + yyb2584 = yyj2584 > l + } else { + yyb2584 = r.CheckBreak() + } + if yyb2584 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2589 := &x.Items + yym2590 := z.DecBinary() + _ = yym2590 + if false { + } else { + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2589), d) + } + } + for { + yyj2584++ + if yyhl2584 { + yyb2584 = yyj2584 > l + } else { + yyb2584 = r.CheckBreak() + } + if yyb2584 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj2584-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33651,56 +33651,106 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2591 := z.EncBinary() + _ = yym2591 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2592 := !z.EncBinary() + yy2arr2592 := z.EncBasicHandle().StructToArray + var yyq2592 [4]bool + _, _, _ = yysep2592, yyq2592, yy2arr2592 + const yyr2592 bool = false + yyq2592[0] = x.Kind != "" + yyq2592[1] = x.APIVersion != "" + yyq2592[2] = true + var yynn2592 int + if yyr2592 || yy2arr2592 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2592 = 1 + for _, b := range yyq2592 { if b { - yynn2++ + yynn2592++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2592) + yynn2592 = 0 } - if yyr2 || yy2arr2 { + if yyr2592 || yy2arr2592 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq2592[0] { + yym2594 := z.EncBinary() + _ = yym2594 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2592[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2595 := z.EncBinary() + _ = yym2595 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2592 || yy2arr2592 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2592[1] { + yym2597 := z.EncBinary() + _ = yym2597 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2592[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2598 := z.EncBinary() + _ = yym2598 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2592 || yy2arr2592 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2592[2] { + yy2600 := &x.ObjectMeta + yy2600.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2592[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy2601 := &x.ObjectMeta + yy2601.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2592 || yy2arr2592 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Subsets == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2603 := z.EncBinary() + _ = yym2603 if false { } else { h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) @@ -33713,65 +33763,15 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x.Subsets == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2604 := z.EncBinary() + _ = yym2604 if false { } else { h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr2592 || yy2arr2592 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33784,25 +33784,25 @@ func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2605 := z.DecBinary() + _ = yym2605 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2606 := r.ContainerType() + if yyct2606 == codecSelferValueTypeMap1234 { + yyl2606 := r.ReadMapStart() + if yyl2606 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2606, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2606 == codecSelferValueTypeArray1234 { + yyl2606 := r.ReadArrayStart() + if yyl2606 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2606, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33814,12 +33814,12 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2607Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2607Slc + var yyhl2607 bool = l >= 0 + for yyj2607 := 0; ; yyj2607++ { + if yyhl2607 { + if yyj2607 >= l { break } } else { @@ -33828,29 +33828,10 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2607Slc = r.DecodeBytes(yys2607Slc, true, true) + yys2607 := string(yys2607Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "subsets": - if r.TryDecodeAsNil() { - x.Subsets = nil - } else { - yyv5 := &x.Subsets - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv5), d) - } - } + switch yys2607 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -33863,10 +33844,29 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2610 := &x.ObjectMeta + yyv2610.CodecDecodeSelf(d) + } + case "subsets": + if r.TryDecodeAsNil() { + x.Subsets = nil + } else { + yyv2611 := &x.Subsets + yym2612 := z.DecBinary() + _ = yym2612 + if false { + } else { + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2611), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2607) + } // end switch yys2607 + } // end for yyj2607 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33874,55 +33874,16 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj2613 int + var yyb2613 bool + var yyhl2613 bool = l >= 0 + yyj2613++ + if yyhl2613 { + yyb2613 = yyj2613 > l } else { - yyb9 = r.CheckBreak() + yyb2613 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Subsets = nil - } else { - yyv11 := &x.Subsets - yym12 := z.DecBinary() - _ = yym12 - if false { - } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv11), d) - } - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb2613 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33932,13 +33893,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2613++ + if yyhl2613 { + yyb2613 = yyj2613 > l } else { - yyb9 = r.CheckBreak() + yyb2613 = r.CheckBreak() } - if yyb9 { + if yyb2613 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33948,18 +33909,57 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2613++ + if yyhl2613 { + yyb2613 = yyj2613 > l + } else { + yyb2613 = r.CheckBreak() + } + if yyb2613 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2616 := &x.ObjectMeta + yyv2616.CodecDecodeSelf(d) + } + yyj2613++ + if yyhl2613 { + yyb2613 = yyj2613 > l + } else { + yyb2613 = r.CheckBreak() + } + if yyb2613 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Subsets = nil + } else { + yyv2617 := &x.Subsets + yym2618 := z.DecBinary() + _ = yym2618 + if false { } else { - yyb9 = r.CheckBreak() + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2617), d) } - if yyb9 { + } + for { + yyj2613++ + if yyhl2613 { + yyb2613 = yyj2613 > l + } else { + yyb2613 = r.CheckBreak() + } + if yyb2613 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj2613-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33971,40 +33971,40 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2619 := z.EncBinary() + _ = yym2619 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Addresses) != 0 - yyq2[1] = len(x.NotReadyAddresses) != 0 - yyq2[2] = len(x.Ports) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2620 := !z.EncBinary() + yy2arr2620 := z.EncBasicHandle().StructToArray + var yyq2620 [3]bool + _, _, _ = yysep2620, yyq2620, yy2arr2620 + const yyr2620 bool = false + yyq2620[0] = len(x.Addresses) != 0 + yyq2620[1] = len(x.NotReadyAddresses) != 0 + yyq2620[2] = len(x.Ports) != 0 + var yynn2620 int + if yyr2620 || yy2arr2620 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2620 = 0 + for _, b := range yyq2620 { if b { - yynn2++ + yynn2620++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2620) + yynn2620 = 0 } - if yyr2 || yy2arr2 { + if yyr2620 || yy2arr2620 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq2620[0] { if x.Addresses == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym2622 := z.EncBinary() + _ = yym2622 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -34014,15 +34014,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2620[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym2623 := z.EncBinary() + _ = yym2623 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -34030,14 +34030,14 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2620 || yy2arr2620 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq2620[1] { if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym2625 := z.EncBinary() + _ = yym2625 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -34047,15 +34047,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq2620[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("notReadyAddresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym2626 := z.EncBinary() + _ = yym2626 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -34063,14 +34063,14 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2620 || yy2arr2620 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq2620[2] { if x.Ports == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2628 := z.EncBinary() + _ = yym2628 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -34080,15 +34080,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq2620[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym2629 := z.EncBinary() + _ = yym2629 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -34096,7 +34096,7 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2620 || yy2arr2620 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34109,25 +34109,25 @@ func (x *EndpointSubset) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2630 := z.DecBinary() + _ = yym2630 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2631 := r.ContainerType() + if yyct2631 == codecSelferValueTypeMap1234 { + yyl2631 := r.ReadMapStart() + if yyl2631 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2631, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2631 == codecSelferValueTypeArray1234 { + yyl2631 := r.ReadArrayStart() + if yyl2631 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2631, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34139,12 +34139,12 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2632Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2632Slc + var yyhl2632 bool = l >= 0 + for yyj2632 := 0; ; yyj2632++ { + if yyhl2632 { + if yyj2632 >= l { break } } else { @@ -34153,50 +34153,50 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2632Slc = r.DecodeBytes(yys2632Slc, true, true) + yys2632 := string(yys2632Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2632 { case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv4 := &x.Addresses - yym5 := z.DecBinary() - _ = yym5 + yyv2633 := &x.Addresses + yym2634 := z.DecBinary() + _ = yym2634 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv4), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2633), d) } } case "notReadyAddresses": if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv6 := &x.NotReadyAddresses - yym7 := z.DecBinary() - _ = yym7 + yyv2635 := &x.NotReadyAddresses + yym2636 := z.DecBinary() + _ = yym2636 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv6), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2635), d) } } case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv8 := &x.Ports - yym9 := z.DecBinary() - _ = yym9 + yyv2637 := &x.Ports + yym2638 := z.DecBinary() + _ = yym2638 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv8), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2637), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2632) + } // end switch yys2632 + } // end for yyj2632 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34204,16 +34204,16 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj2639 int + var yyb2639 bool + var yyhl2639 bool = l >= 0 + yyj2639++ + if yyhl2639 { + yyb2639 = yyj2639 > l } else { - yyb10 = r.CheckBreak() + yyb2639 = r.CheckBreak() } - if yyb10 { + if yyb2639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34221,21 +34221,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv11 := &x.Addresses - yym12 := z.DecBinary() - _ = yym12 + yyv2640 := &x.Addresses + yym2641 := z.DecBinary() + _ = yym2641 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv11), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2640), d) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2639++ + if yyhl2639 { + yyb2639 = yyj2639 > l } else { - yyb10 = r.CheckBreak() + yyb2639 = r.CheckBreak() } - if yyb10 { + if yyb2639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34243,21 +34243,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv13 := &x.NotReadyAddresses - yym14 := z.DecBinary() - _ = yym14 + yyv2642 := &x.NotReadyAddresses + yym2643 := z.DecBinary() + _ = yym2643 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv13), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2642), d) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2639++ + if yyhl2639 { + yyb2639 = yyj2639 > l } else { - yyb10 = r.CheckBreak() + yyb2639 = r.CheckBreak() } - if yyb10 { + if yyb2639 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34265,26 +34265,26 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv15 := &x.Ports - yym16 := z.DecBinary() - _ = yym16 + yyv2644 := &x.Ports + yym2645 := z.DecBinary() + _ = yym2645 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv15), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2644), d) } } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2639++ + if yyhl2639 { + yyb2639 = yyj2639 > l } else { - yyb10 = r.CheckBreak() + yyb2639 = r.CheckBreak() } - if yyb10 { + if yyb2639 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj2639-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34296,35 +34296,35 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2646 := z.EncBinary() + _ = yym2646 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Hostname != "" - yyq2[2] = x.TargetRef != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep2647 := !z.EncBinary() + yy2arr2647 := z.EncBasicHandle().StructToArray + var yyq2647 [3]bool + _, _, _ = yysep2647, yyq2647, yy2arr2647 + const yyr2647 bool = false + yyq2647[1] = x.Hostname != "" + yyq2647[2] = x.TargetRef != nil + var yynn2647 int + if yyr2647 || yy2arr2647 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2647 = 1 + for _, b := range yyq2647 { if b { - yynn2++ + yynn2647++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2647) + yynn2647 = 0 } - if yyr2 || yy2arr2 { + if yyr2647 || yy2arr2647 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym2649 := z.EncBinary() + _ = yym2649 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -34333,18 +34333,18 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2650 := z.EncBinary() + _ = yym2650 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } - if yyr2 || yy2arr2 { + if yyr2647 || yy2arr2647 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq2647[1] { + yym2652 := z.EncBinary() + _ = yym2652 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -34353,21 +34353,21 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq2647[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2653 := z.EncBinary() + _ = yym2653 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2 || yy2arr2 { + if yyr2647 || yy2arr2647 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq2647[2] { if x.TargetRef == nil { r.EncodeNil() } else { @@ -34377,7 +34377,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq2647[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -34388,7 +34388,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2647 || yy2arr2647 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34401,25 +34401,25 @@ func (x *EndpointAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2655 := z.DecBinary() + _ = yym2655 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2656 := r.ContainerType() + if yyct2656 == codecSelferValueTypeMap1234 { + yyl2656 := r.ReadMapStart() + if yyl2656 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2656, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2656 == codecSelferValueTypeArray1234 { + yyl2656 := r.ReadArrayStart() + if yyl2656 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2656, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34431,12 +34431,12 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2657Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2657Slc + var yyhl2657 bool = l >= 0 + for yyj2657 := 0; ; yyj2657++ { + if yyhl2657 { + if yyj2657 >= l { break } } else { @@ -34445,10 +34445,10 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2657Slc = r.DecodeBytes(yys2657Slc, true, true) + yys2657 := string(yys2657Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2657 { case "ip": if r.TryDecodeAsNil() { x.IP = "" @@ -34473,9 +34473,9 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TargetRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2657) + } // end switch yys2657 + } // end for yyj2657 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34483,16 +34483,16 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj2661 int + var yyb2661 bool + var yyhl2661 bool = l >= 0 + yyj2661++ + if yyhl2661 { + yyb2661 = yyj2661 > l } else { - yyb7 = r.CheckBreak() + yyb2661 = r.CheckBreak() } - if yyb7 { + if yyb2661 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34502,13 +34502,13 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.IP = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2661++ + if yyhl2661 { + yyb2661 = yyj2661 > l } else { - yyb7 = r.CheckBreak() + yyb2661 = r.CheckBreak() } - if yyb7 { + if yyb2661 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34518,13 +34518,13 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Hostname = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2661++ + if yyhl2661 { + yyb2661 = yyj2661 > l } else { - yyb7 = r.CheckBreak() + yyb2661 = r.CheckBreak() } - if yyb7 { + if yyb2661 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34540,17 +34540,17 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.TargetRef.CodecDecodeSelf(d) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2661++ + if yyhl2661 { + yyb2661 = yyj2661 > l } else { - yyb7 = r.CheckBreak() + yyb2661 = r.CheckBreak() } - if yyb7 { + if yyb2661 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj2661-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34562,36 +34562,36 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2665 := z.EncBinary() + _ = yym2665 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Name != "" - yyq2[2] = x.Protocol != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2666 := !z.EncBinary() + yy2arr2666 := z.EncBasicHandle().StructToArray + var yyq2666 [3]bool + _, _, _ = yysep2666, yyq2666, yy2arr2666 + const yyr2666 bool = false + yyq2666[0] = x.Name != "" + yyq2666[2] = x.Protocol != "" + var yynn2666 int + if yyr2666 || yy2arr2666 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2666 = 1 + for _, b := range yyq2666 { if b { - yynn2++ + yynn2666++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2666) + yynn2666 = 0 } - if yyr2 || yy2arr2 { + if yyr2666 || yy2arr2666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq2666[0] { + yym2668 := z.EncBinary() + _ = yym2668 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -34600,22 +34600,22 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq2666[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2669 := z.EncBinary() + _ = yym2669 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2 || yy2arr2 { + if yyr2666 || yy2arr2666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym2671 := z.EncBinary() + _ = yym2671 if false { } else { r.EncodeInt(int64(x.Port)) @@ -34624,29 +34624,29 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2672 := z.EncBinary() + _ = yym2672 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2 || yy2arr2 { + if yyr2666 || yy2arr2666 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq2666[2] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq2666[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2666 || yy2arr2666 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34659,25 +34659,25 @@ func (x *EndpointPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2674 := z.DecBinary() + _ = yym2674 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2675 := r.ContainerType() + if yyct2675 == codecSelferValueTypeMap1234 { + yyl2675 := r.ReadMapStart() + if yyl2675 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2675, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2675 == codecSelferValueTypeArray1234 { + yyl2675 := r.ReadArrayStart() + if yyl2675 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2675, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34689,12 +34689,12 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2676Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2676Slc + var yyhl2676 bool = l >= 0 + for yyj2676 := 0; ; yyj2676++ { + if yyhl2676 { + if yyj2676 >= l { break } } else { @@ -34703,10 +34703,10 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2676Slc = r.DecodeBytes(yys2676Slc, true, true) + yys2676 := string(yys2676Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2676 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -34726,9 +34726,9 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2676) + } // end switch yys2676 + } // end for yyj2676 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34736,16 +34736,16 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj2680 int + var yyb2680 bool + var yyhl2680 bool = l >= 0 + yyj2680++ + if yyhl2680 { + yyb2680 = yyj2680 > l } else { - yyb7 = r.CheckBreak() + yyb2680 = r.CheckBreak() } - if yyb7 { + if yyb2680 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34755,13 +34755,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2680++ + if yyhl2680 { + yyb2680 = yyj2680 > l } else { - yyb7 = r.CheckBreak() + yyb2680 = r.CheckBreak() } - if yyb7 { + if yyb2680 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34771,13 +34771,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Port = int32(r.DecodeInt(32)) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2680++ + if yyhl2680 { + yyb2680 = yyj2680 > l } else { - yyb7 = r.CheckBreak() + yyb2680 = r.CheckBreak() } - if yyb7 { + if yyb2680 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34788,17 +34788,17 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2680++ + if yyhl2680 { + yyb2680 = yyj2680 > l } else { - yyb7 = r.CheckBreak() + yyb2680 = r.CheckBreak() } - if yyb7 { + if yyb2680 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj2680-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34810,68 +34810,118 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2684 := z.EncBinary() + _ = yym2684 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2685 := !z.EncBinary() + yy2arr2685 := z.EncBasicHandle().StructToArray + var yyq2685 [4]bool + _, _, _ = yysep2685, yyq2685, yy2arr2685 + const yyr2685 bool = false + yyq2685[0] = x.Kind != "" + yyq2685[1] = x.APIVersion != "" + yyq2685[2] = true + var yynn2685 int + if yyr2685 || yy2arr2685 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2685 = 1 + for _, b := range yyq2685 { if b { - yynn2++ + yynn2685++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2685) + yynn2685 = 0 } - if yyr2 || yy2arr2 { + if yyr2685 || yy2arr2685 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq2685[0] { + yym2687 := z.EncBinary() + _ = yym2687 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2685[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2688 := z.EncBinary() + _ = yym2688 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2685 || yy2arr2685 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2685[1] { + yym2690 := z.EncBinary() + _ = yym2690 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2685[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2691 := z.EncBinary() + _ = yym2691 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2685 || yy2arr2685 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2685[2] { + yy2693 := &x.ListMeta + yym2694 := z.EncBinary() + _ = yym2694 + if false { + } else if z.HasExtensions() && z.EncExt(yy2693) { + } else { + z.EncFallback(yy2693) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2685[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy2695 := &x.ListMeta + yym2696 := z.EncBinary() + _ = yym2696 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy2695) { } else { - z.EncFallback(yy6) + z.EncFallback(yy2695) } } } - if yyr2 || yy2arr2 { + if yyr2685 || yy2arr2685 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym2698 := z.EncBinary() + _ = yym2698 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) @@ -34884,65 +34934,15 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym2699 := z.EncBinary() + _ = yym2699 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr2685 || yy2arr2685 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34955,25 +34955,25 @@ func (x *EndpointsList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2700 := z.DecBinary() + _ = yym2700 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2701 := r.ContainerType() + if yyct2701 == codecSelferValueTypeMap1234 { + yyl2701 := r.ReadMapStart() + if yyl2701 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2701, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2701 == codecSelferValueTypeArray1234 { + yyl2701 := r.ReadArrayStart() + if yyl2701 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2701, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34985,12 +34985,12 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2702Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2702Slc + var yyhl2702 bool = l >= 0 + for yyj2702 := 0; ; yyj2702++ { + if yyhl2702 { + if yyj2702 >= l { break } } else { @@ -34999,35 +34999,10 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2702Slc = r.DecodeBytes(yys2702Slc, true, true) + yys2702 := string(yys2702Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceEndpoints((*[]Endpoints)(yyv6), d) - } - } + switch yys2702 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35040,10 +35015,35 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2705 := &x.ListMeta + yym2706 := z.DecBinary() + _ = yym2706 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2705) { + } else { + z.DecFallback(yyv2705, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2707 := &x.Items + yym2708 := z.DecBinary() + _ = yym2708 + if false { + } else { + h.decSliceEndpoints((*[]Endpoints)(yyv2707), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2702) + } // end switch yys2702 + } // end for yyj2702 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35051,61 +35051,16 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj2709 int + var yyb2709 bool + var yyhl2709 bool = l >= 0 + yyj2709++ + if yyhl2709 { + yyb2709 = yyj2709 > l } else { - yyb10 = r.CheckBreak() + yyb2709 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceEndpoints((*[]Endpoints)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb2709 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35115,13 +35070,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2709++ + if yyhl2709 { + yyb2709 = yyj2709 > l } else { - yyb10 = r.CheckBreak() + yyb2709 = r.CheckBreak() } - if yyb10 { + if yyb2709 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35131,18 +35086,63 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj2709++ + if yyhl2709 { + yyb2709 = yyj2709 > l + } else { + yyb2709 = r.CheckBreak() + } + if yyb2709 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2712 := &x.ListMeta + yym2713 := z.DecBinary() + _ = yym2713 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2712) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv2712, false) } - if yyb10 { + } + yyj2709++ + if yyhl2709 { + yyb2709 = yyj2709 > l + } else { + yyb2709 = r.CheckBreak() + } + if yyb2709 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2714 := &x.Items + yym2715 := z.DecBinary() + _ = yym2715 + if false { + } else { + h.decSliceEndpoints((*[]Endpoints)(yyv2714), d) + } + } + for { + yyj2709++ + if yyhl2709 { + yyb2709 = yyj2709 > l + } else { + yyb2709 = r.CheckBreak() + } + if yyb2709 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj2709-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35154,38 +35154,38 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2716 := z.EncBinary() + _ = yym2716 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.PodCIDR != "" - yyq2[1] = x.ExternalID != "" - yyq2[2] = x.ProviderID != "" - yyq2[3] = x.Unschedulable != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep2717 := !z.EncBinary() + yy2arr2717 := z.EncBasicHandle().StructToArray + var yyq2717 [4]bool + _, _, _ = yysep2717, yyq2717, yy2arr2717 + const yyr2717 bool = false + yyq2717[0] = x.PodCIDR != "" + yyq2717[1] = x.ExternalID != "" + yyq2717[2] = x.ProviderID != "" + yyq2717[3] = x.Unschedulable != false + var yynn2717 int + if yyr2717 || yy2arr2717 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2717 = 0 + for _, b := range yyq2717 { if b { - yynn2++ + yynn2717++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2717) + yynn2717 = 0 } - if yyr2 || yy2arr2 { + if yyr2717 || yy2arr2717 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq2717[0] { + yym2719 := z.EncBinary() + _ = yym2719 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) @@ -35194,23 +35194,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq2717[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2720 := z.EncBinary() + _ = yym2720 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } } - if yyr2 || yy2arr2 { + if yyr2717 || yy2arr2717 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq2717[1] { + yym2722 := z.EncBinary() + _ = yym2722 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) @@ -35219,23 +35219,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq2717[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2723 := z.EncBinary() + _ = yym2723 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) } } } - if yyr2 || yy2arr2 { + if yyr2717 || yy2arr2717 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq2717[2] { + yym2725 := z.EncBinary() + _ = yym2725 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) @@ -35244,23 +35244,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq2717[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("providerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym2726 := z.EncBinary() + _ = yym2726 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) } } } - if yyr2 || yy2arr2 { + if yyr2717 || yy2arr2717 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq2717[3] { + yym2728 := z.EncBinary() + _ = yym2728 if false { } else { r.EncodeBool(bool(x.Unschedulable)) @@ -35269,19 +35269,19 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[3] { + if yyq2717[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unschedulable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym2729 := z.EncBinary() + _ = yym2729 if false { } else { r.EncodeBool(bool(x.Unschedulable)) } } } - if yyr2 || yy2arr2 { + if yyr2717 || yy2arr2717 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35294,25 +35294,25 @@ func (x *NodeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2730 := z.DecBinary() + _ = yym2730 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2731 := r.ContainerType() + if yyct2731 == codecSelferValueTypeMap1234 { + yyl2731 := r.ReadMapStart() + if yyl2731 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2731, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2731 == codecSelferValueTypeArray1234 { + yyl2731 := r.ReadArrayStart() + if yyl2731 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2731, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35324,12 +35324,12 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2732Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2732Slc + var yyhl2732 bool = l >= 0 + for yyj2732 := 0; ; yyj2732++ { + if yyhl2732 { + if yyj2732 >= l { break } } else { @@ -35338,10 +35338,10 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2732Slc = r.DecodeBytes(yys2732Slc, true, true) + yys2732 := string(yys2732Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2732 { case "podCIDR": if r.TryDecodeAsNil() { x.PodCIDR = "" @@ -35367,9 +35367,9 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2732) + } // end switch yys2732 + } // end for yyj2732 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35377,16 +35377,16 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj2737 int + var yyb2737 bool + var yyhl2737 bool = l >= 0 + yyj2737++ + if yyhl2737 { + yyb2737 = yyj2737 > l } else { - yyb8 = r.CheckBreak() + yyb2737 = r.CheckBreak() } - if yyb8 { + if yyb2737 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35396,13 +35396,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodCIDR = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2737++ + if yyhl2737 { + yyb2737 = yyj2737 > l } else { - yyb8 = r.CheckBreak() + yyb2737 = r.CheckBreak() } - if yyb8 { + if yyb2737 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35412,13 +35412,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ExternalID = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2737++ + if yyhl2737 { + yyb2737 = yyj2737 > l } else { - yyb8 = r.CheckBreak() + yyb2737 = r.CheckBreak() } - if yyb8 { + if yyb2737 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35428,13 +35428,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ProviderID = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2737++ + if yyhl2737 { + yyb2737 = yyj2737 > l } else { - yyb8 = r.CheckBreak() + yyb2737 = r.CheckBreak() } - if yyb8 { + if yyb2737 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35445,17 +35445,17 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj2737++ + if yyhl2737 { + yyb2737 = yyj2737 > l } else { - yyb8 = r.CheckBreak() + yyb2737 = r.CheckBreak() } - if yyb8 { + if yyb2737 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj2737-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35467,33 +35467,33 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2742 := z.EncBinary() + _ = yym2742 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep2743 := !z.EncBinary() + yy2arr2743 := z.EncBasicHandle().StructToArray + var yyq2743 [1]bool + _, _, _ = yysep2743, yyq2743, yy2arr2743 + const yyr2743 bool = false + var yynn2743 int + if yyr2743 || yy2arr2743 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2743 = 1 + for _, b := range yyq2743 { if b { - yynn2++ + yynn2743++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2743) + yynn2743 = 0 } - if yyr2 || yy2arr2 { + if yyr2743 || yy2arr2743 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym2745 := z.EncBinary() + _ = yym2745 if false { } else { r.EncodeInt(int64(x.Port)) @@ -35502,14 +35502,14 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2746 := z.EncBinary() + _ = yym2746 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2 || yy2arr2 { + if yyr2743 || yy2arr2743 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35522,25 +35522,25 @@ func (x *DaemonEndpoint) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2747 := z.DecBinary() + _ = yym2747 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2748 := r.ContainerType() + if yyct2748 == codecSelferValueTypeMap1234 { + yyl2748 := r.ReadMapStart() + if yyl2748 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2748, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2748 == codecSelferValueTypeArray1234 { + yyl2748 := r.ReadArrayStart() + if yyl2748 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2748, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35552,12 +35552,12 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2749Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2749Slc + var yyhl2749 bool = l >= 0 + for yyj2749 := 0; ; yyj2749++ { + if yyhl2749 { + if yyj2749 >= l { break } } else { @@ -35566,10 +35566,10 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2749Slc = r.DecodeBytes(yys2749Slc, true, true) + yys2749 := string(yys2749Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2749 { case "Port": if r.TryDecodeAsNil() { x.Port = 0 @@ -35577,9 +35577,9 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Port = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2749) + } // end switch yys2749 + } // end for yyj2749 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35587,16 +35587,16 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj2751 int + var yyb2751 bool + var yyhl2751 bool = l >= 0 + yyj2751++ + if yyhl2751 { + yyb2751 = yyj2751 > l } else { - yyb5 = r.CheckBreak() + yyb2751 = r.CheckBreak() } - if yyb5 { + if yyb2751 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35607,17 +35607,17 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Port = int32(r.DecodeInt(32)) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj2751++ + if yyhl2751 { + yyb2751 = yyj2751 > l } else { - yyb5 = r.CheckBreak() + yyb2751 = r.CheckBreak() } - if yyb5 { + if yyb2751 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj2751-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35629,48 +35629,48 @@ func (x *NodeDaemonEndpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2753 := z.EncBinary() + _ = yym2753 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep2754 := !z.EncBinary() + yy2arr2754 := z.EncBasicHandle().StructToArray + var yyq2754 [1]bool + _, _, _ = yysep2754, yyq2754, yy2arr2754 + const yyr2754 bool = false + yyq2754[0] = true + var yynn2754 int + if yyr2754 || yy2arr2754 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2754 = 0 + for _, b := range yyq2754 { if b { - yynn2++ + yynn2754++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2754) + yynn2754 = 0 } - if yyr2 || yy2arr2 { + if yyr2754 || yy2arr2754 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.KubeletEndpoint - yy4.CodecEncodeSelf(e) + if yyq2754[0] { + yy2756 := &x.KubeletEndpoint + yy2756.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2754[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletEndpoint")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.KubeletEndpoint - yy6.CodecEncodeSelf(e) + yy2757 := &x.KubeletEndpoint + yy2757.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2754 || yy2arr2754 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35683,25 +35683,25 @@ func (x *NodeDaemonEndpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2758 := z.DecBinary() + _ = yym2758 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2759 := r.ContainerType() + if yyct2759 == codecSelferValueTypeMap1234 { + yyl2759 := r.ReadMapStart() + if yyl2759 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2759, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2759 == codecSelferValueTypeArray1234 { + yyl2759 := r.ReadArrayStart() + if yyl2759 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2759, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35713,12 +35713,12 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2760Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2760Slc + var yyhl2760 bool = l >= 0 + for yyj2760 := 0; ; yyj2760++ { + if yyhl2760 { + if yyj2760 >= l { break } } else { @@ -35727,21 +35727,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2760Slc = r.DecodeBytes(yys2760Slc, true, true) + yys2760 := string(yys2760Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2760 { case "kubeletEndpoint": if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv4 := &x.KubeletEndpoint - yyv4.CodecDecodeSelf(d) + yyv2761 := &x.KubeletEndpoint + yyv2761.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2760) + } // end switch yys2760 + } // end for yyj2760 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35749,16 +35749,16 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj2762 int + var yyb2762 bool + var yyhl2762 bool = l >= 0 + yyj2762++ + if yyhl2762 { + yyb2762 = yyj2762 > l } else { - yyb5 = r.CheckBreak() + yyb2762 = r.CheckBreak() } - if yyb5 { + if yyb2762 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35766,21 +35766,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv6 := &x.KubeletEndpoint - yyv6.CodecDecodeSelf(d) + yyv2763 := &x.KubeletEndpoint + yyv2763.CodecDecodeSelf(d) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj2762++ + if yyhl2762 { + yyb2762 = yyj2762 > l } else { - yyb5 = r.CheckBreak() + yyb2762 = r.CheckBreak() } - if yyb5 { + if yyb2762 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj2762-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35792,33 +35792,33 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2764 := z.EncBinary() + _ = yym2764 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [10]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep2765 := !z.EncBinary() + yy2arr2765 := z.EncBasicHandle().StructToArray + var yyq2765 [10]bool + _, _, _ = yysep2765, yyq2765, yy2arr2765 + const yyr2765 bool = false + var yynn2765 int + if yyr2765 || yy2arr2765 { r.EncodeArrayStart(10) } else { - yynn2 = 10 - for _, b := range yyq2 { + yynn2765 = 10 + for _, b := range yyq2765 { if b { - yynn2++ + yynn2765++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2765) + yynn2765 = 0 } - if yyr2 || yy2arr2 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym2767 := z.EncBinary() + _ = yym2767 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) @@ -35827,17 +35827,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("machineID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym2768 := z.EncBinary() + _ = yym2768 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) } } - if yyr2 || yy2arr2 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym2770 := z.EncBinary() + _ = yym2770 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) @@ -35846,17 +35846,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("systemUUID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2771 := z.EncBinary() + _ = yym2771 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) } } - if yyr2 || yy2arr2 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym2773 := z.EncBinary() + _ = yym2773 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) @@ -35865,17 +35865,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("bootID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym2774 := z.EncBinary() + _ = yym2774 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) } } - if yyr2 || yy2arr2 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 + yym2776 := z.EncBinary() + _ = yym2776 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) @@ -35884,17 +35884,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kernelVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym2777 := z.EncBinary() + _ = yym2777 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) } } - if yyr2 || yy2arr2 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym16 := z.EncBinary() - _ = yym16 + yym2779 := z.EncBinary() + _ = yym2779 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) @@ -35903,17 +35903,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("osImage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym2780 := z.EncBinary() + _ = yym2780 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) } } - if yyr2 || yy2arr2 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym19 := z.EncBinary() - _ = yym19 + yym2782 := z.EncBinary() + _ = yym2782 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) @@ -35922,17 +35922,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerRuntimeVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym2783 := z.EncBinary() + _ = yym2783 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) } } - if yyr2 || yy2arr2 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym22 := z.EncBinary() - _ = yym22 + yym2785 := z.EncBinary() + _ = yym2785 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) @@ -35941,17 +35941,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym2786 := z.EncBinary() + _ = yym2786 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) } } - if yyr2 || yy2arr2 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym25 := z.EncBinary() - _ = yym25 + yym2788 := z.EncBinary() + _ = yym2788 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) @@ -35960,17 +35960,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeProxyVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym26 := z.EncBinary() - _ = yym26 + yym2789 := z.EncBinary() + _ = yym2789 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) } } - if yyr2 || yy2arr2 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym28 := z.EncBinary() - _ = yym28 + yym2791 := z.EncBinary() + _ = yym2791 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OperatingSystem)) @@ -35979,17 +35979,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("operatingSystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym29 := z.EncBinary() - _ = yym29 + yym2792 := z.EncBinary() + _ = yym2792 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OperatingSystem)) } } - if yyr2 || yy2arr2 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym31 := z.EncBinary() - _ = yym31 + yym2794 := z.EncBinary() + _ = yym2794 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Architecture)) @@ -35998,14 +35998,14 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("architecture")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym32 := z.EncBinary() - _ = yym32 + yym2795 := z.EncBinary() + _ = yym2795 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Architecture)) } } - if yyr2 || yy2arr2 { + if yyr2765 || yy2arr2765 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36018,25 +36018,25 @@ func (x *NodeSystemInfo) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2796 := z.DecBinary() + _ = yym2796 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2797 := r.ContainerType() + if yyct2797 == codecSelferValueTypeMap1234 { + yyl2797 := r.ReadMapStart() + if yyl2797 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2797, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2797 == codecSelferValueTypeArray1234 { + yyl2797 := r.ReadArrayStart() + if yyl2797 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2797, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36048,12 +36048,12 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2798Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2798Slc + var yyhl2798 bool = l >= 0 + for yyj2798 := 0; ; yyj2798++ { + if yyhl2798 { + if yyj2798 >= l { break } } else { @@ -36062,10 +36062,10 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2798Slc = r.DecodeBytes(yys2798Slc, true, true) + yys2798 := string(yys2798Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2798 { case "machineID": if r.TryDecodeAsNil() { x.MachineID = "" @@ -36127,9 +36127,9 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Architecture = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2798) + } // end switch yys2798 + } // end for yyj2798 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36137,16 +36137,16 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj14 int - var yyb14 bool - var yyhl14 bool = l >= 0 - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + var yyj2809 int + var yyb2809 bool + var yyhl2809 bool = l >= 0 + yyj2809++ + if yyhl2809 { + yyb2809 = yyj2809 > l } else { - yyb14 = r.CheckBreak() + yyb2809 = r.CheckBreak() } - if yyb14 { + if yyb2809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36156,13 +36156,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MachineID = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2809++ + if yyhl2809 { + yyb2809 = yyj2809 > l } else { - yyb14 = r.CheckBreak() + yyb2809 = r.CheckBreak() } - if yyb14 { + if yyb2809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36172,13 +36172,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SystemUUID = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2809++ + if yyhl2809 { + yyb2809 = yyj2809 > l } else { - yyb14 = r.CheckBreak() + yyb2809 = r.CheckBreak() } - if yyb14 { + if yyb2809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36188,13 +36188,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.BootID = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2809++ + if yyhl2809 { + yyb2809 = yyj2809 > l } else { - yyb14 = r.CheckBreak() + yyb2809 = r.CheckBreak() } - if yyb14 { + if yyb2809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36204,13 +36204,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KernelVersion = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2809++ + if yyhl2809 { + yyb2809 = yyj2809 > l } else { - yyb14 = r.CheckBreak() + yyb2809 = r.CheckBreak() } - if yyb14 { + if yyb2809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36220,13 +36220,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OSImage = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2809++ + if yyhl2809 { + yyb2809 = yyj2809 > l } else { - yyb14 = r.CheckBreak() + yyb2809 = r.CheckBreak() } - if yyb14 { + if yyb2809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36236,13 +36236,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerRuntimeVersion = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2809++ + if yyhl2809 { + yyb2809 = yyj2809 > l } else { - yyb14 = r.CheckBreak() + yyb2809 = r.CheckBreak() } - if yyb14 { + if yyb2809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36252,13 +36252,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeletVersion = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2809++ + if yyhl2809 { + yyb2809 = yyj2809 > l } else { - yyb14 = r.CheckBreak() + yyb2809 = r.CheckBreak() } - if yyb14 { + if yyb2809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36268,13 +36268,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeProxyVersion = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2809++ + if yyhl2809 { + yyb2809 = yyj2809 > l } else { - yyb14 = r.CheckBreak() + yyb2809 = r.CheckBreak() } - if yyb14 { + if yyb2809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36284,13 +36284,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OperatingSystem = string(r.DecodeString()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2809++ + if yyhl2809 { + yyb2809 = yyj2809 > l } else { - yyb14 = r.CheckBreak() + yyb2809 = r.CheckBreak() } - if yyb14 { + if yyb2809 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36301,17 +36301,17 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Architecture = string(r.DecodeString()) } for { - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj2809++ + if yyhl2809 { + yyb2809 = yyj2809 > l } else { - yyb14 = r.CheckBreak() + yyb2809 = r.CheckBreak() } - if yyb14 { + if yyb2809 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj14-1, "") + z.DecStructFieldNotFound(yyj2809-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36323,42 +36323,42 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2820 := z.EncBinary() + _ = yym2820 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [10]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Capacity) != 0 - yyq2[1] = len(x.Allocatable) != 0 - yyq2[2] = x.Phase != "" - yyq2[3] = len(x.Conditions) != 0 - yyq2[4] = len(x.Addresses) != 0 - yyq2[5] = true - yyq2[6] = true - yyq2[7] = len(x.Images) != 0 - yyq2[8] = len(x.VolumesInUse) != 0 - yyq2[9] = len(x.VolumesAttached) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2821 := !z.EncBinary() + yy2arr2821 := z.EncBasicHandle().StructToArray + var yyq2821 [10]bool + _, _, _ = yysep2821, yyq2821, yy2arr2821 + const yyr2821 bool = false + yyq2821[0] = len(x.Capacity) != 0 + yyq2821[1] = len(x.Allocatable) != 0 + yyq2821[2] = x.Phase != "" + yyq2821[3] = len(x.Conditions) != 0 + yyq2821[4] = len(x.Addresses) != 0 + yyq2821[5] = true + yyq2821[6] = true + yyq2821[7] = len(x.Images) != 0 + yyq2821[8] = len(x.VolumesInUse) != 0 + yyq2821[9] = len(x.VolumesAttached) != 0 + var yynn2821 int + if yyr2821 || yy2arr2821 { r.EncodeArrayStart(10) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2821 = 0 + for _, b := range yyq2821 { if b { - yynn2++ + yynn2821++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2821) + yynn2821 = 0 } - if yyr2 || yy2arr2 { + if yyr2821 || yy2arr2821 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq2821[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -36368,7 +36368,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2821[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -36379,9 +36379,9 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2821 || yy2arr2821 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq2821[1] { if x.Allocatable == nil { r.EncodeNil() } else { @@ -36391,7 +36391,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq2821[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allocatable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -36402,29 +36402,29 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2821 || yy2arr2821 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq2821[2] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq2821[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2821 || yy2arr2821 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq2821[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym2826 := z.EncBinary() + _ = yym2826 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -36434,15 +36434,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq2821[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym14 := z.EncBinary() - _ = yym14 + yym2827 := z.EncBinary() + _ = yym2827 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -36450,14 +36450,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2821 || yy2arr2821 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq2821[4] { if x.Addresses == nil { r.EncodeNil() } else { - yym16 := z.EncBinary() - _ = yym16 + yym2829 := z.EncBinary() + _ = yym2829 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -36467,15 +36467,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq2821[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym17 := z.EncBinary() - _ = yym17 + yym2830 := z.EncBinary() + _ = yym2830 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -36483,48 +36483,48 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2821 || yy2arr2821 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yy19 := &x.DaemonEndpoints - yy19.CodecEncodeSelf(e) + if yyq2821[5] { + yy2832 := &x.DaemonEndpoints + yy2832.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[5] { + if yyq2821[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("daemonEndpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy21 := &x.DaemonEndpoints - yy21.CodecEncodeSelf(e) + yy2833 := &x.DaemonEndpoints + yy2833.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2821 || yy2arr2821 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yy24 := &x.NodeInfo - yy24.CodecEncodeSelf(e) + if yyq2821[6] { + yy2835 := &x.NodeInfo + yy2835.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[6] { + if yyq2821[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeInfo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy26 := &x.NodeInfo - yy26.CodecEncodeSelf(e) + yy2836 := &x.NodeInfo + yy2836.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr2821 || yy2arr2821 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq2821[7] { if x.Images == nil { r.EncodeNil() } else { - yym29 := z.EncBinary() - _ = yym29 + yym2838 := z.EncBinary() + _ = yym2838 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -36534,15 +36534,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[7] { + if yyq2821[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("images")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Images == nil { r.EncodeNil() } else { - yym30 := z.EncBinary() - _ = yym30 + yym2839 := z.EncBinary() + _ = yym2839 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -36550,14 +36550,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2821 || yy2arr2821 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { + if yyq2821[8] { if x.VolumesInUse == nil { r.EncodeNil() } else { - yym32 := z.EncBinary() - _ = yym32 + yym2841 := z.EncBinary() + _ = yym2841 if false { } else { h.encSliceUniqueVolumeName(([]UniqueVolumeName)(x.VolumesInUse), e) @@ -36567,15 +36567,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[8] { + if yyq2821[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumesInUse")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumesInUse == nil { r.EncodeNil() } else { - yym33 := z.EncBinary() - _ = yym33 + yym2842 := z.EncBinary() + _ = yym2842 if false { } else { h.encSliceUniqueVolumeName(([]UniqueVolumeName)(x.VolumesInUse), e) @@ -36583,14 +36583,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2821 || yy2arr2821 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { + if yyq2821[9] { if x.VolumesAttached == nil { r.EncodeNil() } else { - yym35 := z.EncBinary() - _ = yym35 + yym2844 := z.EncBinary() + _ = yym2844 if false { } else { h.encSliceAttachedVolume(([]AttachedVolume)(x.VolumesAttached), e) @@ -36600,15 +36600,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[9] { + if yyq2821[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumesAttached")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumesAttached == nil { r.EncodeNil() } else { - yym36 := z.EncBinary() - _ = yym36 + yym2845 := z.EncBinary() + _ = yym2845 if false { } else { h.encSliceAttachedVolume(([]AttachedVolume)(x.VolumesAttached), e) @@ -36616,7 +36616,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2821 || yy2arr2821 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36629,25 +36629,25 @@ func (x *NodeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2846 := z.DecBinary() + _ = yym2846 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2847 := r.ContainerType() + if yyct2847 == codecSelferValueTypeMap1234 { + yyl2847 := r.ReadMapStart() + if yyl2847 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2847, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2847 == codecSelferValueTypeArray1234 { + yyl2847 := r.ReadArrayStart() + if yyl2847 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2847, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36659,12 +36659,12 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2848Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2848Slc + var yyhl2848 bool = l >= 0 + for yyj2848 := 0; ; yyj2848++ { + if yyhl2848 { + if yyj2848 >= l { break } } else { @@ -36673,23 +36673,23 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2848Slc = r.DecodeBytes(yys2848Slc, true, true) + yys2848 := string(yys2848Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2848 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv4 := &x.Capacity - yyv4.CodecDecodeSelf(d) + yyv2849 := &x.Capacity + yyv2849.CodecDecodeSelf(d) } case "allocatable": if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv5 := &x.Allocatable - yyv5.CodecDecodeSelf(d) + yyv2850 := &x.Allocatable + yyv2850.CodecDecodeSelf(d) } case "phase": if r.TryDecodeAsNil() { @@ -36701,80 +36701,80 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv7 := &x.Conditions - yym8 := z.DecBinary() - _ = yym8 + yyv2852 := &x.Conditions + yym2853 := z.DecBinary() + _ = yym2853 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv7), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv2852), d) } } case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv9 := &x.Addresses - yym10 := z.DecBinary() - _ = yym10 + yyv2854 := &x.Addresses + yym2855 := z.DecBinary() + _ = yym2855 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv9), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv2854), d) } } case "daemonEndpoints": if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv11 := &x.DaemonEndpoints - yyv11.CodecDecodeSelf(d) + yyv2856 := &x.DaemonEndpoints + yyv2856.CodecDecodeSelf(d) } case "nodeInfo": if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv12 := &x.NodeInfo - yyv12.CodecDecodeSelf(d) + yyv2857 := &x.NodeInfo + yyv2857.CodecDecodeSelf(d) } case "images": if r.TryDecodeAsNil() { x.Images = nil } else { - yyv13 := &x.Images - yym14 := z.DecBinary() - _ = yym14 + yyv2858 := &x.Images + yym2859 := z.DecBinary() + _ = yym2859 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv13), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv2858), d) } } case "volumesInUse": if r.TryDecodeAsNil() { x.VolumesInUse = nil } else { - yyv15 := &x.VolumesInUse - yym16 := z.DecBinary() - _ = yym16 + yyv2860 := &x.VolumesInUse + yym2861 := z.DecBinary() + _ = yym2861 if false { } else { - h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv15), d) + h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv2860), d) } } case "volumesAttached": if r.TryDecodeAsNil() { x.VolumesAttached = nil } else { - yyv17 := &x.VolumesAttached - yym18 := z.DecBinary() - _ = yym18 + yyv2862 := &x.VolumesAttached + yym2863 := z.DecBinary() + _ = yym2863 if false { } else { - h.decSliceAttachedVolume((*[]AttachedVolume)(yyv17), d) + h.decSliceAttachedVolume((*[]AttachedVolume)(yyv2862), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2848) + } // end switch yys2848 + } // end for yyj2848 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36782,16 +36782,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj19 int - var yyb19 bool - var yyhl19 bool = l >= 0 - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + var yyj2864 int + var yyb2864 bool + var yyhl2864 bool = l >= 0 + yyj2864++ + if yyhl2864 { + yyb2864 = yyj2864 > l } else { - yyb19 = r.CheckBreak() + yyb2864 = r.CheckBreak() } - if yyb19 { + if yyb2864 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36799,16 +36799,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv20 := &x.Capacity - yyv20.CodecDecodeSelf(d) + yyv2865 := &x.Capacity + yyv2865.CodecDecodeSelf(d) } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2864++ + if yyhl2864 { + yyb2864 = yyj2864 > l } else { - yyb19 = r.CheckBreak() + yyb2864 = r.CheckBreak() } - if yyb19 { + if yyb2864 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36816,16 +36816,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv21 := &x.Allocatable - yyv21.CodecDecodeSelf(d) + yyv2866 := &x.Allocatable + yyv2866.CodecDecodeSelf(d) } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2864++ + if yyhl2864 { + yyb2864 = yyj2864 > l } else { - yyb19 = r.CheckBreak() + yyb2864 = r.CheckBreak() } - if yyb19 { + if yyb2864 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36835,13 +36835,13 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = NodePhase(r.DecodeString()) } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2864++ + if yyhl2864 { + yyb2864 = yyj2864 > l } else { - yyb19 = r.CheckBreak() + yyb2864 = r.CheckBreak() } - if yyb19 { + if yyb2864 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36849,21 +36849,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv23 := &x.Conditions - yym24 := z.DecBinary() - _ = yym24 + yyv2868 := &x.Conditions + yym2869 := z.DecBinary() + _ = yym2869 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv23), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv2868), d) } } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2864++ + if yyhl2864 { + yyb2864 = yyj2864 > l } else { - yyb19 = r.CheckBreak() + yyb2864 = r.CheckBreak() } - if yyb19 { + if yyb2864 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36871,21 +36871,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv25 := &x.Addresses - yym26 := z.DecBinary() - _ = yym26 + yyv2870 := &x.Addresses + yym2871 := z.DecBinary() + _ = yym2871 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv25), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv2870), d) } } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2864++ + if yyhl2864 { + yyb2864 = yyj2864 > l } else { - yyb19 = r.CheckBreak() + yyb2864 = r.CheckBreak() } - if yyb19 { + if yyb2864 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36893,16 +36893,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv27 := &x.DaemonEndpoints - yyv27.CodecDecodeSelf(d) + yyv2872 := &x.DaemonEndpoints + yyv2872.CodecDecodeSelf(d) } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2864++ + if yyhl2864 { + yyb2864 = yyj2864 > l } else { - yyb19 = r.CheckBreak() + yyb2864 = r.CheckBreak() } - if yyb19 { + if yyb2864 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36910,16 +36910,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv28 := &x.NodeInfo - yyv28.CodecDecodeSelf(d) + yyv2873 := &x.NodeInfo + yyv2873.CodecDecodeSelf(d) } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2864++ + if yyhl2864 { + yyb2864 = yyj2864 > l } else { - yyb19 = r.CheckBreak() + yyb2864 = r.CheckBreak() } - if yyb19 { + if yyb2864 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36927,21 +36927,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Images = nil } else { - yyv29 := &x.Images - yym30 := z.DecBinary() - _ = yym30 + yyv2874 := &x.Images + yym2875 := z.DecBinary() + _ = yym2875 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv29), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv2874), d) } } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2864++ + if yyhl2864 { + yyb2864 = yyj2864 > l } else { - yyb19 = r.CheckBreak() + yyb2864 = r.CheckBreak() } - if yyb19 { + if yyb2864 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36949,21 +36949,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumesInUse = nil } else { - yyv31 := &x.VolumesInUse - yym32 := z.DecBinary() - _ = yym32 + yyv2876 := &x.VolumesInUse + yym2877 := z.DecBinary() + _ = yym2877 if false { } else { - h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv31), d) + h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv2876), d) } } - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2864++ + if yyhl2864 { + yyb2864 = yyj2864 > l } else { - yyb19 = r.CheckBreak() + yyb2864 = r.CheckBreak() } - if yyb19 { + if yyb2864 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36971,26 +36971,26 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumesAttached = nil } else { - yyv33 := &x.VolumesAttached - yym34 := z.DecBinary() - _ = yym34 + yyv2878 := &x.VolumesAttached + yym2879 := z.DecBinary() + _ = yym2879 if false { } else { - h.decSliceAttachedVolume((*[]AttachedVolume)(yyv33), d) + h.decSliceAttachedVolume((*[]AttachedVolume)(yyv2878), d) } } for { - yyj19++ - if yyhl19 { - yyb19 = yyj19 > l + yyj2864++ + if yyhl2864 { + yyb2864 = yyj2864 > l } else { - yyb19 = r.CheckBreak() + yyb2864 = r.CheckBreak() } - if yyb19 { + if yyb2864 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj19-1, "") + z.DecStructFieldNotFound(yyj2864-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36999,8 +36999,8 @@ func (x UniqueVolumeName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym2880 := z.EncBinary() + _ = yym2880 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -37012,8 +37012,8 @@ func (x *UniqueVolumeName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2881 := z.DecBinary() + _ = yym2881 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -37028,30 +37028,30 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2882 := z.EncBinary() + _ = yym2882 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep2883 := !z.EncBinary() + yy2arr2883 := z.EncBasicHandle().StructToArray + var yyq2883 [2]bool + _, _, _ = yysep2883, yyq2883, yy2arr2883 + const yyr2883 bool = false + var yynn2883 int + if yyr2883 || yy2arr2883 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn2883 = 2 + for _, b := range yyq2883 { if b { - yynn2++ + yynn2883++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2883) + yynn2883 = 0 } - if yyr2 || yy2arr2 { + if yyr2883 || yy2arr2883 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Name.CodecEncodeSelf(e) } else { @@ -37060,10 +37060,10 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Name.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr2883 || yy2arr2883 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym2886 := z.EncBinary() + _ = yym2886 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DevicePath)) @@ -37072,14 +37072,14 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("devicePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2887 := z.EncBinary() + _ = yym2887 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DevicePath)) } } - if yyr2 || yy2arr2 { + if yyr2883 || yy2arr2883 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37092,25 +37092,25 @@ func (x *AttachedVolume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2888 := z.DecBinary() + _ = yym2888 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2889 := r.ContainerType() + if yyct2889 == codecSelferValueTypeMap1234 { + yyl2889 := r.ReadMapStart() + if yyl2889 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2889, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2889 == codecSelferValueTypeArray1234 { + yyl2889 := r.ReadArrayStart() + if yyl2889 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2889, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37122,12 +37122,12 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2890Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2890Slc + var yyhl2890 bool = l >= 0 + for yyj2890 := 0; ; yyj2890++ { + if yyhl2890 { + if yyj2890 >= l { break } } else { @@ -37136,10 +37136,10 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2890Slc = r.DecodeBytes(yys2890Slc, true, true) + yys2890 := string(yys2890Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2890 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -37153,9 +37153,9 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.DevicePath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2890) + } // end switch yys2890 + } // end for yyj2890 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37163,16 +37163,16 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj2893 int + var yyb2893 bool + var yyhl2893 bool = l >= 0 + yyj2893++ + if yyhl2893 { + yyb2893 = yyj2893 > l } else { - yyb6 = r.CheckBreak() + yyb2893 = r.CheckBreak() } - if yyb6 { + if yyb2893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37182,13 +37182,13 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = UniqueVolumeName(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2893++ + if yyhl2893 { + yyb2893 = yyj2893 > l } else { - yyb6 = r.CheckBreak() + yyb2893 = r.CheckBreak() } - if yyb6 { + if yyb2893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37199,17 +37199,17 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.DevicePath = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2893++ + if yyhl2893 { + yyb2893 = yyj2893 > l } else { - yyb6 = r.CheckBreak() + yyb2893 = r.CheckBreak() } - if yyb6 { + if yyb2893 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj2893-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37221,38 +37221,38 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2896 := z.EncBinary() + _ = yym2896 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.PreferAvoidPods) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2897 := !z.EncBinary() + yy2arr2897 := z.EncBasicHandle().StructToArray + var yyq2897 [1]bool + _, _, _ = yysep2897, yyq2897, yy2arr2897 + const yyr2897 bool = false + yyq2897[0] = len(x.PreferAvoidPods) != 0 + var yynn2897 int + if yyr2897 || yy2arr2897 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2897 = 0 + for _, b := range yyq2897 { if b { - yynn2++ + yynn2897++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2897) + yynn2897 = 0 } - if yyr2 || yy2arr2 { + if yyr2897 || yy2arr2897 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq2897[0] { if x.PreferAvoidPods == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym2899 := z.EncBinary() + _ = yym2899 if false { } else { h.encSlicePreferAvoidPodsEntry(([]PreferAvoidPodsEntry)(x.PreferAvoidPods), e) @@ -37262,15 +37262,15 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2897[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferAvoidPods")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferAvoidPods == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym2900 := z.EncBinary() + _ = yym2900 if false { } else { h.encSlicePreferAvoidPodsEntry(([]PreferAvoidPodsEntry)(x.PreferAvoidPods), e) @@ -37278,7 +37278,7 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2897 || yy2arr2897 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37291,25 +37291,25 @@ func (x *AvoidPods) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2901 := z.DecBinary() + _ = yym2901 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2902 := r.ContainerType() + if yyct2902 == codecSelferValueTypeMap1234 { + yyl2902 := r.ReadMapStart() + if yyl2902 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2902, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2902 == codecSelferValueTypeArray1234 { + yyl2902 := r.ReadArrayStart() + if yyl2902 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2902, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37321,12 +37321,12 @@ func (x *AvoidPods) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2903Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2903Slc + var yyhl2903 bool = l >= 0 + for yyj2903 := 0; ; yyj2903++ { + if yyhl2903 { + if yyj2903 >= l { break } } else { @@ -37335,26 +37335,26 @@ func (x *AvoidPods) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2903Slc = r.DecodeBytes(yys2903Slc, true, true) + yys2903 := string(yys2903Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2903 { case "preferAvoidPods": if r.TryDecodeAsNil() { x.PreferAvoidPods = nil } else { - yyv4 := &x.PreferAvoidPods - yym5 := z.DecBinary() - _ = yym5 + yyv2904 := &x.PreferAvoidPods + yym2905 := z.DecBinary() + _ = yym2905 if false { } else { - h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv4), d) + h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv2904), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2903) + } // end switch yys2903 + } // end for yyj2903 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37362,16 +37362,16 @@ func (x *AvoidPods) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj2906 int + var yyb2906 bool + var yyhl2906 bool = l >= 0 + yyj2906++ + if yyhl2906 { + yyb2906 = yyj2906 > l } else { - yyb6 = r.CheckBreak() + yyb2906 = r.CheckBreak() } - if yyb6 { + if yyb2906 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37379,26 +37379,26 @@ func (x *AvoidPods) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferAvoidPods = nil } else { - yyv7 := &x.PreferAvoidPods - yym8 := z.DecBinary() - _ = yym8 + yyv2907 := &x.PreferAvoidPods + yym2908 := z.DecBinary() + _ = yym2908 if false { } else { - h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv7), d) + h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv2907), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj2906++ + if yyhl2906 { + yyb2906 = yyj2906 > l } else { - yyb6 = r.CheckBreak() + yyb2906 = r.CheckBreak() } - if yyb6 { + if yyb2906 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj2906-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37410,85 +37410,85 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2909 := z.EncBinary() + _ = yym2909 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = true - yyq2[2] = x.Reason != "" - yyq2[3] = x.Message != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2910 := !z.EncBinary() + yy2arr2910 := z.EncBasicHandle().StructToArray + var yyq2910 [4]bool + _, _, _ = yysep2910, yyq2910, yy2arr2910 + const yyr2910 bool = false + yyq2910[1] = true + yyq2910[2] = x.Reason != "" + yyq2910[3] = x.Message != "" + var yynn2910 int + if yyr2910 || yy2arr2910 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2910 = 1 + for _, b := range yyq2910 { if b { - yynn2++ + yynn2910++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2910) + yynn2910 = 0 } - if yyr2 || yy2arr2 { + if yyr2910 || yy2arr2910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4 := &x.PodSignature - yy4.CodecEncodeSelf(e) + yy2912 := &x.PodSignature + yy2912.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSignature")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.PodSignature - yy6.CodecEncodeSelf(e) + yy2913 := &x.PodSignature + yy2913.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr2910 || yy2arr2910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.EvictionTime - yym10 := z.EncBinary() - _ = yym10 + if yyq2910[1] { + yy2915 := &x.EvictionTime + yym2916 := z.EncBinary() + _ = yym2916 if false { - } else if z.HasExtensions() && z.EncExt(yy9) { - } else if yym10 { - z.EncBinaryMarshal(yy9) - } else if !yym10 && z.IsJSONHandle() { - z.EncJSONMarshal(yy9) + } else if z.HasExtensions() && z.EncExt(yy2915) { + } else if yym2916 { + z.EncBinaryMarshal(yy2915) + } else if !yym2916 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2915) } else { - z.EncFallback(yy9) + z.EncFallback(yy2915) } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq2910[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.EvictionTime - yym12 := z.EncBinary() - _ = yym12 + yy2917 := &x.EvictionTime + yym2918 := z.EncBinary() + _ = yym2918 if false { - } else if z.HasExtensions() && z.EncExt(yy11) { - } else if yym12 { - z.EncBinaryMarshal(yy11) - } else if !yym12 && z.IsJSONHandle() { - z.EncJSONMarshal(yy11) + } else if z.HasExtensions() && z.EncExt(yy2917) { + } else if yym2918 { + z.EncBinaryMarshal(yy2917) + } else if !yym2918 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2917) } else { - z.EncFallback(yy11) + z.EncFallback(yy2917) } } } - if yyr2 || yy2arr2 { + if yyr2910 || yy2arr2910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq2910[2] { + yym2920 := z.EncBinary() + _ = yym2920 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -37497,23 +37497,23 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq2910[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym2921 := z.EncBinary() + _ = yym2921 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr2910 || yy2arr2910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq2910[3] { + yym2923 := z.EncBinary() + _ = yym2923 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -37522,19 +37522,19 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq2910[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym2924 := z.EncBinary() + _ = yym2924 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr2910 || yy2arr2910 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37547,25 +37547,25 @@ func (x *PreferAvoidPodsEntry) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2925 := z.DecBinary() + _ = yym2925 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2926 := r.ContainerType() + if yyct2926 == codecSelferValueTypeMap1234 { + yyl2926 := r.ReadMapStart() + if yyl2926 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2926, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2926 == codecSelferValueTypeArray1234 { + yyl2926 := r.ReadArrayStart() + if yyl2926 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2926, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37577,12 +37577,12 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2927Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2927Slc + var yyhl2927 bool = l >= 0 + for yyj2927 := 0; ; yyj2927++ { + if yyhl2927 { + if yyj2927 >= l { break } } else { @@ -37591,32 +37591,32 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2927Slc = r.DecodeBytes(yys2927Slc, true, true) + yys2927 := string(yys2927Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2927 { case "podSignature": if r.TryDecodeAsNil() { x.PodSignature = PodSignature{} } else { - yyv4 := &x.PodSignature - yyv4.CodecDecodeSelf(d) + yyv2928 := &x.PodSignature + yyv2928.CodecDecodeSelf(d) } case "evictionTime": if r.TryDecodeAsNil() { x.EvictionTime = pkg2_unversioned.Time{} } else { - yyv5 := &x.EvictionTime - yym6 := z.DecBinary() - _ = yym6 + yyv2929 := &x.EvictionTime + yym2930 := z.DecBinary() + _ = yym2930 if false { - } else if z.HasExtensions() && z.DecExt(yyv5) { - } else if yym6 { - z.DecBinaryUnmarshal(yyv5) - } else if !yym6 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv5) + } else if z.HasExtensions() && z.DecExt(yyv2929) { + } else if yym2930 { + z.DecBinaryUnmarshal(yyv2929) + } else if !yym2930 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2929) } else { - z.DecFallback(yyv5, false) + z.DecFallback(yyv2929, false) } } case "reason": @@ -37632,9 +37632,9 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2927) + } // end switch yys2927 + } // end for yyj2927 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37642,16 +37642,16 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj2933 int + var yyb2933 bool + var yyhl2933 bool = l >= 0 + yyj2933++ + if yyhl2933 { + yyb2933 = yyj2933 > l } else { - yyb9 = r.CheckBreak() + yyb2933 = r.CheckBreak() } - if yyb9 { + if yyb2933 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37659,16 +37659,16 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.PodSignature = PodSignature{} } else { - yyv10 := &x.PodSignature - yyv10.CodecDecodeSelf(d) + yyv2934 := &x.PodSignature + yyv2934.CodecDecodeSelf(d) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2933++ + if yyhl2933 { + yyb2933 = yyj2933 > l } else { - yyb9 = r.CheckBreak() + yyb2933 = r.CheckBreak() } - if yyb9 { + if yyb2933 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37676,26 +37676,26 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.EvictionTime = pkg2_unversioned.Time{} } else { - yyv11 := &x.EvictionTime - yym12 := z.DecBinary() - _ = yym12 + yyv2935 := &x.EvictionTime + yym2936 := z.DecBinary() + _ = yym2936 if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else if yym12 { - z.DecBinaryUnmarshal(yyv11) - } else if !yym12 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv11) + } else if z.HasExtensions() && z.DecExt(yyv2935) { + } else if yym2936 { + z.DecBinaryUnmarshal(yyv2935) + } else if !yym2936 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2935) } else { - z.DecFallback(yyv11, false) + z.DecFallback(yyv2935, false) } } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2933++ + if yyhl2933 { + yyb2933 = yyj2933 > l } else { - yyb9 = r.CheckBreak() + yyb2933 = r.CheckBreak() } - if yyb9 { + if yyb2933 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37705,13 +37705,13 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Reason = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2933++ + if yyhl2933 { + yyb2933 = yyj2933 > l } else { - yyb9 = r.CheckBreak() + yyb2933 = r.CheckBreak() } - if yyb9 { + if yyb2933 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37722,17 +37722,17 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Message = string(r.DecodeString()) } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj2933++ + if yyhl2933 { + yyb2933 = yyj2933 > l } else { - yyb9 = r.CheckBreak() + yyb2933 = r.CheckBreak() } - if yyb9 { + if yyb2933 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj2933-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37744,33 +37744,33 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2939 := z.EncBinary() + _ = yym2939 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.PodController != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep2940 := !z.EncBinary() + yy2arr2940 := z.EncBasicHandle().StructToArray + var yyq2940 [1]bool + _, _, _ = yysep2940, yyq2940, yy2arr2940 + const yyr2940 bool = false + yyq2940[0] = x.PodController != nil + var yynn2940 int + if yyr2940 || yy2arr2940 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn2940 = 0 + for _, b := range yyq2940 { if b { - yynn2++ + yynn2940++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2940) + yynn2940 = 0 } - if yyr2 || yy2arr2 { + if yyr2940 || yy2arr2940 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq2940[0] { if x.PodController == nil { r.EncodeNil() } else { @@ -37780,7 +37780,7 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq2940[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podController")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -37791,7 +37791,7 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr2940 || yy2arr2940 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37804,25 +37804,25 @@ func (x *PodSignature) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2942 := z.DecBinary() + _ = yym2942 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2943 := r.ContainerType() + if yyct2943 == codecSelferValueTypeMap1234 { + yyl2943 := r.ReadMapStart() + if yyl2943 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2943, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2943 == codecSelferValueTypeArray1234 { + yyl2943 := r.ReadArrayStart() + if yyl2943 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2943, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37834,12 +37834,12 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2944Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2944Slc + var yyhl2944 bool = l >= 0 + for yyj2944 := 0; ; yyj2944++ { + if yyhl2944 { + if yyj2944 >= l { break } } else { @@ -37848,10 +37848,10 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2944Slc = r.DecodeBytes(yys2944Slc, true, true) + yys2944 := string(yys2944Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2944 { case "podController": if r.TryDecodeAsNil() { if x.PodController != nil { @@ -37864,9 +37864,9 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PodController.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2944) + } // end switch yys2944 + } // end for yyj2944 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37874,16 +37874,16 @@ func (x *PodSignature) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj2946 int + var yyb2946 bool + var yyhl2946 bool = l >= 0 + yyj2946++ + if yyhl2946 { + yyb2946 = yyj2946 > l } else { - yyb5 = r.CheckBreak() + yyb2946 = r.CheckBreak() } - if yyb5 { + if yyb2946 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37899,17 +37899,17 @@ func (x *PodSignature) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PodController.CodecDecodeSelf(d) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj2946++ + if yyhl2946 { + yyb2946 = yyj2946 > l } else { - yyb5 = r.CheckBreak() + yyb2946 = r.CheckBreak() } - if yyb5 { + if yyb2946 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj2946-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37921,37 +37921,37 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2948 := z.EncBinary() + _ = yym2948 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.SizeBytes != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep2949 := !z.EncBinary() + yy2arr2949 := z.EncBasicHandle().StructToArray + var yyq2949 [2]bool + _, _, _ = yysep2949, yyq2949, yy2arr2949 + const yyr2949 bool = false + yyq2949[1] = x.SizeBytes != 0 + var yynn2949 int + if yyr2949 || yy2arr2949 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn2949 = 1 + for _, b := range yyq2949 { if b { - yynn2++ + yynn2949++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2949) + yynn2949 = 0 } - if yyr2 || yy2arr2 { + if yyr2949 || yy2arr2949 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Names == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym2951 := z.EncBinary() + _ = yym2951 if false { } else { z.F.EncSliceStringV(x.Names, false, e) @@ -37964,19 +37964,19 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { if x.Names == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym2952 := z.EncBinary() + _ = yym2952 if false { } else { z.F.EncSliceStringV(x.Names, false, e) } } } - if yyr2 || yy2arr2 { + if yyr2949 || yy2arr2949 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq2949[1] { + yym2954 := z.EncBinary() + _ = yym2954 if false { } else { r.EncodeInt(int64(x.SizeBytes)) @@ -37985,19 +37985,19 @@ func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[1] { + if yyq2949[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sizeBytes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym2955 := z.EncBinary() + _ = yym2955 if false { } else { r.EncodeInt(int64(x.SizeBytes)) } } } - if yyr2 || yy2arr2 { + if yyr2949 || yy2arr2949 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38010,25 +38010,25 @@ func (x *ContainerImage) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2956 := z.DecBinary() + _ = yym2956 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2957 := r.ContainerType() + if yyct2957 == codecSelferValueTypeMap1234 { + yyl2957 := r.ReadMapStart() + if yyl2957 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2957, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2957 == codecSelferValueTypeArray1234 { + yyl2957 := r.ReadArrayStart() + if yyl2957 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2957, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38040,12 +38040,12 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2958Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2958Slc + var yyhl2958 bool = l >= 0 + for yyj2958 := 0; ; yyj2958++ { + if yyhl2958 { + if yyj2958 >= l { break } } else { @@ -38054,20 +38054,20 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2958Slc = r.DecodeBytes(yys2958Slc, true, true) + yys2958 := string(yys2958Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2958 { case "names": if r.TryDecodeAsNil() { x.Names = nil } else { - yyv4 := &x.Names - yym5 := z.DecBinary() - _ = yym5 + yyv2959 := &x.Names + yym2960 := z.DecBinary() + _ = yym2960 if false { } else { - z.F.DecSliceStringX(yyv4, false, d) + z.F.DecSliceStringX(yyv2959, false, d) } } case "sizeBytes": @@ -38077,9 +38077,9 @@ func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SizeBytes = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2958) + } // end switch yys2958 + } // end for yyj2958 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38087,16 +38087,16 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj2962 int + var yyb2962 bool + var yyhl2962 bool = l >= 0 + yyj2962++ + if yyhl2962 { + yyb2962 = yyj2962 > l } else { - yyb7 = r.CheckBreak() + yyb2962 = r.CheckBreak() } - if yyb7 { + if yyb2962 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38104,21 +38104,21 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Names = nil } else { - yyv8 := &x.Names - yym9 := z.DecBinary() - _ = yym9 + yyv2963 := &x.Names + yym2964 := z.DecBinary() + _ = yym2964 if false { } else { - z.F.DecSliceStringX(yyv8, false, d) + z.F.DecSliceStringX(yyv2963, false, d) } } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2962++ + if yyhl2962 { + yyb2962 = yyj2962 > l } else { - yyb7 = r.CheckBreak() + yyb2962 = r.CheckBreak() } - if yyb7 { + if yyb2962 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38129,17 +38129,17 @@ func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SizeBytes = int64(r.DecodeInt(64)) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj2962++ + if yyhl2962 { + yyb2962 = yyj2962 > l } else { - yyb7 = r.CheckBreak() + yyb2962 = r.CheckBreak() } - if yyb7 { + if yyb2962 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj2962-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38148,8 +38148,8 @@ func (x NodePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym2966 := z.EncBinary() + _ = yym2966 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -38161,8 +38161,8 @@ func (x *NodePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2967 := z.DecBinary() + _ = yym2967 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -38174,8 +38174,8 @@ func (x NodeConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym2968 := z.EncBinary() + _ = yym2968 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -38187,8 +38187,8 @@ func (x *NodeConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2969 := z.DecBinary() + _ = yym2969 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -38203,34 +38203,34 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym2970 := z.EncBinary() + _ = yym2970 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = true - yyq2[3] = true - yyq2[4] = x.Reason != "" - yyq2[5] = x.Message != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep2971 := !z.EncBinary() + yy2arr2971 := z.EncBasicHandle().StructToArray + var yyq2971 [6]bool + _, _, _ = yysep2971, yyq2971, yy2arr2971 + const yyr2971 bool = false + yyq2971[2] = true + yyq2971[3] = true + yyq2971[4] = x.Reason != "" + yyq2971[5] = x.Message != "" + var yynn2971 int + if yyr2971 || yy2arr2971 { r.EncodeArrayStart(6) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn2971 = 2 + for _, b := range yyq2971 { if b { - yynn2++ + yynn2971++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn2971) + yynn2971 = 0 } - if yyr2 || yy2arr2 { + if yyr2971 || yy2arr2971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -38239,7 +38239,7 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr2971 || yy2arr2971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -38248,85 +38248,85 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr2971 || yy2arr2971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy10 := &x.LastHeartbeatTime - yym11 := z.EncBinary() - _ = yym11 + if yyq2971[2] { + yy2975 := &x.LastHeartbeatTime + yym2976 := z.EncBinary() + _ = yym2976 if false { - } else if z.HasExtensions() && z.EncExt(yy10) { - } else if yym11 { - z.EncBinaryMarshal(yy10) - } else if !yym11 && z.IsJSONHandle() { - z.EncJSONMarshal(yy10) + } else if z.HasExtensions() && z.EncExt(yy2975) { + } else if yym2976 { + z.EncBinaryMarshal(yy2975) + } else if !yym2976 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2975) } else { - z.EncFallback(yy10) + z.EncFallback(yy2975) } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq2971[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastHeartbeatTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.LastHeartbeatTime - yym13 := z.EncBinary() - _ = yym13 + yy2977 := &x.LastHeartbeatTime + yym2978 := z.EncBinary() + _ = yym2978 if false { - } else if z.HasExtensions() && z.EncExt(yy12) { - } else if yym13 { - z.EncBinaryMarshal(yy12) - } else if !yym13 && z.IsJSONHandle() { - z.EncJSONMarshal(yy12) + } else if z.HasExtensions() && z.EncExt(yy2977) { + } else if yym2978 { + z.EncBinaryMarshal(yy2977) + } else if !yym2978 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2977) } else { - z.EncFallback(yy12) + z.EncFallback(yy2977) } } } - if yyr2 || yy2arr2 { + if yyr2971 || yy2arr2971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yy15 := &x.LastTransitionTime - yym16 := z.EncBinary() - _ = yym16 + if yyq2971[3] { + yy2980 := &x.LastTransitionTime + yym2981 := z.EncBinary() + _ = yym2981 if false { - } else if z.HasExtensions() && z.EncExt(yy15) { - } else if yym16 { - z.EncBinaryMarshal(yy15) - } else if !yym16 && z.IsJSONHandle() { - z.EncJSONMarshal(yy15) + } else if z.HasExtensions() && z.EncExt(yy2980) { + } else if yym2981 { + z.EncBinaryMarshal(yy2980) + } else if !yym2981 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2980) } else { - z.EncFallback(yy15) + z.EncFallback(yy2980) } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq2971[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.LastTransitionTime - yym18 := z.EncBinary() - _ = yym18 + yy2982 := &x.LastTransitionTime + yym2983 := z.EncBinary() + _ = yym2983 if false { - } else if z.HasExtensions() && z.EncExt(yy17) { - } else if yym18 { - z.EncBinaryMarshal(yy17) - } else if !yym18 && z.IsJSONHandle() { - z.EncJSONMarshal(yy17) + } else if z.HasExtensions() && z.EncExt(yy2982) { + } else if yym2983 { + z.EncBinaryMarshal(yy2982) + } else if !yym2983 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2982) } else { - z.EncFallback(yy17) + z.EncFallback(yy2982) } } } - if yyr2 || yy2arr2 { + if yyr2971 || yy2arr2971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 + if yyq2971[4] { + yym2985 := z.EncBinary() + _ = yym2985 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -38335,23 +38335,23 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq2971[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym2986 := z.EncBinary() + _ = yym2986 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr2971 || yy2arr2971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym23 := z.EncBinary() - _ = yym23 + if yyq2971[5] { + yym2988 := z.EncBinary() + _ = yym2988 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -38360,19 +38360,19 @@ func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq2971[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 + yym2989 := z.EncBinary() + _ = yym2989 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr2971 || yy2arr2971 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38385,25 +38385,25 @@ func (x *NodeCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym2990 := z.DecBinary() + _ = yym2990 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct2991 := r.ContainerType() + if yyct2991 == codecSelferValueTypeMap1234 { + yyl2991 := r.ReadMapStart() + if yyl2991 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl2991, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct2991 == codecSelferValueTypeArray1234 { + yyl2991 := r.ReadArrayStart() + if yyl2991 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl2991, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38415,12 +38415,12 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys2992Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2992Slc + var yyhl2992 bool = l >= 0 + for yyj2992 := 0; ; yyj2992++ { + if yyhl2992 { + if yyj2992 >= l { break } } else { @@ -38429,10 +38429,10 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys2992Slc = r.DecodeBytes(yys2992Slc, true, true) + yys2992 := string(yys2992Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys2992 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -38449,34 +38449,34 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv6 := &x.LastHeartbeatTime - yym7 := z.DecBinary() - _ = yym7 + yyv2995 := &x.LastHeartbeatTime + yym2996 := z.DecBinary() + _ = yym2996 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if yym7 { - z.DecBinaryUnmarshal(yyv6) - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv2995) { + } else if yym2996 { + z.DecBinaryUnmarshal(yyv2995) + } else if !yym2996 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2995) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv2995, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv8 := &x.LastTransitionTime - yym9 := z.DecBinary() - _ = yym9 + yyv2997 := &x.LastTransitionTime + yym2998 := z.DecBinary() + _ = yym2998 if false { - } else if z.HasExtensions() && z.DecExt(yyv8) { - } else if yym9 { - z.DecBinaryUnmarshal(yyv8) - } else if !yym9 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv8) + } else if z.HasExtensions() && z.DecExt(yyv2997) { + } else if yym2998 { + z.DecBinaryUnmarshal(yyv2997) + } else if !yym2998 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2997) } else { - z.DecFallback(yyv8, false) + z.DecFallback(yyv2997, false) } } case "reason": @@ -38492,9 +38492,9 @@ func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys2992) + } // end switch yys2992 + } // end for yyj2992 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38502,16 +38502,16 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj3001 int + var yyb3001 bool + var yyhl3001 bool = l >= 0 + yyj3001++ + if yyhl3001 { + yyb3001 = yyj3001 > l } else { - yyb12 = r.CheckBreak() + yyb3001 = r.CheckBreak() } - if yyb12 { + if yyb3001 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38521,13 +38521,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeConditionType(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3001++ + if yyhl3001 { + yyb3001 = yyj3001 > l } else { - yyb12 = r.CheckBreak() + yyb3001 = r.CheckBreak() } - if yyb12 { + if yyb3001 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38537,13 +38537,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3001++ + if yyhl3001 { + yyb3001 = yyj3001 > l } else { - yyb12 = r.CheckBreak() + yyb3001 = r.CheckBreak() } - if yyb12 { + if yyb3001 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38551,26 +38551,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastHeartbeatTime = pkg2_unversioned.Time{} } else { - yyv15 := &x.LastHeartbeatTime - yym16 := z.DecBinary() - _ = yym16 + yyv3004 := &x.LastHeartbeatTime + yym3005 := z.DecBinary() + _ = yym3005 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { - } else if yym16 { - z.DecBinaryUnmarshal(yyv15) - } else if !yym16 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv15) + } else if z.HasExtensions() && z.DecExt(yyv3004) { + } else if yym3005 { + z.DecBinaryUnmarshal(yyv3004) + } else if !yym3005 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3004) } else { - z.DecFallback(yyv15, false) + z.DecFallback(yyv3004, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3001++ + if yyhl3001 { + yyb3001 = yyj3001 > l } else { - yyb12 = r.CheckBreak() + yyb3001 = r.CheckBreak() } - if yyb12 { + if yyb3001 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38578,26 +38578,26 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv17 := &x.LastTransitionTime - yym18 := z.DecBinary() - _ = yym18 + yyv3006 := &x.LastTransitionTime + yym3007 := z.DecBinary() + _ = yym3007 if false { - } else if z.HasExtensions() && z.DecExt(yyv17) { - } else if yym18 { - z.DecBinaryUnmarshal(yyv17) - } else if !yym18 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv17) + } else if z.HasExtensions() && z.DecExt(yyv3006) { + } else if yym3007 { + z.DecBinaryUnmarshal(yyv3006) + } else if !yym3007 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3006) } else { - z.DecFallback(yyv17, false) + z.DecFallback(yyv3006, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3001++ + if yyhl3001 { + yyb3001 = yyj3001 > l } else { - yyb12 = r.CheckBreak() + yyb3001 = r.CheckBreak() } - if yyb12 { + if yyb3001 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38607,13 +38607,13 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3001++ + if yyhl3001 { + yyb3001 = yyj3001 > l } else { - yyb12 = r.CheckBreak() + yyb3001 = r.CheckBreak() } - if yyb12 { + if yyb3001 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38624,17 +38624,17 @@ func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3001++ + if yyhl3001 { + yyb3001 = yyj3001 > l } else { - yyb12 = r.CheckBreak() + yyb3001 = r.CheckBreak() } - if yyb12 { + if yyb3001 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj3001-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38643,8 +38643,8 @@ func (x NodeAddressType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym3010 := z.EncBinary() + _ = yym3010 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -38656,8 +38656,8 @@ func (x *NodeAddressType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3011 := z.DecBinary() + _ = yym3011 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -38672,30 +38672,30 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3012 := z.EncBinary() + _ = yym3012 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep3013 := !z.EncBinary() + yy2arr3013 := z.EncBasicHandle().StructToArray + var yyq3013 [2]bool + _, _, _ = yysep3013, yyq3013, yy2arr3013 + const yyr3013 bool = false + var yynn3013 int + if yyr3013 || yy2arr3013 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn3013 = 2 + for _, b := range yyq3013 { if b { - yynn2++ + yynn3013++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3013) + yynn3013 = 0 } - if yyr2 || yy2arr2 { + if yyr3013 || yy2arr3013 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -38704,10 +38704,10 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr3013 || yy2arr3013 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym3016 := z.EncBinary() + _ = yym3016 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -38716,14 +38716,14 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3017 := z.EncBinary() + _ = yym3017 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr2 || yy2arr2 { + if yyr3013 || yy2arr3013 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38736,25 +38736,25 @@ func (x *NodeAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3018 := z.DecBinary() + _ = yym3018 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3019 := r.ContainerType() + if yyct3019 == codecSelferValueTypeMap1234 { + yyl3019 := r.ReadMapStart() + if yyl3019 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3019, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3019 == codecSelferValueTypeArray1234 { + yyl3019 := r.ReadArrayStart() + if yyl3019 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3019, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38766,12 +38766,12 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -38780,10 +38780,10 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3020Slc = r.DecodeBytes(yys3020Slc, true, true) + yys3020 := string(yys3020Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3020 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -38797,9 +38797,9 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3020) + } // end switch yys3020 + } // end for yyj3020 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38807,16 +38807,16 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj3023 int + var yyb3023 bool + var yyhl3023 bool = l >= 0 + yyj3023++ + if yyhl3023 { + yyb3023 = yyj3023 > l } else { - yyb6 = r.CheckBreak() + yyb3023 = r.CheckBreak() } - if yyb6 { + if yyb3023 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38826,13 +38826,13 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeAddressType(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3023++ + if yyhl3023 { + yyb3023 = yyj3023 > l } else { - yyb6 = r.CheckBreak() + yyb3023 = r.CheckBreak() } - if yyb6 { + if yyb3023 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38843,17 +38843,17 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3023++ + if yyhl3023 { + yyb3023 = yyj3023 > l } else { - yyb6 = r.CheckBreak() + yyb3023 = r.CheckBreak() } - if yyb6 { + if yyb3023 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj3023-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38862,8 +38862,8 @@ func (x ResourceName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym3026 := z.EncBinary() + _ = yym3026 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -38875,8 +38875,8 @@ func (x *ResourceName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3027 := z.DecBinary() + _ = yym3027 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -38891,8 +38891,8 @@ func (x ResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3028 := z.EncBinary() + _ = yym3028 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -38905,8 +38905,8 @@ func (x *ResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3029 := z.DecBinary() + _ = yym3029 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -38921,90 +38921,39 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3030 := z.EncBinary() + _ = yym3030 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3031 := !z.EncBinary() + yy2arr3031 := z.EncBasicHandle().StructToArray + var yyq3031 [5]bool + _, _, _ = yysep3031, yyq3031, yy2arr3031 + const yyr3031 bool = false + yyq3031[0] = x.Kind != "" + yyq3031[1] = x.APIVersion != "" + yyq3031[2] = true + yyq3031[3] = true + yyq3031[4] = true + var yynn3031 int + if yyr3031 || yy2arr3031 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3031 = 0 + for _, b := range yyq3031 { if b { - yynn2++ + yynn3031++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3031) + yynn3031 = 0 } - if yyr2 || yy2arr2 { + if yyr3031 || yy2arr3031 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq3031[0] { + yym3033 := z.EncBinary() + _ = yym3033 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -39013,23 +38962,23 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq3031[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym3034 := z.EncBinary() + _ = yym3034 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr3031 || yy2arr3031 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq3031[1] { + yym3036 := z.EncBinary() + _ = yym3036 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -39038,19 +38987,70 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq3031[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym3037 := z.EncBinary() + _ = yym3037 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3031 || yy2arr3031 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3031[2] { + yy3039 := &x.ObjectMeta + yy3039.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3031[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3040 := &x.ObjectMeta + yy3040.CodecEncodeSelf(e) + } + } + if yyr3031 || yy2arr3031 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3031[3] { + yy3042 := &x.Spec + yy3042.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3031[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3043 := &x.Spec + yy3043.CodecEncodeSelf(e) + } + } + if yyr3031 || yy2arr3031 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3031[4] { + yy3045 := &x.Status + yy3045.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3031[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3046 := &x.Status + yy3046.CodecEncodeSelf(e) + } + } + if yyr3031 || yy2arr3031 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39063,25 +39063,25 @@ func (x *Node) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3047 := z.DecBinary() + _ = yym3047 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3048 := r.ContainerType() + if yyct3048 == codecSelferValueTypeMap1234 { + yyl3048 := r.ReadMapStart() + if yyl3048 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3048, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3048 == codecSelferValueTypeArray1234 { + yyl3048 := r.ReadArrayStart() + if yyl3048 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3048, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39093,12 +39093,12 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3049Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3049Slc + var yyhl3049 bool = l >= 0 + for yyj3049 := 0; ; yyj3049++ { + if yyhl3049 { + if yyj3049 >= l { break } } else { @@ -39107,31 +39107,10 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3049Slc = r.DecodeBytes(yys3049Slc, true, true) + yys3049 := string(yys3049Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = NodeSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = NodeStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys3049 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -39144,10 +39123,31 @@ func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3052 := &x.ObjectMeta + yyv3052.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = NodeSpec{} + } else { + yyv3053 := &x.Spec + yyv3053.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = NodeStatus{} + } else { + yyv3054 := &x.Status + yyv3054.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3049) + } // end switch yys3049 + } // end for yyj3049 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39155,67 +39155,16 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj3055 int + var yyb3055 bool + var yyhl3055 bool = l >= 0 + yyj3055++ + if yyhl3055 { + yyb3055 = yyj3055 > l } else { - yyb9 = r.CheckBreak() + yyb3055 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = NodeSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = NodeStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb3055 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39225,13 +39174,13 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj3055++ + if yyhl3055 { + yyb3055 = yyj3055 > l } else { - yyb9 = r.CheckBreak() + yyb3055 = r.CheckBreak() } - if yyb9 { + if yyb3055 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39241,18 +39190,69 @@ func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj3055++ + if yyhl3055 { + yyb3055 = yyj3055 > l + } else { + yyb3055 = r.CheckBreak() + } + if yyb3055 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3058 := &x.ObjectMeta + yyv3058.CodecDecodeSelf(d) + } + yyj3055++ + if yyhl3055 { + yyb3055 = yyj3055 > l + } else { + yyb3055 = r.CheckBreak() + } + if yyb3055 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = NodeSpec{} + } else { + yyv3059 := &x.Spec + yyv3059.CodecDecodeSelf(d) + } + yyj3055++ + if yyhl3055 { + yyb3055 = yyj3055 > l + } else { + yyb3055 = r.CheckBreak() + } + if yyb3055 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = NodeStatus{} + } else { + yyv3060 := &x.Status + yyv3060.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj3055++ + if yyhl3055 { + yyb3055 = yyj3055 > l } else { - yyb9 = r.CheckBreak() + yyb3055 = r.CheckBreak() } - if yyb9 { + if yyb3055 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj3055-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39264,68 +39264,118 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3061 := z.EncBinary() + _ = yym3061 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3062 := !z.EncBinary() + yy2arr3062 := z.EncBasicHandle().StructToArray + var yyq3062 [4]bool + _, _, _ = yysep3062, yyq3062, yy2arr3062 + const yyr3062 bool = false + yyq3062[0] = x.Kind != "" + yyq3062[1] = x.APIVersion != "" + yyq3062[2] = true + var yynn3062 int + if yyr3062 || yy2arr3062 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3062 = 1 + for _, b := range yyq3062 { if b { - yynn2++ + yynn3062++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3062) + yynn3062 = 0 } - if yyr2 || yy2arr2 { + if yyr3062 || yy2arr3062 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq3062[0] { + yym3064 := z.EncBinary() + _ = yym3064 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3062[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3065 := z.EncBinary() + _ = yym3065 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3062 || yy2arr3062 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3062[1] { + yym3067 := z.EncBinary() + _ = yym3067 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3062[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3068 := z.EncBinary() + _ = yym3068 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3062 || yy2arr3062 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3062[2] { + yy3070 := &x.ListMeta + yym3071 := z.EncBinary() + _ = yym3071 + if false { + } else if z.HasExtensions() && z.EncExt(yy3070) { + } else { + z.EncFallback(yy3070) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3062[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy3072 := &x.ListMeta + yym3073 := z.EncBinary() + _ = yym3073 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy3072) { } else { - z.EncFallback(yy6) + z.EncFallback(yy3072) } } } - if yyr2 || yy2arr2 { + if yyr3062 || yy2arr3062 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym3075 := z.EncBinary() + _ = yym3075 if false { } else { h.encSliceNode(([]Node)(x.Items), e) @@ -39338,65 +39388,15 @@ func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym3076 := z.EncBinary() + _ = yym3076 if false { } else { h.encSliceNode(([]Node)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3062 || yy2arr3062 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39409,25 +39409,25 @@ func (x *NodeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3077 := z.DecBinary() + _ = yym3077 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3078 := r.ContainerType() + if yyct3078 == codecSelferValueTypeMap1234 { + yyl3078 := r.ReadMapStart() + if yyl3078 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3078, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3078 == codecSelferValueTypeArray1234 { + yyl3078 := r.ReadArrayStart() + if yyl3078 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3078, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39439,12 +39439,12 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3079Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3079Slc + var yyhl3079 bool = l >= 0 + for yyj3079 := 0; ; yyj3079++ { + if yyhl3079 { + if yyj3079 >= l { break } } else { @@ -39453,35 +39453,10 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3079Slc = r.DecodeBytes(yys3079Slc, true, true) + yys3079 := string(yys3079Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceNode((*[]Node)(yyv6), d) - } - } + switch yys3079 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -39494,10 +39469,35 @@ func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3082 := &x.ListMeta + yym3083 := z.DecBinary() + _ = yym3083 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3082) { + } else { + z.DecFallback(yyv3082, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3084 := &x.Items + yym3085 := z.DecBinary() + _ = yym3085 + if false { + } else { + h.decSliceNode((*[]Node)(yyv3084), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3079) + } // end switch yys3079 + } // end for yyj3079 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39505,61 +39505,16 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj3086 int + var yyb3086 bool + var yyhl3086 bool = l >= 0 + yyj3086++ + if yyhl3086 { + yyb3086 = yyj3086 > l } else { - yyb10 = r.CheckBreak() + yyb3086 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceNode((*[]Node)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb3086 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39569,13 +39524,13 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3086++ + if yyhl3086 { + yyb3086 = yyj3086 > l } else { - yyb10 = r.CheckBreak() + yyb3086 = r.CheckBreak() } - if yyb10 { + if yyb3086 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39585,18 +39540,63 @@ func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3086++ + if yyhl3086 { + yyb3086 = yyj3086 > l + } else { + yyb3086 = r.CheckBreak() + } + if yyb3086 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3089 := &x.ListMeta + yym3090 := z.DecBinary() + _ = yym3090 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3089) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv3089, false) } - if yyb10 { + } + yyj3086++ + if yyhl3086 { + yyb3086 = yyj3086 > l + } else { + yyb3086 = r.CheckBreak() + } + if yyb3086 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3091 := &x.Items + yym3092 := z.DecBinary() + _ = yym3092 + if false { + } else { + h.decSliceNode((*[]Node)(yyv3091), d) + } + } + for { + yyj3086++ + if yyhl3086 { + yyb3086 = yyj3086 > l + } else { + yyb3086 = r.CheckBreak() + } + if yyb3086 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj3086-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39605,8 +39605,8 @@ func (x FinalizerName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym3093 := z.EncBinary() + _ = yym3093 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -39618,8 +39618,8 @@ func (x *FinalizerName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3094 := z.DecBinary() + _ = yym3094 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -39634,38 +39634,38 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3095 := z.EncBinary() + _ = yym3095 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Finalizers) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep3096 := !z.EncBinary() + yy2arr3096 := z.EncBasicHandle().StructToArray + var yyq3096 [1]bool + _, _, _ = yysep3096, yyq3096, yy2arr3096 + const yyr3096 bool = false + yyq3096[0] = len(x.Finalizers) != 0 + var yynn3096 int + if yyr3096 || yy2arr3096 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3096 = 0 + for _, b := range yyq3096 { if b { - yynn2++ + yynn3096++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3096) + yynn3096 = 0 } - if yyr2 || yy2arr2 { + if yyr3096 || yy2arr3096 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq3096[0] { if x.Finalizers == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym3098 := z.EncBinary() + _ = yym3098 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) @@ -39675,15 +39675,15 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3096[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finalizers")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Finalizers == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym3099 := z.EncBinary() + _ = yym3099 if false { } else { h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) @@ -39691,7 +39691,7 @@ func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3096 || yy2arr3096 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39704,25 +39704,25 @@ func (x *NamespaceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3100 := z.DecBinary() + _ = yym3100 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3101 := r.ContainerType() + if yyct3101 == codecSelferValueTypeMap1234 { + yyl3101 := r.ReadMapStart() + if yyl3101 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3101, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3101 == codecSelferValueTypeArray1234 { + yyl3101 := r.ReadArrayStart() + if yyl3101 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3101, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39734,12 +39734,12 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + 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 { @@ -39748,26 +39748,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3102Slc = r.DecodeBytes(yys3102Slc, true, true) + yys3102 := string(yys3102Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3102 { case "finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv4 := &x.Finalizers - yym5 := z.DecBinary() - _ = yym5 + yyv3103 := &x.Finalizers + yym3104 := z.DecBinary() + _ = yym3104 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv4), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv3103), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3102) + } // end switch yys3102 + } // end for yyj3102 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39775,16 +39775,16 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj3105 int + var yyb3105 bool + var yyhl3105 bool = l >= 0 + yyj3105++ + if yyhl3105 { + yyb3105 = yyj3105 > l } else { - yyb6 = r.CheckBreak() + yyb3105 = r.CheckBreak() } - if yyb6 { + if yyb3105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39792,26 +39792,26 @@ func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv7 := &x.Finalizers - yym8 := z.DecBinary() - _ = yym8 + yyv3106 := &x.Finalizers + yym3107 := z.DecBinary() + _ = yym3107 if false { } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv7), d) + h.decSliceFinalizerName((*[]FinalizerName)(yyv3106), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3105++ + if yyhl3105 { + yyb3105 = yyj3105 > l } else { - yyb6 = r.CheckBreak() + yyb3105 = r.CheckBreak() } - if yyb6 { + if yyb3105 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj3105-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39823,46 +39823,46 @@ func (x *NamespaceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3108 := z.EncBinary() + _ = yym3108 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Phase != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3109 := !z.EncBinary() + yy2arr3109 := z.EncBasicHandle().StructToArray + var yyq3109 [1]bool + _, _, _ = yysep3109, yyq3109, yy2arr3109 + const yyr3109 bool = false + yyq3109[0] = x.Phase != "" + var yynn3109 int + if yyr3109 || yy2arr3109 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3109 = 0 + for _, b := range yyq3109 { if b { - yynn2++ + yynn3109++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3109) + yynn3109 = 0 } - if yyr2 || yy2arr2 { + if yyr3109 || yy2arr3109 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq3109[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq3109[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr3109 || yy2arr3109 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39875,25 +39875,25 @@ func (x *NamespaceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3111 := z.DecBinary() + _ = yym3111 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3112 := r.ContainerType() + if yyct3112 == codecSelferValueTypeMap1234 { + yyl3112 := r.ReadMapStart() + if yyl3112 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3112, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3112 == codecSelferValueTypeArray1234 { + yyl3112 := r.ReadArrayStart() + if yyl3112 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3112, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39905,12 +39905,12 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3113Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3113Slc + var yyhl3113 bool = l >= 0 + for yyj3113 := 0; ; yyj3113++ { + if yyhl3113 { + if yyj3113 >= l { break } } else { @@ -39919,10 +39919,10 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3113Slc = r.DecodeBytes(yys3113Slc, true, true) + yys3113 := string(yys3113Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3113 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -39930,9 +39930,9 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Phase = NamespacePhase(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3113) + } // end switch yys3113 + } // end for yyj3113 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39940,16 +39940,16 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj3115 int + var yyb3115 bool + var yyhl3115 bool = l >= 0 + yyj3115++ + if yyhl3115 { + yyb3115 = yyj3115 > l } else { - yyb5 = r.CheckBreak() + yyb3115 = r.CheckBreak() } - if yyb5 { + if yyb3115 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39960,17 +39960,17 @@ func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Phase = NamespacePhase(r.DecodeString()) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj3115++ + if yyhl3115 { + yyb3115 = yyj3115 > l } else { - yyb5 = r.CheckBreak() + yyb3115 = r.CheckBreak() } - if yyb5 { + if yyb3115 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj3115-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39979,8 +39979,8 @@ func (x NamespacePhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym3117 := z.EncBinary() + _ = yym3117 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -39992,8 +39992,8 @@ func (x *NamespacePhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3118 := z.DecBinary() + _ = yym3118 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -40008,90 +40008,39 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3119 := z.EncBinary() + _ = yym3119 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3120 := !z.EncBinary() + yy2arr3120 := z.EncBasicHandle().StructToArray + var yyq3120 [5]bool + _, _, _ = yysep3120, yyq3120, yy2arr3120 + const yyr3120 bool = false + yyq3120[0] = x.Kind != "" + yyq3120[1] = x.APIVersion != "" + yyq3120[2] = true + yyq3120[3] = true + yyq3120[4] = true + var yynn3120 int + if yyr3120 || yy2arr3120 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3120 = 0 + for _, b := range yyq3120 { if b { - yynn2++ + yynn3120++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3120) + yynn3120 = 0 } - if yyr2 || yy2arr2 { + if yyr3120 || yy2arr3120 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq3120[0] { + yym3122 := z.EncBinary() + _ = yym3122 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40100,23 +40049,23 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq3120[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym3123 := z.EncBinary() + _ = yym3123 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr3120 || yy2arr3120 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq3120[1] { + yym3125 := z.EncBinary() + _ = yym3125 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40125,19 +40074,70 @@ func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq3120[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym3126 := z.EncBinary() + _ = yym3126 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3120 || yy2arr3120 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3120[2] { + yy3128 := &x.ObjectMeta + yy3128.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3120[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3129 := &x.ObjectMeta + yy3129.CodecEncodeSelf(e) + } + } + if yyr3120 || yy2arr3120 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3120[3] { + yy3131 := &x.Spec + yy3131.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3120[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3132 := &x.Spec + yy3132.CodecEncodeSelf(e) + } + } + if yyr3120 || yy2arr3120 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3120[4] { + yy3134 := &x.Status + yy3134.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3120[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3135 := &x.Status + yy3135.CodecEncodeSelf(e) + } + } + if yyr3120 || yy2arr3120 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40150,25 +40150,25 @@ func (x *Namespace) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3136 := z.DecBinary() + _ = yym3136 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3137 := r.ContainerType() + if yyct3137 == codecSelferValueTypeMap1234 { + yyl3137 := r.ReadMapStart() + if yyl3137 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3137, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3137 == codecSelferValueTypeArray1234 { + yyl3137 := r.ReadArrayStart() + if yyl3137 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3137, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40180,12 +40180,12 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3138Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3138Slc + var yyhl3138 bool = l >= 0 + for yyj3138 := 0; ; yyj3138++ { + if yyhl3138 { + if yyj3138 >= l { break } } else { @@ -40194,31 +40194,10 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3138Slc = r.DecodeBytes(yys3138Slc, true, true) + yys3138 := string(yys3138Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = NamespaceSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = NamespaceStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys3138 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -40231,10 +40210,31 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3141 := &x.ObjectMeta + yyv3141.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = NamespaceSpec{} + } else { + yyv3142 := &x.Spec + yyv3142.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = NamespaceStatus{} + } else { + yyv3143 := &x.Status + yyv3143.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3138) + } // end switch yys3138 + } // end for yyj3138 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40242,67 +40242,16 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj3144 int + var yyb3144 bool + var yyhl3144 bool = l >= 0 + yyj3144++ + if yyhl3144 { + yyb3144 = yyj3144 > l } else { - yyb9 = r.CheckBreak() + yyb3144 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = NamespaceSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = NamespaceStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb3144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40312,13 +40261,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj3144++ + if yyhl3144 { + yyb3144 = yyj3144 > l } else { - yyb9 = r.CheckBreak() + yyb3144 = r.CheckBreak() } - if yyb9 { + if yyb3144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40328,18 +40277,69 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj3144++ + if yyhl3144 { + yyb3144 = yyj3144 > l + } else { + yyb3144 = r.CheckBreak() + } + if yyb3144 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3147 := &x.ObjectMeta + yyv3147.CodecDecodeSelf(d) + } + yyj3144++ + if yyhl3144 { + yyb3144 = yyj3144 > l + } else { + yyb3144 = r.CheckBreak() + } + if yyb3144 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = NamespaceSpec{} + } else { + yyv3148 := &x.Spec + yyv3148.CodecDecodeSelf(d) + } + yyj3144++ + if yyhl3144 { + yyb3144 = yyj3144 > l + } else { + yyb3144 = r.CheckBreak() + } + if yyb3144 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = NamespaceStatus{} + } else { + yyv3149 := &x.Status + yyv3149.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj3144++ + if yyhl3144 { + yyb3144 = yyj3144 > l } else { - yyb9 = r.CheckBreak() + yyb3144 = r.CheckBreak() } - if yyb9 { + if yyb3144 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj3144-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40351,68 +40351,118 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3150 := z.EncBinary() + _ = yym3150 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3151 := !z.EncBinary() + yy2arr3151 := z.EncBasicHandle().StructToArray + var yyq3151 [4]bool + _, _, _ = yysep3151, yyq3151, yy2arr3151 + const yyr3151 bool = false + yyq3151[0] = x.Kind != "" + yyq3151[1] = x.APIVersion != "" + yyq3151[2] = true + var yynn3151 int + if yyr3151 || yy2arr3151 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3151 = 1 + for _, b := range yyq3151 { if b { - yynn2++ + yynn3151++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3151) + yynn3151 = 0 } - if yyr2 || yy2arr2 { + if yyr3151 || yy2arr3151 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq3151[0] { + yym3153 := z.EncBinary() + _ = yym3153 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3151[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3154 := z.EncBinary() + _ = yym3154 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3151 || yy2arr3151 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3151[1] { + yym3156 := z.EncBinary() + _ = yym3156 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3151[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3157 := z.EncBinary() + _ = yym3157 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3151 || yy2arr3151 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3151[2] { + yy3159 := &x.ListMeta + yym3160 := z.EncBinary() + _ = yym3160 + if false { + } else if z.HasExtensions() && z.EncExt(yy3159) { + } else { + z.EncFallback(yy3159) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3151[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy3161 := &x.ListMeta + yym3162 := z.EncBinary() + _ = yym3162 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy3161) { } else { - z.EncFallback(yy6) + z.EncFallback(yy3161) } } } - if yyr2 || yy2arr2 { + if yyr3151 || yy2arr3151 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym3164 := z.EncBinary() + _ = yym3164 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) @@ -40425,65 +40475,15 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym3165 := z.EncBinary() + _ = yym3165 if false { } else { h.encSliceNamespace(([]Namespace)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3151 || yy2arr3151 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40496,25 +40496,25 @@ func (x *NamespaceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3166 := z.DecBinary() + _ = yym3166 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3167 := r.ContainerType() + if yyct3167 == codecSelferValueTypeMap1234 { + yyl3167 := r.ReadMapStart() + if yyl3167 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3167, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3167 == codecSelferValueTypeArray1234 { + yyl3167 := r.ReadArrayStart() + if yyl3167 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3167, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40526,12 +40526,12 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3168Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3168Slc + var yyhl3168 bool = l >= 0 + for yyj3168 := 0; ; yyj3168++ { + if yyhl3168 { + if yyj3168 >= l { break } } else { @@ -40540,35 +40540,10 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3168Slc = r.DecodeBytes(yys3168Slc, true, true) + yys3168 := string(yys3168Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceNamespace((*[]Namespace)(yyv6), d) - } - } + switch yys3168 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -40581,10 +40556,35 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3171 := &x.ListMeta + yym3172 := z.DecBinary() + _ = yym3172 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3171) { + } else { + z.DecFallback(yyv3171, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3173 := &x.Items + yym3174 := z.DecBinary() + _ = yym3174 + if false { + } else { + h.decSliceNamespace((*[]Namespace)(yyv3173), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3168) + } // end switch yys3168 + } // end for yyj3168 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40592,61 +40592,16 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj3175 int + var yyb3175 bool + var yyhl3175 bool = l >= 0 + yyj3175++ + if yyhl3175 { + yyb3175 = yyj3175 > l } else { - yyb10 = r.CheckBreak() + yyb3175 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceNamespace((*[]Namespace)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb3175 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40656,13 +40611,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3175++ + if yyhl3175 { + yyb3175 = yyj3175 > l } else { - yyb10 = r.CheckBreak() + yyb3175 = r.CheckBreak() } - if yyb10 { + if yyb3175 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40672,18 +40627,63 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3175++ + if yyhl3175 { + yyb3175 = yyj3175 > l + } else { + yyb3175 = r.CheckBreak() + } + if yyb3175 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3178 := &x.ListMeta + yym3179 := z.DecBinary() + _ = yym3179 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3178) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv3178, false) } - if yyb10 { + } + yyj3175++ + if yyhl3175 { + yyb3175 = yyj3175 > l + } else { + yyb3175 = r.CheckBreak() + } + if yyb3175 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3180 := &x.Items + yym3181 := z.DecBinary() + _ = yym3181 + if false { + } else { + h.decSliceNamespace((*[]Namespace)(yyv3180), d) + } + } + for { + yyj3175++ + if yyhl3175 { + yyb3175 = yyj3175 > l + } else { + yyb3175 = r.CheckBreak() + } + if yyb3175 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj3175-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40695,111 +40695,111 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3182 := z.EncBinary() + _ = yym3182 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3183 := !z.EncBinary() + yy2arr3183 := z.EncBasicHandle().StructToArray + var yyq3183 [4]bool + _, _, _ = yysep3183, yyq3183, yy2arr3183 + const yyr3183 bool = false + yyq3183[0] = x.Kind != "" + yyq3183[1] = x.APIVersion != "" + yyq3183[2] = true + var yynn3183 int + if yyr3183 || yy2arr3183 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3183 = 1 + for _, b := range yyq3183 { if b { - yynn2++ + yynn3183++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3183) + yynn3183 = 0 } - if yyr2 || yy2arr2 { + if yyr3183 || yy2arr3183 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq3183[0] { + yym3185 := z.EncBinary() + _ = yym3185 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3183[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3186 := z.EncBinary() + _ = yym3186 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3183 || yy2arr3183 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3183[1] { + yym3188 := z.EncBinary() + _ = yym3188 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3183[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3189 := z.EncBinary() + _ = yym3189 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3183 || yy2arr3183 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3183[2] { + yy3191 := &x.ObjectMeta + yy3191.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3183[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy3192 := &x.ObjectMeta + yy3192.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr3183 || yy2arr3183 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy9 := &x.Target - yy9.CodecEncodeSelf(e) + yy3194 := &x.Target + yy3194.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("target")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Target - yy11.CodecEncodeSelf(e) + yy3195 := &x.Target + yy3195.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3183 || yy2arr3183 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40812,25 +40812,25 @@ func (x *Binding) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3196 := z.DecBinary() + _ = yym3196 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3197 := r.ContainerType() + if yyct3197 == codecSelferValueTypeMap1234 { + yyl3197 := r.ReadMapStart() + if yyl3197 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3197, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3197 == codecSelferValueTypeArray1234 { + yyl3197 := r.ReadArrayStart() + if yyl3197 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3197, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40842,12 +40842,12 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3198Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3198Slc + var yyhl3198 bool = l >= 0 + for yyj3198 := 0; ; yyj3198++ { + if yyhl3198 { + if yyj3198 >= l { break } } else { @@ -40856,24 +40856,10 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3198Slc = r.DecodeBytes(yys3198Slc, true, true) + yys3198 := string(yys3198Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "target": - if r.TryDecodeAsNil() { - x.Target = ObjectReference{} - } else { - yyv5 := &x.Target - yyv5.CodecDecodeSelf(d) - } + switch yys3198 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -40886,10 +40872,24 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3201 := &x.ObjectMeta + yyv3201.CodecDecodeSelf(d) + } + case "target": + if r.TryDecodeAsNil() { + x.Target = ObjectReference{} + } else { + yyv3202 := &x.Target + yyv3202.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3198) + } // end switch yys3198 + } // end for yyj3198 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40897,50 +40897,16 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj3203 int + var yyb3203 bool + var yyhl3203 bool = l >= 0 + yyj3203++ + if yyhl3203 { + yyb3203 = yyj3203 > l } else { - yyb8 = r.CheckBreak() + yyb3203 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv9 := &x.ObjectMeta - yyv9.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Target = ObjectReference{} - } else { - yyv10 := &x.Target - yyv10.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb3203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40950,13 +40916,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj3203++ + if yyhl3203 { + yyb3203 = yyj3203 > l } else { - yyb8 = r.CheckBreak() + yyb3203 = r.CheckBreak() } - if yyb8 { + if yyb3203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40966,18 +40932,52 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj3203++ + if yyhl3203 { + yyb3203 = yyj3203 > l + } else { + yyb3203 = r.CheckBreak() + } + if yyb3203 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3206 := &x.ObjectMeta + yyv3206.CodecDecodeSelf(d) + } + yyj3203++ + if yyhl3203 { + yyb3203 = yyj3203 > l + } else { + yyb3203 = r.CheckBreak() + } + if yyb3203 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Target = ObjectReference{} + } else { + yyv3207 := &x.Target + yyv3207.CodecDecodeSelf(d) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj3203++ + if yyhl3203 { + yyb3203 = yyj3203 > l } else { - yyb8 = r.CheckBreak() + yyb3203 = r.CheckBreak() } - if yyb8 { + if yyb3203 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj3203-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40989,68 +40989,68 @@ func (x *Preconditions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3208 := z.EncBinary() + _ = yym3208 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.UID != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep3209 := !z.EncBinary() + yy2arr3209 := z.EncBasicHandle().StructToArray + var yyq3209 [1]bool + _, _, _ = yysep3209, yyq3209, yy2arr3209 + const yyr3209 bool = false + yyq3209[0] = x.UID != nil + var yynn3209 int + if yyr3209 || yy2arr3209 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3209 = 0 + for _, b := range yyq3209 { if b { - yynn2++ + yynn3209++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3209) + yynn3209 = 0 } - if yyr2 || yy2arr2 { + if yyr3209 || yy2arr3209 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq3209[0] { if x.UID == nil { r.EncodeNil() } else { - yy4 := *x.UID - yym5 := z.EncBinary() - _ = yym5 + yy3211 := *x.UID + yym3212 := z.EncBinary() + _ = yym3212 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { + } else if z.HasExtensions() && z.EncExt(yy3211) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy4)) + r.EncodeString(codecSelferC_UTF81234, string(yy3211)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3209[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UID == nil { r.EncodeNil() } else { - yy6 := *x.UID - yym7 := z.EncBinary() - _ = yym7 + yy3213 := *x.UID + yym3214 := z.EncBinary() + _ = yym3214 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy3213) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy6)) + r.EncodeString(codecSelferC_UTF81234, string(yy3213)) } } } } - if yyr2 || yy2arr2 { + if yyr3209 || yy2arr3209 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41063,25 +41063,25 @@ func (x *Preconditions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3215 := z.DecBinary() + _ = yym3215 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3216 := r.ContainerType() + if yyct3216 == codecSelferValueTypeMap1234 { + yyl3216 := r.ReadMapStart() + if yyl3216 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3216, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3216 == codecSelferValueTypeArray1234 { + yyl3216 := r.ReadArrayStart() + if yyl3216 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3216, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41093,12 +41093,12 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3217Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3217Slc + var yyhl3217 bool = l >= 0 + for yyj3217 := 0; ; yyj3217++ { + if yyhl3217 { + if yyj3217 >= l { break } } else { @@ -41107,10 +41107,10 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3217Slc = r.DecodeBytes(yys3217Slc, true, true) + yys3217 := string(yys3217Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3217 { case "uid": if r.TryDecodeAsNil() { if x.UID != nil { @@ -41120,8 +41120,8 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.UID == nil { x.UID = new(pkg1_types.UID) } - yym5 := z.DecBinary() - _ = yym5 + yym3219 := z.DecBinary() + _ = yym3219 if false { } else if z.HasExtensions() && z.DecExt(x.UID) { } else { @@ -41129,9 +41129,9 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3217) + } // end switch yys3217 + } // end for yyj3217 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41139,16 +41139,16 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj3220 int + var yyb3220 bool + var yyhl3220 bool = l >= 0 + yyj3220++ + if yyhl3220 { + yyb3220 = yyj3220 > l } else { - yyb6 = r.CheckBreak() + yyb3220 = r.CheckBreak() } - if yyb6 { + if yyb3220 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41161,8 +41161,8 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.UID == nil { x.UID = new(pkg1_types.UID) } - yym8 := z.DecBinary() - _ = yym8 + yym3222 := z.DecBinary() + _ = yym3222 if false { } else if z.HasExtensions() && z.DecExt(x.UID) { } else { @@ -41170,17 +41170,17 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3220++ + if yyhl3220 { + yyb3220 = yyj3220 > l } else { - yyb6 = r.CheckBreak() + yyb3220 = r.CheckBreak() } - if yyb6 { + if yyb3220 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj3220-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41192,72 +41192,122 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3223 := z.EncBinary() + _ = yym3223 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.GracePeriodSeconds != nil - yyq2[1] = x.Preconditions != nil - yyq2[2] = x.OrphanDependents != nil - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3224 := !z.EncBinary() + yy2arr3224 := z.EncBasicHandle().StructToArray + var yyq3224 [5]bool + _, _, _ = yysep3224, yyq3224, yy2arr3224 + const yyr3224 bool = false + yyq3224[0] = x.Kind != "" + yyq3224[1] = x.APIVersion != "" + yyq3224[2] = x.GracePeriodSeconds != nil + yyq3224[3] = x.Preconditions != nil + yyq3224[4] = x.OrphanDependents != nil + var yynn3224 int + if yyr3224 || yy2arr3224 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3224 = 0 + for _, b := range yyq3224 { if b { - yynn2++ + yynn3224++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3224) + yynn3224 = 0 } - if yyr2 || yy2arr2 { + if yyr3224 || yy2arr3224 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq3224[0] { + yym3226 := z.EncBinary() + _ = yym3226 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3224[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3227 := z.EncBinary() + _ = yym3227 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3224 || yy2arr3224 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3224[1] { + yym3229 := z.EncBinary() + _ = yym3229 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3224[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3230 := z.EncBinary() + _ = yym3230 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3224 || yy2arr3224 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3224[2] { if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy4 := *x.GracePeriodSeconds - yym5 := z.EncBinary() - _ = yym5 + yy3232 := *x.GracePeriodSeconds + yym3233 := z.EncBinary() + _ = yym3233 if false { } else { - r.EncodeInt(int64(yy4)) + r.EncodeInt(int64(yy3232)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3224[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy6 := *x.GracePeriodSeconds - yym7 := z.EncBinary() - _ = yym7 + yy3234 := *x.GracePeriodSeconds + yym3235 := z.EncBinary() + _ = yym3235 if false { } else { - r.EncodeInt(int64(yy6)) + r.EncodeInt(int64(yy3234)) } } } } - if yyr2 || yy2arr2 { + if yyr3224 || yy2arr3224 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq3224[3] { if x.Preconditions == nil { r.EncodeNil() } else { @@ -41267,7 +41317,7 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq3224[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preconditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -41278,92 +41328,42 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3224 || yy2arr3224 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq3224[4] { if x.OrphanDependents == nil { r.EncodeNil() } else { - yy12 := *x.OrphanDependents - yym13 := z.EncBinary() - _ = yym13 + yy3238 := *x.OrphanDependents + yym3239 := z.EncBinary() + _ = yym3239 if false { } else { - r.EncodeBool(bool(yy12)) + r.EncodeBool(bool(yy3238)) } } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq3224[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("orphanDependents")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.OrphanDependents == nil { r.EncodeNil() } else { - yy14 := *x.OrphanDependents - yym15 := z.EncBinary() - _ = yym15 + yy3240 := *x.OrphanDependents + yym3241 := z.EncBinary() + _ = yym3241 if false { } else { - r.EncodeBool(bool(yy14)) + r.EncodeBool(bool(yy3240)) } } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3224 || yy2arr3224 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41376,25 +41376,25 @@ func (x *DeleteOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3242 := z.DecBinary() + _ = yym3242 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3243 := r.ContainerType() + if yyct3243 == codecSelferValueTypeMap1234 { + yyl3243 := r.ReadMapStart() + if yyl3243 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3243, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3243 == codecSelferValueTypeArray1234 { + yyl3243 := r.ReadArrayStart() + if yyl3243 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3243, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41406,12 +41406,12 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3244Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3244Slc + var yyhl3244 bool = l >= 0 + for yyj3244 := 0; ; yyj3244++ { + if yyhl3244 { + if yyj3244 >= l { break } } else { @@ -41420,10 +41420,22 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3244Slc = r.DecodeBytes(yys3244Slc, true, true) + yys3244 := string(yys3244Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3244 { + 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 "gracePeriodSeconds": if r.TryDecodeAsNil() { if x.GracePeriodSeconds != nil { @@ -41433,8 +41445,8 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym5 := z.DecBinary() - _ = yym5 + yym3248 := z.DecBinary() + _ = yym3248 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -41460,29 +41472,17 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.OrphanDependents == nil { x.OrphanDependents = new(bool) } - yym8 := z.DecBinary() - _ = yym8 + yym3251 := z.DecBinary() + _ = yym3251 if false { } else { *((*bool)(x.OrphanDependents)) = r.DecodeBool() } } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3244) + } // end switch yys3244 + } // end for yyj3244 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41490,16 +41490,48 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj3252 int + var yyb3252 bool + var yyhl3252 bool = l >= 0 + yyj3252++ + if yyhl3252 { + yyb3252 = yyj3252 > l } else { - yyb11 = r.CheckBreak() + yyb3252 = r.CheckBreak() } - if yyb11 { + if yyb3252 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3252++ + if yyhl3252 { + yyb3252 = yyj3252 > l + } else { + yyb3252 = r.CheckBreak() + } + if yyb3252 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3252++ + if yyhl3252 { + yyb3252 = yyj3252 > l + } else { + yyb3252 = r.CheckBreak() + } + if yyb3252 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41512,20 +41544,20 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym13 := z.DecBinary() - _ = yym13 + yym3256 := z.DecBinary() + _ = yym3256 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3252++ + if yyhl3252 { + yyb3252 = yyj3252 > l } else { - yyb11 = r.CheckBreak() + yyb3252 = r.CheckBreak() } - if yyb11 { + if yyb3252 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41540,13 +41572,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Preconditions.CodecDecodeSelf(d) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3252++ + if yyhl3252 { + yyb3252 = yyj3252 > l } else { - yyb11 = r.CheckBreak() + yyb3252 = r.CheckBreak() } - if yyb11 { + if yyb3252 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41559,57 +41591,25 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.OrphanDependents == nil { x.OrphanDependents = new(bool) } - yym16 := z.DecBinary() - _ = yym16 + yym3259 := z.DecBinary() + _ = yym3259 if false { } else { *((*bool)(x.OrphanDependents)) = r.DecodeBool() } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3252++ + if yyhl3252 { + yyb3252 = yyj3252 > l } else { - yyb11 = r.CheckBreak() + yyb3252 = r.CheckBreak() } - if yyb11 { + if yyb3252 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj3252-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41621,35 +41621,85 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3260 := z.EncBinary() + _ = yym3260 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3261 := !z.EncBinary() + yy2arr3261 := z.EncBasicHandle().StructToArray + var yyq3261 [4]bool + _, _, _ = yysep3261, yyq3261, yy2arr3261 + const yyr3261 bool = false + yyq3261[0] = x.Kind != "" + yyq3261[1] = x.APIVersion != "" + var yynn3261 int + if yyr3261 || yy2arr3261 { r.EncodeArrayStart(4) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn3261 = 2 + for _, b := range yyq3261 { if b { - yynn2++ + yynn3261++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3261) + yynn3261 = 0 } - if yyr2 || yy2arr2 { + if yyr3261 || yy2arr3261 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + if yyq3261[0] { + yym3263 := z.EncBinary() + _ = yym3263 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3261[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3264 := z.EncBinary() + _ = yym3264 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3261 || yy2arr3261 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3261[1] { + yym3266 := z.EncBinary() + _ = yym3266 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3261[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3267 := z.EncBinary() + _ = yym3267 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3261 || yy2arr3261 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym3269 := z.EncBinary() + _ = yym3269 if false { } else { r.EncodeBool(bool(x.Export)) @@ -41658,17 +41708,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3270 := z.EncBinary() + _ = yym3270 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr2 || yy2arr2 { + if yyr3261 || yy2arr3261 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym3272 := z.EncBinary() + _ = yym3272 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -41677,64 +41727,14 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3273 := z.EncBinary() + _ = yym3273 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3261 || yy2arr3261 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41747,25 +41747,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3274 := z.DecBinary() + _ = yym3274 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3275 := r.ContainerType() + if yyct3275 == codecSelferValueTypeMap1234 { + yyl3275 := r.ReadMapStart() + if yyl3275 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3275, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3275 == codecSelferValueTypeArray1234 { + yyl3275 := r.ReadArrayStart() + if yyl3275 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3275, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41777,12 +41777,12 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3276Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3276Slc + var yyhl3276 bool = l >= 0 + for yyj3276 := 0; ; yyj3276++ { + if yyhl3276 { + if yyj3276 >= l { break } } else { @@ -41791,22 +41791,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3276Slc = r.DecodeBytes(yys3276Slc, true, true) + yys3276 := string(yys3276Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "export": - if r.TryDecodeAsNil() { - x.Export = false - } else { - x.Export = bool(r.DecodeBool()) - } - case "exact": - if r.TryDecodeAsNil() { - x.Exact = false - } else { - x.Exact = bool(r.DecodeBool()) - } + switch yys3276 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -41819,10 +41807,22 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "export": + if r.TryDecodeAsNil() { + x.Export = false + } else { + x.Export = bool(r.DecodeBool()) + } + case "exact": + if r.TryDecodeAsNil() { + x.Exact = false + } else { + x.Exact = bool(r.DecodeBool()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3276) + } // end switch yys3276 + } // end for yyj3276 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41830,48 +41830,16 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj3281 int + var yyb3281 bool + var yyhl3281 bool = l >= 0 + yyj3281++ + if yyhl3281 { + yyb3281 = yyj3281 > l } else { - yyb8 = r.CheckBreak() + yyb3281 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Export = false - } else { - x.Export = bool(r.DecodeBool()) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Exact = false - } else { - x.Exact = bool(r.DecodeBool()) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb3281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41881,13 +41849,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj3281++ + if yyhl3281 { + yyb3281 = yyj3281 > l } else { - yyb8 = r.CheckBreak() + yyb3281 = r.CheckBreak() } - if yyb8 { + if yyb3281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41897,18 +41865,50 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + 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.Export = false + } else { + x.Export = bool(r.DecodeBool()) + } + 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.Exact = false + } else { + x.Exact = bool(r.DecodeBool()) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj3281++ + if yyhl3281 { + yyb3281 = yyj3281 > l } else { - yyb8 = r.CheckBreak() + yyb3281 = r.CheckBreak() } - if yyb8 { + if yyb3281 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj3281-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41920,41 +41920,91 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3286 := z.EncBinary() + _ = yym3286 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [7]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.LabelSelector != "" - yyq2[1] = x.FieldSelector != "" - yyq2[2] = x.Watch != false - yyq2[3] = x.ResourceVersion != "" - yyq2[4] = x.TimeoutSeconds != nil - yyq2[5] = x.Kind != "" - yyq2[6] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3287 := !z.EncBinary() + yy2arr3287 := z.EncBasicHandle().StructToArray + var yyq3287 [7]bool + _, _, _ = yysep3287, yyq3287, yy2arr3287 + const yyr3287 bool = false + yyq3287[0] = x.Kind != "" + yyq3287[1] = x.APIVersion != "" + yyq3287[2] = x.LabelSelector != "" + yyq3287[3] = x.FieldSelector != "" + yyq3287[4] = x.Watch != false + yyq3287[5] = x.ResourceVersion != "" + yyq3287[6] = x.TimeoutSeconds != nil + var yynn3287 int + if yyr3287 || yy2arr3287 { r.EncodeArrayStart(7) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3287 = 0 + for _, b := range yyq3287 { if b { - yynn2++ + yynn3287++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3287) + yynn3287 = 0 } - if yyr2 || yy2arr2 { + if yyr3287 || yy2arr3287 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq3287[0] { + yym3289 := z.EncBinary() + _ = yym3289 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3287[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3290 := z.EncBinary() + _ = yym3290 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3287 || yy2arr3287 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3287[1] { + yym3292 := z.EncBinary() + _ = yym3292 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3287[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3293 := z.EncBinary() + _ = yym3293 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3287 || yy2arr3287 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3287[2] { + yym3295 := z.EncBinary() + _ = yym3295 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) @@ -41963,23 +42013,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq3287[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3296 := z.EncBinary() + _ = yym3296 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) } } } - if yyr2 || yy2arr2 { + if yyr3287 || yy2arr3287 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq3287[3] { + yym3298 := z.EncBinary() + _ = yym3298 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) @@ -41988,23 +42038,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq3287[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3299 := z.EncBinary() + _ = yym3299 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) } } } - if yyr2 || yy2arr2 { + if yyr3287 || yy2arr3287 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq3287[4] { + yym3301 := z.EncBinary() + _ = yym3301 if false { } else { r.EncodeBool(bool(x.Watch)) @@ -42013,23 +42063,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[2] { + if yyq3287[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("watch")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym3302 := z.EncBinary() + _ = yym3302 if false { } else { r.EncodeBool(bool(x.Watch)) } } } - if yyr2 || yy2arr2 { + if yyr3287 || yy2arr3287 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq3287[5] { + yym3304 := z.EncBinary() + _ = yym3304 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -42038,104 +42088,54 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq3287[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym3305 := z.EncBinary() + _ = yym3305 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3287 || yy2arr3287 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq3287[6] { if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy16 := *x.TimeoutSeconds - yym17 := z.EncBinary() - _ = yym17 + yy3307 := *x.TimeoutSeconds + yym3308 := z.EncBinary() + _ = yym3308 if false { } else { - r.EncodeInt(int64(yy16)) + r.EncodeInt(int64(yy3307)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq3287[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy18 := *x.TimeoutSeconds - yym19 := z.EncBinary() - _ = yym19 + yy3309 := *x.TimeoutSeconds + yym3310 := z.EncBinary() + _ = yym3310 if false { } else { - r.EncodeInt(int64(yy18)) + r.EncodeInt(int64(yy3309)) } } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym21 := z.EncBinary() - _ = yym21 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym24 := z.EncBinary() - _ = yym24 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym25 := z.EncBinary() - _ = yym25 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3287 || yy2arr3287 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42148,25 +42148,25 @@ func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3311 := z.DecBinary() + _ = yym3311 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3312 := r.ContainerType() + if yyct3312 == codecSelferValueTypeMap1234 { + yyl3312 := r.ReadMapStart() + if yyl3312 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3312, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3312 == codecSelferValueTypeArray1234 { + yyl3312 := r.ReadArrayStart() + if yyl3312 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3312, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42178,12 +42178,12 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3313Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3313Slc + var yyhl3313 bool = l >= 0 + for yyj3313 := 0; ; yyj3313++ { + if yyhl3313 { + if yyj3313 >= l { break } } else { @@ -42192,10 +42192,22 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3313Slc = r.DecodeBytes(yys3313Slc, true, true) + yys3313 := string(yys3313Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3313 { + 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 = "" @@ -42229,29 +42241,17 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym9 := z.DecBinary() - _ = yym9 + yym3321 := z.DecBinary() + _ = yym3321 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3313) + } // end switch yys3313 + } // end for yyj3313 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42259,16 +42259,48 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj3322 int + var yyb3322 bool + var yyhl3322 bool = l >= 0 + yyj3322++ + if yyhl3322 { + yyb3322 = yyj3322 > l } else { - yyb12 = r.CheckBreak() + yyb3322 = r.CheckBreak() } - if yyb12 { + if yyb3322 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3322++ + if yyhl3322 { + yyb3322 = yyj3322 > l + } else { + yyb3322 = r.CheckBreak() + } + if yyb3322 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3322++ + if yyhl3322 { + yyb3322 = yyj3322 > l + } else { + yyb3322 = r.CheckBreak() + } + if yyb3322 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42278,13 +42310,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LabelSelector = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3322++ + if yyhl3322 { + yyb3322 = yyj3322 > l } else { - yyb12 = r.CheckBreak() + yyb3322 = r.CheckBreak() } - if yyb12 { + if yyb3322 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42294,13 +42326,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.FieldSelector = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3322++ + if yyhl3322 { + yyb3322 = yyj3322 > l } else { - yyb12 = r.CheckBreak() + yyb3322 = r.CheckBreak() } - if yyb12 { + if yyb3322 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42310,13 +42342,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Watch = bool(r.DecodeBool()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3322++ + if yyhl3322 { + yyb3322 = yyj3322 > l } else { - yyb12 = r.CheckBreak() + yyb3322 = r.CheckBreak() } - if yyb12 { + if yyb3322 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42326,13 +42358,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3322++ + if yyhl3322 { + yyb3322 = yyj3322 > l } else { - yyb12 = r.CheckBreak() + yyb3322 = r.CheckBreak() } - if yyb12 { + if yyb3322 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42345,57 +42377,25 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym18 := z.DecBinary() - _ = yym18 + yym3330 := z.DecBinary() + _ = yym3330 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj3322++ + if yyhl3322 { + yyb3322 = yyj3322 > l } else { - yyb12 = r.CheckBreak() + yyb3322 = r.CheckBreak() } - if yyb12 { + if yyb3322 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj3322-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42407,44 +42407,94 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3331 := z.EncBinary() + _ = yym3331 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [10]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Container != "" - yyq2[1] = x.Follow != false - yyq2[2] = x.Previous != false - yyq2[3] = x.SinceSeconds != nil - yyq2[4] = x.SinceTime != nil - yyq2[5] = x.Timestamps != false - yyq2[6] = x.TailLines != nil - yyq2[7] = x.LimitBytes != nil - yyq2[8] = x.Kind != "" - yyq2[9] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3332 := !z.EncBinary() + yy2arr3332 := z.EncBasicHandle().StructToArray + var yyq3332 [10]bool + _, _, _ = yysep3332, yyq3332, yy2arr3332 + const yyr3332 bool = false + yyq3332[0] = x.Kind != "" + yyq3332[1] = x.APIVersion != "" + yyq3332[2] = x.Container != "" + yyq3332[3] = x.Follow != false + yyq3332[4] = x.Previous != false + yyq3332[5] = x.SinceSeconds != nil + yyq3332[6] = x.SinceTime != nil + yyq3332[7] = x.Timestamps != false + yyq3332[8] = x.TailLines != nil + yyq3332[9] = x.LimitBytes != nil + var yynn3332 int + if yyr3332 || yy2arr3332 { r.EncodeArrayStart(10) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3332 = 0 + for _, b := range yyq3332 { if b { - yynn2++ + yynn3332++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3332) + yynn3332 = 0 } - if yyr2 || yy2arr2 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq3332[0] { + yym3334 := z.EncBinary() + _ = yym3334 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3332[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3335 := z.EncBinary() + _ = yym3335 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3332 || yy2arr3332 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3332[1] { + yym3337 := z.EncBinary() + _ = yym3337 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3332[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3338 := z.EncBinary() + _ = yym3338 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3332 || yy2arr3332 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3332[2] { + yym3340 := z.EncBinary() + _ = yym3340 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -42453,23 +42503,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq3332[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3341 := z.EncBinary() + _ = yym3341 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr2 || yy2arr2 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq3332[3] { + yym3343 := z.EncBinary() + _ = yym3343 if false { } else { r.EncodeBool(bool(x.Follow)) @@ -42478,23 +42528,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[1] { + if yyq3332[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("follow")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3344 := z.EncBinary() + _ = yym3344 if false { } else { r.EncodeBool(bool(x.Follow)) } } } - if yyr2 || yy2arr2 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq3332[4] { + yym3346 := z.EncBinary() + _ = yym3346 if false { } else { r.EncodeBool(bool(x.Previous)) @@ -42503,66 +42553,66 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[2] { + if yyq3332[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("previous")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym3347 := z.EncBinary() + _ = yym3347 if false { } else { r.EncodeBool(bool(x.Previous)) } } } - if yyr2 || yy2arr2 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq3332[5] { if x.SinceSeconds == nil { r.EncodeNil() } else { - yy13 := *x.SinceSeconds - yym14 := z.EncBinary() - _ = yym14 + yy3349 := *x.SinceSeconds + yym3350 := z.EncBinary() + _ = yym3350 if false { } else { - r.EncodeInt(int64(yy13)) + r.EncodeInt(int64(yy3349)) } } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq3332[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sinceSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SinceSeconds == nil { r.EncodeNil() } else { - yy15 := *x.SinceSeconds - yym16 := z.EncBinary() - _ = yym16 + yy3351 := *x.SinceSeconds + yym3352 := z.EncBinary() + _ = yym3352 if false { } else { - r.EncodeInt(int64(yy15)) + r.EncodeInt(int64(yy3351)) } } } } - if yyr2 || yy2arr2 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq3332[6] { if x.SinceTime == nil { r.EncodeNil() } else { - yym18 := z.EncBinary() - _ = yym18 + yym3354 := z.EncBinary() + _ = yym3354 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym18 { + } else if yym3354 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym18 && z.IsJSONHandle() { + } else if !yym3354 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -42572,20 +42622,20 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq3332[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sinceTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SinceTime == nil { r.EncodeNil() } else { - yym19 := z.EncBinary() - _ = yym19 + yym3355 := z.EncBinary() + _ = yym3355 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym19 { + } else if yym3355 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym19 && z.IsJSONHandle() { + } else if !yym3355 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -42593,11 +42643,11 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym21 := z.EncBinary() - _ = yym21 + if yyq3332[7] { + yym3357 := z.EncBinary() + _ = yym3357 if false { } else { r.EncodeBool(bool(x.Timestamps)) @@ -42606,139 +42656,89 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[5] { + if yyq3332[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timestamps")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym22 := z.EncBinary() - _ = yym22 + yym3358 := z.EncBinary() + _ = yym3358 if false { } else { r.EncodeBool(bool(x.Timestamps)) } } } - if yyr2 || yy2arr2 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq3332[8] { if x.TailLines == nil { r.EncodeNil() } else { - yy24 := *x.TailLines - yym25 := z.EncBinary() - _ = yym25 + yy3360 := *x.TailLines + yym3361 := z.EncBinary() + _ = yym3361 if false { } else { - r.EncodeInt(int64(yy24)) + r.EncodeInt(int64(yy3360)) } } } else { r.EncodeNil() } } else { - if yyq2[6] { + if yyq3332[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tailLines")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TailLines == nil { r.EncodeNil() } else { - yy26 := *x.TailLines - yym27 := z.EncBinary() - _ = yym27 + yy3362 := *x.TailLines + yym3363 := z.EncBinary() + _ = yym3363 if false { } else { - r.EncodeInt(int64(yy26)) + r.EncodeInt(int64(yy3362)) } } } } - if yyr2 || yy2arr2 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq3332[9] { if x.LimitBytes == nil { r.EncodeNil() } else { - yy29 := *x.LimitBytes - yym30 := z.EncBinary() - _ = yym30 + yy3365 := *x.LimitBytes + yym3366 := z.EncBinary() + _ = yym3366 if false { } else { - r.EncodeInt(int64(yy29)) + r.EncodeInt(int64(yy3365)) } } } else { r.EncodeNil() } } else { - if yyq2[7] { + if yyq3332[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("limitBytes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LimitBytes == nil { r.EncodeNil() } else { - yy31 := *x.LimitBytes - yym32 := z.EncBinary() - _ = yym32 + yy3367 := *x.LimitBytes + yym3368 := z.EncBinary() + _ = yym3368 if false { } else { - r.EncodeInt(int64(yy31)) + r.EncodeInt(int64(yy3367)) } } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { - yym34 := z.EncBinary() - _ = yym34 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[8] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym35 := z.EncBinary() - _ = yym35 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { - yym37 := z.EncBinary() - _ = yym37 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[9] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym38 := z.EncBinary() - _ = yym38 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3332 || yy2arr3332 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42751,25 +42751,25 @@ func (x *PodLogOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3369 := z.DecBinary() + _ = yym3369 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3370 := r.ContainerType() + if yyct3370 == codecSelferValueTypeMap1234 { + yyl3370 := r.ReadMapStart() + if yyl3370 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3370, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3370 == codecSelferValueTypeArray1234 { + yyl3370 := r.ReadArrayStart() + if yyl3370 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3370, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42781,12 +42781,12 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3371Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3371Slc + var yyhl3371 bool = l >= 0 + for yyj3371 := 0; ; yyj3371++ { + if yyhl3371 { + if yyj3371 >= l { break } } else { @@ -42795,10 +42795,22 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3371Slc = r.DecodeBytes(yys3371Slc, true, true) + yys3371 := string(yys3371Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3371 { + 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 "container": if r.TryDecodeAsNil() { x.Container = "" @@ -42826,8 +42838,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym8 := z.DecBinary() - _ = yym8 + yym3378 := z.DecBinary() + _ = yym3378 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) @@ -42842,13 +42854,13 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym10 := z.DecBinary() - _ = yym10 + yym3380 := z.DecBinary() + _ = yym3380 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym10 { + } else if yym3380 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym10 && z.IsJSONHandle() { + } else if !yym3380 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) @@ -42869,8 +42881,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym13 := z.DecBinary() - _ = yym13 + yym3383 := z.DecBinary() + _ = yym3383 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) @@ -42885,29 +42897,17 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym15 := z.DecBinary() - _ = yym15 + yym3385 := z.DecBinary() + _ = yym3385 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3371) + } // end switch yys3371 + } // end for yyj3371 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42915,16 +42915,48 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj18 int - var yyb18 bool - var yyhl18 bool = l >= 0 - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + var yyj3386 int + var yyb3386 bool + var yyhl3386 bool = l >= 0 + yyj3386++ + if yyhl3386 { + yyb3386 = yyj3386 > l } else { - yyb18 = r.CheckBreak() + yyb3386 = r.CheckBreak() } - if yyb18 { + if yyb3386 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3386++ + if yyhl3386 { + yyb3386 = yyj3386 > l + } else { + yyb3386 = r.CheckBreak() + } + if yyb3386 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3386++ + if yyhl3386 { + yyb3386 = yyj3386 > l + } else { + yyb3386 = r.CheckBreak() + } + if yyb3386 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42934,13 +42966,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3386++ + if yyhl3386 { + yyb3386 = yyj3386 > l } else { - yyb18 = r.CheckBreak() + yyb3386 = r.CheckBreak() } - if yyb18 { + if yyb3386 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42950,13 +42982,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Follow = bool(r.DecodeBool()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3386++ + if yyhl3386 { + yyb3386 = yyj3386 > l } else { - yyb18 = r.CheckBreak() + yyb3386 = r.CheckBreak() } - if yyb18 { + if yyb3386 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42966,13 +42998,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Previous = bool(r.DecodeBool()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3386++ + if yyhl3386 { + yyb3386 = yyj3386 > l } else { - yyb18 = r.CheckBreak() + yyb3386 = r.CheckBreak() } - if yyb18 { + if yyb3386 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42985,20 +43017,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym23 := z.DecBinary() - _ = yym23 + yym3393 := z.DecBinary() + _ = yym3393 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) } } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3386++ + if yyhl3386 { + yyb3386 = yyj3386 > l } else { - yyb18 = r.CheckBreak() + yyb3386 = r.CheckBreak() } - if yyb18 { + if yyb3386 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43011,25 +43043,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym25 := z.DecBinary() - _ = yym25 + yym3395 := z.DecBinary() + _ = yym3395 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym25 { + } else if yym3395 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym25 && z.IsJSONHandle() { + } else if !yym3395 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) } } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3386++ + if yyhl3386 { + yyb3386 = yyj3386 > l } else { - yyb18 = r.CheckBreak() + yyb3386 = r.CheckBreak() } - if yyb18 { + if yyb3386 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43039,13 +43071,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Timestamps = bool(r.DecodeBool()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3386++ + if yyhl3386 { + yyb3386 = yyj3386 > l } else { - yyb18 = r.CheckBreak() + yyb3386 = r.CheckBreak() } - if yyb18 { + if yyb3386 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43058,20 +43090,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym28 := z.DecBinary() - _ = yym28 + yym3398 := z.DecBinary() + _ = yym3398 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) } } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3386++ + if yyhl3386 { + yyb3386 = yyj3386 > l } else { - yyb18 = r.CheckBreak() + yyb3386 = r.CheckBreak() } - if yyb18 { + if yyb3386 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43084,57 +43116,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym30 := z.DecBinary() - _ = yym30 + yym3400 := z.DecBinary() + _ = yym3400 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } for { - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj3386++ + if yyhl3386 { + yyb3386 = yyj3386 > l } else { - yyb18 = r.CheckBreak() + yyb3386 = r.CheckBreak() } - if yyb18 { + if yyb3386 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj18-1, "") + z.DecStructFieldNotFound(yyj3386-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43146,166 +43146,41 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3401 := z.EncBinary() + _ = yym3401 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [7]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Stdin != false - yyq2[1] = x.Stdout != false - yyq2[2] = x.Stderr != false - yyq2[3] = x.TTY != false - yyq2[4] = x.Container != "" - yyq2[5] = x.Kind != "" - yyq2[6] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3402 := !z.EncBinary() + yy2arr3402 := z.EncBasicHandle().StructToArray + var yyq3402 [7]bool + _, _, _ = yysep3402, yyq3402, yy2arr3402 + const yyr3402 bool = false + yyq3402[0] = x.Kind != "" + yyq3402[1] = x.APIVersion != "" + yyq3402[2] = x.Stdin != false + yyq3402[3] = x.Stdout != false + yyq3402[4] = x.Stderr != false + yyq3402[5] = x.TTY != false + yyq3402[6] = x.Container != "" + var yynn3402 int + if yyr3402 || yy2arr3402 { r.EncodeArrayStart(7) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3402 = 0 + for _, b := range yyq3402 { if b { - yynn2++ + yynn3402++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3402) + yynn3402 = 0 } - if yyr2 || yy2arr2 { + if yyr3402 || yy2arr3402 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 - if false { - } else { - r.EncodeBool(bool(x.Stdin)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stdin")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 - if false { - } else { - r.EncodeBool(bool(x.Stdin)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 - if false { - } else { - r.EncodeBool(bool(x.Stdout)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stdout")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 - if false { - } else { - r.EncodeBool(bool(x.Stdout)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 - if false { - } else { - r.EncodeBool(bool(x.Stderr)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stderr")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 - if false { - } else { - r.EncodeBool(bool(x.Stderr)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeBool(bool(x.TTY)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("tty")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 - if false { - } else { - r.EncodeBool(bool(x.TTY)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Container)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("container")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Container)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq3402[0] { + yym3404 := z.EncBinary() + _ = yym3404 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43314,23 +43189,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq3402[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym3405 := z.EncBinary() + _ = yym3405 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr3402 || yy2arr3402 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym22 := z.EncBinary() - _ = yym22 + if yyq3402[1] { + yym3407 := z.EncBinary() + _ = yym3407 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43339,19 +43214,144 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[6] { + if yyq3402[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym3408 := z.EncBinary() + _ = yym3408 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3402 || yy2arr3402 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3402[2] { + yym3410 := z.EncBinary() + _ = yym3410 + if false { + } else { + r.EncodeBool(bool(x.Stdin)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3402[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("stdin")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3411 := z.EncBinary() + _ = yym3411 + if false { + } else { + r.EncodeBool(bool(x.Stdin)) + } + } + } + if yyr3402 || yy2arr3402 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3402[3] { + yym3413 := z.EncBinary() + _ = yym3413 + if false { + } else { + r.EncodeBool(bool(x.Stdout)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3402[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("stdout")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3414 := z.EncBinary() + _ = yym3414 + if false { + } else { + r.EncodeBool(bool(x.Stdout)) + } + } + } + if yyr3402 || yy2arr3402 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3402[4] { + yym3416 := z.EncBinary() + _ = yym3416 + if false { + } else { + r.EncodeBool(bool(x.Stderr)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3402[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("stderr")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3417 := z.EncBinary() + _ = yym3417 + if false { + } else { + r.EncodeBool(bool(x.Stderr)) + } + } + } + if yyr3402 || yy2arr3402 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3402[5] { + yym3419 := z.EncBinary() + _ = yym3419 + if false { + } else { + r.EncodeBool(bool(x.TTY)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq3402[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("tty")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3420 := z.EncBinary() + _ = yym3420 + if false { + } else { + r.EncodeBool(bool(x.TTY)) + } + } + } + if yyr3402 || yy2arr3402 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3402[6] { + yym3422 := z.EncBinary() + _ = yym3422 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Container)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3402[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("container")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3423 := z.EncBinary() + _ = yym3423 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Container)) + } + } + } + if yyr3402 || yy2arr3402 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43364,25 +43364,25 @@ func (x *PodAttachOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3424 := z.DecBinary() + _ = yym3424 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3425 := r.ContainerType() + if yyct3425 == codecSelferValueTypeMap1234 { + yyl3425 := r.ReadMapStart() + if yyl3425 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3425, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3425 == codecSelferValueTypeArray1234 { + yyl3425 := r.ReadArrayStart() + if yyl3425 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3425, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43394,12 +43394,12 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -43408,10 +43408,22 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3426Slc = r.DecodeBytes(yys3426Slc, true, true) + yys3426 := string(yys3426Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3426 { + 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 "stdin": if r.TryDecodeAsNil() { x.Stdin = false @@ -43442,22 +43454,10 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3426) + } // end switch yys3426 + } // end for yyj3426 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43465,96 +43465,16 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj3434 int + var yyb3434 bool + var yyhl3434 bool = l >= 0 + yyj3434++ + if yyhl3434 { + yyb3434 = yyj3434 > l } else { - yyb11 = r.CheckBreak() + yyb3434 = r.CheckBreak() } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stdin = false - } else { - x.Stdin = bool(r.DecodeBool()) - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stdout = false - } else { - x.Stdout = bool(r.DecodeBool()) - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stderr = false - } else { - x.Stderr = bool(r.DecodeBool()) - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TTY = false - } else { - x.TTY = bool(r.DecodeBool()) - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Container = "" - } else { - x.Container = string(r.DecodeString()) - } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l - } else { - yyb11 = r.CheckBreak() - } - if yyb11 { + if yyb3434 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43564,13 +43484,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3434++ + if yyhl3434 { + yyb3434 = yyj3434 > l } else { - yyb11 = r.CheckBreak() + yyb3434 = r.CheckBreak() } - if yyb11 { + if yyb3434 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43580,18 +43500,98 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + yyj3434++ + if yyhl3434 { + yyb3434 = yyj3434 > l + } else { + yyb3434 = r.CheckBreak() + } + if yyb3434 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stdin = false + } else { + x.Stdin = bool(r.DecodeBool()) + } + yyj3434++ + if yyhl3434 { + yyb3434 = yyj3434 > l + } else { + yyb3434 = r.CheckBreak() + } + if yyb3434 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stdout = false + } else { + x.Stdout = bool(r.DecodeBool()) + } + yyj3434++ + if yyhl3434 { + yyb3434 = yyj3434 > l + } else { + yyb3434 = r.CheckBreak() + } + if yyb3434 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stderr = false + } else { + x.Stderr = bool(r.DecodeBool()) + } + yyj3434++ + if yyhl3434 { + yyb3434 = yyj3434 > l + } else { + yyb3434 = r.CheckBreak() + } + if yyb3434 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TTY = false + } else { + x.TTY = bool(r.DecodeBool()) + } + yyj3434++ + if yyhl3434 { + yyb3434 = yyj3434 > l + } else { + yyb3434 = r.CheckBreak() + } + if yyb3434 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Container = "" + } else { + x.Container = string(r.DecodeString()) + } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3434++ + if yyhl3434 { + yyb3434 = yyj3434 > l } else { - yyb11 = r.CheckBreak() + yyb3434 = r.CheckBreak() } - if yyb11 { + if yyb3434 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj3434-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43603,41 +43603,91 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3442 := z.EncBinary() + _ = yym3442 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [8]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Stdin != false - yyq2[1] = x.Stdout != false - yyq2[2] = x.Stderr != false - yyq2[3] = x.TTY != false - yyq2[4] = x.Container != "" - yyq2[6] = x.Kind != "" - yyq2[7] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3443 := !z.EncBinary() + yy2arr3443 := z.EncBasicHandle().StructToArray + var yyq3443 [8]bool + _, _, _ = yysep3443, yyq3443, yy2arr3443 + const yyr3443 bool = false + yyq3443[0] = x.Kind != "" + yyq3443[1] = x.APIVersion != "" + yyq3443[2] = x.Stdin != false + yyq3443[3] = x.Stdout != false + yyq3443[4] = x.Stderr != false + yyq3443[5] = x.TTY != false + yyq3443[6] = x.Container != "" + var yynn3443 int + if yyr3443 || yy2arr3443 { r.EncodeArrayStart(8) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3443 = 1 + for _, b := range yyq3443 { if b { - yynn2++ + yynn3443++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3443) + yynn3443 = 0 } - if yyr2 || yy2arr2 { + if yyr3443 || yy2arr3443 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq3443[0] { + yym3445 := z.EncBinary() + _ = yym3445 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3443[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3446 := z.EncBinary() + _ = yym3446 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3443 || yy2arr3443 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3443[1] { + yym3448 := z.EncBinary() + _ = yym3448 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3443[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3449 := z.EncBinary() + _ = yym3449 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3443 || yy2arr3443 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3443[2] { + yym3451 := z.EncBinary() + _ = yym3451 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -43646,23 +43696,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[0] { + if yyq3443[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3452 := z.EncBinary() + _ = yym3452 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr2 || yy2arr2 { + if yyr3443 || yy2arr3443 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq3443[3] { + yym3454 := z.EncBinary() + _ = yym3454 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -43671,23 +43721,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[1] { + if yyq3443[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3455 := z.EncBinary() + _ = yym3455 if false { } else { r.EncodeBool(bool(x.Stdout)) } } } - if yyr2 || yy2arr2 { + if yyr3443 || yy2arr3443 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq3443[4] { + yym3457 := z.EncBinary() + _ = yym3457 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -43696,23 +43746,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[2] { + if yyq3443[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym3458 := z.EncBinary() + _ = yym3458 if false { } else { r.EncodeBool(bool(x.Stderr)) } } } - if yyr2 || yy2arr2 { + if yyr3443 || yy2arr3443 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq3443[5] { + yym3460 := z.EncBinary() + _ = yym3460 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -43721,23 +43771,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[3] { + if yyq3443[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym3461 := z.EncBinary() + _ = yym3461 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr2 || yy2arr2 { + if yyr3443 || yy2arr3443 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq3443[6] { + yym3463 := z.EncBinary() + _ = yym3463 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -43746,25 +43796,25 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq3443[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym3464 := z.EncBinary() + _ = yym3464 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr2 || yy2arr2 { + if yyr3443 || yy2arr3443 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Command == nil { r.EncodeNil() } else { - yym19 := z.EncBinary() - _ = yym19 + yym3466 := z.EncBinary() + _ = yym3466 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -43777,65 +43827,15 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.Command == nil { r.EncodeNil() } else { - yym20 := z.EncBinary() - _ = yym20 + yym3467 := z.EncBinary() + _ = yym3467 if false { } else { z.F.EncSliceStringV(x.Command, false, e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym25 := z.EncBinary() - _ = yym25 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[7] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym26 := z.EncBinary() - _ = yym26 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3443 || yy2arr3443 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43848,25 +43848,25 @@ func (x *PodExecOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3468 := z.DecBinary() + _ = yym3468 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3469 := r.ContainerType() + if yyct3469 == codecSelferValueTypeMap1234 { + yyl3469 := r.ReadMapStart() + if yyl3469 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3469, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3469 == codecSelferValueTypeArray1234 { + yyl3469 := r.ReadArrayStart() + if yyl3469 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3469, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43878,12 +43878,12 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3470Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3470Slc + var yyhl3470 bool = l >= 0 + for yyj3470 := 0; ; yyj3470++ { + if yyhl3470 { + if yyj3470 >= l { break } } else { @@ -43892,10 +43892,22 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3470Slc = r.DecodeBytes(yys3470Slc, true, true) + yys3470 := string(yys3470Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3470 { + 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 "stdin": if r.TryDecodeAsNil() { x.Stdin = false @@ -43930,30 +43942,18 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv9 := &x.Command - yym10 := z.DecBinary() - _ = yym10 + yyv3478 := &x.Command + yym3479 := z.DecBinary() + _ = yym3479 if false { } else { - z.F.DecSliceStringX(yyv9, false, d) + z.F.DecSliceStringX(yyv3478, false, d) } } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3470) + } // end switch yys3470 + } // end for yyj3470 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43961,118 +43961,16 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj13 int - var yyb13 bool - var yyhl13 bool = l >= 0 - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + var yyj3480 int + var yyb3480 bool + var yyhl3480 bool = l >= 0 + yyj3480++ + if yyhl3480 { + yyb3480 = yyj3480 > l } else { - yyb13 = r.CheckBreak() + yyb3480 = r.CheckBreak() } - if yyb13 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stdin = false - } else { - x.Stdin = bool(r.DecodeBool()) - } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l - } else { - yyb13 = r.CheckBreak() - } - if yyb13 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stdout = false - } else { - x.Stdout = bool(r.DecodeBool()) - } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l - } else { - yyb13 = r.CheckBreak() - } - if yyb13 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Stderr = false - } else { - x.Stderr = bool(r.DecodeBool()) - } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l - } else { - yyb13 = r.CheckBreak() - } - if yyb13 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TTY = false - } else { - x.TTY = bool(r.DecodeBool()) - } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l - } else { - yyb13 = r.CheckBreak() - } - if yyb13 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Container = "" - } else { - x.Container = string(r.DecodeString()) - } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l - } else { - yyb13 = r.CheckBreak() - } - if yyb13 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Command = nil - } else { - yyv19 := &x.Command - yym20 := z.DecBinary() - _ = yym20 - if false { - } else { - z.F.DecSliceStringX(yyv19, false, d) - } - } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l - } else { - yyb13 = r.CheckBreak() - } - if yyb13 { + if yyb3480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44082,13 +43980,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj3480++ + if yyhl3480 { + yyb3480 = yyj3480 > l } else { - yyb13 = r.CheckBreak() + yyb3480 = r.CheckBreak() } - if yyb13 { + if yyb3480 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44098,18 +43996,120 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj3480++ + if yyhl3480 { + yyb3480 = yyj3480 > l + } else { + yyb3480 = r.CheckBreak() + } + if yyb3480 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stdin = false + } else { + x.Stdin = bool(r.DecodeBool()) + } + yyj3480++ + if yyhl3480 { + yyb3480 = yyj3480 > l + } else { + yyb3480 = r.CheckBreak() + } + if yyb3480 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stdout = false + } else { + x.Stdout = bool(r.DecodeBool()) + } + yyj3480++ + if yyhl3480 { + yyb3480 = yyj3480 > l + } else { + yyb3480 = r.CheckBreak() + } + if yyb3480 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Stderr = false + } else { + x.Stderr = bool(r.DecodeBool()) + } + yyj3480++ + if yyhl3480 { + yyb3480 = yyj3480 > l + } else { + yyb3480 = r.CheckBreak() + } + if yyb3480 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TTY = false + } else { + x.TTY = bool(r.DecodeBool()) + } + yyj3480++ + if yyhl3480 { + yyb3480 = yyj3480 > l + } else { + yyb3480 = r.CheckBreak() + } + if yyb3480 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Container = "" + } else { + x.Container = string(r.DecodeString()) + } + yyj3480++ + if yyhl3480 { + yyb3480 = yyj3480 > l + } else { + yyb3480 = r.CheckBreak() + } + if yyb3480 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Command = nil + } else { + yyv3488 := &x.Command + yym3489 := z.DecBinary() + _ = yym3489 + if false { } else { - yyb13 = r.CheckBreak() + z.F.DecSliceStringX(yyv3488, false, d) } - if yyb13 { + } + for { + yyj3480++ + if yyhl3480 { + yyb3480 = yyj3480 > l + } else { + yyb3480 = r.CheckBreak() + } + if yyb3480 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj13-1, "") + z.DecStructFieldNotFound(yyj3480-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44121,62 +44121,37 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3490 := z.EncBinary() + _ = yym3490 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Path != "" - yyq2[1] = x.Kind != "" - yyq2[2] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3491 := !z.EncBinary() + yy2arr3491 := z.EncBasicHandle().StructToArray + var yyq3491 [3]bool + _, _, _ = yysep3491, yyq3491, yy2arr3491 + const yyr3491 bool = false + yyq3491[0] = x.Kind != "" + yyq3491[1] = x.APIVersion != "" + yyq3491[2] = x.Path != "" + var yynn3491 int + if yyr3491 || yy2arr3491 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3491 = 0 + for _, b := range yyq3491 { if b { - yynn2++ + yynn3491++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3491) + yynn3491 = 0 } - if yyr2 || yy2arr2 { + if yyr3491 || yy2arr3491 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("path")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq3491[0] { + yym3493 := z.EncBinary() + _ = yym3493 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44185,23 +44160,23 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq3491[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3494 := z.EncBinary() + _ = yym3494 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr3491 || yy2arr3491 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq3491[1] { + yym3496 := z.EncBinary() + _ = yym3496 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44210,19 +44185,44 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq3491[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym3497 := z.EncBinary() + _ = yym3497 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3491 || yy2arr3491 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3491[2] { + yym3499 := z.EncBinary() + _ = yym3499 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3491[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("path")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3500 := z.EncBinary() + _ = yym3500 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } + } + if yyr3491 || yy2arr3491 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44235,25 +44235,25 @@ func (x *PodProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3501 := z.DecBinary() + _ = yym3501 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3502 := r.ContainerType() + if yyct3502 == codecSelferValueTypeMap1234 { + yyl3502 := r.ReadMapStart() + if yyl3502 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3502, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3502 == codecSelferValueTypeArray1234 { + yyl3502 := r.ReadArrayStart() + if yyl3502 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3502, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44265,12 +44265,12 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3503Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3503Slc + var yyhl3503 bool = l >= 0 + for yyj3503 := 0; ; yyj3503++ { + if yyhl3503 { + if yyj3503 >= l { break } } else { @@ -44279,16 +44279,10 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3503Slc = r.DecodeBytes(yys3503Slc, true, true) + yys3503 := string(yys3503Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "path": - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } + switch yys3503 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -44301,10 +44295,16 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "path": + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3503) + } // end switch yys3503 + } // end for yyj3503 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44312,32 +44312,16 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj3507 int + var yyb3507 bool + var yyhl3507 bool = l >= 0 + yyj3507++ + if yyhl3507 { + yyb3507 = yyj3507 > l } else { - yyb7 = r.CheckBreak() + yyb3507 = r.CheckBreak() } - if yyb7 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = r.CheckBreak() - } - if yyb7 { + if yyb3507 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44347,13 +44331,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3507++ + if yyhl3507 { + yyb3507 = yyj3507 > l } else { - yyb7 = r.CheckBreak() + yyb3507 = r.CheckBreak() } - if yyb7 { + if yyb3507 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44363,18 +44347,34 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + yyj3507++ + if yyhl3507 { + yyb3507 = yyj3507 > l + } else { + yyb3507 = r.CheckBreak() + } + if yyb3507 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3507++ + if yyhl3507 { + yyb3507 = yyj3507 > l } else { - yyb7 = r.CheckBreak() + yyb3507 = r.CheckBreak() } - if yyb7 { + if yyb3507 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj3507-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44386,62 +44386,37 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3511 := z.EncBinary() + _ = yym3511 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Path != "" - yyq2[1] = x.Kind != "" - yyq2[2] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3512 := !z.EncBinary() + yy2arr3512 := z.EncBasicHandle().StructToArray + var yyq3512 [3]bool + _, _, _ = yysep3512, yyq3512, yy2arr3512 + const yyr3512 bool = false + yyq3512[0] = x.Kind != "" + yyq3512[1] = x.APIVersion != "" + yyq3512[2] = x.Path != "" + var yynn3512 int + if yyr3512 || yy2arr3512 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3512 = 0 + for _, b := range yyq3512 { if b { - yynn2++ + yynn3512++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3512) + yynn3512 = 0 } - if yyr2 || yy2arr2 { + if yyr3512 || yy2arr3512 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("path")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq3512[0] { + yym3514 := z.EncBinary() + _ = yym3514 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44450,23 +44425,23 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq3512[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3515 := z.EncBinary() + _ = yym3515 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr3512 || yy2arr3512 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq3512[1] { + yym3517 := z.EncBinary() + _ = yym3517 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44475,19 +44450,44 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq3512[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym3518 := z.EncBinary() + _ = yym3518 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3512 || yy2arr3512 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3512[2] { + yym3520 := z.EncBinary() + _ = yym3520 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3512[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("path")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3521 := z.EncBinary() + _ = yym3521 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } + } + if yyr3512 || yy2arr3512 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44500,25 +44500,25 @@ func (x *NodeProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3522 := z.DecBinary() + _ = yym3522 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3523 := r.ContainerType() + if yyct3523 == codecSelferValueTypeMap1234 { + yyl3523 := r.ReadMapStart() + if yyl3523 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3523, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3523 == codecSelferValueTypeArray1234 { + yyl3523 := r.ReadArrayStart() + if yyl3523 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3523, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44530,12 +44530,12 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3524Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3524Slc + var yyhl3524 bool = l >= 0 + for yyj3524 := 0; ; yyj3524++ { + if yyhl3524 { + if yyj3524 >= l { break } } else { @@ -44544,16 +44544,10 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3524Slc = r.DecodeBytes(yys3524Slc, true, true) + yys3524 := string(yys3524Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "path": - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } + switch yys3524 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -44566,10 +44560,16 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "path": + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3524) + } // end switch yys3524 + } // end for yyj3524 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44577,32 +44577,16 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj3528 int + var yyb3528 bool + var yyhl3528 bool = l >= 0 + yyj3528++ + if yyhl3528 { + yyb3528 = yyj3528 > l } else { - yyb7 = r.CheckBreak() + yyb3528 = r.CheckBreak() } - if yyb7 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = r.CheckBreak() - } - if yyb7 { + if yyb3528 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44612,13 +44596,13 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3528++ + if yyhl3528 { + yyb3528 = yyj3528 > l } else { - yyb7 = r.CheckBreak() + yyb3528 = r.CheckBreak() } - if yyb7 { + if yyb3528 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44628,18 +44612,34 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + yyj3528++ + if yyhl3528 { + yyb3528 = yyj3528 > l + } else { + yyb3528 = r.CheckBreak() + } + if yyb3528 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3528++ + if yyhl3528 { + yyb3528 = yyj3528 > l } else { - yyb7 = r.CheckBreak() + yyb3528 = r.CheckBreak() } - if yyb7 { + if yyb3528 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj3528-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44651,62 +44651,37 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3532 := z.EncBinary() + _ = yym3532 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Path != "" - yyq2[1] = x.Kind != "" - yyq2[2] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3533 := !z.EncBinary() + yy2arr3533 := z.EncBasicHandle().StructToArray + var yyq3533 [3]bool + _, _, _ = yysep3533, yyq3533, yy2arr3533 + const yyr3533 bool = false + yyq3533[0] = x.Kind != "" + yyq3533[1] = x.APIVersion != "" + yyq3533[2] = x.Path != "" + var yynn3533 int + if yyr3533 || yy2arr3533 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3533 = 0 + for _, b := range yyq3533 { if b { - yynn2++ + yynn3533++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3533) + yynn3533 = 0 } - if yyr2 || yy2arr2 { + if yyr3533 || yy2arr3533 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("path")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Path)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq3533[0] { + yym3535 := z.EncBinary() + _ = yym3535 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44715,23 +44690,23 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq3533[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3536 := z.EncBinary() + _ = yym3536 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr3533 || yy2arr3533 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq3533[1] { + yym3538 := z.EncBinary() + _ = yym3538 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44740,19 +44715,44 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq3533[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym3539 := z.EncBinary() + _ = yym3539 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3533 || yy2arr3533 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3533[2] { + yym3541 := z.EncBinary() + _ = yym3541 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3533[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("path")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3542 := z.EncBinary() + _ = yym3542 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Path)) + } + } + } + if yyr3533 || yy2arr3533 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44765,25 +44765,25 @@ func (x *ServiceProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3543 := z.DecBinary() + _ = yym3543 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3544 := r.ContainerType() + if yyct3544 == codecSelferValueTypeMap1234 { + yyl3544 := r.ReadMapStart() + if yyl3544 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3544, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3544 == codecSelferValueTypeArray1234 { + yyl3544 := r.ReadArrayStart() + if yyl3544 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3544, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44795,12 +44795,12 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3545Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3545Slc + var yyhl3545 bool = l >= 0 + for yyj3545 := 0; ; yyj3545++ { + if yyhl3545 { + if yyj3545 >= l { break } } else { @@ -44809,16 +44809,10 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3545Slc = r.DecodeBytes(yys3545Slc, true, true) + yys3545 := string(yys3545Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "path": - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } + switch yys3545 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -44831,10 +44825,16 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } + case "path": + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3545) + } // end switch yys3545 + } // end for yyj3545 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44842,32 +44842,16 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj3549 int + var yyb3549 bool + var yyhl3549 bool = l >= 0 + yyj3549++ + if yyhl3549 { + yyb3549 = yyj3549 > l } else { - yyb7 = r.CheckBreak() + yyb3549 = r.CheckBreak() } - if yyb7 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Path = "" - } else { - x.Path = string(r.DecodeString()) - } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = r.CheckBreak() - } - if yyb7 { + if yyb3549 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44877,13 +44861,13 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3549++ + if yyhl3549 { + yyb3549 = yyj3549 > l } else { - yyb7 = r.CheckBreak() + yyb3549 = r.CheckBreak() } - if yyb7 { + if yyb3549 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44893,18 +44877,34 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } + yyj3549++ + if yyhl3549 { + yyb3549 = yyj3549 > l + } else { + yyb3549 = r.CheckBreak() + } + if yyb3549 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Path = "" + } else { + x.Path = string(r.DecodeString()) + } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3549++ + if yyhl3549 { + yyb3549 = yyj3549 > l } else { - yyb7 = r.CheckBreak() + yyb3549 = r.CheckBreak() } - if yyb7 { + if yyb3549 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj3549-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44916,34 +44916,34 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3553 := z.EncBinary() + _ = yym3553 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[4] = x.Controller != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep3554 := !z.EncBinary() + yy2arr3554 := z.EncBasicHandle().StructToArray + var yyq3554 [5]bool + _, _, _ = yysep3554, yyq3554, yy2arr3554 + const yyr3554 bool = false + yyq3554[4] = x.Controller != nil + var yynn3554 int + if yyr3554 || yy2arr3554 { r.EncodeArrayStart(5) } else { - yynn2 = 4 - for _, b := range yyq2 { + yynn3554 = 4 + for _, b := range yyq3554 { if b { - yynn2++ + yynn3554++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3554) + yynn3554 = 0 } - if yyr2 || yy2arr2 { + if yyr3554 || yy2arr3554 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym3556 := z.EncBinary() + _ = yym3556 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44952,17 +44952,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3557 := z.EncBinary() + _ = yym3557 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } - if yyr2 || yy2arr2 { + if yyr3554 || yy2arr3554 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym3559 := z.EncBinary() + _ = yym3559 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44971,17 +44971,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3560 := z.EncBinary() + _ = yym3560 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } - if yyr2 || yy2arr2 { + if yyr3554 || yy2arr3554 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym3562 := z.EncBinary() + _ = yym3562 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -44990,17 +44990,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym3563 := z.EncBinary() + _ = yym3563 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr3554 || yy2arr3554 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 + yym3565 := z.EncBinary() + _ = yym3565 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -45010,50 +45010,50 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym3566 := z.EncBinary() + _ = yym3566 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) } } - if yyr2 || yy2arr2 { + if yyr3554 || yy2arr3554 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq3554[4] { if x.Controller == nil { r.EncodeNil() } else { - yy16 := *x.Controller - yym17 := z.EncBinary() - _ = yym17 + yy3568 := *x.Controller + yym3569 := z.EncBinary() + _ = yym3569 if false { } else { - r.EncodeBool(bool(yy16)) + r.EncodeBool(bool(yy3568)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq3554[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("controller")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Controller == nil { r.EncodeNil() } else { - yy18 := *x.Controller - yym19 := z.EncBinary() - _ = yym19 + yy3570 := *x.Controller + yym3571 := z.EncBinary() + _ = yym3571 if false { } else { - r.EncodeBool(bool(yy18)) + r.EncodeBool(bool(yy3570)) } } } } - if yyr2 || yy2arr2 { + if yyr3554 || yy2arr3554 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45066,25 +45066,25 @@ func (x *OwnerReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3572 := z.DecBinary() + _ = yym3572 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3573 := r.ContainerType() + if yyct3573 == codecSelferValueTypeMap1234 { + yyl3573 := r.ReadMapStart() + if yyl3573 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3573, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3573 == codecSelferValueTypeArray1234 { + yyl3573 := r.ReadArrayStart() + if yyl3573 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3573, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45096,12 +45096,12 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3574Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3574Slc + var yyhl3574 bool = l >= 0 + for yyj3574 := 0; ; yyj3574++ { + if yyhl3574 { + if yyj3574 >= l { break } } else { @@ -45110,10 +45110,10 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3574Slc = r.DecodeBytes(yys3574Slc, true, true) + yys3574 := string(yys3574Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3574 { case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" @@ -45147,17 +45147,17 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Controller == nil { x.Controller = new(bool) } - yym9 := z.DecBinary() - _ = yym9 + yym3580 := z.DecBinary() + _ = yym3580 if false { } else { *((*bool)(x.Controller)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3574) + } // end switch yys3574 + } // end for yyj3574 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45165,16 +45165,16 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj3581 int + var yyb3581 bool + var yyhl3581 bool = l >= 0 + yyj3581++ + if yyhl3581 { + yyb3581 = yyj3581 > l } else { - yyb10 = r.CheckBreak() + yyb3581 = r.CheckBreak() } - if yyb10 { + if yyb3581 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45184,13 +45184,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3581++ + if yyhl3581 { + yyb3581 = yyj3581 > l } else { - yyb10 = r.CheckBreak() + yyb3581 = r.CheckBreak() } - if yyb10 { + if yyb3581 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45200,13 +45200,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3581++ + if yyhl3581 { + yyb3581 = yyj3581 > l } else { - yyb10 = r.CheckBreak() + yyb3581 = r.CheckBreak() } - if yyb10 { + if yyb3581 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45216,13 +45216,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3581++ + if yyhl3581 { + yyb3581 = yyj3581 > l } else { - yyb10 = r.CheckBreak() + yyb3581 = r.CheckBreak() } - if yyb10 { + if yyb3581 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45232,13 +45232,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3581++ + if yyhl3581 { + yyb3581 = yyj3581 > l } else { - yyb10 = r.CheckBreak() + yyb3581 = r.CheckBreak() } - if yyb10 { + if yyb3581 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45251,25 +45251,25 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Controller == nil { x.Controller = new(bool) } - yym16 := z.DecBinary() - _ = yym16 + yym3587 := z.DecBinary() + _ = yym3587 if false { } else { *((*bool)(x.Controller)) = r.DecodeBool() } } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3581++ + if yyhl3581 { + yyb3581 = yyj3581 > l } else { - yyb10 = r.CheckBreak() + yyb3581 = r.CheckBreak() } - if yyb10 { + if yyb3581 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj3581-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45281,41 +45281,41 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3588 := z.EncBinary() + _ = yym3588 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [7]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Kind != "" - yyq2[1] = x.Namespace != "" - yyq2[2] = x.Name != "" - yyq2[3] = x.UID != "" - yyq2[4] = x.APIVersion != "" - yyq2[5] = x.ResourceVersion != "" - yyq2[6] = x.FieldPath != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3589 := !z.EncBinary() + yy2arr3589 := z.EncBasicHandle().StructToArray + var yyq3589 [7]bool + _, _, _ = yysep3589, yyq3589, yy2arr3589 + const yyr3589 bool = false + yyq3589[0] = x.Kind != "" + yyq3589[1] = x.Namespace != "" + yyq3589[2] = x.Name != "" + yyq3589[3] = x.UID != "" + yyq3589[4] = x.APIVersion != "" + yyq3589[5] = x.ResourceVersion != "" + yyq3589[6] = x.FieldPath != "" + var yynn3589 int + if yyr3589 || yy2arr3589 { r.EncodeArrayStart(7) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3589 = 0 + for _, b := range yyq3589 { if b { - yynn2++ + yynn3589++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3589) + yynn3589 = 0 } - if yyr2 || yy2arr2 { + if yyr3589 || yy2arr3589 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq3589[0] { + yym3591 := z.EncBinary() + _ = yym3591 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -45324,23 +45324,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq3589[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3592 := z.EncBinary() + _ = yym3592 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr3589 || yy2arr3589 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq3589[1] { + yym3594 := z.EncBinary() + _ = yym3594 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -45349,23 +45349,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq3589[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3595 := z.EncBinary() + _ = yym3595 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } - if yyr2 || yy2arr2 { + if yyr3589 || yy2arr3589 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq3589[2] { + yym3597 := z.EncBinary() + _ = yym3597 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -45374,23 +45374,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq3589[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym3598 := z.EncBinary() + _ = yym3598 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2 || yy2arr2 { + if yyr3589 || yy2arr3589 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq3589[3] { + yym3600 := z.EncBinary() + _ = yym3600 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -45400,12 +45400,12 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq3589[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym3601 := z.EncBinary() + _ = yym3601 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -45413,11 +45413,11 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3589 || yy2arr3589 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq3589[4] { + yym3603 := z.EncBinary() + _ = yym3603 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -45426,23 +45426,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq3589[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym3604 := z.EncBinary() + _ = yym3604 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3589 || yy2arr3589 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq3589[5] { + yym3606 := z.EncBinary() + _ = yym3606 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -45451,23 +45451,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq3589[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym3607 := z.EncBinary() + _ = yym3607 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3589 || yy2arr3589 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym22 := z.EncBinary() - _ = yym22 + if yyq3589[6] { + yym3609 := z.EncBinary() + _ = yym3609 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -45476,19 +45476,19 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[6] { + if yyq3589[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym3610 := z.EncBinary() + _ = yym3610 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } } - if yyr2 || yy2arr2 { + if yyr3589 || yy2arr3589 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45501,25 +45501,25 @@ func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3611 := z.DecBinary() + _ = yym3611 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3612 := r.ContainerType() + if yyct3612 == codecSelferValueTypeMap1234 { + yyl3612 := r.ReadMapStart() + if yyl3612 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3612, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3612 == codecSelferValueTypeArray1234 { + yyl3612 := r.ReadArrayStart() + if yyl3612 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3612, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45531,12 +45531,12 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3613Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3613Slc + var yyhl3613 bool = l >= 0 + for yyj3613 := 0; ; yyj3613++ { + if yyhl3613 { + if yyj3613 >= l { break } } else { @@ -45545,10 +45545,10 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3613Slc = r.DecodeBytes(yys3613Slc, true, true) + yys3613 := string(yys3613Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3613 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -45592,9 +45592,9 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3613) + } // end switch yys3613 + } // end for yyj3613 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45602,16 +45602,16 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj3621 int + var yyb3621 bool + var yyhl3621 bool = l >= 0 + yyj3621++ + if yyhl3621 { + yyb3621 = yyj3621 > l } else { - yyb11 = r.CheckBreak() + yyb3621 = r.CheckBreak() } - if yyb11 { + if yyb3621 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45621,13 +45621,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3621++ + if yyhl3621 { + yyb3621 = yyj3621 > l } else { - yyb11 = r.CheckBreak() + yyb3621 = r.CheckBreak() } - if yyb11 { + if yyb3621 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45637,13 +45637,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Namespace = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3621++ + if yyhl3621 { + yyb3621 = yyj3621 > l } else { - yyb11 = r.CheckBreak() + yyb3621 = r.CheckBreak() } - if yyb11 { + if yyb3621 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45653,13 +45653,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3621++ + if yyhl3621 { + yyb3621 = yyj3621 > l } else { - yyb11 = r.CheckBreak() + yyb3621 = r.CheckBreak() } - if yyb11 { + if yyb3621 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45669,13 +45669,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3621++ + if yyhl3621 { + yyb3621 = yyj3621 > l } else { - yyb11 = r.CheckBreak() + yyb3621 = r.CheckBreak() } - if yyb11 { + if yyb3621 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45685,13 +45685,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3621++ + if yyhl3621 { + yyb3621 = yyj3621 > l } else { - yyb11 = r.CheckBreak() + yyb3621 = r.CheckBreak() } - if yyb11 { + if yyb3621 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45701,13 +45701,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ResourceVersion = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3621++ + if yyhl3621 { + yyb3621 = yyj3621 > l } else { - yyb11 = r.CheckBreak() + yyb3621 = r.CheckBreak() } - if yyb11 { + if yyb3621 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45718,17 +45718,17 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.FieldPath = string(r.DecodeString()) } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj3621++ + if yyhl3621 { + yyb3621 = yyj3621 > l } else { - yyb11 = r.CheckBreak() + yyb3621 = r.CheckBreak() } - if yyb11 { + if yyb3621 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj3621-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45740,35 +45740,35 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3629 := z.EncBinary() + _ = yym3629 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Name != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3630 := !z.EncBinary() + yy2arr3630 := z.EncBasicHandle().StructToArray + var yyq3630 [1]bool + _, _, _ = yysep3630, yyq3630, yy2arr3630 + const yyr3630 bool = false + yyq3630[0] = x.Name != "" + var yynn3630 int + if yyr3630 || yy2arr3630 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3630 = 0 + for _, b := range yyq3630 { if b { - yynn2++ + yynn3630++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3630) + yynn3630 = 0 } - if yyr2 || yy2arr2 { + if yyr3630 || yy2arr3630 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq3630[0] { + yym3632 := z.EncBinary() + _ = yym3632 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -45777,19 +45777,19 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq3630[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3633 := z.EncBinary() + _ = yym3633 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2 || yy2arr2 { + if yyr3630 || yy2arr3630 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45802,25 +45802,25 @@ func (x *LocalObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3634 := z.DecBinary() + _ = yym3634 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3635 := r.ContainerType() + if yyct3635 == codecSelferValueTypeMap1234 { + yyl3635 := r.ReadMapStart() + if yyl3635 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3635, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3635 == codecSelferValueTypeArray1234 { + yyl3635 := r.ReadArrayStart() + if yyl3635 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3635, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45832,12 +45832,12 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3636Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3636Slc + var yyhl3636 bool = l >= 0 + for yyj3636 := 0; ; yyj3636++ { + if yyhl3636 { + if yyj3636 >= l { break } } else { @@ -45846,10 +45846,10 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3636Slc = r.DecodeBytes(yys3636Slc, true, true) + yys3636 := string(yys3636Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3636 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -45857,9 +45857,9 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3636) + } // end switch yys3636 + } // end for yyj3636 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45867,16 +45867,16 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj3638 int + var yyb3638 bool + var yyhl3638 bool = l >= 0 + yyj3638++ + if yyhl3638 { + yyb3638 = yyj3638 > l } else { - yyb5 = r.CheckBreak() + yyb3638 = r.CheckBreak() } - if yyb5 { + if yyb3638 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45887,17 +45887,17 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Name = string(r.DecodeString()) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj3638++ + if yyhl3638 { + yyb3638 = yyj3638 > l } else { - yyb5 = r.CheckBreak() + yyb3638 = r.CheckBreak() } - if yyb5 { + if yyb3638 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj3638-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45909,100 +45909,100 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3640 := z.EncBinary() + _ = yym3640 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = x.Kind != "" - yyq2[2] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3641 := !z.EncBinary() + yy2arr3641 := z.EncBasicHandle().StructToArray + var yyq3641 [3]bool + _, _, _ = yysep3641, yyq3641, yy2arr3641 + const yyr3641 bool = false + yyq3641[0] = x.Kind != "" + yyq3641[1] = x.APIVersion != "" + yyq3641[2] = true + var yynn3641 int + if yyr3641 || yy2arr3641 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3641 = 0 + for _, b := range yyq3641 { if b { - yynn2++ + yynn3641++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3641) + yynn3641 = 0 } - if yyr2 || yy2arr2 { + if yyr3641 || yy2arr3641 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.Reference - yy4.CodecEncodeSelf(e) + if yyq3641[0] { + yym3643 := z.EncBinary() + _ = yym3643 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3641[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3644 := z.EncBinary() + _ = yym3644 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3641 || yy2arr3641 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3641[1] { + yym3646 := z.EncBinary() + _ = yym3646 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3641[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3647 := z.EncBinary() + _ = yym3647 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3641 || yy2arr3641 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3641[2] { + yy3649 := &x.Reference + yy3649.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3641[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.Reference - yy6.CodecEncodeSelf(e) + yy3650 := &x.Reference + yy3650.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym9 := z.EncBinary() - _ = yym9 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym10 := z.EncBinary() - _ = yym10 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3641 || yy2arr3641 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46015,25 +46015,25 @@ func (x *SerializedReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3651 := z.DecBinary() + _ = yym3651 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3652 := r.ContainerType() + if yyct3652 == codecSelferValueTypeMap1234 { + yyl3652 := r.ReadMapStart() + if yyl3652 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3652, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3652 == codecSelferValueTypeArray1234 { + yyl3652 := r.ReadArrayStart() + if yyl3652 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3652, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46045,12 +46045,12 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3653Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3653Slc + var yyhl3653 bool = l >= 0 + for yyj3653 := 0; ; yyj3653++ { + if yyhl3653 { + if yyj3653 >= l { break } } else { @@ -46059,17 +46059,10 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3653Slc = r.DecodeBytes(yys3653Slc, true, true) + yys3653 := string(yys3653Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "reference": - if r.TryDecodeAsNil() { - x.Reference = ObjectReference{} - } else { - yyv4 := &x.Reference - yyv4.CodecDecodeSelf(d) - } + switch yys3653 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -46082,10 +46075,17 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } + case "reference": + if r.TryDecodeAsNil() { + x.Reference = ObjectReference{} + } else { + yyv3656 := &x.Reference + yyv3656.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3653) + } // end switch yys3653 + } // end for yyj3653 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46093,33 +46093,16 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj3657 int + var yyb3657 bool + var yyhl3657 bool = l >= 0 + yyj3657++ + if yyhl3657 { + yyb3657 = yyj3657 > l } else { - yyb7 = r.CheckBreak() + yyb3657 = r.CheckBreak() } - if yyb7 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Reference = ObjectReference{} - } else { - yyv8 := &x.Reference - yyv8.CodecDecodeSelf(d) - } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l - } else { - yyb7 = r.CheckBreak() - } - if yyb7 { + if yyb3657 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46129,13 +46112,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3657++ + if yyhl3657 { + yyb3657 = yyj3657 > l } else { - yyb7 = r.CheckBreak() + yyb3657 = r.CheckBreak() } - if yyb7 { + if yyb3657 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46145,18 +46128,35 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } + yyj3657++ + if yyhl3657 { + yyb3657 = yyj3657 > l + } else { + yyb3657 = r.CheckBreak() + } + if yyb3657 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reference = ObjectReference{} + } else { + yyv3660 := &x.Reference + yyv3660.CodecDecodeSelf(d) + } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3657++ + if yyhl3657 { + yyb3657 = yyj3657 > l } else { - yyb7 = r.CheckBreak() + yyb3657 = r.CheckBreak() } - if yyb7 { + if yyb3657 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj3657-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46168,36 +46168,36 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3661 := z.EncBinary() + _ = yym3661 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Component != "" - yyq2[1] = x.Host != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3662 := !z.EncBinary() + yy2arr3662 := z.EncBasicHandle().StructToArray + var yyq3662 [2]bool + _, _, _ = yysep3662, yyq3662, yy2arr3662 + const yyr3662 bool = false + yyq3662[0] = x.Component != "" + yyq3662[1] = x.Host != "" + var yynn3662 int + if yyr3662 || yy2arr3662 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3662 = 0 + for _, b := range yyq3662 { if b { - yynn2++ + yynn3662++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3662) + yynn3662 = 0 } - if yyr2 || yy2arr2 { + if yyr3662 || yy2arr3662 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq3662[0] { + yym3664 := z.EncBinary() + _ = yym3664 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) @@ -46206,23 +46206,23 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq3662[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("component")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym3665 := z.EncBinary() + _ = yym3665 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) } } } - if yyr2 || yy2arr2 { + if yyr3662 || yy2arr3662 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq3662[1] { + yym3667 := z.EncBinary() + _ = yym3667 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -46231,19 +46231,19 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq3662[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym3668 := z.EncBinary() + _ = yym3668 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr2 || yy2arr2 { + if yyr3662 || yy2arr3662 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46256,25 +46256,25 @@ func (x *EventSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3669 := z.DecBinary() + _ = yym3669 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3670 := r.ContainerType() + if yyct3670 == codecSelferValueTypeMap1234 { + yyl3670 := r.ReadMapStart() + if yyl3670 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3670, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3670 == codecSelferValueTypeArray1234 { + yyl3670 := r.ReadArrayStart() + if yyl3670 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3670, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46286,12 +46286,12 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3671Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3671Slc + var yyhl3671 bool = l >= 0 + for yyj3671 := 0; ; yyj3671++ { + if yyhl3671 { + if yyj3671 >= l { break } } else { @@ -46300,10 +46300,10 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3671Slc = r.DecodeBytes(yys3671Slc, true, true) + yys3671 := string(yys3671Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3671 { case "component": if r.TryDecodeAsNil() { x.Component = "" @@ -46317,9 +46317,9 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3671) + } // end switch yys3671 + } // end for yyj3671 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46327,16 +46327,16 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj3674 int + var yyb3674 bool + var yyhl3674 bool = l >= 0 + yyj3674++ + if yyhl3674 { + yyb3674 = yyj3674 > l } else { - yyb6 = r.CheckBreak() + yyb3674 = r.CheckBreak() } - if yyb6 { + if yyb3674 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46346,13 +46346,13 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Component = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3674++ + if yyhl3674 { + yyb3674 = yyj3674 > l } else { - yyb6 = r.CheckBreak() + yyb3674 = r.CheckBreak() } - if yyb6 { + if yyb3674 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46363,17 +46363,17 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3674++ + if yyhl3674 { + yyb3674 = yyj3674 > l } else { - yyb6 = r.CheckBreak() + yyb3674 = r.CheckBreak() } - if yyb6 { + if yyb3674 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj3674-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46385,65 +46385,115 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3677 := z.EncBinary() + _ = yym3677 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [11]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.Reason != "" - yyq2[3] = x.Message != "" - yyq2[4] = true - yyq2[5] = true - yyq2[6] = true - yyq2[7] = x.Count != 0 - yyq2[8] = x.Type != "" - yyq2[9] = x.Kind != "" - yyq2[10] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3678 := !z.EncBinary() + yy2arr3678 := z.EncBasicHandle().StructToArray + var yyq3678 [11]bool + _, _, _ = yysep3678, yyq3678, yy2arr3678 + const yyr3678 bool = false + yyq3678[0] = x.Kind != "" + yyq3678[1] = x.APIVersion != "" + yyq3678[4] = x.Reason != "" + yyq3678[5] = x.Message != "" + yyq3678[6] = true + yyq3678[7] = true + yyq3678[8] = true + yyq3678[9] = x.Count != 0 + yyq3678[10] = x.Type != "" + var yynn3678 int + if yyr3678 || yy2arr3678 { r.EncodeArrayStart(11) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn3678 = 2 + for _, b := range yyq3678 { if b { - yynn2++ + yynn3678++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3678) + yynn3678 = 0 } - if yyr2 || yy2arr2 { + if yyr3678 || yy2arr3678 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq3678[0] { + yym3680 := z.EncBinary() + _ = yym3680 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3678[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3681 := z.EncBinary() + _ = yym3681 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3678 || yy2arr3678 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3678[1] { + yym3683 := z.EncBinary() + _ = yym3683 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3678[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3684 := z.EncBinary() + _ = yym3684 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3678 || yy2arr3678 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3686 := &x.ObjectMeta + yy3686.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy3687 := &x.ObjectMeta + yy3687.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr3678 || yy2arr3678 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy9 := &x.InvolvedObject - yy9.CodecEncodeSelf(e) + yy3689 := &x.InvolvedObject + yy3689.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.InvolvedObject - yy11.CodecEncodeSelf(e) + yy3690 := &x.InvolvedObject + yy3690.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr3678 || yy2arr3678 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq3678[4] { + yym3692 := z.EncBinary() + _ = yym3692 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -46452,23 +46502,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq3678[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym3693 := z.EncBinary() + _ = yym3693 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr3678 || yy2arr3678 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq3678[5] { + yym3695 := z.EncBinary() + _ = yym3695 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -46477,114 +46527,114 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq3678[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym3696 := z.EncBinary() + _ = yym3696 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr3678 || yy2arr3678 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yy20 := &x.Source - yy20.CodecEncodeSelf(e) + if yyq3678[6] { + yy3698 := &x.Source + yy3698.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq3678[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("source")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy22 := &x.Source - yy22.CodecEncodeSelf(e) + yy3699 := &x.Source + yy3699.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr3678 || yy2arr3678 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yy25 := &x.FirstTimestamp - yym26 := z.EncBinary() - _ = yym26 + if yyq3678[7] { + yy3701 := &x.FirstTimestamp + yym3702 := z.EncBinary() + _ = yym3702 if false { - } else if z.HasExtensions() && z.EncExt(yy25) { - } else if yym26 { - z.EncBinaryMarshal(yy25) - } else if !yym26 && z.IsJSONHandle() { - z.EncJSONMarshal(yy25) + } else if z.HasExtensions() && z.EncExt(yy3701) { + } else if yym3702 { + z.EncBinaryMarshal(yy3701) + } else if !yym3702 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3701) } else { - z.EncFallback(yy25) + z.EncFallback(yy3701) } } else { r.EncodeNil() } } else { - if yyq2[5] { + if yyq3678[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("firstTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy27 := &x.FirstTimestamp - yym28 := z.EncBinary() - _ = yym28 + yy3703 := &x.FirstTimestamp + yym3704 := z.EncBinary() + _ = yym3704 if false { - } else if z.HasExtensions() && z.EncExt(yy27) { - } else if yym28 { - z.EncBinaryMarshal(yy27) - } else if !yym28 && z.IsJSONHandle() { - z.EncJSONMarshal(yy27) + } else if z.HasExtensions() && z.EncExt(yy3703) { + } else if yym3704 { + z.EncBinaryMarshal(yy3703) + } else if !yym3704 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3703) } else { - z.EncFallback(yy27) + z.EncFallback(yy3703) } } } - if yyr2 || yy2arr2 { + if yyr3678 || yy2arr3678 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yy30 := &x.LastTimestamp - yym31 := z.EncBinary() - _ = yym31 + if yyq3678[8] { + yy3706 := &x.LastTimestamp + yym3707 := z.EncBinary() + _ = yym3707 if false { - } else if z.HasExtensions() && z.EncExt(yy30) { - } else if yym31 { - z.EncBinaryMarshal(yy30) - } else if !yym31 && z.IsJSONHandle() { - z.EncJSONMarshal(yy30) + } else if z.HasExtensions() && z.EncExt(yy3706) { + } else if yym3707 { + z.EncBinaryMarshal(yy3706) + } else if !yym3707 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3706) } else { - z.EncFallback(yy30) + z.EncFallback(yy3706) } } else { r.EncodeNil() } } else { - if yyq2[6] { + if yyq3678[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy32 := &x.LastTimestamp - yym33 := z.EncBinary() - _ = yym33 + yy3708 := &x.LastTimestamp + yym3709 := z.EncBinary() + _ = yym3709 if false { - } else if z.HasExtensions() && z.EncExt(yy32) { - } else if yym33 { - z.EncBinaryMarshal(yy32) - } else if !yym33 && z.IsJSONHandle() { - z.EncJSONMarshal(yy32) + } else if z.HasExtensions() && z.EncExt(yy3708) { + } else if yym3709 { + z.EncBinaryMarshal(yy3708) + } else if !yym3709 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3708) } else { - z.EncFallback(yy32) + z.EncFallback(yy3708) } } } - if yyr2 || yy2arr2 { + if yyr3678 || yy2arr3678 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym35 := z.EncBinary() - _ = yym35 + if yyq3678[9] { + yym3711 := z.EncBinary() + _ = yym3711 if false { } else { r.EncodeInt(int64(x.Count)) @@ -46593,23 +46643,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[7] { + if yyq3678[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("count")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym36 := z.EncBinary() - _ = yym36 + yym3712 := z.EncBinary() + _ = yym3712 if false { } else { r.EncodeInt(int64(x.Count)) } } } - if yyr2 || yy2arr2 { + if yyr3678 || yy2arr3678 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { - yym38 := z.EncBinary() - _ = yym38 + if yyq3678[10] { + yym3714 := z.EncBinary() + _ = yym3714 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -46618,69 +46668,19 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[8] { + if yyq3678[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym39 := z.EncBinary() - _ = yym39 + yym3715 := z.EncBinary() + _ = yym3715 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { - yym41 := z.EncBinary() - _ = yym41 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[9] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym42 := z.EncBinary() - _ = yym42 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { - yym44 := z.EncBinary() - _ = yym44 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[10] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym45 := z.EncBinary() - _ = yym45 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3678 || yy2arr3678 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46693,25 +46693,25 @@ func (x *Event) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3716 := z.DecBinary() + _ = yym3716 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3717 := r.ContainerType() + if yyct3717 == codecSelferValueTypeMap1234 { + yyl3717 := r.ReadMapStart() + if yyl3717 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3717, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3717 == codecSelferValueTypeArray1234 { + yyl3717 := r.ReadArrayStart() + if yyl3717 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3717, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46723,12 +46723,12 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3718Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3718Slc + var yyhl3718 bool = l >= 0 + for yyj3718 := 0; ; yyj3718++ { + if yyhl3718 { + if yyj3718 >= l { break } } else { @@ -46737,23 +46737,35 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3718Slc = r.DecodeBytes(yys3718Slc, true, true) + yys3718 := string(yys3718Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3718 { + 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 { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) + yyv3721 := &x.ObjectMeta + yyv3721.CodecDecodeSelf(d) } case "involvedObject": if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv5 := &x.InvolvedObject - yyv5.CodecDecodeSelf(d) + yyv3722 := &x.InvolvedObject + yyv3722.CodecDecodeSelf(d) } case "reason": if r.TryDecodeAsNil() { @@ -46771,41 +46783,41 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv8 := &x.Source - yyv8.CodecDecodeSelf(d) + yyv3725 := &x.Source + yyv3725.CodecDecodeSelf(d) } case "firstTimestamp": if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv9 := &x.FirstTimestamp - yym10 := z.DecBinary() - _ = yym10 + yyv3726 := &x.FirstTimestamp + yym3727 := z.DecBinary() + _ = yym3727 if false { - } else if z.HasExtensions() && z.DecExt(yyv9) { - } else if yym10 { - z.DecBinaryUnmarshal(yyv9) - } else if !yym10 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv9) + } else if z.HasExtensions() && z.DecExt(yyv3726) { + } else if yym3727 { + z.DecBinaryUnmarshal(yyv3726) + } else if !yym3727 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3726) } else { - z.DecFallback(yyv9, false) + z.DecFallback(yyv3726, false) } } case "lastTimestamp": if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv11 := &x.LastTimestamp - yym12 := z.DecBinary() - _ = yym12 + yyv3728 := &x.LastTimestamp + yym3729 := z.DecBinary() + _ = yym3729 if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else if yym12 { - z.DecBinaryUnmarshal(yyv11) - } else if !yym12 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv11) + } else if z.HasExtensions() && z.DecExt(yyv3728) { + } else if yym3729 { + z.DecBinaryUnmarshal(yyv3728) + } else if !yym3729 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3728) } else { - z.DecFallback(yyv11, false) + z.DecFallback(yyv3728, false) } } case "count": @@ -46820,22 +46832,10 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3718) + } // end switch yys3718 + } // end for yyj3718 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46843,185 +46843,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj17 int - var yyb17 bool - var yyhl17 bool = l >= 0 - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l + var yyj3732 int + var yyb3732 bool + var yyhl3732 bool = l >= 0 + yyj3732++ + if yyhl3732 { + yyb3732 = yyj3732 > l } else { - yyb17 = r.CheckBreak() + yyb3732 = r.CheckBreak() } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv18 := &x.ObjectMeta - yyv18.CodecDecodeSelf(d) - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.InvolvedObject = ObjectReference{} - } else { - yyv19 := &x.InvolvedObject - yyv19.CodecDecodeSelf(d) - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Reason = "" - } else { - x.Reason = string(r.DecodeString()) - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Message = "" - } else { - x.Message = string(r.DecodeString()) - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Source = EventSource{} - } else { - yyv22 := &x.Source - yyv22.CodecDecodeSelf(d) - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.FirstTimestamp = pkg2_unversioned.Time{} - } else { - yyv23 := &x.FirstTimestamp - yym24 := z.DecBinary() - _ = yym24 - if false { - } else if z.HasExtensions() && z.DecExt(yyv23) { - } else if yym24 { - z.DecBinaryUnmarshal(yyv23) - } else if !yym24 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv23) - } else { - z.DecFallback(yyv23, false) - } - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LastTimestamp = pkg2_unversioned.Time{} - } else { - yyv25 := &x.LastTimestamp - yym26 := z.DecBinary() - _ = yym26 - if false { - } else if z.HasExtensions() && z.DecExt(yyv25) { - } else if yym26 { - z.DecBinaryUnmarshal(yyv25) - } else if !yym26 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv25) - } else { - z.DecFallback(yyv25, false) - } - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Count = 0 - } else { - x.Count = int32(r.DecodeInt(32)) - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = string(r.DecodeString()) - } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l - } else { - yyb17 = r.CheckBreak() - } - if yyb17 { + if yyb3732 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47031,13 +46862,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l + yyj3732++ + if yyhl3732 { + yyb3732 = yyj3732 > l } else { - yyb17 = r.CheckBreak() + yyb3732 = r.CheckBreak() } - if yyb17 { + if yyb3732 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47047,18 +46878,187 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj17++ - if yyhl17 { - yyb17 = yyj17 > l + yyj3732++ + if yyhl3732 { + yyb3732 = yyj3732 > l + } else { + yyb3732 = r.CheckBreak() + } + if yyb3732 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3735 := &x.ObjectMeta + yyv3735.CodecDecodeSelf(d) + } + yyj3732++ + if yyhl3732 { + yyb3732 = yyj3732 > l + } else { + yyb3732 = r.CheckBreak() + } + if yyb3732 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.InvolvedObject = ObjectReference{} + } else { + yyv3736 := &x.InvolvedObject + yyv3736.CodecDecodeSelf(d) + } + yyj3732++ + if yyhl3732 { + yyb3732 = yyj3732 > l + } else { + yyb3732 = r.CheckBreak() + } + if yyb3732 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + yyj3732++ + if yyhl3732 { + yyb3732 = yyj3732 > l + } else { + yyb3732 = r.CheckBreak() + } + if yyb3732 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + yyj3732++ + if yyhl3732 { + yyb3732 = yyj3732 > l + } else { + yyb3732 = r.CheckBreak() + } + if yyb3732 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Source = EventSource{} + } else { + yyv3739 := &x.Source + yyv3739.CodecDecodeSelf(d) + } + yyj3732++ + if yyhl3732 { + yyb3732 = yyj3732 > l + } else { + yyb3732 = r.CheckBreak() + } + if yyb3732 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.FirstTimestamp = pkg2_unversioned.Time{} + } else { + yyv3740 := &x.FirstTimestamp + yym3741 := z.DecBinary() + _ = yym3741 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3740) { + } else if yym3741 { + z.DecBinaryUnmarshal(yyv3740) + } else if !yym3741 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3740) } else { - yyb17 = r.CheckBreak() + z.DecFallback(yyv3740, false) } - if yyb17 { + } + yyj3732++ + if yyhl3732 { + yyb3732 = yyj3732 > l + } else { + yyb3732 = r.CheckBreak() + } + if yyb3732 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastTimestamp = pkg2_unversioned.Time{} + } else { + yyv3742 := &x.LastTimestamp + yym3743 := z.DecBinary() + _ = yym3743 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3742) { + } else if yym3743 { + z.DecBinaryUnmarshal(yyv3742) + } else if !yym3743 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3742) + } else { + z.DecFallback(yyv3742, false) + } + } + yyj3732++ + if yyhl3732 { + yyb3732 = yyj3732 > l + } else { + yyb3732 = r.CheckBreak() + } + if yyb3732 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Count = 0 + } else { + x.Count = int32(r.DecodeInt(32)) + } + yyj3732++ + if yyhl3732 { + yyb3732 = yyj3732 > l + } else { + yyb3732 = r.CheckBreak() + } + if yyb3732 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = string(r.DecodeString()) + } + for { + yyj3732++ + if yyhl3732 { + yyb3732 = yyj3732 > l + } else { + yyb3732 = r.CheckBreak() + } + if yyb3732 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj17-1, "") + z.DecStructFieldNotFound(yyj3732-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47070,68 +47070,118 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3746 := z.EncBinary() + _ = yym3746 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3747 := !z.EncBinary() + yy2arr3747 := z.EncBasicHandle().StructToArray + var yyq3747 [4]bool + _, _, _ = yysep3747, yyq3747, yy2arr3747 + const yyr3747 bool = false + yyq3747[0] = x.Kind != "" + yyq3747[1] = x.APIVersion != "" + yyq3747[2] = true + var yynn3747 int + if yyr3747 || yy2arr3747 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3747 = 1 + for _, b := range yyq3747 { if b { - yynn2++ + yynn3747++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3747) + yynn3747 = 0 } - if yyr2 || yy2arr2 { + if yyr3747 || yy2arr3747 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq3747[0] { + yym3749 := z.EncBinary() + _ = yym3749 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3747[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3750 := z.EncBinary() + _ = yym3750 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3747 || yy2arr3747 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3747[1] { + yym3752 := z.EncBinary() + _ = yym3752 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3747[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3753 := z.EncBinary() + _ = yym3753 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3747 || yy2arr3747 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3747[2] { + yy3755 := &x.ListMeta + yym3756 := z.EncBinary() + _ = yym3756 + if false { + } else if z.HasExtensions() && z.EncExt(yy3755) { + } else { + z.EncFallback(yy3755) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3747[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy3757 := &x.ListMeta + yym3758 := z.EncBinary() + _ = yym3758 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy3757) { } else { - z.EncFallback(yy6) + z.EncFallback(yy3757) } } } - if yyr2 || yy2arr2 { + if yyr3747 || yy2arr3747 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym3760 := z.EncBinary() + _ = yym3760 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) @@ -47144,65 +47194,15 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym3761 := z.EncBinary() + _ = yym3761 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3747 || yy2arr3747 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47215,25 +47215,25 @@ func (x *EventList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3762 := z.DecBinary() + _ = yym3762 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3763 := r.ContainerType() + if yyct3763 == codecSelferValueTypeMap1234 { + yyl3763 := r.ReadMapStart() + if yyl3763 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3763, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3763 == codecSelferValueTypeArray1234 { + yyl3763 := r.ReadArrayStart() + if yyl3763 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3763, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47245,12 +47245,12 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3764Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3764Slc + var yyhl3764 bool = l >= 0 + for yyj3764 := 0; ; yyj3764++ { + if yyhl3764 { + if yyj3764 >= l { break } } else { @@ -47259,35 +47259,10 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3764Slc = r.DecodeBytes(yys3764Slc, true, true) + yys3764 := string(yys3764Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceEvent((*[]Event)(yyv6), d) - } - } + switch yys3764 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -47300,10 +47275,35 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3767 := &x.ListMeta + yym3768 := z.DecBinary() + _ = yym3768 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3767) { + } else { + z.DecFallback(yyv3767, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3769 := &x.Items + yym3770 := z.DecBinary() + _ = yym3770 + if false { + } else { + h.decSliceEvent((*[]Event)(yyv3769), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3764) + } // end switch yys3764 + } // end for yyj3764 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47311,61 +47311,16 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj3771 int + var yyb3771 bool + var yyhl3771 bool = l >= 0 + yyj3771++ + if yyhl3771 { + yyb3771 = yyj3771 > l } else { - yyb10 = r.CheckBreak() + yyb3771 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceEvent((*[]Event)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb3771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47375,13 +47330,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3771++ + if yyhl3771 { + yyb3771 = yyj3771 > l } else { - yyb10 = r.CheckBreak() + yyb3771 = r.CheckBreak() } - if yyb10 { + if yyb3771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47391,18 +47346,63 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3771++ + if yyhl3771 { + yyb3771 = yyj3771 > l + } else { + yyb3771 = r.CheckBreak() + } + if yyb3771 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3774 := &x.ListMeta + yym3775 := z.DecBinary() + _ = yym3775 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3774) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv3774, false) } - if yyb10 { + } + yyj3771++ + if yyhl3771 { + yyb3771 = yyj3771 > l + } else { + yyb3771 = r.CheckBreak() + } + if yyb3771 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3776 := &x.Items + yym3777 := z.DecBinary() + _ = yym3777 + if false { + } else { + h.decSliceEvent((*[]Event)(yyv3776), d) + } + } + for { + yyj3771++ + if yyhl3771 { + yyb3771 = yyj3771 > l + } else { + yyb3771 = r.CheckBreak() + } + if yyb3771 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj3771-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47414,68 +47414,118 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3778 := z.EncBinary() + _ = yym3778 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3779 := !z.EncBinary() + yy2arr3779 := z.EncBasicHandle().StructToArray + var yyq3779 [4]bool + _, _, _ = yysep3779, yyq3779, yy2arr3779 + const yyr3779 bool = false + yyq3779[0] = x.Kind != "" + yyq3779[1] = x.APIVersion != "" + yyq3779[2] = true + var yynn3779 int + if yyr3779 || yy2arr3779 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3779 = 1 + for _, b := range yyq3779 { if b { - yynn2++ + yynn3779++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3779) + yynn3779 = 0 } - if yyr2 || yy2arr2 { + if yyr3779 || yy2arr3779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq3779[0] { + yym3781 := z.EncBinary() + _ = yym3781 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3779[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3782 := z.EncBinary() + _ = yym3782 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3779 || yy2arr3779 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3779[1] { + yym3784 := z.EncBinary() + _ = yym3784 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3779[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3785 := z.EncBinary() + _ = yym3785 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3779 || yy2arr3779 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3779[2] { + yy3787 := &x.ListMeta + yym3788 := z.EncBinary() + _ = yym3788 + if false { + } else if z.HasExtensions() && z.EncExt(yy3787) { + } else { + z.EncFallback(yy3787) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3779[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy3789 := &x.ListMeta + yym3790 := z.EncBinary() + _ = yym3790 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy3789) { } else { - z.EncFallback(yy6) + z.EncFallback(yy3789) } } } - if yyr2 || yy2arr2 { + if yyr3779 || yy2arr3779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym3792 := z.EncBinary() + _ = yym3792 if false { } else { h.encSliceruntime_RawExtension(([]pkg5_runtime.RawExtension)(x.Items), e) @@ -47488,65 +47538,15 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym3793 := z.EncBinary() + _ = yym3793 if false { } else { h.encSliceruntime_RawExtension(([]pkg5_runtime.RawExtension)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3779 || yy2arr3779 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47559,25 +47559,25 @@ func (x *List) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3794 := z.DecBinary() + _ = yym3794 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3795 := r.ContainerType() + if yyct3795 == codecSelferValueTypeMap1234 { + yyl3795 := r.ReadMapStart() + if yyl3795 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3795, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3795 == codecSelferValueTypeArray1234 { + yyl3795 := r.ReadArrayStart() + if yyl3795 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3795, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47589,12 +47589,12 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3796Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3796Slc + var yyhl3796 bool = l >= 0 + for yyj3796 := 0; ; yyj3796++ { + if yyhl3796 { + if yyj3796 >= l { break } } else { @@ -47603,35 +47603,10 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3796Slc = r.DecodeBytes(yys3796Slc, true, true) + yys3796 := string(yys3796Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv6), d) - } - } + switch yys3796 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -47644,10 +47619,35 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3799 := &x.ListMeta + yym3800 := z.DecBinary() + _ = yym3800 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3799) { + } else { + z.DecFallback(yyv3799, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3801 := &x.Items + yym3802 := z.DecBinary() + _ = yym3802 + if false { + } else { + h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv3801), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3796) + } // end switch yys3796 + } // end for yyj3796 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47655,61 +47655,16 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj3803 int + var yyb3803 bool + var yyhl3803 bool = l >= 0 + yyj3803++ + if yyhl3803 { + yyb3803 = yyj3803 > l } else { - yyb10 = r.CheckBreak() + yyb3803 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb3803 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47719,13 +47674,13 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3803++ + if yyhl3803 { + yyb3803 = yyj3803 > l } else { - yyb10 = r.CheckBreak() + yyb3803 = r.CheckBreak() } - if yyb10 { + if yyb3803 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47735,18 +47690,63 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3803++ + if yyhl3803 { + yyb3803 = yyj3803 > l + } else { + yyb3803 = r.CheckBreak() + } + if yyb3803 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3806 := &x.ListMeta + yym3807 := z.DecBinary() + _ = yym3807 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3806) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv3806, false) } - if yyb10 { + } + yyj3803++ + if yyhl3803 { + yyb3803 = yyj3803 > l + } else { + yyb3803 = r.CheckBreak() + } + if yyb3803 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3808 := &x.Items + yym3809 := z.DecBinary() + _ = yym3809 + if false { + } else { + h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv3808), d) + } + } + for { + yyj3803++ + if yyhl3803 { + yyb3803 = yyj3803 > l + } else { + yyb3803 = r.CheckBreak() + } + if yyb3803 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj3803-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47755,8 +47755,8 @@ func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym3810 := z.EncBinary() + _ = yym3810 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -47768,8 +47768,8 @@ func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3811 := z.DecBinary() + _ = yym3811 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -47784,53 +47784,53 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3812 := z.EncBinary() + _ = yym3812 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Type != "" - yyq2[1] = len(x.Max) != 0 - yyq2[2] = len(x.Min) != 0 - yyq2[3] = len(x.Default) != 0 - yyq2[4] = len(x.DefaultRequest) != 0 - yyq2[5] = len(x.MaxLimitRequestRatio) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep3813 := !z.EncBinary() + yy2arr3813 := z.EncBasicHandle().StructToArray + var yyq3813 [6]bool + _, _, _ = yysep3813, yyq3813, yy2arr3813 + const yyr3813 bool = false + yyq3813[0] = x.Type != "" + yyq3813[1] = len(x.Max) != 0 + yyq3813[2] = len(x.Min) != 0 + yyq3813[3] = len(x.Default) != 0 + yyq3813[4] = len(x.DefaultRequest) != 0 + yyq3813[5] = len(x.MaxLimitRequestRatio) != 0 + var yynn3813 int + if yyr3813 || yy2arr3813 { r.EncodeArrayStart(6) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3813 = 0 + for _, b := range yyq3813 { if b { - yynn2++ + yynn3813++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3813) + yynn3813 = 0 } - if yyr2 || yy2arr2 { + if yyr3813 || yy2arr3813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq3813[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq3813[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr3813 || yy2arr3813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq3813[1] { if x.Max == nil { r.EncodeNil() } else { @@ -47840,7 +47840,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq3813[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -47851,9 +47851,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3813 || yy2arr3813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq3813[2] { if x.Min == nil { r.EncodeNil() } else { @@ -47863,7 +47863,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq3813[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -47874,9 +47874,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3813 || yy2arr3813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq3813[3] { if x.Default == nil { r.EncodeNil() } else { @@ -47886,7 +47886,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq3813[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("default")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -47897,9 +47897,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3813 || yy2arr3813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq3813[4] { if x.DefaultRequest == nil { r.EncodeNil() } else { @@ -47909,7 +47909,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq3813[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -47920,9 +47920,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3813 || yy2arr3813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq3813[5] { if x.MaxLimitRequestRatio == nil { r.EncodeNil() } else { @@ -47932,7 +47932,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[5] { + if yyq3813[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -47943,7 +47943,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3813 || yy2arr3813 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47956,25 +47956,25 @@ func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3820 := z.DecBinary() + _ = yym3820 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3821 := r.ContainerType() + if yyct3821 == codecSelferValueTypeMap1234 { + yyl3821 := r.ReadMapStart() + if yyl3821 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3821, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3821 == codecSelferValueTypeArray1234 { + yyl3821 := r.ReadArrayStart() + if yyl3821 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3821, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47986,12 +47986,12 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3822Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3822Slc + var yyhl3822 bool = l >= 0 + for yyj3822 := 0; ; yyj3822++ { + if yyhl3822 { + if yyj3822 >= l { break } } else { @@ -48000,10 +48000,10 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3822Slc = r.DecodeBytes(yys3822Slc, true, true) + yys3822 := string(yys3822Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3822 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -48014,41 +48014,41 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv5 := &x.Max - yyv5.CodecDecodeSelf(d) + yyv3824 := &x.Max + yyv3824.CodecDecodeSelf(d) } case "min": if r.TryDecodeAsNil() { x.Min = nil } else { - yyv6 := &x.Min - yyv6.CodecDecodeSelf(d) + yyv3825 := &x.Min + yyv3825.CodecDecodeSelf(d) } case "default": if r.TryDecodeAsNil() { x.Default = nil } else { - yyv7 := &x.Default - yyv7.CodecDecodeSelf(d) + yyv3826 := &x.Default + yyv3826.CodecDecodeSelf(d) } case "defaultRequest": if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv8 := &x.DefaultRequest - yyv8.CodecDecodeSelf(d) + yyv3827 := &x.DefaultRequest + yyv3827.CodecDecodeSelf(d) } case "maxLimitRequestRatio": if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv9 := &x.MaxLimitRequestRatio - yyv9.CodecDecodeSelf(d) + yyv3828 := &x.MaxLimitRequestRatio + yyv3828.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3822) + } // end switch yys3822 + } // end for yyj3822 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48056,16 +48056,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj3829 int + var yyb3829 bool + var yyhl3829 bool = l >= 0 + yyj3829++ + if yyhl3829 { + yyb3829 = yyj3829 > l } else { - yyb10 = r.CheckBreak() + yyb3829 = r.CheckBreak() } - if yyb10 { + if yyb3829 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48075,13 +48075,13 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = LimitType(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3829++ + if yyhl3829 { + yyb3829 = yyj3829 > l } else { - yyb10 = r.CheckBreak() + yyb3829 = r.CheckBreak() } - if yyb10 { + if yyb3829 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48089,16 +48089,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv12 := &x.Max - yyv12.CodecDecodeSelf(d) + yyv3831 := &x.Max + yyv3831.CodecDecodeSelf(d) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3829++ + if yyhl3829 { + yyb3829 = yyj3829 > l } else { - yyb10 = r.CheckBreak() + yyb3829 = r.CheckBreak() } - if yyb10 { + if yyb3829 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48106,16 +48106,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Min = nil } else { - yyv13 := &x.Min - yyv13.CodecDecodeSelf(d) + yyv3832 := &x.Min + yyv3832.CodecDecodeSelf(d) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3829++ + if yyhl3829 { + yyb3829 = yyj3829 > l } else { - yyb10 = r.CheckBreak() + yyb3829 = r.CheckBreak() } - if yyb10 { + if yyb3829 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48123,16 +48123,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Default = nil } else { - yyv14 := &x.Default - yyv14.CodecDecodeSelf(d) + yyv3833 := &x.Default + yyv3833.CodecDecodeSelf(d) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3829++ + if yyhl3829 { + yyb3829 = yyj3829 > l } else { - yyb10 = r.CheckBreak() + yyb3829 = r.CheckBreak() } - if yyb10 { + if yyb3829 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48140,16 +48140,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv15 := &x.DefaultRequest - yyv15.CodecDecodeSelf(d) + yyv3834 := &x.DefaultRequest + yyv3834.CodecDecodeSelf(d) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3829++ + if yyhl3829 { + yyb3829 = yyj3829 > l } else { - yyb10 = r.CheckBreak() + yyb3829 = r.CheckBreak() } - if yyb10 { + if yyb3829 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48157,21 +48157,21 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv16 := &x.MaxLimitRequestRatio - yyv16.CodecDecodeSelf(d) + yyv3835 := &x.MaxLimitRequestRatio + yyv3835.CodecDecodeSelf(d) } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3829++ + if yyhl3829 { + yyb3829 = yyj3829 > l } else { - yyb10 = r.CheckBreak() + yyb3829 = r.CheckBreak() } - if yyb10 { + if yyb3829 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj3829-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48183,36 +48183,36 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3836 := z.EncBinary() + _ = yym3836 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep3837 := !z.EncBinary() + yy2arr3837 := z.EncBasicHandle().StructToArray + var yyq3837 [1]bool + _, _, _ = yysep3837, yyq3837, yy2arr3837 + const yyr3837 bool = false + var yynn3837 int + if yyr3837 || yy2arr3837 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3837 = 1 + for _, b := range yyq3837 { if b { - yynn2++ + yynn3837++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3837) + yynn3837 = 0 } - if yyr2 || yy2arr2 { + if yyr3837 || yy2arr3837 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Limits == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym3839 := z.EncBinary() + _ = yym3839 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) @@ -48225,15 +48225,15 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Limits == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym3840 := z.EncBinary() + _ = yym3840 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) } } } - if yyr2 || yy2arr2 { + if yyr3837 || yy2arr3837 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48246,25 +48246,25 @@ func (x *LimitRangeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3841 := z.DecBinary() + _ = yym3841 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3842 := r.ContainerType() + if yyct3842 == codecSelferValueTypeMap1234 { + yyl3842 := r.ReadMapStart() + if yyl3842 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3842, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3842 == codecSelferValueTypeArray1234 { + yyl3842 := r.ReadArrayStart() + if yyl3842 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3842, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48276,12 +48276,12 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3843Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3843Slc + var yyhl3843 bool = l >= 0 + for yyj3843 := 0; ; yyj3843++ { + if yyhl3843 { + if yyj3843 >= l { break } } else { @@ -48290,26 +48290,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3843Slc = r.DecodeBytes(yys3843Slc, true, true) + yys3843 := string(yys3843Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3843 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv4 := &x.Limits - yym5 := z.DecBinary() - _ = yym5 + yyv3844 := &x.Limits + yym3845 := z.DecBinary() + _ = yym3845 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3844), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3843) + } // end switch yys3843 + } // end for yyj3843 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48317,16 +48317,16 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj3846 int + var yyb3846 bool + var yyhl3846 bool = l >= 0 + yyj3846++ + if yyhl3846 { + yyb3846 = yyj3846 > l } else { - yyb6 = r.CheckBreak() + yyb3846 = r.CheckBreak() } - if yyb6 { + if yyb3846 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48334,26 +48334,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv7 := &x.Limits - yym8 := z.DecBinary() - _ = yym8 + yyv3847 := &x.Limits + yym3848 := z.DecBinary() + _ = yym3848 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv7), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3847), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3846++ + if yyhl3846 { + yyb3846 = yyj3846 > l } else { - yyb6 = r.CheckBreak() + yyb3846 = r.CheckBreak() } - if yyb6 { + if yyb3846 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj3846-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48365,72 +48365,38 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3849 := z.EncBinary() + _ = yym3849 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3850 := !z.EncBinary() + yy2arr3850 := z.EncBasicHandle().StructToArray + var yyq3850 [4]bool + _, _, _ = yysep3850, yyq3850, yy2arr3850 + const yyr3850 bool = false + yyq3850[0] = x.Kind != "" + yyq3850[1] = x.APIVersion != "" + yyq3850[2] = true + yyq3850[3] = true + var yynn3850 int + if yyr3850 || yy2arr3850 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3850 = 0 + for _, b := range yyq3850 { if b { - yynn2++ + yynn3850++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3850) + yynn3850 = 0 } - if yyr2 || yy2arr2 { + if yyr3850 || yy2arr3850 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq3850[0] { + yym3852 := z.EncBinary() + _ = yym3852 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -48439,23 +48405,23 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq3850[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym3853 := z.EncBinary() + _ = yym3853 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr3850 || yy2arr3850 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq3850[1] { + yym3855 := z.EncBinary() + _ = yym3855 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -48464,19 +48430,53 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq3850[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym3856 := z.EncBinary() + _ = yym3856 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3850 || yy2arr3850 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3850[2] { + yy3858 := &x.ObjectMeta + yy3858.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3850[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3859 := &x.ObjectMeta + yy3859.CodecEncodeSelf(e) + } + } + if yyr3850 || yy2arr3850 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3850[3] { + yy3861 := &x.Spec + yy3861.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3850[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3862 := &x.Spec + yy3862.CodecEncodeSelf(e) + } + } + if yyr3850 || yy2arr3850 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48489,25 +48489,25 @@ func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3863 := z.DecBinary() + _ = yym3863 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3864 := r.ContainerType() + if yyct3864 == codecSelferValueTypeMap1234 { + yyl3864 := r.ReadMapStart() + if yyl3864 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3864, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3864 == codecSelferValueTypeArray1234 { + yyl3864 := r.ReadArrayStart() + if yyl3864 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3864, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48519,12 +48519,12 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3865Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3865Slc + var yyhl3865 bool = l >= 0 + for yyj3865 := 0; ; yyj3865++ { + if yyhl3865 { + if yyj3865 >= l { break } } else { @@ -48533,24 +48533,10 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3865Slc = r.DecodeBytes(yys3865Slc, true, true) + yys3865 := string(yys3865Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = LimitRangeSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } + switch yys3865 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -48563,10 +48549,24 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3868 := &x.ObjectMeta + yyv3868.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = LimitRangeSpec{} + } else { + yyv3869 := &x.Spec + yyv3869.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3865) + } // end switch yys3865 + } // end for yyj3865 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48574,50 +48574,16 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj3870 int + var yyb3870 bool + var yyhl3870 bool = l >= 0 + yyj3870++ + if yyhl3870 { + yyb3870 = yyj3870 > l } else { - yyb8 = r.CheckBreak() + yyb3870 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv9 := &x.ObjectMeta - yyv9.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = LimitRangeSpec{} - } else { - yyv10 := &x.Spec - yyv10.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb3870 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48627,13 +48593,13 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj3870++ + if yyhl3870 { + yyb3870 = yyj3870 > l } else { - yyb8 = r.CheckBreak() + yyb3870 = r.CheckBreak() } - if yyb8 { + if yyb3870 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48643,18 +48609,52 @@ func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj3870++ + if yyhl3870 { + yyb3870 = yyj3870 > l + } else { + yyb3870 = r.CheckBreak() + } + if yyb3870 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3873 := &x.ObjectMeta + yyv3873.CodecDecodeSelf(d) + } + yyj3870++ + if yyhl3870 { + yyb3870 = yyj3870 > l + } else { + yyb3870 = r.CheckBreak() + } + if yyb3870 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = LimitRangeSpec{} + } else { + yyv3874 := &x.Spec + yyv3874.CodecDecodeSelf(d) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj3870++ + if yyhl3870 { + yyb3870 = yyj3870 > l } else { - yyb8 = r.CheckBreak() + yyb3870 = r.CheckBreak() } - if yyb8 { + if yyb3870 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj3870-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48666,68 +48666,118 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3875 := z.EncBinary() + _ = yym3875 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3876 := !z.EncBinary() + yy2arr3876 := z.EncBasicHandle().StructToArray + var yyq3876 [4]bool + _, _, _ = yysep3876, yyq3876, yy2arr3876 + const yyr3876 bool = false + yyq3876[0] = x.Kind != "" + yyq3876[1] = x.APIVersion != "" + yyq3876[2] = true + var yynn3876 int + if yyr3876 || yy2arr3876 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3876 = 1 + for _, b := range yyq3876 { if b { - yynn2++ + yynn3876++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3876) + yynn3876 = 0 } - if yyr2 || yy2arr2 { + if yyr3876 || yy2arr3876 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq3876[0] { + yym3878 := z.EncBinary() + _ = yym3878 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3876[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3879 := z.EncBinary() + _ = yym3879 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3876 || yy2arr3876 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3876[1] { + yym3881 := z.EncBinary() + _ = yym3881 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3876[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3882 := z.EncBinary() + _ = yym3882 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3876 || yy2arr3876 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3876[2] { + yy3884 := &x.ListMeta + yym3885 := z.EncBinary() + _ = yym3885 + if false { + } else if z.HasExtensions() && z.EncExt(yy3884) { + } else { + z.EncFallback(yy3884) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3876[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy3886 := &x.ListMeta + yym3887 := z.EncBinary() + _ = yym3887 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy3886) { } else { - z.EncFallback(yy6) + z.EncFallback(yy3886) } } } - if yyr2 || yy2arr2 { + if yyr3876 || yy2arr3876 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym3889 := z.EncBinary() + _ = yym3889 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) @@ -48740,65 +48790,15 @@ func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym3890 := z.EncBinary() + _ = yym3890 if false { } else { h.encSliceLimitRange(([]LimitRange)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3876 || yy2arr3876 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48811,25 +48811,25 @@ func (x *LimitRangeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3891 := z.DecBinary() + _ = yym3891 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3892 := r.ContainerType() + if yyct3892 == codecSelferValueTypeMap1234 { + yyl3892 := r.ReadMapStart() + if yyl3892 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3892, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3892 == codecSelferValueTypeArray1234 { + yyl3892 := r.ReadArrayStart() + if yyl3892 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3892, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48841,12 +48841,12 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3893Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3893Slc + var yyhl3893 bool = l >= 0 + for yyj3893 := 0; ; yyj3893++ { + if yyhl3893 { + if yyj3893 >= l { break } } else { @@ -48855,35 +48855,10 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3893Slc = r.DecodeBytes(yys3893Slc, true, true) + yys3893 := string(yys3893Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceLimitRange((*[]LimitRange)(yyv6), d) - } - } + switch yys3893 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -48896,10 +48871,35 @@ func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3896 := &x.ListMeta + yym3897 := z.DecBinary() + _ = yym3897 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3896) { + } else { + z.DecFallback(yyv3896, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3898 := &x.Items + yym3899 := z.DecBinary() + _ = yym3899 + if false { + } else { + h.decSliceLimitRange((*[]LimitRange)(yyv3898), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3893) + } // end switch yys3893 + } // end for yyj3893 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48907,61 +48907,16 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj3900 int + var yyb3900 bool + var yyhl3900 bool = l >= 0 + yyj3900++ + if yyhl3900 { + yyb3900 = yyj3900 > l } else { - yyb10 = r.CheckBreak() + yyb3900 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceLimitRange((*[]LimitRange)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb3900 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48971,13 +48926,13 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3900++ + if yyhl3900 { + yyb3900 = yyj3900 > l } else { - yyb10 = r.CheckBreak() + yyb3900 = r.CheckBreak() } - if yyb10 { + if yyb3900 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48987,18 +48942,63 @@ func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3900++ + if yyhl3900 { + yyb3900 = yyj3900 > l + } else { + yyb3900 = r.CheckBreak() + } + if yyb3900 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3903 := &x.ListMeta + yym3904 := z.DecBinary() + _ = yym3904 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3903) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv3903, false) } - if yyb10 { + } + yyj3900++ + if yyhl3900 { + yyb3900 = yyj3900 > l + } else { + yyb3900 = r.CheckBreak() + } + if yyb3900 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3905 := &x.Items + yym3906 := z.DecBinary() + _ = yym3906 + if false { + } else { + h.decSliceLimitRange((*[]LimitRange)(yyv3905), d) + } + } + for { + yyj3900++ + if yyhl3900 { + yyb3900 = yyj3900 > l + } else { + yyb3900 = r.CheckBreak() + } + if yyb3900 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj3900-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49007,8 +49007,8 @@ func (x ResourceQuotaScope) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym3907 := z.EncBinary() + _ = yym3907 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -49020,8 +49020,8 @@ func (x *ResourceQuotaScope) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3908 := z.DecBinary() + _ = yym3908 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -49036,34 +49036,34 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3909 := z.EncBinary() + _ = yym3909 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Hard) != 0 - yyq2[1] = len(x.Scopes) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep3910 := !z.EncBinary() + yy2arr3910 := z.EncBasicHandle().StructToArray + var yyq3910 [2]bool + _, _, _ = yysep3910, yyq3910, yy2arr3910 + const yyr3910 bool = false + yyq3910[0] = len(x.Hard) != 0 + yyq3910[1] = len(x.Scopes) != 0 + var yynn3910 int + if yyr3910 || yy2arr3910 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3910 = 0 + for _, b := range yyq3910 { if b { - yynn2++ + yynn3910++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3910) + yynn3910 = 0 } - if yyr2 || yy2arr2 { + if yyr3910 || yy2arr3910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq3910[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -49073,7 +49073,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3910[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -49084,14 +49084,14 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3910 || yy2arr3910 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq3910[1] { if x.Scopes == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym3913 := z.EncBinary() + _ = yym3913 if false { } else { h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) @@ -49101,15 +49101,15 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq3910[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scopes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Scopes == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym3914 := z.EncBinary() + _ = yym3914 if false { } else { h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) @@ -49117,7 +49117,7 @@ func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3910 || yy2arr3910 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49130,25 +49130,25 @@ func (x *ResourceQuotaSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3915 := z.DecBinary() + _ = yym3915 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3916 := r.ContainerType() + if yyct3916 == codecSelferValueTypeMap1234 { + yyl3916 := r.ReadMapStart() + if yyl3916 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3916, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3916 == codecSelferValueTypeArray1234 { + yyl3916 := r.ReadArrayStart() + if yyl3916 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3916, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49160,12 +49160,12 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3917Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3917Slc + var yyhl3917 bool = l >= 0 + for yyj3917 := 0; ; yyj3917++ { + if yyhl3917 { + if yyj3917 >= l { break } } else { @@ -49174,33 +49174,33 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3917Slc = r.DecodeBytes(yys3917Slc, true, true) + yys3917 := string(yys3917Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3917 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4 := &x.Hard - yyv4.CodecDecodeSelf(d) + yyv3918 := &x.Hard + yyv3918.CodecDecodeSelf(d) } case "scopes": if r.TryDecodeAsNil() { x.Scopes = nil } else { - yyv5 := &x.Scopes - yym6 := z.DecBinary() - _ = yym6 + yyv3919 := &x.Scopes + yym3920 := z.DecBinary() + _ = yym3920 if false { } else { - h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv5), d) + h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv3919), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3917) + } // end switch yys3917 + } // end for yyj3917 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49208,16 +49208,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj3921 int + var yyb3921 bool + var yyhl3921 bool = l >= 0 + yyj3921++ + if yyhl3921 { + yyb3921 = yyj3921 > l } else { - yyb7 = r.CheckBreak() + yyb3921 = r.CheckBreak() } - if yyb7 { + if yyb3921 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49225,16 +49225,16 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv8 := &x.Hard - yyv8.CodecDecodeSelf(d) + yyv3922 := &x.Hard + yyv3922.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3921++ + if yyhl3921 { + yyb3921 = yyj3921 > l } else { - yyb7 = r.CheckBreak() + yyb3921 = r.CheckBreak() } - if yyb7 { + if yyb3921 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49242,26 +49242,26 @@ func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Scopes = nil } else { - yyv9 := &x.Scopes - yym10 := z.DecBinary() - _ = yym10 + yyv3923 := &x.Scopes + yym3924 := z.DecBinary() + _ = yym3924 if false { } else { - h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv9), d) + h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv3923), d) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj3921++ + if yyhl3921 { + yyb3921 = yyj3921 > l } else { - yyb7 = r.CheckBreak() + yyb3921 = r.CheckBreak() } - if yyb7 { + if yyb3921 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj3921-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49273,34 +49273,34 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3925 := z.EncBinary() + _ = yym3925 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Hard) != 0 - yyq2[1] = len(x.Used) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep3926 := !z.EncBinary() + yy2arr3926 := z.EncBasicHandle().StructToArray + var yyq3926 [2]bool + _, _, _ = yysep3926, yyq3926, yy2arr3926 + const yyr3926 bool = false + yyq3926[0] = len(x.Hard) != 0 + yyq3926[1] = len(x.Used) != 0 + var yynn3926 int + if yyr3926 || yy2arr3926 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3926 = 0 + for _, b := range yyq3926 { if b { - yynn2++ + yynn3926++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3926) + yynn3926 = 0 } - if yyr2 || yy2arr2 { + if yyr3926 || yy2arr3926 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq3926[0] { if x.Hard == nil { r.EncodeNil() } else { @@ -49310,7 +49310,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3926[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -49321,9 +49321,9 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3926 || yy2arr3926 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq3926[1] { if x.Used == nil { r.EncodeNil() } else { @@ -49333,7 +49333,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq3926[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("used")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -49344,7 +49344,7 @@ func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr3926 || yy2arr3926 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49357,25 +49357,25 @@ func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3929 := z.DecBinary() + _ = yym3929 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3930 := r.ContainerType() + if yyct3930 == codecSelferValueTypeMap1234 { + yyl3930 := r.ReadMapStart() + if yyl3930 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3930, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3930 == codecSelferValueTypeArray1234 { + yyl3930 := r.ReadArrayStart() + if yyl3930 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3930, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49387,12 +49387,12 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3931Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3931Slc + var yyhl3931 bool = l >= 0 + for yyj3931 := 0; ; yyj3931++ { + if yyhl3931 { + if yyj3931 >= l { break } } else { @@ -49401,28 +49401,28 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3931Slc = r.DecodeBytes(yys3931Slc, true, true) + yys3931 := string(yys3931Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys3931 { case "hard": if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv4 := &x.Hard - yyv4.CodecDecodeSelf(d) + yyv3932 := &x.Hard + yyv3932.CodecDecodeSelf(d) } case "used": if r.TryDecodeAsNil() { x.Used = nil } else { - yyv5 := &x.Used - yyv5.CodecDecodeSelf(d) + yyv3933 := &x.Used + yyv3933.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3931) + } // end switch yys3931 + } // end for yyj3931 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49430,16 +49430,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj3934 int + var yyb3934 bool + var yyhl3934 bool = l >= 0 + yyj3934++ + if yyhl3934 { + yyb3934 = yyj3934 > l } else { - yyb6 = r.CheckBreak() + yyb3934 = r.CheckBreak() } - if yyb6 { + if yyb3934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49447,16 +49447,16 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Hard = nil } else { - yyv7 := &x.Hard - yyv7.CodecDecodeSelf(d) + yyv3935 := &x.Hard + yyv3935.CodecDecodeSelf(d) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3934++ + if yyhl3934 { + yyb3934 = yyj3934 > l } else { - yyb6 = r.CheckBreak() + yyb3934 = r.CheckBreak() } - if yyb6 { + if yyb3934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49464,21 +49464,21 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Used = nil } else { - yyv8 := &x.Used - yyv8.CodecDecodeSelf(d) + yyv3936 := &x.Used + yyv3936.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj3934++ + if yyhl3934 { + yyb3934 = yyj3934 > l } else { - yyb6 = r.CheckBreak() + yyb3934 = r.CheckBreak() } - if yyb6 { + if yyb3934 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj3934-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49490,90 +49490,39 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3937 := z.EncBinary() + _ = yym3937 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3938 := !z.EncBinary() + yy2arr3938 := z.EncBasicHandle().StructToArray + var yyq3938 [5]bool + _, _, _ = yysep3938, yyq3938, yy2arr3938 + const yyr3938 bool = false + yyq3938[0] = x.Kind != "" + yyq3938[1] = x.APIVersion != "" + yyq3938[2] = true + yyq3938[3] = true + yyq3938[4] = true + var yynn3938 int + if yyr3938 || yy2arr3938 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn3938 = 0 + for _, b := range yyq3938 { if b { - yynn2++ + yynn3938++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3938) + yynn3938 = 0 } - if yyr2 || yy2arr2 { + if yyr3938 || yy2arr3938 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq3938[0] { + yym3940 := z.EncBinary() + _ = yym3940 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -49582,23 +49531,23 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq3938[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym3941 := z.EncBinary() + _ = yym3941 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr3938 || yy2arr3938 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq3938[1] { + yym3943 := z.EncBinary() + _ = yym3943 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -49607,19 +49556,70 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq3938[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym3944 := z.EncBinary() + _ = yym3944 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr3938 || yy2arr3938 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3938[2] { + yy3946 := &x.ObjectMeta + yy3946.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3938[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3947 := &x.ObjectMeta + yy3947.CodecEncodeSelf(e) + } + } + if yyr3938 || yy2arr3938 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3938[3] { + yy3949 := &x.Spec + yy3949.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3938[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3950 := &x.Spec + yy3950.CodecEncodeSelf(e) + } + } + if yyr3938 || yy2arr3938 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3938[4] { + yy3952 := &x.Status + yy3952.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3938[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3953 := &x.Status + yy3953.CodecEncodeSelf(e) + } + } + if yyr3938 || yy2arr3938 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49632,25 +49632,25 @@ func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3954 := z.DecBinary() + _ = yym3954 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3955 := r.ContainerType() + if yyct3955 == codecSelferValueTypeMap1234 { + yyl3955 := r.ReadMapStart() + if yyl3955 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3955, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3955 == codecSelferValueTypeArray1234 { + yyl3955 := r.ReadArrayStart() + if yyl3955 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3955, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49662,12 +49662,12 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3956Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3956Slc + var yyhl3956 bool = l >= 0 + for yyj3956 := 0; ; yyj3956++ { + if yyhl3956 { + if yyj3956 >= l { break } } else { @@ -49676,31 +49676,10 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3956Slc = r.DecodeBytes(yys3956Slc, true, true) + yys3956 := string(yys3956Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ResourceQuotaSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ResourceQuotaStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys3956 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -49713,10 +49692,31 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3959 := &x.ObjectMeta + yyv3959.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ResourceQuotaSpec{} + } else { + yyv3960 := &x.Spec + yyv3960.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ResourceQuotaStatus{} + } else { + yyv3961 := &x.Status + yyv3961.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3956) + } // end switch yys3956 + } // end for yyj3956 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49724,67 +49724,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj3962 int + var yyb3962 bool + var yyhl3962 bool = l >= 0 + yyj3962++ + if yyhl3962 { + yyb3962 = yyj3962 > l } else { - yyb9 = r.CheckBreak() + yyb3962 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ResourceQuotaSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ResourceQuotaStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb3962 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49794,13 +49743,13 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj3962++ + if yyhl3962 { + yyb3962 = yyj3962 > l } else { - yyb9 = r.CheckBreak() + yyb3962 = r.CheckBreak() } - if yyb9 { + if yyb3962 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49810,18 +49759,69 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj3962++ + if yyhl3962 { + yyb3962 = yyj3962 > l + } else { + yyb3962 = r.CheckBreak() + } + if yyb3962 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3965 := &x.ObjectMeta + yyv3965.CodecDecodeSelf(d) + } + yyj3962++ + if yyhl3962 { + yyb3962 = yyj3962 > l + } else { + yyb3962 = r.CheckBreak() + } + if yyb3962 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ResourceQuotaSpec{} + } else { + yyv3966 := &x.Spec + yyv3966.CodecDecodeSelf(d) + } + yyj3962++ + if yyhl3962 { + yyb3962 = yyj3962 > l + } else { + yyb3962 = r.CheckBreak() + } + if yyb3962 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ResourceQuotaStatus{} + } else { + yyv3967 := &x.Status + yyv3967.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj3962++ + if yyhl3962 { + yyb3962 = yyj3962 > l } else { - yyb9 = r.CheckBreak() + yyb3962 = r.CheckBreak() } - if yyb9 { + if yyb3962 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj3962-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49833,68 +49833,118 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym3968 := z.EncBinary() + _ = yym3968 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep3969 := !z.EncBinary() + yy2arr3969 := z.EncBasicHandle().StructToArray + var yyq3969 [4]bool + _, _, _ = yysep3969, yyq3969, yy2arr3969 + const yyr3969 bool = false + yyq3969[0] = x.Kind != "" + yyq3969[1] = x.APIVersion != "" + yyq3969[2] = true + var yynn3969 int + if yyr3969 || yy2arr3969 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn3969 = 1 + for _, b := range yyq3969 { if b { - yynn2++ + yynn3969++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn3969) + yynn3969 = 0 } - if yyr2 || yy2arr2 { + if yyr3969 || yy2arr3969 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq3969[0] { + yym3971 := z.EncBinary() + _ = yym3971 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3969[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3972 := z.EncBinary() + _ = yym3972 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3969 || yy2arr3969 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3969[1] { + yym3974 := z.EncBinary() + _ = yym3974 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3969[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3975 := z.EncBinary() + _ = yym3975 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3969 || yy2arr3969 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3969[2] { + yy3977 := &x.ListMeta + yym3978 := z.EncBinary() + _ = yym3978 + if false { + } else if z.HasExtensions() && z.EncExt(yy3977) { + } else { + z.EncFallback(yy3977) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq3969[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy3979 := &x.ListMeta + yym3980 := z.EncBinary() + _ = yym3980 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy3979) { } else { - z.EncFallback(yy6) + z.EncFallback(yy3979) } } } - if yyr2 || yy2arr2 { + if yyr3969 || yy2arr3969 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym3982 := z.EncBinary() + _ = yym3982 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) @@ -49907,65 +49957,15 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym3983 := z.EncBinary() + _ = yym3983 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr3969 || yy2arr3969 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49978,25 +49978,25 @@ func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym3984 := z.DecBinary() + _ = yym3984 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct3985 := r.ContainerType() + if yyct3985 == codecSelferValueTypeMap1234 { + yyl3985 := r.ReadMapStart() + if yyl3985 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl3985, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct3985 == codecSelferValueTypeArray1234 { + yyl3985 := r.ReadArrayStart() + if yyl3985 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl3985, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50008,12 +50008,12 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys3986Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3986Slc + var yyhl3986 bool = l >= 0 + for yyj3986 := 0; ; yyj3986++ { + if yyhl3986 { + if yyj3986 >= l { break } } else { @@ -50022,35 +50022,10 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys3986Slc = r.DecodeBytes(yys3986Slc, true, true) + yys3986 := string(yys3986Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv6), d) - } - } + switch yys3986 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -50063,10 +50038,35 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3989 := &x.ListMeta + yym3990 := z.DecBinary() + _ = yym3990 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3989) { + } else { + z.DecFallback(yyv3989, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3991 := &x.Items + yym3992 := z.DecBinary() + _ = yym3992 + if false { + } else { + h.decSliceResourceQuota((*[]ResourceQuota)(yyv3991), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys3986) + } // end switch yys3986 + } // end for yyj3986 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50074,61 +50074,16 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj3993 int + var yyb3993 bool + var yyhl3993 bool = l >= 0 + yyj3993++ + if yyhl3993 { + yyb3993 = yyj3993 > l } else { - yyb10 = r.CheckBreak() + yyb3993 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb3993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50138,13 +50093,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3993++ + if yyhl3993 { + yyb3993 = yyj3993 > l } else { - yyb10 = r.CheckBreak() + yyb3993 = r.CheckBreak() } - if yyb10 { + if yyb3993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50154,18 +50109,63 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj3993++ + if yyhl3993 { + yyb3993 = yyj3993 > l + } else { + yyb3993 = r.CheckBreak() + } + if yyb3993 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3996 := &x.ListMeta + yym3997 := z.DecBinary() + _ = yym3997 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3996) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv3996, false) } - if yyb10 { + } + yyj3993++ + if yyhl3993 { + yyb3993 = yyj3993 > l + } else { + yyb3993 = r.CheckBreak() + } + if yyb3993 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3998 := &x.Items + yym3999 := z.DecBinary() + _ = yym3999 + if false { + } else { + h.decSliceResourceQuota((*[]ResourceQuota)(yyv3998), d) + } + } + for { + yyj3993++ + if yyhl3993 { + yyb3993 = yyj3993 > l + } else { + yyb3993 = r.CheckBreak() + } + if yyb3993 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj3993-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50177,60 +50177,110 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4000 := z.EncBinary() + _ = yym4000 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = len(x.Data) != 0 - yyq2[2] = len(x.StringData) != 0 - yyq2[3] = x.Type != "" - yyq2[4] = x.Kind != "" - yyq2[5] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4001 := !z.EncBinary() + yy2arr4001 := z.EncBasicHandle().StructToArray + var yyq4001 [6]bool + _, _, _ = yysep4001, yyq4001, yy2arr4001 + const yyr4001 bool = false + yyq4001[0] = x.Kind != "" + yyq4001[1] = x.APIVersion != "" + yyq4001[2] = true + yyq4001[3] = len(x.Data) != 0 + yyq4001[4] = len(x.StringData) != 0 + yyq4001[5] = x.Type != "" + var yynn4001 int + if yyr4001 || yy2arr4001 { r.EncodeArrayStart(6) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn4001 = 0 + for _, b := range yyq4001 { if b { - yynn2++ + yynn4001++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4001) + yynn4001 = 0 } - if yyr2 || yy2arr2 { + if yyr4001 || yy2arr4001 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq4001[0] { + yym4003 := z.EncBinary() + _ = yym4003 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4001[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4004 := z.EncBinary() + _ = yym4004 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4001 || yy2arr4001 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4001[1] { + yym4006 := z.EncBinary() + _ = yym4006 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4001[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4007 := z.EncBinary() + _ = yym4007 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4001 || yy2arr4001 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4001[2] { + yy4009 := &x.ObjectMeta + yy4009.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4001[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy4010 := &x.ObjectMeta + yy4010.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr4001 || yy2arr4001 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq4001[3] { if x.Data == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym4012 := z.EncBinary() + _ = yym4012 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -50240,15 +50290,15 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq4001[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym4013 := z.EncBinary() + _ = yym4013 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -50256,14 +50306,14 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr4001 || yy2arr4001 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq4001[4] { if x.StringData == nil { r.EncodeNil() } else { - yym12 := z.EncBinary() - _ = yym12 + yym4015 := z.EncBinary() + _ = yym4015 if false { } else { z.F.EncMapStringStringV(x.StringData, false, e) @@ -50273,15 +50323,15 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq4001[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stringData")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StringData == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym4016 := z.EncBinary() + _ = yym4016 if false { } else { z.F.EncMapStringStringV(x.StringData, false, e) @@ -50289,72 +50339,22 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr4001 || yy2arr4001 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq4001[5] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq4001[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym21 := z.EncBinary() - _ = yym21 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr4001 || yy2arr4001 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50367,25 +50367,25 @@ func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4018 := z.DecBinary() + _ = yym4018 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4019 := r.ContainerType() + if yyct4019 == codecSelferValueTypeMap1234 { + yyl4019 := r.ReadMapStart() + if yyl4019 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4019, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4019 == codecSelferValueTypeArray1234 { + yyl4019 := r.ReadArrayStart() + if yyl4019 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4019, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50397,12 +50397,12 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4020Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4020Slc + var yyhl4020 bool = l >= 0 + for yyj4020 := 0; ; yyj4020++ { + if yyhl4020 { + if yyj4020 >= l { break } } else { @@ -50411,47 +50411,10 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4020Slc = r.DecodeBytes(yys4020Slc, true, true) + yys4020 := string(yys4020Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "data": - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv5 := &x.Data - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv5), d) - } - } - case "stringData": - if r.TryDecodeAsNil() { - x.StringData = nil - } else { - yyv7 := &x.StringData - yym8 := z.DecBinary() - _ = yym8 - if false { - } else { - z.F.DecMapStringStringX(yyv7, false, d) - } - } - case "type": - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = SecretType(r.DecodeString()) - } + switch yys4020 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -50464,10 +50427,47 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4023 := &x.ObjectMeta + yyv4023.CodecDecodeSelf(d) + } + case "data": + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4024 := &x.Data + yym4025 := z.DecBinary() + _ = yym4025 + if false { + } else { + h.decMapstringSliceuint8((*map[string][]uint8)(yyv4024), d) + } + } + case "stringData": + if r.TryDecodeAsNil() { + x.StringData = nil + } else { + yyv4026 := &x.StringData + yym4027 := z.DecBinary() + _ = yym4027 + if false { + } else { + z.F.DecMapStringStringX(yyv4026, false, d) + } + } + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = SecretType(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4020) + } // end switch yys4020 + } // end for yyj4020 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50475,93 +50475,16 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj4029 int + var yyb4029 bool + var yyhl4029 bool = l >= 0 + yyj4029++ + if yyhl4029 { + yyb4029 = yyj4029 > l } else { - yyb12 = r.CheckBreak() + yyb4029 = r.CheckBreak() } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv13 := &x.ObjectMeta - yyv13.CodecDecodeSelf(d) - } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv14 := &x.Data - yym15 := z.DecBinary() - _ = yym15 - if false { - } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv14), d) - } - } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.StringData = nil - } else { - yyv16 := &x.StringData - yym17 := z.DecBinary() - _ = yym17 - if false { - } else { - z.F.DecMapStringStringX(yyv16, false, d) - } - } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = SecretType(r.DecodeString()) - } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { + if yyb4029 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50571,13 +50494,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj4029++ + if yyhl4029 { + yyb4029 = yyj4029 > l } else { - yyb12 = r.CheckBreak() + yyb4029 = r.CheckBreak() } - if yyb12 { + if yyb4029 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50587,18 +50510,95 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj4029++ + if yyhl4029 { + yyb4029 = yyj4029 > l + } else { + yyb4029 = r.CheckBreak() + } + if yyb4029 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4032 := &x.ObjectMeta + yyv4032.CodecDecodeSelf(d) + } + yyj4029++ + if yyhl4029 { + yyb4029 = yyj4029 > l + } else { + yyb4029 = r.CheckBreak() + } + if yyb4029 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4033 := &x.Data + yym4034 := z.DecBinary() + _ = yym4034 + if false { } else { - yyb12 = r.CheckBreak() + h.decMapstringSliceuint8((*map[string][]uint8)(yyv4033), d) } - if yyb12 { + } + yyj4029++ + if yyhl4029 { + yyb4029 = yyj4029 > l + } else { + yyb4029 = r.CheckBreak() + } + if yyb4029 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.StringData = nil + } else { + yyv4035 := &x.StringData + yym4036 := z.DecBinary() + _ = yym4036 + if false { + } else { + z.F.DecMapStringStringX(yyv4035, false, d) + } + } + yyj4029++ + if yyhl4029 { + yyb4029 = yyj4029 > l + } else { + yyb4029 = r.CheckBreak() + } + if yyb4029 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = SecretType(r.DecodeString()) + } + for { + yyj4029++ + if yyhl4029 { + yyb4029 = yyj4029 > l + } else { + yyb4029 = r.CheckBreak() + } + if yyb4029 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj4029-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50607,8 +50607,8 @@ func (x SecretType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym4038 := z.EncBinary() + _ = yym4038 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -50620,8 +50620,8 @@ func (x *SecretType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4039 := z.DecBinary() + _ = yym4039 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -50636,68 +50636,118 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4040 := z.EncBinary() + _ = yym4040 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4041 := !z.EncBinary() + yy2arr4041 := z.EncBasicHandle().StructToArray + var yyq4041 [4]bool + _, _, _ = yysep4041, yyq4041, yy2arr4041 + const yyr4041 bool = false + yyq4041[0] = x.Kind != "" + yyq4041[1] = x.APIVersion != "" + yyq4041[2] = true + var yynn4041 int + if yyr4041 || yy2arr4041 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn4041 = 1 + for _, b := range yyq4041 { if b { - yynn2++ + yynn4041++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4041) + yynn4041 = 0 } - if yyr2 || yy2arr2 { + if yyr4041 || yy2arr4041 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq4041[0] { + yym4043 := z.EncBinary() + _ = yym4043 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4041[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4044 := z.EncBinary() + _ = yym4044 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4041 || yy2arr4041 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4041[1] { + yym4046 := z.EncBinary() + _ = yym4046 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4041[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4047 := z.EncBinary() + _ = yym4047 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4041 || yy2arr4041 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4041[2] { + yy4049 := &x.ListMeta + yym4050 := z.EncBinary() + _ = yym4050 + if false { + } else if z.HasExtensions() && z.EncExt(yy4049) { + } else { + z.EncFallback(yy4049) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4041[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy4051 := &x.ListMeta + yym4052 := z.EncBinary() + _ = yym4052 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy4051) { } else { - z.EncFallback(yy6) + z.EncFallback(yy4051) } } } - if yyr2 || yy2arr2 { + if yyr4041 || yy2arr4041 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym4054 := z.EncBinary() + _ = yym4054 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) @@ -50710,65 +50760,15 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym4055 := z.EncBinary() + _ = yym4055 if false { } else { h.encSliceSecret(([]Secret)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr4041 || yy2arr4041 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50781,25 +50781,25 @@ func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4056 := z.DecBinary() + _ = yym4056 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4057 := r.ContainerType() + if yyct4057 == codecSelferValueTypeMap1234 { + yyl4057 := r.ReadMapStart() + if yyl4057 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4057, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4057 == codecSelferValueTypeArray1234 { + yyl4057 := r.ReadArrayStart() + if yyl4057 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4057, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50811,12 +50811,12 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4058Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4058Slc + var yyhl4058 bool = l >= 0 + for yyj4058 := 0; ; yyj4058++ { + if yyhl4058 { + if yyj4058 >= l { break } } else { @@ -50825,35 +50825,10 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4058Slc = r.DecodeBytes(yys4058Slc, true, true) + yys4058 := string(yys4058Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceSecret((*[]Secret)(yyv6), d) - } - } + switch yys4058 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -50866,10 +50841,35 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4061 := &x.ListMeta + yym4062 := z.DecBinary() + _ = yym4062 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4061) { + } else { + z.DecFallback(yyv4061, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4063 := &x.Items + yym4064 := z.DecBinary() + _ = yym4064 + if false { + } else { + h.decSliceSecret((*[]Secret)(yyv4063), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4058) + } // end switch yys4058 + } // end for yyj4058 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50877,61 +50877,16 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj4065 int + var yyb4065 bool + var yyhl4065 bool = l >= 0 + yyj4065++ + if yyhl4065 { + yyb4065 = yyj4065 > l } else { - yyb10 = r.CheckBreak() + yyb4065 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceSecret((*[]Secret)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb4065 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50941,13 +50896,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4065++ + if yyhl4065 { + yyb4065 = yyj4065 > l } else { - yyb10 = r.CheckBreak() + yyb4065 = r.CheckBreak() } - if yyb10 { + if yyb4065 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50957,18 +50912,63 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4065++ + if yyhl4065 { + yyb4065 = yyj4065 > l + } else { + yyb4065 = r.CheckBreak() + } + if yyb4065 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4068 := &x.ListMeta + yym4069 := z.DecBinary() + _ = yym4069 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4068) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv4068, false) } - if yyb10 { + } + yyj4065++ + if yyhl4065 { + yyb4065 = yyj4065 > l + } else { + yyb4065 = r.CheckBreak() + } + if yyb4065 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4070 := &x.Items + yym4071 := z.DecBinary() + _ = yym4071 + if false { + } else { + h.decSliceSecret((*[]Secret)(yyv4070), d) + } + } + for { + yyj4065++ + if yyhl4065 { + yyb4065 = yyj4065 > l + } else { + yyb4065 = r.CheckBreak() + } + if yyb4065 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj4065-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50980,58 +50980,108 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4072 := z.EncBinary() + _ = yym4072 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = len(x.Data) != 0 - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4073 := !z.EncBinary() + yy2arr4073 := z.EncBasicHandle().StructToArray + var yyq4073 [4]bool + _, _, _ = yysep4073, yyq4073, yy2arr4073 + const yyr4073 bool = false + yyq4073[0] = x.Kind != "" + yyq4073[1] = x.APIVersion != "" + yyq4073[2] = true + yyq4073[3] = len(x.Data) != 0 + var yynn4073 int + if yyr4073 || yy2arr4073 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn4073 = 0 + for _, b := range yyq4073 { if b { - yynn2++ + yynn4073++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4073) + yynn4073 = 0 } - if yyr2 || yy2arr2 { + if yyr4073 || yy2arr4073 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq4073[0] { + yym4075 := z.EncBinary() + _ = yym4075 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4073[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4076 := z.EncBinary() + _ = yym4076 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4073 || yy2arr4073 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4073[1] { + yym4078 := z.EncBinary() + _ = yym4078 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4073[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4079 := z.EncBinary() + _ = yym4079 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4073 || yy2arr4073 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4073[2] { + yy4081 := &x.ObjectMeta + yy4081.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4073[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy4082 := &x.ObjectMeta + yy4082.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr4073 || yy2arr4073 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq4073[3] { if x.Data == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym4084 := z.EncBinary() + _ = yym4084 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -51041,15 +51091,15 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq4073[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym4085 := z.EncBinary() + _ = yym4085 if false { } else { z.F.EncMapStringStringV(x.Data, false, e) @@ -51057,57 +51107,7 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr4073 || yy2arr4073 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51120,25 +51120,25 @@ func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4086 := z.DecBinary() + _ = yym4086 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4087 := r.ContainerType() + if yyct4087 == codecSelferValueTypeMap1234 { + yyl4087 := r.ReadMapStart() + if yyl4087 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4087, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4087 == codecSelferValueTypeArray1234 { + yyl4087 := r.ReadArrayStart() + if yyl4087 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4087, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51150,12 +51150,12 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4088Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4088Slc + var yyhl4088 bool = l >= 0 + for yyj4088 := 0; ; yyj4088++ { + if yyhl4088 { + if yyj4088 >= l { break } } else { @@ -51164,29 +51164,10 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4088Slc = r.DecodeBytes(yys4088Slc, true, true) + yys4088 := string(yys4088Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "data": - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv5 := &x.Data - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - z.F.DecMapStringStringX(yyv5, false, d) - } - } + switch yys4088 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -51199,10 +51180,29 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4091 := &x.ObjectMeta + yyv4091.CodecDecodeSelf(d) + } + case "data": + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4092 := &x.Data + yym4093 := z.DecBinary() + _ = yym4093 + if false { + } else { + z.F.DecMapStringStringX(yyv4092, false, d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4088) + } // end switch yys4088 + } // end for yyj4088 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51210,55 +51210,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj4094 int + var yyb4094 bool + var yyhl4094 bool = l >= 0 + yyj4094++ + if yyhl4094 { + yyb4094 = yyj4094 > l } else { - yyb9 = r.CheckBreak() + yyb4094 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv11 := &x.Data - yym12 := z.DecBinary() - _ = yym12 - if false { - } else { - z.F.DecMapStringStringX(yyv11, false, d) - } - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb4094 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51268,13 +51229,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj4094++ + if yyhl4094 { + yyb4094 = yyj4094 > l } else { - yyb9 = r.CheckBreak() + yyb4094 = r.CheckBreak() } - if yyb9 { + if yyb4094 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51284,18 +51245,57 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj4094++ + if yyhl4094 { + yyb4094 = yyj4094 > l + } else { + yyb4094 = r.CheckBreak() + } + if yyb4094 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4097 := &x.ObjectMeta + yyv4097.CodecDecodeSelf(d) + } + yyj4094++ + if yyhl4094 { + yyb4094 = yyj4094 > l + } else { + yyb4094 = r.CheckBreak() + } + if yyb4094 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4098 := &x.Data + yym4099 := z.DecBinary() + _ = yym4099 + if false { } else { - yyb9 = r.CheckBreak() + z.F.DecMapStringStringX(yyv4098, false, d) } - if yyb9 { + } + for { + yyj4094++ + if yyhl4094 { + yyb4094 = yyj4094 > l + } else { + yyb4094 = r.CheckBreak() + } + if yyb4094 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj4094-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51307,68 +51307,118 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4100 := z.EncBinary() + _ = yym4100 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4101 := !z.EncBinary() + yy2arr4101 := z.EncBasicHandle().StructToArray + var yyq4101 [4]bool + _, _, _ = yysep4101, yyq4101, yy2arr4101 + const yyr4101 bool = false + yyq4101[0] = x.Kind != "" + yyq4101[1] = x.APIVersion != "" + yyq4101[2] = true + var yynn4101 int + if yyr4101 || yy2arr4101 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn4101 = 1 + for _, b := range yyq4101 { if b { - yynn2++ + yynn4101++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4101) + yynn4101 = 0 } - if yyr2 || yy2arr2 { + if yyr4101 || yy2arr4101 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq4101[0] { + yym4103 := z.EncBinary() + _ = yym4103 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4101[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4104 := z.EncBinary() + _ = yym4104 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4101 || yy2arr4101 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4101[1] { + yym4106 := z.EncBinary() + _ = yym4106 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4101[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4107 := z.EncBinary() + _ = yym4107 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4101 || yy2arr4101 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4101[2] { + yy4109 := &x.ListMeta + yym4110 := z.EncBinary() + _ = yym4110 + if false { + } else if z.HasExtensions() && z.EncExt(yy4109) { + } else { + z.EncFallback(yy4109) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4101[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy4111 := &x.ListMeta + yym4112 := z.EncBinary() + _ = yym4112 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy4111) { } else { - z.EncFallback(yy6) + z.EncFallback(yy4111) } } } - if yyr2 || yy2arr2 { + if yyr4101 || yy2arr4101 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym4114 := z.EncBinary() + _ = yym4114 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) @@ -51381,65 +51431,15 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym4115 := z.EncBinary() + _ = yym4115 if false { } else { h.encSliceConfigMap(([]ConfigMap)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr4101 || yy2arr4101 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51452,25 +51452,25 @@ func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4116 := z.DecBinary() + _ = yym4116 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4117 := r.ContainerType() + if yyct4117 == codecSelferValueTypeMap1234 { + yyl4117 := r.ReadMapStart() + if yyl4117 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4117, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4117 == codecSelferValueTypeArray1234 { + yyl4117 := r.ReadArrayStart() + if yyl4117 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4117, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51482,12 +51482,12 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4118Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4118Slc + var yyhl4118 bool = l >= 0 + for yyj4118 := 0; ; yyj4118++ { + if yyhl4118 { + if yyj4118 >= l { break } } else { @@ -51496,35 +51496,10 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4118Slc = r.DecodeBytes(yys4118Slc, true, true) + yys4118 := string(yys4118Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv6), d) - } - } + switch yys4118 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -51537,10 +51512,35 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4121 := &x.ListMeta + yym4122 := z.DecBinary() + _ = yym4122 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4121) { + } else { + z.DecFallback(yyv4121, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4123 := &x.Items + yym4124 := z.DecBinary() + _ = yym4124 + if false { + } else { + h.decSliceConfigMap((*[]ConfigMap)(yyv4123), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4118) + } // end switch yys4118 + } // end for yyj4118 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51548,61 +51548,16 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj4125 int + var yyb4125 bool + var yyhl4125 bool = l >= 0 + yyj4125++ + if yyhl4125 { + yyb4125 = yyj4125 > l } else { - yyb10 = r.CheckBreak() + yyb4125 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb4125 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51612,13 +51567,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4125++ + if yyhl4125 { + yyb4125 = yyj4125 > l } else { - yyb10 = r.CheckBreak() + yyb4125 = r.CheckBreak() } - if yyb10 { + if yyb4125 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51628,18 +51583,63 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4125++ + if yyhl4125 { + yyb4125 = yyj4125 > l + } else { + yyb4125 = r.CheckBreak() + } + if yyb4125 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4128 := &x.ListMeta + yym4129 := z.DecBinary() + _ = yym4129 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4128) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv4128, false) } - if yyb10 { + } + yyj4125++ + if yyhl4125 { + yyb4125 = yyj4125 > l + } else { + yyb4125 = r.CheckBreak() + } + if yyb4125 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4130 := &x.Items + yym4131 := z.DecBinary() + _ = yym4131 + if false { + } else { + h.decSliceConfigMap((*[]ConfigMap)(yyv4130), d) + } + } + for { + yyj4125++ + if yyhl4125 { + yyb4125 = yyj4125 > l + } else { + yyb4125 = r.CheckBreak() + } + if yyb4125 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj4125-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51648,8 +51648,8 @@ func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym4132 := z.EncBinary() + _ = yym4132 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -51661,8 +51661,8 @@ func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4133 := z.DecBinary() + _ = yym4133 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -51677,32 +51677,32 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4134 := z.EncBinary() + _ = yym4134 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.Message != "" - yyq2[3] = x.Error != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4135 := !z.EncBinary() + yy2arr4135 := z.EncBasicHandle().StructToArray + var yyq4135 [4]bool + _, _, _ = yysep4135, yyq4135, yy2arr4135 + const yyr4135 bool = false + yyq4135[2] = x.Message != "" + yyq4135[3] = x.Error != "" + var yynn4135 int + if yyr4135 || yy2arr4135 { r.EncodeArrayStart(4) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn4135 = 2 + for _, b := range yyq4135 { if b { - yynn2++ + yynn4135++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4135) + yynn4135 = 0 } - if yyr2 || yy2arr2 { + if yyr4135 || yy2arr4135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -51711,7 +51711,7 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr4135 || yy2arr4135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -51720,11 +51720,11 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr4135 || yy2arr4135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq4135[2] { + yym4139 := z.EncBinary() + _ = yym4139 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -51733,23 +51733,23 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq4135[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym4140 := z.EncBinary() + _ = yym4140 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr4135 || yy2arr4135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq4135[3] { + yym4142 := z.EncBinary() + _ = yym4142 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) @@ -51758,19 +51758,19 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq4135[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym4143 := z.EncBinary() + _ = yym4143 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } } - if yyr2 || yy2arr2 { + if yyr4135 || yy2arr4135 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51783,25 +51783,25 @@ func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4144 := z.DecBinary() + _ = yym4144 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4145 := r.ContainerType() + if yyct4145 == codecSelferValueTypeMap1234 { + yyl4145 := r.ReadMapStart() + if yyl4145 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4145, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4145 == codecSelferValueTypeArray1234 { + yyl4145 := r.ReadArrayStart() + if yyl4145 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4145, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51813,12 +51813,12 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4146Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4146Slc + var yyhl4146 bool = l >= 0 + for yyj4146 := 0; ; yyj4146++ { + if yyhl4146 { + if yyj4146 >= l { break } } else { @@ -51827,10 +51827,10 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4146Slc = r.DecodeBytes(yys4146Slc, true, true) + yys4146 := string(yys4146Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys4146 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -51856,9 +51856,9 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Error = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4146) + } // end switch yys4146 + } // end for yyj4146 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -51866,16 +51866,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj4151 int + var yyb4151 bool + var yyhl4151 bool = l >= 0 + yyj4151++ + if yyhl4151 { + yyb4151 = yyj4151 > l } else { - yyb8 = r.CheckBreak() + yyb4151 = r.CheckBreak() } - if yyb8 { + if yyb4151 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51885,13 +51885,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = ComponentConditionType(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4151++ + if yyhl4151 { + yyb4151 = yyj4151 > l } else { - yyb8 = r.CheckBreak() + yyb4151 = r.CheckBreak() } - if yyb8 { + if yyb4151 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51901,13 +51901,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4151++ + if yyhl4151 { + yyb4151 = yyj4151 > l } else { - yyb8 = r.CheckBreak() + yyb4151 = r.CheckBreak() } - if yyb8 { + if yyb4151 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51917,13 +51917,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Message = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4151++ + if yyhl4151 { + yyb4151 = yyj4151 > l } else { - yyb8 = r.CheckBreak() + yyb4151 = r.CheckBreak() } - if yyb8 { + if yyb4151 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51934,17 +51934,17 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.Error = string(r.DecodeString()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4151++ + if yyhl4151 { + yyb4151 = yyj4151 > l } else { - yyb8 = r.CheckBreak() + yyb4151 = r.CheckBreak() } - if yyb8 { + if yyb4151 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj4151-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -51956,58 +51956,108 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4156 := z.EncBinary() + _ = yym4156 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = len(x.Conditions) != 0 - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4157 := !z.EncBinary() + yy2arr4157 := z.EncBasicHandle().StructToArray + var yyq4157 [4]bool + _, _, _ = yysep4157, yyq4157, yy2arr4157 + const yyr4157 bool = false + yyq4157[0] = x.Kind != "" + yyq4157[1] = x.APIVersion != "" + yyq4157[2] = true + yyq4157[3] = len(x.Conditions) != 0 + var yynn4157 int + if yyr4157 || yy2arr4157 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn4157 = 0 + for _, b := range yyq4157 { if b { - yynn2++ + yynn4157++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4157) + yynn4157 = 0 } - if yyr2 || yy2arr2 { + if yyr4157 || yy2arr4157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq4157[0] { + yym4159 := z.EncBinary() + _ = yym4159 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4157[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4160 := z.EncBinary() + _ = yym4160 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4157 || yy2arr4157 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4157[1] { + yym4162 := z.EncBinary() + _ = yym4162 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4157[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4163 := z.EncBinary() + _ = yym4163 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4157 || yy2arr4157 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4157[2] { + yy4165 := &x.ObjectMeta + yy4165.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4157[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy4166 := &x.ObjectMeta + yy4166.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr4157 || yy2arr4157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq4157[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym4168 := z.EncBinary() + _ = yym4168 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -52017,15 +52067,15 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq4157[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym4169 := z.EncBinary() + _ = yym4169 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -52033,57 +52083,7 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr4157 || yy2arr4157 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52096,25 +52096,25 @@ func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4170 := z.DecBinary() + _ = yym4170 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4171 := r.ContainerType() + if yyct4171 == codecSelferValueTypeMap1234 { + yyl4171 := r.ReadMapStart() + if yyl4171 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4171, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4171 == codecSelferValueTypeArray1234 { + yyl4171 := r.ReadArrayStart() + if yyl4171 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4171, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52126,12 +52126,12 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4172Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4172Slc + var yyhl4172 bool = l >= 0 + for yyj4172 := 0; ; yyj4172++ { + if yyhl4172 { + if yyj4172 >= l { break } } else { @@ -52140,29 +52140,10 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4172Slc = r.DecodeBytes(yys4172Slc, true, true) + yys4172 := string(yys4172Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "conditions": - if r.TryDecodeAsNil() { - x.Conditions = nil - } else { - yyv5 := &x.Conditions - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv5), d) - } - } + switch yys4172 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -52175,10 +52156,29 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4175 := &x.ObjectMeta + yyv4175.CodecDecodeSelf(d) + } + case "conditions": + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv4176 := &x.Conditions + yym4177 := z.DecBinary() + _ = yym4177 + if false { + } else { + h.decSliceComponentCondition((*[]ComponentCondition)(yyv4176), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4172) + } // end switch yys4172 + } // end for yyj4172 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52186,55 +52186,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj4178 int + var yyb4178 bool + var yyhl4178 bool = l >= 0 + yyj4178++ + if yyhl4178 { + yyb4178 = yyj4178 > l } else { - yyb9 = r.CheckBreak() + yyb4178 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Conditions = nil - } else { - yyv11 := &x.Conditions - yym12 := z.DecBinary() - _ = yym12 - if false { - } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv11), d) - } - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb4178 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52244,13 +52205,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj4178++ + if yyhl4178 { + yyb4178 = yyj4178 > l } else { - yyb9 = r.CheckBreak() + yyb4178 = r.CheckBreak() } - if yyb9 { + if yyb4178 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52260,18 +52221,57 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj4178++ + if yyhl4178 { + yyb4178 = yyj4178 > l + } else { + yyb4178 = r.CheckBreak() + } + if yyb4178 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4181 := &x.ObjectMeta + yyv4181.CodecDecodeSelf(d) + } + yyj4178++ + if yyhl4178 { + yyb4178 = yyj4178 > l + } else { + yyb4178 = r.CheckBreak() + } + if yyb4178 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv4182 := &x.Conditions + yym4183 := z.DecBinary() + _ = yym4183 + if false { } else { - yyb9 = r.CheckBreak() + h.decSliceComponentCondition((*[]ComponentCondition)(yyv4182), d) } - if yyb9 { + } + for { + yyj4178++ + if yyhl4178 { + yyb4178 = yyj4178 > l + } else { + yyb4178 = r.CheckBreak() + } + if yyb4178 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj4178-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52283,68 +52283,118 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4184 := z.EncBinary() + _ = yym4184 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4185 := !z.EncBinary() + yy2arr4185 := z.EncBasicHandle().StructToArray + var yyq4185 [4]bool + _, _, _ = yysep4185, yyq4185, yy2arr4185 + const yyr4185 bool = false + yyq4185[0] = x.Kind != "" + yyq4185[1] = x.APIVersion != "" + yyq4185[2] = true + var yynn4185 int + if yyr4185 || yy2arr4185 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn4185 = 1 + for _, b := range yyq4185 { if b { - yynn2++ + yynn4185++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4185) + yynn4185 = 0 } - if yyr2 || yy2arr2 { + if yyr4185 || yy2arr4185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq4185[0] { + yym4187 := z.EncBinary() + _ = yym4187 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4185[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4188 := z.EncBinary() + _ = yym4188 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4185 || yy2arr4185 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4185[1] { + yym4190 := z.EncBinary() + _ = yym4190 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4185[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4191 := z.EncBinary() + _ = yym4191 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4185 || yy2arr4185 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4185[2] { + yy4193 := &x.ListMeta + yym4194 := z.EncBinary() + _ = yym4194 + if false { + } else if z.HasExtensions() && z.EncExt(yy4193) { + } else { + z.EncFallback(yy4193) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4185[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy4195 := &x.ListMeta + yym4196 := z.EncBinary() + _ = yym4196 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy4195) { } else { - z.EncFallback(yy6) + z.EncFallback(yy4195) } } } - if yyr2 || yy2arr2 { + if yyr4185 || yy2arr4185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym4198 := z.EncBinary() + _ = yym4198 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) @@ -52357,65 +52407,15 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym4199 := z.EncBinary() + _ = yym4199 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr4185 || yy2arr4185 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52428,25 +52428,25 @@ func (x *ComponentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4200 := z.DecBinary() + _ = yym4200 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4201 := r.ContainerType() + if yyct4201 == codecSelferValueTypeMap1234 { + yyl4201 := r.ReadMapStart() + if yyl4201 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4201, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4201 == codecSelferValueTypeArray1234 { + yyl4201 := r.ReadArrayStart() + if yyl4201 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4201, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52458,12 +52458,12 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4202Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4202Slc + var yyhl4202 bool = l >= 0 + for yyj4202 := 0; ; yyj4202++ { + if yyhl4202 { + if yyj4202 >= l { break } } else { @@ -52472,35 +52472,10 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4202Slc = r.DecodeBytes(yys4202Slc, true, true) + yys4202 := string(yys4202Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv6), d) - } - } + switch yys4202 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -52513,10 +52488,35 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4205 := &x.ListMeta + yym4206 := z.DecBinary() + _ = yym4206 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4205) { + } else { + z.DecFallback(yyv4205, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4207 := &x.Items + yym4208 := z.DecBinary() + _ = yym4208 + if false { + } else { + h.decSliceComponentStatus((*[]ComponentStatus)(yyv4207), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4202) + } // end switch yys4202 + } // end for yyj4202 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52524,61 +52524,16 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj4209 int + var yyb4209 bool + var yyhl4209 bool = l >= 0 + yyj4209++ + if yyhl4209 { + yyb4209 = yyj4209 > l } else { - yyb10 = r.CheckBreak() + yyb4209 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb4209 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52588,13 +52543,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4209++ + if yyhl4209 { + yyb4209 = yyj4209 > l } else { - yyb10 = r.CheckBreak() + yyb4209 = r.CheckBreak() } - if yyb10 { + if yyb4209 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52604,18 +52559,63 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4209++ + if yyhl4209 { + yyb4209 = yyj4209 > l + } else { + yyb4209 = r.CheckBreak() + } + if yyb4209 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4212 := &x.ListMeta + yym4213 := z.DecBinary() + _ = yym4213 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4212) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv4212, false) } - if yyb10 { + } + yyj4209++ + if yyhl4209 { + yyb4209 = yyj4209 > l + } else { + yyb4209 = r.CheckBreak() + } + if yyb4209 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4214 := &x.Items + yym4215 := z.DecBinary() + _ = yym4215 + if false { + } else { + h.decSliceComponentStatus((*[]ComponentStatus)(yyv4214), d) + } + } + for { + yyj4209++ + if yyhl4209 { + yyb4209 = yyj4209 > l + } else { + yyb4209 = r.CheckBreak() + } + if yyb4209 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj4209-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52627,38 +52627,38 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4216 := z.EncBinary() + _ = yym4216 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Items) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep4217 := !z.EncBinary() + yy2arr4217 := z.EncBasicHandle().StructToArray + var yyq4217 [1]bool + _, _, _ = yysep4217, yyq4217, yy2arr4217 + const yyr4217 bool = false + yyq4217[0] = len(x.Items) != 0 + var yynn4217 int + if yyr4217 || yy2arr4217 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn4217 = 0 + for _, b := range yyq4217 { if b { - yynn2++ + yynn4217++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4217) + yynn4217 = 0 } - if yyr2 || yy2arr2 { + if yyr4217 || yy2arr4217 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq4217[0] { if x.Items == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym4219 := z.EncBinary() + _ = yym4219 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -52668,15 +52668,15 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4217[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym4220 := z.EncBinary() + _ = yym4220 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -52684,7 +52684,7 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr4217 || yy2arr4217 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52697,25 +52697,25 @@ func (x *DownwardAPIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4221 := z.DecBinary() + _ = yym4221 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4222 := r.ContainerType() + if yyct4222 == codecSelferValueTypeMap1234 { + yyl4222 := r.ReadMapStart() + if yyl4222 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4222, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4222 == codecSelferValueTypeArray1234 { + yyl4222 := r.ReadArrayStart() + if yyl4222 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4222, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52727,12 +52727,12 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4223Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4223Slc + var yyhl4223 bool = l >= 0 + for yyj4223 := 0; ; yyj4223++ { + if yyhl4223 { + if yyj4223 >= l { break } } else { @@ -52741,26 +52741,26 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4223Slc = r.DecodeBytes(yys4223Slc, true, true) + yys4223 := string(yys4223Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys4223 { case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4 := &x.Items - yym5 := z.DecBinary() - _ = yym5 + yyv4224 := &x.Items + yym4225 := z.DecBinary() + _ = yym4225 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv4), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv4224), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4223) + } // end switch yys4223 + } // end for yyj4223 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52768,16 +52768,16 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj4226 int + var yyb4226 bool + var yyhl4226 bool = l >= 0 + yyj4226++ + if yyhl4226 { + yyb4226 = yyj4226 > l } else { - yyb6 = r.CheckBreak() + yyb4226 = r.CheckBreak() } - if yyb6 { + if yyb4226 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52785,26 +52785,26 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Items = nil } else { - yyv7 := &x.Items - yym8 := z.DecBinary() - _ = yym8 + yyv4227 := &x.Items + yym4228 := z.DecBinary() + _ = yym4228 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv7), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv4227), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj4226++ + if yyhl4226 { + yyb4226 = yyj4226 > l } else { - yyb6 = r.CheckBreak() + yyb4226 = r.CheckBreak() } - if yyb6 { + if yyb4226 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj4226-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52816,35 +52816,35 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4229 := z.EncBinary() + _ = yym4229 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FieldRef != nil - yyq2[2] = x.ResourceFieldRef != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep4230 := !z.EncBinary() + yy2arr4230 := z.EncBasicHandle().StructToArray + var yyq4230 [3]bool + _, _, _ = yysep4230, yyq4230, yy2arr4230 + const yyr4230 bool = false + yyq4230[1] = x.FieldRef != nil + yyq4230[2] = x.ResourceFieldRef != nil + var yynn4230 int + if yyr4230 || yy2arr4230 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn4230 = 1 + for _, b := range yyq4230 { if b { - yynn2++ + yynn4230++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4230) + yynn4230 = 0 } - if yyr2 || yy2arr2 { + if yyr4230 || yy2arr4230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym4232 := z.EncBinary() + _ = yym4232 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -52853,16 +52853,16 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym4233 := z.EncBinary() + _ = yym4233 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2 || yy2arr2 { + if yyr4230 || yy2arr4230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq4230[1] { if x.FieldRef == nil { r.EncodeNil() } else { @@ -52872,7 +52872,7 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq4230[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -52883,9 +52883,9 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr4230 || yy2arr4230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq4230[2] { if x.ResourceFieldRef == nil { r.EncodeNil() } else { @@ -52895,7 +52895,7 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq4230[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceFieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -52906,7 +52906,7 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr4230 || yy2arr4230 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52919,25 +52919,25 @@ func (x *DownwardAPIVolumeFile) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4236 := z.DecBinary() + _ = yym4236 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4237 := r.ContainerType() + if yyct4237 == codecSelferValueTypeMap1234 { + yyl4237 := r.ReadMapStart() + if yyl4237 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4237, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4237 == codecSelferValueTypeArray1234 { + yyl4237 := r.ReadArrayStart() + if yyl4237 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4237, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52949,12 +52949,12 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4238Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4238Slc + var yyhl4238 bool = l >= 0 + for yyj4238 := 0; ; yyj4238++ { + if yyhl4238 { + if yyj4238 >= l { break } } else { @@ -52963,10 +52963,10 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4238Slc = r.DecodeBytes(yys4238Slc, true, true) + yys4238 := string(yys4238Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys4238 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -52996,9 +52996,9 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ResourceFieldRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4238) + } // end switch yys4238 + } // end for yyj4238 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53006,16 +53006,16 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj4242 int + var yyb4242 bool + var yyhl4242 bool = l >= 0 + yyj4242++ + if yyhl4242 { + yyb4242 = yyj4242 > l } else { - yyb7 = r.CheckBreak() + yyb4242 = r.CheckBreak() } - if yyb7 { + if yyb4242 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53025,13 +53025,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj4242++ + if yyhl4242 { + yyb4242 = yyj4242 > l } else { - yyb7 = r.CheckBreak() + yyb4242 = r.CheckBreak() } - if yyb7 { + if yyb4242 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53046,13 +53046,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } x.FieldRef.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj4242++ + if yyhl4242 { + yyb4242 = yyj4242 > l } else { - yyb7 = r.CheckBreak() + yyb4242 = r.CheckBreak() } - if yyb7 { + if yyb4242 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53068,17 +53068,17 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ResourceFieldRef.CodecDecodeSelf(d) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj4242++ + if yyhl4242 { + yyb4242 = yyj4242 > l } else { - yyb7 = r.CheckBreak() + yyb4242 = r.CheckBreak() } - if yyb7 { + if yyb4242 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj4242-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53090,38 +53090,38 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4246 := z.EncBinary() + _ = yym4246 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Capabilities != nil - yyq2[1] = x.Privileged != nil - yyq2[2] = x.SELinuxOptions != nil - yyq2[3] = x.RunAsUser != nil - yyq2[4] = x.RunAsNonRoot != nil - yyq2[5] = x.ReadOnlyRootFilesystem != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep4247 := !z.EncBinary() + yy2arr4247 := z.EncBasicHandle().StructToArray + var yyq4247 [6]bool + _, _, _ = yysep4247, yyq4247, yy2arr4247 + const yyr4247 bool = false + yyq4247[0] = x.Capabilities != nil + yyq4247[1] = x.Privileged != nil + yyq4247[2] = x.SELinuxOptions != nil + yyq4247[3] = x.RunAsUser != nil + yyq4247[4] = x.RunAsNonRoot != nil + yyq4247[5] = x.ReadOnlyRootFilesystem != nil + var yynn4247 int + if yyr4247 || yy2arr4247 { r.EncodeArrayStart(6) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn4247 = 0 + for _, b := range yyq4247 { if b { - yynn2++ + yynn4247++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4247) + yynn4247 = 0 } - if yyr2 || yy2arr2 { + if yyr4247 || yy2arr4247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq4247[0] { if x.Capabilities == nil { r.EncodeNil() } else { @@ -53131,7 +53131,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4247[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -53142,44 +53142,44 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr4247 || yy2arr4247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq4247[1] { if x.Privileged == nil { r.EncodeNil() } else { - yy7 := *x.Privileged - yym8 := z.EncBinary() - _ = yym8 + yy4250 := *x.Privileged + yym4251 := z.EncBinary() + _ = yym4251 if false { } else { - r.EncodeBool(bool(yy7)) + r.EncodeBool(bool(yy4250)) } } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq4247[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Privileged == nil { r.EncodeNil() } else { - yy9 := *x.Privileged - yym10 := z.EncBinary() - _ = yym10 + yy4252 := *x.Privileged + yym4253 := z.EncBinary() + _ = yym4253 if false { } else { - r.EncodeBool(bool(yy9)) + r.EncodeBool(bool(yy4252)) } } } } - if yyr2 || yy2arr2 { + if yyr4247 || yy2arr4247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq4247[2] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -53189,7 +53189,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq4247[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -53200,112 +53200,112 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr4247 || yy2arr4247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq4247[3] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy15 := *x.RunAsUser - yym16 := z.EncBinary() - _ = yym16 + yy4256 := *x.RunAsUser + yym4257 := z.EncBinary() + _ = yym4257 if false { } else { - r.EncodeInt(int64(yy15)) + r.EncodeInt(int64(yy4256)) } } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq4247[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy17 := *x.RunAsUser - yym18 := z.EncBinary() - _ = yym18 + yy4258 := *x.RunAsUser + yym4259 := z.EncBinary() + _ = yym4259 if false { } else { - r.EncodeInt(int64(yy17)) + r.EncodeInt(int64(yy4258)) } } } } - if yyr2 || yy2arr2 { + if yyr4247 || yy2arr4247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq4247[4] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy20 := *x.RunAsNonRoot - yym21 := z.EncBinary() - _ = yym21 + yy4261 := *x.RunAsNonRoot + yym4262 := z.EncBinary() + _ = yym4262 if false { } else { - r.EncodeBool(bool(yy20)) + r.EncodeBool(bool(yy4261)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq4247[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy22 := *x.RunAsNonRoot - yym23 := z.EncBinary() - _ = yym23 + yy4263 := *x.RunAsNonRoot + yym4264 := z.EncBinary() + _ = yym4264 if false { } else { - r.EncodeBool(bool(yy22)) + r.EncodeBool(bool(yy4263)) } } } } - if yyr2 || yy2arr2 { + if yyr4247 || yy2arr4247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq4247[5] { if x.ReadOnlyRootFilesystem == nil { r.EncodeNil() } else { - yy25 := *x.ReadOnlyRootFilesystem - yym26 := z.EncBinary() - _ = yym26 + yy4266 := *x.ReadOnlyRootFilesystem + yym4267 := z.EncBinary() + _ = yym4267 if false { } else { - r.EncodeBool(bool(yy25)) + r.EncodeBool(bool(yy4266)) } } } else { r.EncodeNil() } } else { - if yyq2[5] { + if yyq4247[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ReadOnlyRootFilesystem == nil { r.EncodeNil() } else { - yy27 := *x.ReadOnlyRootFilesystem - yym28 := z.EncBinary() - _ = yym28 + yy4268 := *x.ReadOnlyRootFilesystem + yym4269 := z.EncBinary() + _ = yym4269 if false { } else { - r.EncodeBool(bool(yy27)) + r.EncodeBool(bool(yy4268)) } } } } - if yyr2 || yy2arr2 { + if yyr4247 || yy2arr4247 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53318,25 +53318,25 @@ func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4270 := z.DecBinary() + _ = yym4270 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4271 := r.ContainerType() + if yyct4271 == codecSelferValueTypeMap1234 { + yyl4271 := r.ReadMapStart() + if yyl4271 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4271, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4271 == codecSelferValueTypeArray1234 { + yyl4271 := r.ReadArrayStart() + if yyl4271 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4271, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53348,12 +53348,12 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4272Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4272Slc + var yyhl4272 bool = l >= 0 + for yyj4272 := 0; ; yyj4272++ { + if yyhl4272 { + if yyj4272 >= l { break } } else { @@ -53362,10 +53362,10 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4272Slc = r.DecodeBytes(yys4272Slc, true, true) + yys4272 := string(yys4272Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys4272 { case "capabilities": if r.TryDecodeAsNil() { if x.Capabilities != nil { @@ -53386,8 +53386,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Privileged == nil { x.Privileged = new(bool) } - yym6 := z.DecBinary() - _ = yym6 + yym4275 := z.DecBinary() + _ = yym4275 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() @@ -53413,8 +53413,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym9 := z.DecBinary() - _ = yym9 + yym4278 := z.DecBinary() + _ = yym4278 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -53429,8 +53429,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym11 := z.DecBinary() - _ = yym11 + yym4280 := z.DecBinary() + _ = yym4280 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -53445,17 +53445,17 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ReadOnlyRootFilesystem == nil { x.ReadOnlyRootFilesystem = new(bool) } - yym13 := z.DecBinary() - _ = yym13 + yym4282 := z.DecBinary() + _ = yym4282 if false { } else { *((*bool)(x.ReadOnlyRootFilesystem)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4272) + } // end switch yys4272 + } // end for yyj4272 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53463,16 +53463,16 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj14 int - var yyb14 bool - var yyhl14 bool = l >= 0 - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + var yyj4283 int + var yyb4283 bool + var yyhl4283 bool = l >= 0 + yyj4283++ + if yyhl4283 { + yyb4283 = yyj4283 > l } else { - yyb14 = r.CheckBreak() + yyb4283 = r.CheckBreak() } - if yyb14 { + if yyb4283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53487,13 +53487,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.Capabilities.CodecDecodeSelf(d) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj4283++ + if yyhl4283 { + yyb4283 = yyj4283 > l } else { - yyb14 = r.CheckBreak() + yyb4283 = r.CheckBreak() } - if yyb14 { + if yyb4283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53506,20 +53506,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Privileged == nil { x.Privileged = new(bool) } - yym17 := z.DecBinary() - _ = yym17 + yym4286 := z.DecBinary() + _ = yym4286 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj4283++ + if yyhl4283 { + yyb4283 = yyj4283 > l } else { - yyb14 = r.CheckBreak() + yyb4283 = r.CheckBreak() } - if yyb14 { + if yyb4283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53534,13 +53534,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj4283++ + if yyhl4283 { + yyb4283 = yyj4283 > l } else { - yyb14 = r.CheckBreak() + yyb4283 = r.CheckBreak() } - if yyb14 { + if yyb4283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53553,20 +53553,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym20 := z.DecBinary() - _ = yym20 + yym4289 := z.DecBinary() + _ = yym4289 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj4283++ + if yyhl4283 { + yyb4283 = yyj4283 > l } else { - yyb14 = r.CheckBreak() + yyb4283 = r.CheckBreak() } - if yyb14 { + if yyb4283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53579,20 +53579,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym22 := z.DecBinary() - _ = yym22 + yym4291 := z.DecBinary() + _ = yym4291 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj4283++ + if yyhl4283 { + yyb4283 = yyj4283 > l } else { - yyb14 = r.CheckBreak() + yyb4283 = r.CheckBreak() } - if yyb14 { + if yyb4283 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53605,25 +53605,25 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.ReadOnlyRootFilesystem == nil { x.ReadOnlyRootFilesystem = new(bool) } - yym24 := z.DecBinary() - _ = yym24 + yym4293 := z.DecBinary() + _ = yym4293 if false { } else { *((*bool)(x.ReadOnlyRootFilesystem)) = r.DecodeBool() } } for { - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj4283++ + if yyhl4283 { + yyb4283 = yyj4283 > l } else { - yyb14 = r.CheckBreak() + yyb4283 = r.CheckBreak() } - if yyb14 { + if yyb4283 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj14-1, "") + z.DecStructFieldNotFound(yyj4283-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53635,38 +53635,38 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4294 := z.EncBinary() + _ = yym4294 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.User != "" - yyq2[1] = x.Role != "" - yyq2[2] = x.Type != "" - yyq2[3] = x.Level != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4295 := !z.EncBinary() + yy2arr4295 := z.EncBasicHandle().StructToArray + var yyq4295 [4]bool + _, _, _ = yysep4295, yyq4295, yy2arr4295 + const yyr4295 bool = false + yyq4295[0] = x.User != "" + yyq4295[1] = x.Role != "" + yyq4295[2] = x.Type != "" + yyq4295[3] = x.Level != "" + var yynn4295 int + if yyr4295 || yy2arr4295 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn4295 = 0 + for _, b := range yyq4295 { if b { - yynn2++ + yynn4295++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4295) + yynn4295 = 0 } - if yyr2 || yy2arr2 { + if yyr4295 || yy2arr4295 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq4295[0] { + yym4297 := z.EncBinary() + _ = yym4297 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -53675,23 +53675,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq4295[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym4298 := z.EncBinary() + _ = yym4298 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr2 || yy2arr2 { + if yyr4295 || yy2arr4295 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq4295[1] { + yym4300 := z.EncBinary() + _ = yym4300 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) @@ -53700,23 +53700,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq4295[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("role")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym4301 := z.EncBinary() + _ = yym4301 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) } } } - if yyr2 || yy2arr2 { + if yyr4295 || yy2arr4295 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq4295[2] { + yym4303 := z.EncBinary() + _ = yym4303 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -53725,23 +53725,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq4295[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym4304 := z.EncBinary() + _ = yym4304 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr2 || yy2arr2 { + if yyr4295 || yy2arr4295 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq4295[3] { + yym4306 := z.EncBinary() + _ = yym4306 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) @@ -53750,19 +53750,19 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq4295[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("level")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym4307 := z.EncBinary() + _ = yym4307 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) } } } - if yyr2 || yy2arr2 { + if yyr4295 || yy2arr4295 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53775,25 +53775,25 @@ func (x *SELinuxOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4308 := z.DecBinary() + _ = yym4308 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4309 := r.ContainerType() + if yyct4309 == codecSelferValueTypeMap1234 { + yyl4309 := r.ReadMapStart() + if yyl4309 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4309, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4309 == codecSelferValueTypeArray1234 { + yyl4309 := r.ReadArrayStart() + if yyl4309 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4309, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53805,12 +53805,12 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4310Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4310Slc + var yyhl4310 bool = l >= 0 + for yyj4310 := 0; ; yyj4310++ { + if yyhl4310 { + if yyj4310 >= l { break } } else { @@ -53819,10 +53819,10 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4310Slc = r.DecodeBytes(yys4310Slc, true, true) + yys4310 := string(yys4310Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys4310 { case "user": if r.TryDecodeAsNil() { x.User = "" @@ -53848,9 +53848,9 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4310) + } // end switch yys4310 + } // end for yyj4310 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53858,16 +53858,16 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj4315 int + var yyb4315 bool + var yyhl4315 bool = l >= 0 + yyj4315++ + if yyhl4315 { + yyb4315 = yyj4315 > l } else { - yyb8 = r.CheckBreak() + yyb4315 = r.CheckBreak() } - if yyb8 { + if yyb4315 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53877,13 +53877,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.User = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4315++ + if yyhl4315 { + yyb4315 = yyj4315 > l } else { - yyb8 = r.CheckBreak() + yyb4315 = r.CheckBreak() } - if yyb8 { + if yyb4315 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53893,13 +53893,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Role = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4315++ + if yyhl4315 { + yyb4315 = yyj4315 > l } else { - yyb8 = r.CheckBreak() + yyb4315 = r.CheckBreak() } - if yyb8 { + if yyb4315 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53909,13 +53909,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4315++ + if yyhl4315 { + yyb4315 = yyj4315 > l } else { - yyb8 = r.CheckBreak() + yyb4315 = r.CheckBreak() } - if yyb8 { + if yyb4315 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53926,17 +53926,17 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj4315++ + if yyhl4315 { + yyb4315 = yyj4315 > l } else { - yyb8 = r.CheckBreak() + yyb4315 = r.CheckBreak() } - if yyb8 { + if yyb4315 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj4315-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53948,53 +53948,103 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym4320 := z.EncBinary() + _ = yym4320 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep4321 := !z.EncBinary() + yy2arr4321 := z.EncBasicHandle().StructToArray + var yyq4321 [5]bool + _, _, _ = yysep4321, yyq4321, yy2arr4321 + const yyr4321 bool = false + yyq4321[0] = x.Kind != "" + yyq4321[1] = x.APIVersion != "" + yyq4321[2] = true + var yynn4321 int + if yyr4321 || yy2arr4321 { r.EncodeArrayStart(5) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn4321 = 2 + for _, b := range yyq4321 { if b { - yynn2++ + yynn4321++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn4321) + yynn4321 = 0 } - if yyr2 || yy2arr2 { + if yyr4321 || yy2arr4321 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq4321[0] { + yym4323 := z.EncBinary() + _ = yym4323 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4321[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4324 := z.EncBinary() + _ = yym4324 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4321 || yy2arr4321 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4321[1] { + yym4326 := z.EncBinary() + _ = yym4326 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4321[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4327 := z.EncBinary() + _ = yym4327 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4321 || yy2arr4321 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4321[2] { + yy4329 := &x.ObjectMeta + yy4329.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq4321[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy4330 := &x.ObjectMeta + yy4330.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr4321 || yy2arr4321 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym9 := z.EncBinary() - _ = yym9 + yym4332 := z.EncBinary() + _ = yym4332 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) @@ -54003,20 +54053,20 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("range")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym10 := z.EncBinary() - _ = yym10 + yym4333 := z.EncBinary() + _ = yym4333 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) } } - if yyr2 || yy2arr2 { + if yyr4321 || yy2arr4321 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Data == nil { r.EncodeNil() } else { - yym12 := z.EncBinary() - _ = yym12 + yym4335 := z.EncBinary() + _ = yym4335 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -54029,65 +54079,15 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x.Data == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym4336 := z.EncBinary() + _ = yym4336 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr4321 || yy2arr4321 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -54100,25 +54100,25 @@ func (x *RangeAllocation) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym4337 := z.DecBinary() + _ = yym4337 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct4338 := r.ContainerType() + if yyct4338 == codecSelferValueTypeMap1234 { + yyl4338 := r.ReadMapStart() + if yyl4338 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl4338, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct4338 == codecSelferValueTypeArray1234 { + yyl4338 := r.ReadArrayStart() + if yyl4338 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl4338, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54130,12 +54130,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys4339Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4339Slc + var yyhl4339 bool = l >= 0 + for yyj4339 := 0; ; yyj4339++ { + if yyhl4339 { + if yyj4339 >= l { break } } else { @@ -54144,35 +54144,10 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys4339Slc = r.DecodeBytes(yys4339Slc, true, true) + yys4339 := string(yys4339Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "range": - if r.TryDecodeAsNil() { - x.Range = "" - } else { - x.Range = string(r.DecodeString()) - } - case "data": - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv6 := &x.Data - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - *yyv6 = r.DecodeBytes(*(*[]byte)(yyv6), false, false) - } - } + switch yys4339 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -54185,10 +54160,35 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4342 := &x.ObjectMeta + yyv4342.CodecDecodeSelf(d) + } + case "range": + if r.TryDecodeAsNil() { + x.Range = "" + } else { + x.Range = string(r.DecodeString()) + } + case "data": + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4344 := &x.Data + yym4345 := z.DecBinary() + _ = yym4345 + if false { + } else { + *yyv4344 = r.DecodeBytes(*(*[]byte)(yyv4344), false, false) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys4339) + } // end switch yys4339 + } // end for yyj4339 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54196,71 +54196,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj4346 int + var yyb4346 bool + var yyhl4346 bool = l >= 0 + yyj4346++ + if yyhl4346 { + yyb4346 = yyj4346 > l } else { - yyb10 = r.CheckBreak() + yyb4346 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv11 := &x.ObjectMeta - yyv11.CodecDecodeSelf(d) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Range = "" - } else { - x.Range = string(r.DecodeString()) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv13 := &x.Data - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - *yyv13 = r.DecodeBytes(*(*[]byte)(yyv13), false, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb4346 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54270,13 +54215,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4346++ + if yyhl4346 { + yyb4346 = yyj4346 > l } else { - yyb10 = r.CheckBreak() + yyb4346 = r.CheckBreak() } - if yyb10 { + if yyb4346 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54286,18 +54231,73 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj4346++ + if yyhl4346 { + yyb4346 = yyj4346 > l + } else { + yyb4346 = r.CheckBreak() + } + if yyb4346 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4349 := &x.ObjectMeta + yyv4349.CodecDecodeSelf(d) + } + yyj4346++ + if yyhl4346 { + yyb4346 = yyj4346 > l + } else { + yyb4346 = r.CheckBreak() + } + if yyb4346 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Range = "" + } else { + x.Range = string(r.DecodeString()) + } + yyj4346++ + if yyhl4346 { + yyb4346 = yyj4346 > l + } else { + yyb4346 = r.CheckBreak() + } + if yyb4346 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4351 := &x.Data + yym4352 := z.DecBinary() + _ = yym4352 + if false { } else { - yyb10 = r.CheckBreak() + *yyv4351 = r.DecodeBytes(*(*[]byte)(yyv4351), false, false) } - if yyb10 { + } + for { + yyj4346++ + if yyhl4346 { + yyb4346 = yyj4346 > l + } else { + yyb4346 = r.CheckBreak() + } + if yyb4346 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj4346-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54307,10 +54307,10 @@ func (x codecSelfer1234) encSliceOwnerReference(v []OwnerReference, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4353 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4354 := &yyv4353 + yy4354.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54320,86 +54320,83 @@ func (x codecSelfer1234) decSliceOwnerReference(v *[]OwnerReference, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []OwnerReference{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4355 := *v + yyh4355, yyl4355 := z.DecSliceHelperStart() + var yyc4355 bool + if yyl4355 == 0 { + if yyv4355 == nil { + yyv4355 = []OwnerReference{} + yyc4355 = true + } else if len(yyv4355) != 0 { + yyv4355 = yyv4355[:0] + yyc4355 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4355 > 0 { + var yyrr4355, yyrl4355 int + var yyrt4355 bool + if yyl4355 > cap(yyv4355) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4355 := len(yyv4355) > 0 + yyv24355 := yyv4355 + yyrl4355, yyrt4355 = z.DecInferLen(yyl4355, z.DecBasicHandle().MaxInitLen, 72) + if yyrt4355 { + if yyrl4355 <= cap(yyv4355) { + yyv4355 = yyv4355[:yyrl4355] } else { - yyv1 = make([]OwnerReference, yyrl1) + yyv4355 = make([]OwnerReference, yyrl4355) } } else { - yyv1 = make([]OwnerReference, yyrl1) + yyv4355 = make([]OwnerReference, yyrl4355) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4355 = true + yyrr4355 = len(yyv4355) + if yyrg4355 { + copy(yyv4355, yyv24355) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4355 != len(yyv4355) { + yyv4355 = yyv4355[:yyl4355] + yyc4355 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4355 := 0 + for ; yyj4355 < yyrr4355; yyj4355++ { + yyh4355.ElemContainerState(yyj4355) if r.TryDecodeAsNil() { - yyv1[yyj1] = OwnerReference{} + yyv4355[yyj4355] = OwnerReference{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4356 := &yyv4355[yyj4355] + yyv4356.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, OwnerReference{}) - yyh1.ElemContainerState(yyj1) + if yyrt4355 { + for ; yyj4355 < yyl4355; yyj4355++ { + yyv4355 = append(yyv4355, OwnerReference{}) + yyh4355.ElemContainerState(yyj4355) if r.TryDecodeAsNil() { - yyv1[yyj1] = OwnerReference{} + yyv4355[yyj4355] = OwnerReference{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4357 := &yyv4355[yyj4355] + yyv4357.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4355 := 0 + for ; !r.CheckBreak(); yyj4355++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, OwnerReference{}) // var yyz1 OwnerReference - yyc1 = true + if yyj4355 >= len(yyv4355) { + yyv4355 = append(yyv4355, OwnerReference{}) // var yyz4355 OwnerReference + yyc4355 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4355.ElemContainerState(yyj4355) + if yyj4355 < len(yyv4355) { if r.TryDecodeAsNil() { - yyv1[yyj1] = OwnerReference{} + yyv4355[yyj4355] = OwnerReference{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4358 := &yyv4355[yyj4355] + yyv4358.CodecDecodeSelf(d) } } else { @@ -54407,17 +54404,17 @@ func (x codecSelfer1234) decSliceOwnerReference(v *[]OwnerReference, d *codec197 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []OwnerReference{} - yyc1 = true + if yyj4355 < len(yyv4355) { + yyv4355 = yyv4355[:yyj4355] + yyc4355 = true + } else if yyj4355 == 0 && yyv4355 == nil { + yyv4355 = []OwnerReference{} + yyc4355 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4355.End() + if yyc4355 { + *v = yyv4355 } } @@ -54426,9 +54423,9 @@ func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolume z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4359 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1.CodecEncodeSelf(e) + yyv4359.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54438,78 +54435,75 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PersistentVolumeAccessMode{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4360 := *v + yyh4360, yyl4360 := z.DecSliceHelperStart() + var yyc4360 bool + if yyl4360 == 0 { + if yyv4360 == nil { + yyv4360 = []PersistentVolumeAccessMode{} + yyc4360 = true + } else if len(yyv4360) != 0 { + yyv4360 = yyv4360[:0] + yyc4360 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4360 > 0 { + var yyrr4360, yyrl4360 int + var yyrt4360 bool + if yyl4360 > cap(yyv4360) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl4360, yyrt4360 = z.DecInferLen(yyl4360, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4360 { + if yyrl4360 <= cap(yyv4360) { + yyv4360 = yyv4360[:yyrl4360] } else { - yyv1 = make([]PersistentVolumeAccessMode, yyrl1) + yyv4360 = make([]PersistentVolumeAccessMode, yyrl4360) } } else { - yyv1 = make([]PersistentVolumeAccessMode, yyrl1) + yyv4360 = make([]PersistentVolumeAccessMode, yyrl4360) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc4360 = true + yyrr4360 = len(yyv4360) + } else if yyl4360 != len(yyv4360) { + yyv4360 = yyv4360[:yyl4360] + yyc4360 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4360 := 0 + for ; yyj4360 < yyrr4360; yyj4360++ { + yyh4360.ElemContainerState(yyj4360) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4360[yyj4360] = "" } else { - yyv1[yyj1] = PersistentVolumeAccessMode(r.DecodeString()) + yyv4360[yyj4360] = PersistentVolumeAccessMode(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt4360 { + for ; yyj4360 < yyl4360; yyj4360++ { + yyv4360 = append(yyv4360, "") + yyh4360.ElemContainerState(yyj4360) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4360[yyj4360] = "" } else { - yyv1[yyj1] = PersistentVolumeAccessMode(r.DecodeString()) + yyv4360[yyj4360] = PersistentVolumeAccessMode(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4360 := 0 + for ; !r.CheckBreak(); yyj4360++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 PersistentVolumeAccessMode - yyc1 = true + if yyj4360 >= len(yyv4360) { + yyv4360 = append(yyv4360, "") // var yyz4360 PersistentVolumeAccessMode + yyc4360 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4360.ElemContainerState(yyj4360) + if yyj4360 < len(yyv4360) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4360[yyj4360] = "" } else { - yyv1[yyj1] = PersistentVolumeAccessMode(r.DecodeString()) + yyv4360[yyj4360] = PersistentVolumeAccessMode(r.DecodeString()) } } else { @@ -54517,17 +54511,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolum } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PersistentVolumeAccessMode{} - yyc1 = true + if yyj4360 < len(yyv4360) { + yyv4360 = yyv4360[:yyj4360] + yyc4360 = true + } else if yyj4360 == 0 && yyv4360 == nil { + yyv4360 = []PersistentVolumeAccessMode{} + yyc4360 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4360.End() + if yyc4360 { + *v = yyv4360 } } @@ -54536,10 +54530,10 @@ func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4364 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4365 := &yyv4364 + yy4365.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54549,86 +54543,83 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PersistentVolume{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4366 := *v + yyh4366, yyl4366 := z.DecSliceHelperStart() + var yyc4366 bool + if yyl4366 == 0 { + if yyv4366 == nil { + yyv4366 = []PersistentVolume{} + yyc4366 = true + } else if len(yyv4366) != 0 { + yyv4366 = yyv4366[:0] + yyc4366 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4366 > 0 { + var yyrr4366, yyrl4366 int + var yyrt4366 bool + if yyl4366 > cap(yyv4366) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 456) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4366 := len(yyv4366) > 0 + yyv24366 := yyv4366 + yyrl4366, yyrt4366 = z.DecInferLen(yyl4366, z.DecBasicHandle().MaxInitLen, 456) + if yyrt4366 { + if yyrl4366 <= cap(yyv4366) { + yyv4366 = yyv4366[:yyrl4366] } else { - yyv1 = make([]PersistentVolume, yyrl1) + yyv4366 = make([]PersistentVolume, yyrl4366) } } else { - yyv1 = make([]PersistentVolume, yyrl1) + yyv4366 = make([]PersistentVolume, yyrl4366) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4366 = true + yyrr4366 = len(yyv4366) + if yyrg4366 { + copy(yyv4366, yyv24366) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4366 != len(yyv4366) { + yyv4366 = yyv4366[:yyl4366] + yyc4366 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4366 := 0 + for ; yyj4366 < yyrr4366; yyj4366++ { + yyh4366.ElemContainerState(yyj4366) if r.TryDecodeAsNil() { - yyv1[yyj1] = PersistentVolume{} + yyv4366[yyj4366] = PersistentVolume{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4367 := &yyv4366[yyj4366] + yyv4367.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PersistentVolume{}) - yyh1.ElemContainerState(yyj1) + if yyrt4366 { + for ; yyj4366 < yyl4366; yyj4366++ { + yyv4366 = append(yyv4366, PersistentVolume{}) + yyh4366.ElemContainerState(yyj4366) if r.TryDecodeAsNil() { - yyv1[yyj1] = PersistentVolume{} + yyv4366[yyj4366] = PersistentVolume{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4368 := &yyv4366[yyj4366] + yyv4368.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4366 := 0 + for ; !r.CheckBreak(); yyj4366++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PersistentVolume{}) // var yyz1 PersistentVolume - yyc1 = true + if yyj4366 >= len(yyv4366) { + yyv4366 = append(yyv4366, PersistentVolume{}) // var yyz4366 PersistentVolume + yyc4366 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4366.ElemContainerState(yyj4366) + if yyj4366 < len(yyv4366) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PersistentVolume{} + yyv4366[yyj4366] = PersistentVolume{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4369 := &yyv4366[yyj4366] + yyv4369.CodecDecodeSelf(d) } } else { @@ -54636,17 +54627,17 @@ func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *code } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PersistentVolume{} - yyc1 = true + if yyj4366 < len(yyv4366) { + yyv4366 = yyv4366[:yyj4366] + yyc4366 = true + } else if yyj4366 == 0 && yyv4366 == nil { + yyv4366 = []PersistentVolume{} + yyc4366 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4366.End() + if yyc4366 { + *v = yyv4366 } } @@ -54655,10 +54646,10 @@ func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4370 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4371 := &yyv4370 + yy4371.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54668,86 +54659,83 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PersistentVolumeClaim{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4372 := *v + yyh4372, yyl4372 := z.DecSliceHelperStart() + var yyc4372 bool + if yyl4372 == 0 { + if yyv4372 == nil { + yyv4372 = []PersistentVolumeClaim{} + yyc4372 = true + } else if len(yyv4372) != 0 { + yyv4372 = yyv4372[:0] + yyc4372 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4372 > 0 { + var yyrr4372, yyrl4372 int + var yyrt4372 bool + if yyl4372 > cap(yyv4372) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 352) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4372 := len(yyv4372) > 0 + yyv24372 := yyv4372 + yyrl4372, yyrt4372 = z.DecInferLen(yyl4372, z.DecBasicHandle().MaxInitLen, 352) + if yyrt4372 { + if yyrl4372 <= cap(yyv4372) { + yyv4372 = yyv4372[:yyrl4372] } else { - yyv1 = make([]PersistentVolumeClaim, yyrl1) + yyv4372 = make([]PersistentVolumeClaim, yyrl4372) } } else { - yyv1 = make([]PersistentVolumeClaim, yyrl1) + yyv4372 = make([]PersistentVolumeClaim, yyrl4372) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4372 = true + yyrr4372 = len(yyv4372) + if yyrg4372 { + copy(yyv4372, yyv24372) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4372 != len(yyv4372) { + yyv4372 = yyv4372[:yyl4372] + yyc4372 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4372 := 0 + for ; yyj4372 < yyrr4372; yyj4372++ { + yyh4372.ElemContainerState(yyj4372) if r.TryDecodeAsNil() { - yyv1[yyj1] = PersistentVolumeClaim{} + yyv4372[yyj4372] = PersistentVolumeClaim{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4373 := &yyv4372[yyj4372] + yyv4373.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PersistentVolumeClaim{}) - yyh1.ElemContainerState(yyj1) + if yyrt4372 { + for ; yyj4372 < yyl4372; yyj4372++ { + yyv4372 = append(yyv4372, PersistentVolumeClaim{}) + yyh4372.ElemContainerState(yyj4372) if r.TryDecodeAsNil() { - yyv1[yyj1] = PersistentVolumeClaim{} + yyv4372[yyj4372] = PersistentVolumeClaim{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4374 := &yyv4372[yyj4372] + yyv4374.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4372 := 0 + for ; !r.CheckBreak(); yyj4372++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PersistentVolumeClaim{}) // var yyz1 PersistentVolumeClaim - yyc1 = true + if yyj4372 >= len(yyv4372) { + yyv4372 = append(yyv4372, PersistentVolumeClaim{}) // var yyz4372 PersistentVolumeClaim + yyc4372 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4372.ElemContainerState(yyj4372) + if yyj4372 < len(yyv4372) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PersistentVolumeClaim{} + yyv4372[yyj4372] = PersistentVolumeClaim{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4375 := &yyv4372[yyj4372] + yyv4375.CodecDecodeSelf(d) } } else { @@ -54755,17 +54743,17 @@ func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClai } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PersistentVolumeClaim{} - yyc1 = true + if yyj4372 < len(yyv4372) { + yyv4372 = yyv4372[:yyj4372] + yyc4372 = true + } else if yyj4372 == 0 && yyv4372 == nil { + yyv4372 = []PersistentVolumeClaim{} + yyc4372 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4372.End() + if yyc4372 { + *v = yyv4372 } } @@ -54774,10 +54762,10 @@ func (x codecSelfer1234) encSliceKeyToPath(v []KeyToPath, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4376 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4377 := &yyv4376 + yy4377.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54787,86 +54775,83 @@ func (x codecSelfer1234) decSliceKeyToPath(v *[]KeyToPath, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []KeyToPath{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4378 := *v + yyh4378, yyl4378 := z.DecSliceHelperStart() + var yyc4378 bool + if yyl4378 == 0 { + if yyv4378 == nil { + yyv4378 = []KeyToPath{} + yyc4378 = true + } else if len(yyv4378) != 0 { + yyv4378 = yyv4378[:0] + yyc4378 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4378 > 0 { + var yyrr4378, yyrl4378 int + var yyrt4378 bool + if yyl4378 > cap(yyv4378) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4378 := len(yyv4378) > 0 + yyv24378 := yyv4378 + yyrl4378, yyrt4378 = z.DecInferLen(yyl4378, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4378 { + if yyrl4378 <= cap(yyv4378) { + yyv4378 = yyv4378[:yyrl4378] } else { - yyv1 = make([]KeyToPath, yyrl1) + yyv4378 = make([]KeyToPath, yyrl4378) } } else { - yyv1 = make([]KeyToPath, yyrl1) + yyv4378 = make([]KeyToPath, yyrl4378) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4378 = true + yyrr4378 = len(yyv4378) + if yyrg4378 { + copy(yyv4378, yyv24378) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4378 != len(yyv4378) { + yyv4378 = yyv4378[:yyl4378] + yyc4378 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4378 := 0 + for ; yyj4378 < yyrr4378; yyj4378++ { + yyh4378.ElemContainerState(yyj4378) if r.TryDecodeAsNil() { - yyv1[yyj1] = KeyToPath{} + yyv4378[yyj4378] = KeyToPath{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4379 := &yyv4378[yyj4378] + yyv4379.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, KeyToPath{}) - yyh1.ElemContainerState(yyj1) + if yyrt4378 { + for ; yyj4378 < yyl4378; yyj4378++ { + yyv4378 = append(yyv4378, KeyToPath{}) + yyh4378.ElemContainerState(yyj4378) if r.TryDecodeAsNil() { - yyv1[yyj1] = KeyToPath{} + yyv4378[yyj4378] = KeyToPath{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4380 := &yyv4378[yyj4378] + yyv4380.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4378 := 0 + for ; !r.CheckBreak(); yyj4378++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, KeyToPath{}) // var yyz1 KeyToPath - yyc1 = true + if yyj4378 >= len(yyv4378) { + yyv4378 = append(yyv4378, KeyToPath{}) // var yyz4378 KeyToPath + yyc4378 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4378.ElemContainerState(yyj4378) + if yyj4378 < len(yyv4378) { if r.TryDecodeAsNil() { - yyv1[yyj1] = KeyToPath{} + yyv4378[yyj4378] = KeyToPath{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4381 := &yyv4378[yyj4378] + yyv4381.CodecDecodeSelf(d) } } else { @@ -54874,17 +54859,17 @@ func (x codecSelfer1234) decSliceKeyToPath(v *[]KeyToPath, d *codec1978.Decoder) } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []KeyToPath{} - yyc1 = true + if yyj4378 < len(yyv4378) { + yyv4378 = yyv4378[:yyj4378] + yyc4378 = true + } else if yyj4378 == 0 && yyv4378 == nil { + yyv4378 = []KeyToPath{} + yyc4378 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4378.End() + if yyc4378 { + *v = yyv4378 } } @@ -54893,10 +54878,10 @@ func (x codecSelfer1234) encSliceHTTPHeader(v []HTTPHeader, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4382 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4383 := &yyv4382 + yy4383.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54906,86 +54891,83 @@ func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []HTTPHeader{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4384 := *v + yyh4384, yyl4384 := z.DecSliceHelperStart() + var yyc4384 bool + if yyl4384 == 0 { + if yyv4384 == nil { + yyv4384 = []HTTPHeader{} + yyc4384 = true + } else if len(yyv4384) != 0 { + yyv4384 = yyv4384[:0] + yyc4384 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4384 > 0 { + var yyrr4384, yyrl4384 int + var yyrt4384 bool + if yyl4384 > cap(yyv4384) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4384 := len(yyv4384) > 0 + yyv24384 := yyv4384 + yyrl4384, yyrt4384 = z.DecInferLen(yyl4384, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4384 { + if yyrl4384 <= cap(yyv4384) { + yyv4384 = yyv4384[:yyrl4384] } else { - yyv1 = make([]HTTPHeader, yyrl1) + yyv4384 = make([]HTTPHeader, yyrl4384) } } else { - yyv1 = make([]HTTPHeader, yyrl1) + yyv4384 = make([]HTTPHeader, yyrl4384) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4384 = true + yyrr4384 = len(yyv4384) + if yyrg4384 { + copy(yyv4384, yyv24384) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4384 != len(yyv4384) { + yyv4384 = yyv4384[:yyl4384] + yyc4384 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4384 := 0 + for ; yyj4384 < yyrr4384; yyj4384++ { + yyh4384.ElemContainerState(yyj4384) if r.TryDecodeAsNil() { - yyv1[yyj1] = HTTPHeader{} + yyv4384[yyj4384] = HTTPHeader{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4385 := &yyv4384[yyj4384] + yyv4385.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, HTTPHeader{}) - yyh1.ElemContainerState(yyj1) + if yyrt4384 { + for ; yyj4384 < yyl4384; yyj4384++ { + yyv4384 = append(yyv4384, HTTPHeader{}) + yyh4384.ElemContainerState(yyj4384) if r.TryDecodeAsNil() { - yyv1[yyj1] = HTTPHeader{} + yyv4384[yyj4384] = HTTPHeader{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4386 := &yyv4384[yyj4384] + yyv4386.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4384 := 0 + for ; !r.CheckBreak(); yyj4384++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, HTTPHeader{}) // var yyz1 HTTPHeader - yyc1 = true + if yyj4384 >= len(yyv4384) { + yyv4384 = append(yyv4384, HTTPHeader{}) // var yyz4384 HTTPHeader + yyc4384 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4384.ElemContainerState(yyj4384) + if yyj4384 < len(yyv4384) { if r.TryDecodeAsNil() { - yyv1[yyj1] = HTTPHeader{} + yyv4384[yyj4384] = HTTPHeader{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4387 := &yyv4384[yyj4384] + yyv4387.CodecDecodeSelf(d) } } else { @@ -54993,17 +54975,17 @@ func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decode } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []HTTPHeader{} - yyc1 = true + if yyj4384 < len(yyv4384) { + yyv4384 = yyv4384[:yyj4384] + yyc4384 = true + } else if yyj4384 == 0 && yyv4384 == nil { + yyv4384 = []HTTPHeader{} + yyc4384 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4384.End() + if yyc4384 { + *v = yyv4384 } } @@ -55012,9 +54994,9 @@ func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4388 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1.CodecEncodeSelf(e) + yyv4388.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55024,78 +55006,75 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Capability{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4389 := *v + yyh4389, yyl4389 := z.DecSliceHelperStart() + var yyc4389 bool + if yyl4389 == 0 { + if yyv4389 == nil { + yyv4389 = []Capability{} + yyc4389 = true + } else if len(yyv4389) != 0 { + yyv4389 = yyv4389[:0] + yyc4389 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4389 > 0 { + var yyrr4389, yyrl4389 int + var yyrt4389 bool + if yyl4389 > cap(yyv4389) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl4389, yyrt4389 = z.DecInferLen(yyl4389, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4389 { + if yyrl4389 <= cap(yyv4389) { + yyv4389 = yyv4389[:yyrl4389] } else { - yyv1 = make([]Capability, yyrl1) + yyv4389 = make([]Capability, yyrl4389) } } else { - yyv1 = make([]Capability, yyrl1) + yyv4389 = make([]Capability, yyrl4389) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc4389 = true + yyrr4389 = len(yyv4389) + } else if yyl4389 != len(yyv4389) { + yyv4389 = yyv4389[:yyl4389] + yyc4389 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4389 := 0 + for ; yyj4389 < yyrr4389; yyj4389++ { + yyh4389.ElemContainerState(yyj4389) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4389[yyj4389] = "" } else { - yyv1[yyj1] = Capability(r.DecodeString()) + yyv4389[yyj4389] = Capability(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt4389 { + for ; yyj4389 < yyl4389; yyj4389++ { + yyv4389 = append(yyv4389, "") + yyh4389.ElemContainerState(yyj4389) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4389[yyj4389] = "" } else { - yyv1[yyj1] = Capability(r.DecodeString()) + yyv4389[yyj4389] = Capability(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4389 := 0 + for ; !r.CheckBreak(); yyj4389++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 Capability - yyc1 = true + if yyj4389 >= len(yyv4389) { + yyv4389 = append(yyv4389, "") // var yyz4389 Capability + yyc4389 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4389.ElemContainerState(yyj4389) + if yyj4389 < len(yyv4389) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4389[yyj4389] = "" } else { - yyv1[yyj1] = Capability(r.DecodeString()) + yyv4389[yyj4389] = Capability(r.DecodeString()) } } else { @@ -55103,17 +55082,17 @@ func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decode } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Capability{} - yyc1 = true + if yyj4389 < len(yyv4389) { + yyv4389 = yyv4389[:yyj4389] + yyc4389 = true + } else if yyj4389 == 0 && yyv4389 == nil { + yyv4389 = []Capability{} + yyc4389 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4389.End() + if yyc4389 { + *v = yyv4389 } } @@ -55122,10 +55101,10 @@ func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4393 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4394 := &yyv4393 + yy4394.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55135,86 +55114,83 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ContainerPort{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4395 := *v + yyh4395, yyl4395 := z.DecSliceHelperStart() + var yyc4395 bool + if yyl4395 == 0 { + if yyv4395 == nil { + yyv4395 = []ContainerPort{} + yyc4395 = true + } else if len(yyv4395) != 0 { + yyv4395 = yyv4395[:0] + yyc4395 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4395 > 0 { + var yyrr4395, yyrl4395 int + var yyrt4395 bool + if yyl4395 > cap(yyv4395) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4395 := len(yyv4395) > 0 + yyv24395 := yyv4395 + yyrl4395, yyrt4395 = z.DecInferLen(yyl4395, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4395 { + if yyrl4395 <= cap(yyv4395) { + yyv4395 = yyv4395[:yyrl4395] } else { - yyv1 = make([]ContainerPort, yyrl1) + yyv4395 = make([]ContainerPort, yyrl4395) } } else { - yyv1 = make([]ContainerPort, yyrl1) + yyv4395 = make([]ContainerPort, yyrl4395) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4395 = true + yyrr4395 = len(yyv4395) + if yyrg4395 { + copy(yyv4395, yyv24395) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4395 != len(yyv4395) { + yyv4395 = yyv4395[:yyl4395] + yyc4395 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4395 := 0 + for ; yyj4395 < yyrr4395; yyj4395++ { + yyh4395.ElemContainerState(yyj4395) if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerPort{} + yyv4395[yyj4395] = ContainerPort{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4396 := &yyv4395[yyj4395] + yyv4396.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ContainerPort{}) - yyh1.ElemContainerState(yyj1) + if yyrt4395 { + for ; yyj4395 < yyl4395; yyj4395++ { + yyv4395 = append(yyv4395, ContainerPort{}) + yyh4395.ElemContainerState(yyj4395) if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerPort{} + yyv4395[yyj4395] = ContainerPort{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4397 := &yyv4395[yyj4395] + yyv4397.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4395 := 0 + for ; !r.CheckBreak(); yyj4395++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ContainerPort{}) // var yyz1 ContainerPort - yyc1 = true + if yyj4395 >= len(yyv4395) { + yyv4395 = append(yyv4395, ContainerPort{}) // var yyz4395 ContainerPort + yyc4395 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4395.ElemContainerState(yyj4395) + if yyj4395 < len(yyv4395) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerPort{} + yyv4395[yyj4395] = ContainerPort{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4398 := &yyv4395[yyj4395] + yyv4398.CodecDecodeSelf(d) } } else { @@ -55222,17 +55198,17 @@ func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978. } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ContainerPort{} - yyc1 = true + if yyj4395 < len(yyv4395) { + yyv4395 = yyv4395[:yyj4395] + yyc4395 = true + } else if yyj4395 == 0 && yyv4395 == nil { + yyv4395 = []ContainerPort{} + yyc4395 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4395.End() + if yyc4395 { + *v = yyv4395 } } @@ -55241,10 +55217,10 @@ func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4399 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4400 := &yyv4399 + yy4400.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55254,86 +55230,83 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []EnvVar{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4401 := *v + yyh4401, yyl4401 := z.DecSliceHelperStart() + var yyc4401 bool + if yyl4401 == 0 { + if yyv4401 == nil { + yyv4401 = []EnvVar{} + yyc4401 = true + } else if len(yyv4401) != 0 { + yyv4401 = yyv4401[:0] + yyc4401 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4401 > 0 { + var yyrr4401, yyrl4401 int + var yyrt4401 bool + if yyl4401 > cap(yyv4401) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4401 := len(yyv4401) > 0 + yyv24401 := yyv4401 + yyrl4401, yyrt4401 = z.DecInferLen(yyl4401, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4401 { + if yyrl4401 <= cap(yyv4401) { + yyv4401 = yyv4401[:yyrl4401] } else { - yyv1 = make([]EnvVar, yyrl1) + yyv4401 = make([]EnvVar, yyrl4401) } } else { - yyv1 = make([]EnvVar, yyrl1) + yyv4401 = make([]EnvVar, yyrl4401) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4401 = true + yyrr4401 = len(yyv4401) + if yyrg4401 { + copy(yyv4401, yyv24401) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4401 != len(yyv4401) { + yyv4401 = yyv4401[:yyl4401] + yyc4401 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4401 := 0 + for ; yyj4401 < yyrr4401; yyj4401++ { + yyh4401.ElemContainerState(yyj4401) if r.TryDecodeAsNil() { - yyv1[yyj1] = EnvVar{} + yyv4401[yyj4401] = EnvVar{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4402 := &yyv4401[yyj4401] + yyv4402.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, EnvVar{}) - yyh1.ElemContainerState(yyj1) + if yyrt4401 { + for ; yyj4401 < yyl4401; yyj4401++ { + yyv4401 = append(yyv4401, EnvVar{}) + yyh4401.ElemContainerState(yyj4401) if r.TryDecodeAsNil() { - yyv1[yyj1] = EnvVar{} + yyv4401[yyj4401] = EnvVar{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4403 := &yyv4401[yyj4401] + yyv4403.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4401 := 0 + for ; !r.CheckBreak(); yyj4401++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, EnvVar{}) // var yyz1 EnvVar - yyc1 = true + if yyj4401 >= len(yyv4401) { + yyv4401 = append(yyv4401, EnvVar{}) // var yyz4401 EnvVar + yyc4401 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4401.ElemContainerState(yyj4401) + if yyj4401 < len(yyv4401) { if r.TryDecodeAsNil() { - yyv1[yyj1] = EnvVar{} + yyv4401[yyj4401] = EnvVar{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4404 := &yyv4401[yyj4401] + yyv4404.CodecDecodeSelf(d) } } else { @@ -55341,17 +55314,17 @@ func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []EnvVar{} - yyc1 = true + if yyj4401 < len(yyv4401) { + yyv4401 = yyv4401[:yyj4401] + yyc4401 = true + } else if yyj4401 == 0 && yyv4401 == nil { + yyv4401 = []EnvVar{} + yyc4401 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4401.End() + if yyc4401 { + *v = yyv4401 } } @@ -55360,10 +55333,10 @@ func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4405 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4406 := &yyv4405 + yy4406.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55373,86 +55346,83 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []VolumeMount{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4407 := *v + yyh4407, yyl4407 := z.DecSliceHelperStart() + var yyc4407 bool + if yyl4407 == 0 { + if yyv4407 == nil { + yyv4407 = []VolumeMount{} + yyc4407 = true + } else if len(yyv4407) != 0 { + yyv4407 = yyv4407[:0] + yyc4407 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4407 > 0 { + var yyrr4407, yyrl4407 int + var yyrt4407 bool + if yyl4407 > cap(yyv4407) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4407 := len(yyv4407) > 0 + yyv24407 := yyv4407 + yyrl4407, yyrt4407 = z.DecInferLen(yyl4407, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4407 { + if yyrl4407 <= cap(yyv4407) { + yyv4407 = yyv4407[:yyrl4407] } else { - yyv1 = make([]VolumeMount, yyrl1) + yyv4407 = make([]VolumeMount, yyrl4407) } } else { - yyv1 = make([]VolumeMount, yyrl1) + yyv4407 = make([]VolumeMount, yyrl4407) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4407 = true + yyrr4407 = len(yyv4407) + if yyrg4407 { + copy(yyv4407, yyv24407) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4407 != len(yyv4407) { + yyv4407 = yyv4407[:yyl4407] + yyc4407 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4407 := 0 + for ; yyj4407 < yyrr4407; yyj4407++ { + yyh4407.ElemContainerState(yyj4407) if r.TryDecodeAsNil() { - yyv1[yyj1] = VolumeMount{} + yyv4407[yyj4407] = VolumeMount{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4408 := &yyv4407[yyj4407] + yyv4408.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, VolumeMount{}) - yyh1.ElemContainerState(yyj1) + if yyrt4407 { + for ; yyj4407 < yyl4407; yyj4407++ { + yyv4407 = append(yyv4407, VolumeMount{}) + yyh4407.ElemContainerState(yyj4407) if r.TryDecodeAsNil() { - yyv1[yyj1] = VolumeMount{} + yyv4407[yyj4407] = VolumeMount{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4409 := &yyv4407[yyj4407] + yyv4409.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4407 := 0 + for ; !r.CheckBreak(); yyj4407++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, VolumeMount{}) // var yyz1 VolumeMount - yyc1 = true + if yyj4407 >= len(yyv4407) { + yyv4407 = append(yyv4407, VolumeMount{}) // var yyz4407 VolumeMount + yyc4407 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4407.ElemContainerState(yyj4407) + if yyj4407 < len(yyv4407) { if r.TryDecodeAsNil() { - yyv1[yyj1] = VolumeMount{} + yyv4407[yyj4407] = VolumeMount{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4410 := &yyv4407[yyj4407] + yyv4410.CodecDecodeSelf(d) } } else { @@ -55460,17 +55430,17 @@ func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Deco } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []VolumeMount{} - yyc1 = true + if yyj4407 < len(yyv4407) { + yyv4407 = yyv4407[:yyj4407] + yyc4407 = true + } else if yyj4407 == 0 && yyv4407 == nil { + yyv4407 = []VolumeMount{} + yyc4407 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4407.End() + if yyc4407 { + *v = yyv4407 } } @@ -55479,10 +55449,10 @@ func (x codecSelfer1234) encSliceNodeSelectorTerm(v []NodeSelectorTerm, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4411 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4412 := &yyv4411 + yy4412.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55492,86 +55462,83 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NodeSelectorTerm{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4413 := *v + yyh4413, yyl4413 := z.DecSliceHelperStart() + var yyc4413 bool + if yyl4413 == 0 { + if yyv4413 == nil { + yyv4413 = []NodeSelectorTerm{} + yyc4413 = true + } else if len(yyv4413) != 0 { + yyv4413 = yyv4413[:0] + yyc4413 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4413 > 0 { + var yyrr4413, yyrl4413 int + var yyrt4413 bool + if yyl4413 > cap(yyv4413) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4413 := len(yyv4413) > 0 + yyv24413 := yyv4413 + yyrl4413, yyrt4413 = z.DecInferLen(yyl4413, z.DecBasicHandle().MaxInitLen, 24) + if yyrt4413 { + if yyrl4413 <= cap(yyv4413) { + yyv4413 = yyv4413[:yyrl4413] } else { - yyv1 = make([]NodeSelectorTerm, yyrl1) + yyv4413 = make([]NodeSelectorTerm, yyrl4413) } } else { - yyv1 = make([]NodeSelectorTerm, yyrl1) + yyv4413 = make([]NodeSelectorTerm, yyrl4413) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4413 = true + yyrr4413 = len(yyv4413) + if yyrg4413 { + copy(yyv4413, yyv24413) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4413 != len(yyv4413) { + yyv4413 = yyv4413[:yyl4413] + yyc4413 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4413 := 0 + for ; yyj4413 < yyrr4413; yyj4413++ { + yyh4413.ElemContainerState(yyj4413) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeSelectorTerm{} + yyv4413[yyj4413] = NodeSelectorTerm{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4414 := &yyv4413[yyj4413] + yyv4414.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NodeSelectorTerm{}) - yyh1.ElemContainerState(yyj1) + if yyrt4413 { + for ; yyj4413 < yyl4413; yyj4413++ { + yyv4413 = append(yyv4413, NodeSelectorTerm{}) + yyh4413.ElemContainerState(yyj4413) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeSelectorTerm{} + yyv4413[yyj4413] = NodeSelectorTerm{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4415 := &yyv4413[yyj4413] + yyv4415.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4413 := 0 + for ; !r.CheckBreak(); yyj4413++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NodeSelectorTerm{}) // var yyz1 NodeSelectorTerm - yyc1 = true + if yyj4413 >= len(yyv4413) { + yyv4413 = append(yyv4413, NodeSelectorTerm{}) // var yyz4413 NodeSelectorTerm + yyc4413 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4413.ElemContainerState(yyj4413) + if yyj4413 < len(yyv4413) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeSelectorTerm{} + yyv4413[yyj4413] = NodeSelectorTerm{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4416 := &yyv4413[yyj4413] + yyv4416.CodecDecodeSelf(d) } } else { @@ -55579,17 +55546,17 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NodeSelectorTerm{} - yyc1 = true + if yyj4413 < len(yyv4413) { + yyv4413 = yyv4413[:yyj4413] + yyc4413 = true + } else if yyj4413 == 0 && yyv4413 == nil { + yyv4413 = []NodeSelectorTerm{} + yyc4413 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4413.End() + if yyc4413 { + *v = yyv4413 } } @@ -55598,10 +55565,10 @@ func (x codecSelfer1234) encSliceNodeSelectorRequirement(v []NodeSelectorRequire z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4417 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4418 := &yyv4417 + yy4418.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55611,86 +55578,83 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NodeSelectorRequirement{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4419 := *v + yyh4419, yyl4419 := z.DecSliceHelperStart() + var yyc4419 bool + if yyl4419 == 0 { + if yyv4419 == nil { + yyv4419 = []NodeSelectorRequirement{} + yyc4419 = true + } else if len(yyv4419) != 0 { + yyv4419 = yyv4419[:0] + yyc4419 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4419 > 0 { + var yyrr4419, yyrl4419 int + var yyrt4419 bool + if yyl4419 > cap(yyv4419) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4419 := len(yyv4419) > 0 + yyv24419 := yyv4419 + yyrl4419, yyrt4419 = z.DecInferLen(yyl4419, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4419 { + if yyrl4419 <= cap(yyv4419) { + yyv4419 = yyv4419[:yyrl4419] } else { - yyv1 = make([]NodeSelectorRequirement, yyrl1) + yyv4419 = make([]NodeSelectorRequirement, yyrl4419) } } else { - yyv1 = make([]NodeSelectorRequirement, yyrl1) + yyv4419 = make([]NodeSelectorRequirement, yyrl4419) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4419 = true + yyrr4419 = len(yyv4419) + if yyrg4419 { + copy(yyv4419, yyv24419) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4419 != len(yyv4419) { + yyv4419 = yyv4419[:yyl4419] + yyc4419 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4419 := 0 + for ; yyj4419 < yyrr4419; yyj4419++ { + yyh4419.ElemContainerState(yyj4419) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeSelectorRequirement{} + yyv4419[yyj4419] = NodeSelectorRequirement{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4420 := &yyv4419[yyj4419] + yyv4420.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NodeSelectorRequirement{}) - yyh1.ElemContainerState(yyj1) + if yyrt4419 { + for ; yyj4419 < yyl4419; yyj4419++ { + yyv4419 = append(yyv4419, NodeSelectorRequirement{}) + yyh4419.ElemContainerState(yyj4419) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeSelectorRequirement{} + yyv4419[yyj4419] = NodeSelectorRequirement{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4421 := &yyv4419[yyj4419] + yyv4421.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4419 := 0 + for ; !r.CheckBreak(); yyj4419++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NodeSelectorRequirement{}) // var yyz1 NodeSelectorRequirement - yyc1 = true + if yyj4419 >= len(yyv4419) { + yyv4419 = append(yyv4419, NodeSelectorRequirement{}) // var yyz4419 NodeSelectorRequirement + yyc4419 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4419.ElemContainerState(yyj4419) + if yyj4419 < len(yyv4419) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeSelectorRequirement{} + yyv4419[yyj4419] = NodeSelectorRequirement{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4422 := &yyv4419[yyj4419] + yyv4422.CodecDecodeSelf(d) } } else { @@ -55698,17 +55662,17 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NodeSelectorRequirement{} - yyc1 = true + if yyj4419 < len(yyv4419) { + yyv4419 = yyv4419[:yyj4419] + yyc4419 = true + } else if yyj4419 == 0 && yyv4419 == nil { + yyv4419 = []NodeSelectorRequirement{} + yyc4419 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4419.End() + if yyc4419 { + *v = yyv4419 } } @@ -55717,10 +55681,10 @@ func (x codecSelfer1234) encSlicePodAffinityTerm(v []PodAffinityTerm, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4423 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4424 := &yyv4423 + yy4424.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55730,86 +55694,83 @@ func (x codecSelfer1234) decSlicePodAffinityTerm(v *[]PodAffinityTerm, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PodAffinityTerm{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4425 := *v + yyh4425, yyl4425 := z.DecSliceHelperStart() + var yyc4425 bool + if yyl4425 == 0 { + if yyv4425 == nil { + yyv4425 = []PodAffinityTerm{} + yyc4425 = true + } else if len(yyv4425) != 0 { + yyv4425 = yyv4425[:0] + yyc4425 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4425 > 0 { + var yyrr4425, yyrl4425 int + var yyrt4425 bool + if yyl4425 > cap(yyv4425) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 48) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4425 := len(yyv4425) > 0 + yyv24425 := yyv4425 + yyrl4425, yyrt4425 = z.DecInferLen(yyl4425, z.DecBasicHandle().MaxInitLen, 48) + if yyrt4425 { + if yyrl4425 <= cap(yyv4425) { + yyv4425 = yyv4425[:yyrl4425] } else { - yyv1 = make([]PodAffinityTerm, yyrl1) + yyv4425 = make([]PodAffinityTerm, yyrl4425) } } else { - yyv1 = make([]PodAffinityTerm, yyrl1) + yyv4425 = make([]PodAffinityTerm, yyrl4425) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4425 = true + yyrr4425 = len(yyv4425) + if yyrg4425 { + copy(yyv4425, yyv24425) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4425 != len(yyv4425) { + yyv4425 = yyv4425[:yyl4425] + yyc4425 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4425 := 0 + for ; yyj4425 < yyrr4425; yyj4425++ { + yyh4425.ElemContainerState(yyj4425) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodAffinityTerm{} + yyv4425[yyj4425] = PodAffinityTerm{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4426 := &yyv4425[yyj4425] + yyv4426.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PodAffinityTerm{}) - yyh1.ElemContainerState(yyj1) + if yyrt4425 { + for ; yyj4425 < yyl4425; yyj4425++ { + yyv4425 = append(yyv4425, PodAffinityTerm{}) + yyh4425.ElemContainerState(yyj4425) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodAffinityTerm{} + yyv4425[yyj4425] = PodAffinityTerm{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4427 := &yyv4425[yyj4425] + yyv4427.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4425 := 0 + for ; !r.CheckBreak(); yyj4425++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PodAffinityTerm{}) // var yyz1 PodAffinityTerm - yyc1 = true + if yyj4425 >= len(yyv4425) { + yyv4425 = append(yyv4425, PodAffinityTerm{}) // var yyz4425 PodAffinityTerm + yyc4425 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4425.ElemContainerState(yyj4425) + if yyj4425 < len(yyv4425) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PodAffinityTerm{} + yyv4425[yyj4425] = PodAffinityTerm{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4428 := &yyv4425[yyj4425] + yyv4428.CodecDecodeSelf(d) } } else { @@ -55817,17 +55778,17 @@ func (x codecSelfer1234) decSlicePodAffinityTerm(v *[]PodAffinityTerm, d *codec1 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PodAffinityTerm{} - yyc1 = true + if yyj4425 < len(yyv4425) { + yyv4425 = yyv4425[:yyj4425] + yyc4425 = true + } else if yyj4425 == 0 && yyv4425 == nil { + yyv4425 = []PodAffinityTerm{} + yyc4425 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4425.End() + if yyc4425 { + *v = yyv4425 } } @@ -55836,10 +55797,10 @@ func (x codecSelfer1234) encSliceWeightedPodAffinityTerm(v []WeightedPodAffinity z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4429 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4430 := &yyv4429 + yy4430.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55849,86 +55810,83 @@ func (x codecSelfer1234) decSliceWeightedPodAffinityTerm(v *[]WeightedPodAffinit z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []WeightedPodAffinityTerm{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4431 := *v + yyh4431, yyl4431 := z.DecSliceHelperStart() + var yyc4431 bool + if yyl4431 == 0 { + if yyv4431 == nil { + yyv4431 = []WeightedPodAffinityTerm{} + yyc4431 = true + } else if len(yyv4431) != 0 { + yyv4431 = yyv4431[:0] + yyc4431 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4431 > 0 { + var yyrr4431, yyrl4431 int + var yyrt4431 bool + if yyl4431 > cap(yyv4431) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4431 := len(yyv4431) > 0 + yyv24431 := yyv4431 + yyrl4431, yyrt4431 = z.DecInferLen(yyl4431, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4431 { + if yyrl4431 <= cap(yyv4431) { + yyv4431 = yyv4431[:yyrl4431] } else { - yyv1 = make([]WeightedPodAffinityTerm, yyrl1) + yyv4431 = make([]WeightedPodAffinityTerm, yyrl4431) } } else { - yyv1 = make([]WeightedPodAffinityTerm, yyrl1) + yyv4431 = make([]WeightedPodAffinityTerm, yyrl4431) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4431 = true + yyrr4431 = len(yyv4431) + if yyrg4431 { + copy(yyv4431, yyv24431) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4431 != len(yyv4431) { + yyv4431 = yyv4431[:yyl4431] + yyc4431 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4431 := 0 + for ; yyj4431 < yyrr4431; yyj4431++ { + yyh4431.ElemContainerState(yyj4431) if r.TryDecodeAsNil() { - yyv1[yyj1] = WeightedPodAffinityTerm{} + yyv4431[yyj4431] = WeightedPodAffinityTerm{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4432 := &yyv4431[yyj4431] + yyv4432.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, WeightedPodAffinityTerm{}) - yyh1.ElemContainerState(yyj1) + if yyrt4431 { + for ; yyj4431 < yyl4431; yyj4431++ { + yyv4431 = append(yyv4431, WeightedPodAffinityTerm{}) + yyh4431.ElemContainerState(yyj4431) if r.TryDecodeAsNil() { - yyv1[yyj1] = WeightedPodAffinityTerm{} + yyv4431[yyj4431] = WeightedPodAffinityTerm{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4433 := &yyv4431[yyj4431] + yyv4433.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4431 := 0 + for ; !r.CheckBreak(); yyj4431++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, WeightedPodAffinityTerm{}) // var yyz1 WeightedPodAffinityTerm - yyc1 = true + if yyj4431 >= len(yyv4431) { + yyv4431 = append(yyv4431, WeightedPodAffinityTerm{}) // var yyz4431 WeightedPodAffinityTerm + yyc4431 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4431.ElemContainerState(yyj4431) + if yyj4431 < len(yyv4431) { if r.TryDecodeAsNil() { - yyv1[yyj1] = WeightedPodAffinityTerm{} + yyv4431[yyj4431] = WeightedPodAffinityTerm{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4434 := &yyv4431[yyj4431] + yyv4434.CodecDecodeSelf(d) } } else { @@ -55936,17 +55894,17 @@ func (x codecSelfer1234) decSliceWeightedPodAffinityTerm(v *[]WeightedPodAffinit } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []WeightedPodAffinityTerm{} - yyc1 = true + if yyj4431 < len(yyv4431) { + yyv4431 = yyv4431[:yyj4431] + yyc4431 = true + } else if yyj4431 == 0 && yyv4431 == nil { + yyv4431 = []WeightedPodAffinityTerm{} + yyc4431 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4431.End() + if yyc4431 { + *v = yyv4431 } } @@ -55955,10 +55913,10 @@ func (x codecSelfer1234) encSlicePreferredSchedulingTerm(v []PreferredScheduling z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4435 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4436 := &yyv4435 + yy4436.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55968,86 +55926,83 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PreferredSchedulingTerm{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4437 := *v + yyh4437, yyl4437 := z.DecSliceHelperStart() + var yyc4437 bool + if yyl4437 == 0 { + if yyv4437 == nil { + yyv4437 = []PreferredSchedulingTerm{} + yyc4437 = true + } else if len(yyv4437) != 0 { + yyv4437 = yyv4437[:0] + yyc4437 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4437 > 0 { + var yyrr4437, yyrl4437 int + var yyrt4437 bool + if yyl4437 > cap(yyv4437) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4437 := len(yyv4437) > 0 + yyv24437 := yyv4437 + yyrl4437, yyrt4437 = z.DecInferLen(yyl4437, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4437 { + if yyrl4437 <= cap(yyv4437) { + yyv4437 = yyv4437[:yyrl4437] } else { - yyv1 = make([]PreferredSchedulingTerm, yyrl1) + yyv4437 = make([]PreferredSchedulingTerm, yyrl4437) } } else { - yyv1 = make([]PreferredSchedulingTerm, yyrl1) + yyv4437 = make([]PreferredSchedulingTerm, yyrl4437) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4437 = true + yyrr4437 = len(yyv4437) + if yyrg4437 { + copy(yyv4437, yyv24437) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4437 != len(yyv4437) { + yyv4437 = yyv4437[:yyl4437] + yyc4437 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4437 := 0 + for ; yyj4437 < yyrr4437; yyj4437++ { + yyh4437.ElemContainerState(yyj4437) if r.TryDecodeAsNil() { - yyv1[yyj1] = PreferredSchedulingTerm{} + yyv4437[yyj4437] = PreferredSchedulingTerm{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4438 := &yyv4437[yyj4437] + yyv4438.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PreferredSchedulingTerm{}) - yyh1.ElemContainerState(yyj1) + if yyrt4437 { + for ; yyj4437 < yyl4437; yyj4437++ { + yyv4437 = append(yyv4437, PreferredSchedulingTerm{}) + yyh4437.ElemContainerState(yyj4437) if r.TryDecodeAsNil() { - yyv1[yyj1] = PreferredSchedulingTerm{} + yyv4437[yyj4437] = PreferredSchedulingTerm{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4439 := &yyv4437[yyj4437] + yyv4439.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4437 := 0 + for ; !r.CheckBreak(); yyj4437++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PreferredSchedulingTerm{}) // var yyz1 PreferredSchedulingTerm - yyc1 = true + if yyj4437 >= len(yyv4437) { + yyv4437 = append(yyv4437, PreferredSchedulingTerm{}) // var yyz4437 PreferredSchedulingTerm + yyc4437 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4437.ElemContainerState(yyj4437) + if yyj4437 < len(yyv4437) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PreferredSchedulingTerm{} + yyv4437[yyj4437] = PreferredSchedulingTerm{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4440 := &yyv4437[yyj4437] + yyv4440.CodecDecodeSelf(d) } } else { @@ -56055,17 +56010,17 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PreferredSchedulingTerm{} - yyc1 = true + if yyj4437 < len(yyv4437) { + yyv4437 = yyv4437[:yyj4437] + yyc4437 = true + } else if yyj4437 == 0 && yyv4437 == nil { + yyv4437 = []PreferredSchedulingTerm{} + yyc4437 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4437.End() + if yyc4437 { + *v = yyv4437 } } @@ -56074,10 +56029,10 @@ func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4441 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4442 := &yyv4441 + yy4442.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56087,86 +56042,83 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Volume{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4443 := *v + yyh4443, yyl4443 := z.DecSliceHelperStart() + var yyc4443 bool + if yyl4443 == 0 { + if yyv4443 == nil { + yyv4443 = []Volume{} + yyc4443 = true + } else if len(yyv4443) != 0 { + yyv4443 = yyv4443[:0] + yyc4443 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4443 > 0 { + var yyrr4443, yyrl4443 int + var yyrt4443 bool + if yyl4443 > cap(yyv4443) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 176) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4443 := len(yyv4443) > 0 + yyv24443 := yyv4443 + yyrl4443, yyrt4443 = z.DecInferLen(yyl4443, z.DecBasicHandle().MaxInitLen, 176) + if yyrt4443 { + if yyrl4443 <= cap(yyv4443) { + yyv4443 = yyv4443[:yyrl4443] } else { - yyv1 = make([]Volume, yyrl1) + yyv4443 = make([]Volume, yyrl4443) } } else { - yyv1 = make([]Volume, yyrl1) + yyv4443 = make([]Volume, yyrl4443) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4443 = true + yyrr4443 = len(yyv4443) + if yyrg4443 { + copy(yyv4443, yyv24443) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4443 != len(yyv4443) { + yyv4443 = yyv4443[:yyl4443] + yyc4443 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4443 := 0 + for ; yyj4443 < yyrr4443; yyj4443++ { + yyh4443.ElemContainerState(yyj4443) if r.TryDecodeAsNil() { - yyv1[yyj1] = Volume{} + yyv4443[yyj4443] = Volume{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4444 := &yyv4443[yyj4443] + yyv4444.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Volume{}) - yyh1.ElemContainerState(yyj1) + if yyrt4443 { + for ; yyj4443 < yyl4443; yyj4443++ { + yyv4443 = append(yyv4443, Volume{}) + yyh4443.ElemContainerState(yyj4443) if r.TryDecodeAsNil() { - yyv1[yyj1] = Volume{} + yyv4443[yyj4443] = Volume{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4445 := &yyv4443[yyj4443] + yyv4445.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4443 := 0 + for ; !r.CheckBreak(); yyj4443++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Volume{}) // var yyz1 Volume - yyc1 = true + if yyj4443 >= len(yyv4443) { + yyv4443 = append(yyv4443, Volume{}) // var yyz4443 Volume + yyc4443 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4443.ElemContainerState(yyj4443) + if yyj4443 < len(yyv4443) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Volume{} + yyv4443[yyj4443] = Volume{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4446 := &yyv4443[yyj4443] + yyv4446.CodecDecodeSelf(d) } } else { @@ -56174,17 +56126,17 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Volume{} - yyc1 = true + if yyj4443 < len(yyv4443) { + yyv4443 = yyv4443[:yyj4443] + yyc4443 = true + } else if yyj4443 == 0 && yyv4443 == nil { + yyv4443 = []Volume{} + yyc4443 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4443.End() + if yyc4443 { + *v = yyv4443 } } @@ -56193,10 +56145,10 @@ func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4447 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4448 := &yyv4447 + yy4448.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56206,86 +56158,83 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Container{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4449 := *v + yyh4449, yyl4449 := z.DecSliceHelperStart() + var yyc4449 bool + if yyl4449 == 0 { + if yyv4449 == nil { + yyv4449 = []Container{} + yyc4449 = true + } else if len(yyv4449) != 0 { + yyv4449 = yyv4449[:0] + yyc4449 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4449 > 0 { + var yyrr4449, yyrl4449 int + var yyrt4449 bool + if yyl4449 > cap(yyv4449) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 256) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4449 := len(yyv4449) > 0 + yyv24449 := yyv4449 + yyrl4449, yyrt4449 = z.DecInferLen(yyl4449, z.DecBasicHandle().MaxInitLen, 256) + if yyrt4449 { + if yyrl4449 <= cap(yyv4449) { + yyv4449 = yyv4449[:yyrl4449] } else { - yyv1 = make([]Container, yyrl1) + yyv4449 = make([]Container, yyrl4449) } } else { - yyv1 = make([]Container, yyrl1) + yyv4449 = make([]Container, yyrl4449) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4449 = true + yyrr4449 = len(yyv4449) + if yyrg4449 { + copy(yyv4449, yyv24449) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4449 != len(yyv4449) { + yyv4449 = yyv4449[:yyl4449] + yyc4449 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4449 := 0 + for ; yyj4449 < yyrr4449; yyj4449++ { + yyh4449.ElemContainerState(yyj4449) if r.TryDecodeAsNil() { - yyv1[yyj1] = Container{} + yyv4449[yyj4449] = Container{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4450 := &yyv4449[yyj4449] + yyv4450.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Container{}) - yyh1.ElemContainerState(yyj1) + if yyrt4449 { + for ; yyj4449 < yyl4449; yyj4449++ { + yyv4449 = append(yyv4449, Container{}) + yyh4449.ElemContainerState(yyj4449) if r.TryDecodeAsNil() { - yyv1[yyj1] = Container{} + yyv4449[yyj4449] = Container{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4451 := &yyv4449[yyj4449] + yyv4451.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4449 := 0 + for ; !r.CheckBreak(); yyj4449++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Container{}) // var yyz1 Container - yyc1 = true + if yyj4449 >= len(yyv4449) { + yyv4449 = append(yyv4449, Container{}) // var yyz4449 Container + yyc4449 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4449.ElemContainerState(yyj4449) + if yyj4449 < len(yyv4449) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Container{} + yyv4449[yyj4449] = Container{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4452 := &yyv4449[yyj4449] + yyv4452.CodecDecodeSelf(d) } } else { @@ -56293,17 +56242,17 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Container{} - yyc1 = true + if yyj4449 < len(yyv4449) { + yyv4449 = yyv4449[:yyj4449] + yyc4449 = true + } else if yyj4449 == 0 && yyv4449 == nil { + yyv4449 = []Container{} + yyc4449 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4449.End() + if yyc4449 { + *v = yyv4449 } } @@ -56312,10 +56261,10 @@ func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4453 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4454 := &yyv4453 + yy4454.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56325,86 +56274,83 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []LocalObjectReference{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4455 := *v + yyh4455, yyl4455 := z.DecSliceHelperStart() + var yyc4455 bool + if yyl4455 == 0 { + if yyv4455 == nil { + yyv4455 = []LocalObjectReference{} + yyc4455 = true + } else if len(yyv4455) != 0 { + yyv4455 = yyv4455[:0] + yyc4455 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4455 > 0 { + var yyrr4455, yyrl4455 int + var yyrt4455 bool + if yyl4455 > cap(yyv4455) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4455 := len(yyv4455) > 0 + yyv24455 := yyv4455 + yyrl4455, yyrt4455 = z.DecInferLen(yyl4455, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4455 { + if yyrl4455 <= cap(yyv4455) { + yyv4455 = yyv4455[:yyrl4455] } else { - yyv1 = make([]LocalObjectReference, yyrl1) + yyv4455 = make([]LocalObjectReference, yyrl4455) } } else { - yyv1 = make([]LocalObjectReference, yyrl1) + yyv4455 = make([]LocalObjectReference, yyrl4455) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4455 = true + yyrr4455 = len(yyv4455) + if yyrg4455 { + copy(yyv4455, yyv24455) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4455 != len(yyv4455) { + yyv4455 = yyv4455[:yyl4455] + yyc4455 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4455 := 0 + for ; yyj4455 < yyrr4455; yyj4455++ { + yyh4455.ElemContainerState(yyj4455) if r.TryDecodeAsNil() { - yyv1[yyj1] = LocalObjectReference{} + yyv4455[yyj4455] = LocalObjectReference{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4456 := &yyv4455[yyj4455] + yyv4456.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, LocalObjectReference{}) - yyh1.ElemContainerState(yyj1) + if yyrt4455 { + for ; yyj4455 < yyl4455; yyj4455++ { + yyv4455 = append(yyv4455, LocalObjectReference{}) + yyh4455.ElemContainerState(yyj4455) if r.TryDecodeAsNil() { - yyv1[yyj1] = LocalObjectReference{} + yyv4455[yyj4455] = LocalObjectReference{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4457 := &yyv4455[yyj4455] + yyv4457.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4455 := 0 + for ; !r.CheckBreak(); yyj4455++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, LocalObjectReference{}) // var yyz1 LocalObjectReference - yyc1 = true + if yyj4455 >= len(yyv4455) { + yyv4455 = append(yyv4455, LocalObjectReference{}) // var yyz4455 LocalObjectReference + yyc4455 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4455.ElemContainerState(yyj4455) + if yyj4455 < len(yyv4455) { if r.TryDecodeAsNil() { - yyv1[yyj1] = LocalObjectReference{} + yyv4455[yyj4455] = LocalObjectReference{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4458 := &yyv4455[yyj4455] + yyv4458.CodecDecodeSelf(d) } } else { @@ -56412,17 +56358,17 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []LocalObjectReference{} - yyc1 = true + if yyj4455 < len(yyv4455) { + yyv4455 = yyv4455[:yyj4455] + yyc4455 = true + } else if yyj4455 == 0 && yyv4455 == nil { + yyv4455 = []LocalObjectReference{} + yyc4455 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4455.End() + if yyc4455 { + *v = yyv4455 } } @@ -56431,10 +56377,10 @@ func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4459 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4460 := &yyv4459 + yy4460.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56444,86 +56390,83 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PodCondition{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4461 := *v + yyh4461, yyl4461 := z.DecSliceHelperStart() + var yyc4461 bool + if yyl4461 == 0 { + if yyv4461 == nil { + yyv4461 = []PodCondition{} + yyc4461 = true + } else if len(yyv4461) != 0 { + yyv4461 = yyv4461[:0] + yyc4461 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4461 > 0 { + var yyrr4461, yyrl4461 int + var yyrt4461 bool + if yyl4461 > cap(yyv4461) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4461 := len(yyv4461) > 0 + yyv24461 := yyv4461 + yyrl4461, yyrt4461 = z.DecInferLen(yyl4461, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4461 { + if yyrl4461 <= cap(yyv4461) { + yyv4461 = yyv4461[:yyrl4461] } else { - yyv1 = make([]PodCondition, yyrl1) + yyv4461 = make([]PodCondition, yyrl4461) } } else { - yyv1 = make([]PodCondition, yyrl1) + yyv4461 = make([]PodCondition, yyrl4461) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4461 = true + yyrr4461 = len(yyv4461) + if yyrg4461 { + copy(yyv4461, yyv24461) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4461 != len(yyv4461) { + yyv4461 = yyv4461[:yyl4461] + yyc4461 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4461 := 0 + for ; yyj4461 < yyrr4461; yyj4461++ { + yyh4461.ElemContainerState(yyj4461) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodCondition{} + yyv4461[yyj4461] = PodCondition{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4462 := &yyv4461[yyj4461] + yyv4462.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PodCondition{}) - yyh1.ElemContainerState(yyj1) + if yyrt4461 { + for ; yyj4461 < yyl4461; yyj4461++ { + yyv4461 = append(yyv4461, PodCondition{}) + yyh4461.ElemContainerState(yyj4461) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodCondition{} + yyv4461[yyj4461] = PodCondition{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4463 := &yyv4461[yyj4461] + yyv4463.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4461 := 0 + for ; !r.CheckBreak(); yyj4461++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PodCondition{}) // var yyz1 PodCondition - yyc1 = true + if yyj4461 >= len(yyv4461) { + yyv4461 = append(yyv4461, PodCondition{}) // var yyz4461 PodCondition + yyc4461 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4461.ElemContainerState(yyj4461) + if yyj4461 < len(yyv4461) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PodCondition{} + yyv4461[yyj4461] = PodCondition{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4464 := &yyv4461[yyj4461] + yyv4464.CodecDecodeSelf(d) } } else { @@ -56531,17 +56474,17 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PodCondition{} - yyc1 = true + if yyj4461 < len(yyv4461) { + yyv4461 = yyv4461[:yyj4461] + yyc4461 = true + } else if yyj4461 == 0 && yyv4461 == nil { + yyv4461 = []PodCondition{} + yyc4461 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4461.End() + if yyc4461 { + *v = yyv4461 } } @@ -56550,10 +56493,10 @@ func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4465 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4466 := &yyv4465 + yy4466.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56563,86 +56506,83 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ContainerStatus{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4467 := *v + yyh4467, yyl4467 := z.DecSliceHelperStart() + var yyc4467 bool + if yyl4467 == 0 { + if yyv4467 == nil { + yyv4467 = []ContainerStatus{} + yyc4467 = true + } else if len(yyv4467) != 0 { + yyv4467 = yyv4467[:0] + yyc4467 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4467 > 0 { + var yyrr4467, yyrl4467 int + var yyrt4467 bool + if yyl4467 > cap(yyv4467) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 120) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4467 := len(yyv4467) > 0 + yyv24467 := yyv4467 + yyrl4467, yyrt4467 = z.DecInferLen(yyl4467, z.DecBasicHandle().MaxInitLen, 120) + if yyrt4467 { + if yyrl4467 <= cap(yyv4467) { + yyv4467 = yyv4467[:yyrl4467] } else { - yyv1 = make([]ContainerStatus, yyrl1) + yyv4467 = make([]ContainerStatus, yyrl4467) } } else { - yyv1 = make([]ContainerStatus, yyrl1) + yyv4467 = make([]ContainerStatus, yyrl4467) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4467 = true + yyrr4467 = len(yyv4467) + if yyrg4467 { + copy(yyv4467, yyv24467) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4467 != len(yyv4467) { + yyv4467 = yyv4467[:yyl4467] + yyc4467 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4467 := 0 + for ; yyj4467 < yyrr4467; yyj4467++ { + yyh4467.ElemContainerState(yyj4467) if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerStatus{} + yyv4467[yyj4467] = ContainerStatus{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4468 := &yyv4467[yyj4467] + yyv4468.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ContainerStatus{}) - yyh1.ElemContainerState(yyj1) + if yyrt4467 { + for ; yyj4467 < yyl4467; yyj4467++ { + yyv4467 = append(yyv4467, ContainerStatus{}) + yyh4467.ElemContainerState(yyj4467) if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerStatus{} + yyv4467[yyj4467] = ContainerStatus{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4469 := &yyv4467[yyj4467] + yyv4469.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4467 := 0 + for ; !r.CheckBreak(); yyj4467++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ContainerStatus{}) // var yyz1 ContainerStatus - yyc1 = true + if yyj4467 >= len(yyv4467) { + yyv4467 = append(yyv4467, ContainerStatus{}) // var yyz4467 ContainerStatus + yyc4467 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4467.ElemContainerState(yyj4467) + if yyj4467 < len(yyv4467) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerStatus{} + yyv4467[yyj4467] = ContainerStatus{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4470 := &yyv4467[yyj4467] + yyv4470.CodecDecodeSelf(d) } } else { @@ -56650,17 +56590,17 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ContainerStatus{} - yyc1 = true + if yyj4467 < len(yyv4467) { + yyv4467 = yyv4467[:yyj4467] + yyc4467 = true + } else if yyj4467 == 0 && yyv4467 == nil { + yyv4467 = []ContainerStatus{} + yyc4467 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4467.End() + if yyc4467 { + *v = yyv4467 } } @@ -56669,10 +56609,10 @@ func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4471 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4472 := &yyv4471 + yy4472.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56682,86 +56622,83 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Pod{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4473 := *v + yyh4473, yyl4473 := z.DecSliceHelperStart() + var yyc4473 bool + if yyl4473 == 0 { + if yyv4473 == nil { + yyv4473 = []Pod{} + yyc4473 = true + } else if len(yyv4473) != 0 { + yyv4473 = yyv4473[:0] + yyc4473 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4473 > 0 { + var yyrr4473, yyrl4473 int + var yyrt4473 bool + if yyl4473 > cap(yyv4473) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 648) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4473 := len(yyv4473) > 0 + yyv24473 := yyv4473 + yyrl4473, yyrt4473 = z.DecInferLen(yyl4473, z.DecBasicHandle().MaxInitLen, 648) + if yyrt4473 { + if yyrl4473 <= cap(yyv4473) { + yyv4473 = yyv4473[:yyrl4473] } else { - yyv1 = make([]Pod, yyrl1) + yyv4473 = make([]Pod, yyrl4473) } } else { - yyv1 = make([]Pod, yyrl1) + yyv4473 = make([]Pod, yyrl4473) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4473 = true + yyrr4473 = len(yyv4473) + if yyrg4473 { + copy(yyv4473, yyv24473) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4473 != len(yyv4473) { + yyv4473 = yyv4473[:yyl4473] + yyc4473 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4473 := 0 + for ; yyj4473 < yyrr4473; yyj4473++ { + yyh4473.ElemContainerState(yyj4473) if r.TryDecodeAsNil() { - yyv1[yyj1] = Pod{} + yyv4473[yyj4473] = Pod{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4474 := &yyv4473[yyj4473] + yyv4474.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Pod{}) - yyh1.ElemContainerState(yyj1) + if yyrt4473 { + for ; yyj4473 < yyl4473; yyj4473++ { + yyv4473 = append(yyv4473, Pod{}) + yyh4473.ElemContainerState(yyj4473) if r.TryDecodeAsNil() { - yyv1[yyj1] = Pod{} + yyv4473[yyj4473] = Pod{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4475 := &yyv4473[yyj4473] + yyv4475.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4473 := 0 + for ; !r.CheckBreak(); yyj4473++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Pod{}) // var yyz1 Pod - yyc1 = true + if yyj4473 >= len(yyv4473) { + yyv4473 = append(yyv4473, Pod{}) // var yyz4473 Pod + yyc4473 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4473.ElemContainerState(yyj4473) + if yyj4473 < len(yyv4473) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Pod{} + yyv4473[yyj4473] = Pod{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4476 := &yyv4473[yyj4473] + yyv4476.CodecDecodeSelf(d) } } else { @@ -56769,17 +56706,17 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Pod{} - yyc1 = true + if yyj4473 < len(yyv4473) { + yyv4473 = yyv4473[:yyj4473] + yyc4473 = true + } else if yyj4473 == 0 && yyv4473 == nil { + yyv4473 = []Pod{} + yyc4473 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4473.End() + if yyc4473 { + *v = yyv4473 } } @@ -56788,10 +56725,10 @@ func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4477 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4478 := &yyv4477 + yy4478.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56801,86 +56738,83 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PodTemplate{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4479 := *v + yyh4479, yyl4479 := z.DecSliceHelperStart() + var yyc4479 bool + if yyl4479 == 0 { + if yyv4479 == nil { + yyv4479 = []PodTemplate{} + yyc4479 = true + } else if len(yyv4479) != 0 { + yyv4479 = yyv4479[:0] + yyc4479 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4479 > 0 { + var yyrr4479, yyrl4479 int + var yyrt4479 bool + if yyl4479 > cap(yyv4479) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 696) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4479 := len(yyv4479) > 0 + yyv24479 := yyv4479 + yyrl4479, yyrt4479 = z.DecInferLen(yyl4479, z.DecBasicHandle().MaxInitLen, 696) + if yyrt4479 { + if yyrl4479 <= cap(yyv4479) { + yyv4479 = yyv4479[:yyrl4479] } else { - yyv1 = make([]PodTemplate, yyrl1) + yyv4479 = make([]PodTemplate, yyrl4479) } } else { - yyv1 = make([]PodTemplate, yyrl1) + yyv4479 = make([]PodTemplate, yyrl4479) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4479 = true + yyrr4479 = len(yyv4479) + if yyrg4479 { + copy(yyv4479, yyv24479) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4479 != len(yyv4479) { + yyv4479 = yyv4479[:yyl4479] + yyc4479 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4479 := 0 + for ; yyj4479 < yyrr4479; yyj4479++ { + yyh4479.ElemContainerState(yyj4479) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodTemplate{} + yyv4479[yyj4479] = PodTemplate{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4480 := &yyv4479[yyj4479] + yyv4480.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PodTemplate{}) - yyh1.ElemContainerState(yyj1) + if yyrt4479 { + for ; yyj4479 < yyl4479; yyj4479++ { + yyv4479 = append(yyv4479, PodTemplate{}) + yyh4479.ElemContainerState(yyj4479) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodTemplate{} + yyv4479[yyj4479] = PodTemplate{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4481 := &yyv4479[yyj4479] + yyv4481.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4479 := 0 + for ; !r.CheckBreak(); yyj4479++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PodTemplate{}) // var yyz1 PodTemplate - yyc1 = true + if yyj4479 >= len(yyv4479) { + yyv4479 = append(yyv4479, PodTemplate{}) // var yyz4479 PodTemplate + yyc4479 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4479.ElemContainerState(yyj4479) + if yyj4479 < len(yyv4479) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PodTemplate{} + yyv4479[yyj4479] = PodTemplate{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4482 := &yyv4479[yyj4479] + yyv4482.CodecDecodeSelf(d) } } else { @@ -56888,17 +56822,17 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PodTemplate{} - yyc1 = true + if yyj4479 < len(yyv4479) { + yyv4479 = yyv4479[:yyj4479] + yyc4479 = true + } else if yyj4479 == 0 && yyv4479 == nil { + yyv4479 = []PodTemplate{} + yyc4479 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4479.End() + if yyc4479 { + *v = yyv4479 } } @@ -56907,10 +56841,10 @@ func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4483 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4484 := &yyv4483 + yy4484.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -56920,86 +56854,83 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ReplicationController{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4485 := *v + yyh4485, yyl4485 := z.DecSliceHelperStart() + var yyc4485 bool + if yyl4485 == 0 { + if yyv4485 == nil { + yyv4485 = []ReplicationController{} + yyc4485 = true + } else if len(yyv4485) != 0 { + yyv4485 = yyv4485[:0] + yyc4485 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4485 > 0 { + var yyrr4485, yyrl4485 int + var yyrt4485 bool + if yyl4485 > cap(yyv4485) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4485 := len(yyv4485) > 0 + yyv24485 := yyv4485 + yyrl4485, yyrt4485 = z.DecInferLen(yyl4485, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4485 { + if yyrl4485 <= cap(yyv4485) { + yyv4485 = yyv4485[:yyrl4485] } else { - yyv1 = make([]ReplicationController, yyrl1) + yyv4485 = make([]ReplicationController, yyrl4485) } } else { - yyv1 = make([]ReplicationController, yyrl1) + yyv4485 = make([]ReplicationController, yyrl4485) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4485 = true + yyrr4485 = len(yyv4485) + if yyrg4485 { + copy(yyv4485, yyv24485) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4485 != len(yyv4485) { + yyv4485 = yyv4485[:yyl4485] + yyc4485 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4485 := 0 + for ; yyj4485 < yyrr4485; yyj4485++ { + yyh4485.ElemContainerState(yyj4485) if r.TryDecodeAsNil() { - yyv1[yyj1] = ReplicationController{} + yyv4485[yyj4485] = ReplicationController{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4486 := &yyv4485[yyj4485] + yyv4486.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ReplicationController{}) - yyh1.ElemContainerState(yyj1) + if yyrt4485 { + for ; yyj4485 < yyl4485; yyj4485++ { + yyv4485 = append(yyv4485, ReplicationController{}) + yyh4485.ElemContainerState(yyj4485) if r.TryDecodeAsNil() { - yyv1[yyj1] = ReplicationController{} + yyv4485[yyj4485] = ReplicationController{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4487 := &yyv4485[yyj4485] + yyv4487.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4485 := 0 + for ; !r.CheckBreak(); yyj4485++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ReplicationController{}) // var yyz1 ReplicationController - yyc1 = true + if yyj4485 >= len(yyv4485) { + yyv4485 = append(yyv4485, ReplicationController{}) // var yyz4485 ReplicationController + yyc4485 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4485.ElemContainerState(yyj4485) + if yyj4485 < len(yyv4485) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ReplicationController{} + yyv4485[yyj4485] = ReplicationController{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4488 := &yyv4485[yyj4485] + yyv4488.CodecDecodeSelf(d) } } else { @@ -57007,17 +56938,17 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ReplicationController{} - yyc1 = true + if yyj4485 < len(yyv4485) { + yyv4485 = yyv4485[:yyj4485] + yyc4485 = true + } else if yyj4485 == 0 && yyv4485 == nil { + yyv4485 = []ReplicationController{} + yyc4485 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4485.End() + if yyc4485 { + *v = yyv4485 } } @@ -57026,10 +56957,10 @@ func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4489 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4490 := &yyv4489 + yy4490.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57039,86 +56970,83 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []LoadBalancerIngress{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4491 := *v + yyh4491, yyl4491 := z.DecSliceHelperStart() + var yyc4491 bool + if yyl4491 == 0 { + if yyv4491 == nil { + yyv4491 = []LoadBalancerIngress{} + yyc4491 = true + } else if len(yyv4491) != 0 { + yyv4491 = yyv4491[:0] + yyc4491 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4491 > 0 { + var yyrr4491, yyrl4491 int + var yyrt4491 bool + if yyl4491 > cap(yyv4491) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4491 := len(yyv4491) > 0 + yyv24491 := yyv4491 + yyrl4491, yyrt4491 = z.DecInferLen(yyl4491, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4491 { + if yyrl4491 <= cap(yyv4491) { + yyv4491 = yyv4491[:yyrl4491] } else { - yyv1 = make([]LoadBalancerIngress, yyrl1) + yyv4491 = make([]LoadBalancerIngress, yyrl4491) } } else { - yyv1 = make([]LoadBalancerIngress, yyrl1) + yyv4491 = make([]LoadBalancerIngress, yyrl4491) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4491 = true + yyrr4491 = len(yyv4491) + if yyrg4491 { + copy(yyv4491, yyv24491) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4491 != len(yyv4491) { + yyv4491 = yyv4491[:yyl4491] + yyc4491 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4491 := 0 + for ; yyj4491 < yyrr4491; yyj4491++ { + yyh4491.ElemContainerState(yyj4491) if r.TryDecodeAsNil() { - yyv1[yyj1] = LoadBalancerIngress{} + yyv4491[yyj4491] = LoadBalancerIngress{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4492 := &yyv4491[yyj4491] + yyv4492.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, LoadBalancerIngress{}) - yyh1.ElemContainerState(yyj1) + if yyrt4491 { + for ; yyj4491 < yyl4491; yyj4491++ { + yyv4491 = append(yyv4491, LoadBalancerIngress{}) + yyh4491.ElemContainerState(yyj4491) if r.TryDecodeAsNil() { - yyv1[yyj1] = LoadBalancerIngress{} + yyv4491[yyj4491] = LoadBalancerIngress{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4493 := &yyv4491[yyj4491] + yyv4493.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4491 := 0 + for ; !r.CheckBreak(); yyj4491++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, LoadBalancerIngress{}) // var yyz1 LoadBalancerIngress - yyc1 = true + if yyj4491 >= len(yyv4491) { + yyv4491 = append(yyv4491, LoadBalancerIngress{}) // var yyz4491 LoadBalancerIngress + yyc4491 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4491.ElemContainerState(yyj4491) + if yyj4491 < len(yyv4491) { if r.TryDecodeAsNil() { - yyv1[yyj1] = LoadBalancerIngress{} + yyv4491[yyj4491] = LoadBalancerIngress{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4494 := &yyv4491[yyj4491] + yyv4494.CodecDecodeSelf(d) } } else { @@ -57126,17 +57054,17 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []LoadBalancerIngress{} - yyc1 = true + if yyj4491 < len(yyv4491) { + yyv4491 = yyv4491[:yyj4491] + yyc4491 = true + } else if yyj4491 == 0 && yyv4491 == nil { + yyv4491 = []LoadBalancerIngress{} + yyc4491 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4491.End() + if yyc4491 { + *v = yyv4491 } } @@ -57145,10 +57073,10 @@ func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4495 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4496 := &yyv4495 + yy4496.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57158,86 +57086,83 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ServicePort{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4497 := *v + yyh4497, yyl4497 := z.DecSliceHelperStart() + var yyc4497 bool + if yyl4497 == 0 { + if yyv4497 == nil { + yyv4497 = []ServicePort{} + yyc4497 = true + } else if len(yyv4497) != 0 { + yyv4497 = yyv4497[:0] + yyc4497 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4497 > 0 { + var yyrr4497, yyrl4497 int + var yyrt4497 bool + if yyl4497 > cap(yyv4497) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 80) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4497 := len(yyv4497) > 0 + yyv24497 := yyv4497 + yyrl4497, yyrt4497 = z.DecInferLen(yyl4497, z.DecBasicHandle().MaxInitLen, 80) + if yyrt4497 { + if yyrl4497 <= cap(yyv4497) { + yyv4497 = yyv4497[:yyrl4497] } else { - yyv1 = make([]ServicePort, yyrl1) + yyv4497 = make([]ServicePort, yyrl4497) } } else { - yyv1 = make([]ServicePort, yyrl1) + yyv4497 = make([]ServicePort, yyrl4497) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4497 = true + yyrr4497 = len(yyv4497) + if yyrg4497 { + copy(yyv4497, yyv24497) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4497 != len(yyv4497) { + yyv4497 = yyv4497[:yyl4497] + yyc4497 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4497 := 0 + for ; yyj4497 < yyrr4497; yyj4497++ { + yyh4497.ElemContainerState(yyj4497) if r.TryDecodeAsNil() { - yyv1[yyj1] = ServicePort{} + yyv4497[yyj4497] = ServicePort{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4498 := &yyv4497[yyj4497] + yyv4498.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ServicePort{}) - yyh1.ElemContainerState(yyj1) + if yyrt4497 { + for ; yyj4497 < yyl4497; yyj4497++ { + yyv4497 = append(yyv4497, ServicePort{}) + yyh4497.ElemContainerState(yyj4497) if r.TryDecodeAsNil() { - yyv1[yyj1] = ServicePort{} + yyv4497[yyj4497] = ServicePort{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4499 := &yyv4497[yyj4497] + yyv4499.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4497 := 0 + for ; !r.CheckBreak(); yyj4497++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ServicePort{}) // var yyz1 ServicePort - yyc1 = true + if yyj4497 >= len(yyv4497) { + yyv4497 = append(yyv4497, ServicePort{}) // var yyz4497 ServicePort + yyc4497 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4497.ElemContainerState(yyj4497) + if yyj4497 < len(yyv4497) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ServicePort{} + yyv4497[yyj4497] = ServicePort{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4500 := &yyv4497[yyj4497] + yyv4500.CodecDecodeSelf(d) } } else { @@ -57245,17 +57170,17 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ServicePort{} - yyc1 = true + if yyj4497 < len(yyv4497) { + yyv4497 = yyv4497[:yyj4497] + yyc4497 = true + } else if yyj4497 == 0 && yyv4497 == nil { + yyv4497 = []ServicePort{} + yyc4497 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4497.End() + if yyc4497 { + *v = yyv4497 } } @@ -57264,10 +57189,10 @@ func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4501 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4502 := &yyv4501 + yy4502.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57277,86 +57202,83 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Service{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4503 := *v + yyh4503, yyl4503 := z.DecSliceHelperStart() + var yyc4503 bool + if yyl4503 == 0 { + if yyv4503 == nil { + yyv4503 = []Service{} + yyc4503 = true + } else if len(yyv4503) != 0 { + yyv4503 = yyv4503[:0] + yyc4503 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4503 > 0 { + var yyrr4503, yyrl4503 int + var yyrt4503 bool + if yyl4503 > cap(yyv4503) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 432) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4503 := len(yyv4503) > 0 + yyv24503 := yyv4503 + yyrl4503, yyrt4503 = z.DecInferLen(yyl4503, z.DecBasicHandle().MaxInitLen, 432) + if yyrt4503 { + if yyrl4503 <= cap(yyv4503) { + yyv4503 = yyv4503[:yyrl4503] } else { - yyv1 = make([]Service, yyrl1) + yyv4503 = make([]Service, yyrl4503) } } else { - yyv1 = make([]Service, yyrl1) + yyv4503 = make([]Service, yyrl4503) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4503 = true + yyrr4503 = len(yyv4503) + if yyrg4503 { + copy(yyv4503, yyv24503) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4503 != len(yyv4503) { + yyv4503 = yyv4503[:yyl4503] + yyc4503 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4503 := 0 + for ; yyj4503 < yyrr4503; yyj4503++ { + yyh4503.ElemContainerState(yyj4503) if r.TryDecodeAsNil() { - yyv1[yyj1] = Service{} + yyv4503[yyj4503] = Service{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4504 := &yyv4503[yyj4503] + yyv4504.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Service{}) - yyh1.ElemContainerState(yyj1) + if yyrt4503 { + for ; yyj4503 < yyl4503; yyj4503++ { + yyv4503 = append(yyv4503, Service{}) + yyh4503.ElemContainerState(yyj4503) if r.TryDecodeAsNil() { - yyv1[yyj1] = Service{} + yyv4503[yyj4503] = Service{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4505 := &yyv4503[yyj4503] + yyv4505.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4503 := 0 + for ; !r.CheckBreak(); yyj4503++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Service{}) // var yyz1 Service - yyc1 = true + if yyj4503 >= len(yyv4503) { + yyv4503 = append(yyv4503, Service{}) // var yyz4503 Service + yyc4503 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4503.ElemContainerState(yyj4503) + if yyj4503 < len(yyv4503) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Service{} + yyv4503[yyj4503] = Service{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4506 := &yyv4503[yyj4503] + yyv4506.CodecDecodeSelf(d) } } else { @@ -57364,17 +57286,17 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Service{} - yyc1 = true + if yyj4503 < len(yyv4503) { + yyv4503 = yyv4503[:yyj4503] + yyc4503 = true + } else if yyj4503 == 0 && yyv4503 == nil { + yyv4503 = []Service{} + yyc4503 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4503.End() + if yyc4503 { + *v = yyv4503 } } @@ -57383,10 +57305,10 @@ func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4507 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4508 := &yyv4507 + yy4508.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57396,86 +57318,83 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ObjectReference{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4509 := *v + yyh4509, yyl4509 := z.DecSliceHelperStart() + var yyc4509 bool + if yyl4509 == 0 { + if yyv4509 == nil { + yyv4509 = []ObjectReference{} + yyc4509 = true + } else if len(yyv4509) != 0 { + yyv4509 = yyv4509[:0] + yyc4509 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4509 > 0 { + var yyrr4509, yyrl4509 int + var yyrt4509 bool + if yyl4509 > cap(yyv4509) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4509 := len(yyv4509) > 0 + yyv24509 := yyv4509 + yyrl4509, yyrt4509 = z.DecInferLen(yyl4509, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4509 { + if yyrl4509 <= cap(yyv4509) { + yyv4509 = yyv4509[:yyrl4509] } else { - yyv1 = make([]ObjectReference, yyrl1) + yyv4509 = make([]ObjectReference, yyrl4509) } } else { - yyv1 = make([]ObjectReference, yyrl1) + yyv4509 = make([]ObjectReference, yyrl4509) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4509 = true + yyrr4509 = len(yyv4509) + if yyrg4509 { + copy(yyv4509, yyv24509) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4509 != len(yyv4509) { + yyv4509 = yyv4509[:yyl4509] + yyc4509 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4509 := 0 + for ; yyj4509 < yyrr4509; yyj4509++ { + yyh4509.ElemContainerState(yyj4509) if r.TryDecodeAsNil() { - yyv1[yyj1] = ObjectReference{} + yyv4509[yyj4509] = ObjectReference{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4510 := &yyv4509[yyj4509] + yyv4510.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ObjectReference{}) - yyh1.ElemContainerState(yyj1) + if yyrt4509 { + for ; yyj4509 < yyl4509; yyj4509++ { + yyv4509 = append(yyv4509, ObjectReference{}) + yyh4509.ElemContainerState(yyj4509) if r.TryDecodeAsNil() { - yyv1[yyj1] = ObjectReference{} + yyv4509[yyj4509] = ObjectReference{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4511 := &yyv4509[yyj4509] + yyv4511.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4509 := 0 + for ; !r.CheckBreak(); yyj4509++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ObjectReference{}) // var yyz1 ObjectReference - yyc1 = true + if yyj4509 >= len(yyv4509) { + yyv4509 = append(yyv4509, ObjectReference{}) // var yyz4509 ObjectReference + yyc4509 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4509.ElemContainerState(yyj4509) + if yyj4509 < len(yyv4509) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ObjectReference{} + yyv4509[yyj4509] = ObjectReference{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4512 := &yyv4509[yyj4509] + yyv4512.CodecDecodeSelf(d) } } else { @@ -57483,17 +57402,17 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ObjectReference{} - yyc1 = true + if yyj4509 < len(yyv4509) { + yyv4509 = yyv4509[:yyj4509] + yyc4509 = true + } else if yyj4509 == 0 && yyv4509 == nil { + yyv4509 = []ObjectReference{} + yyc4509 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4509.End() + if yyc4509 { + *v = yyv4509 } } @@ -57502,10 +57421,10 @@ func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4513 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4514 := &yyv4513 + yy4514.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57515,86 +57434,83 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ServiceAccount{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4515 := *v + yyh4515, yyl4515 := z.DecSliceHelperStart() + var yyc4515 bool + if yyl4515 == 0 { + if yyv4515 == nil { + yyv4515 = []ServiceAccount{} + yyc4515 = true + } else if len(yyv4515) != 0 { + yyv4515 = yyv4515[:0] + yyc4515 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4515 > 0 { + var yyrr4515, yyrl4515 int + var yyrt4515 bool + if yyl4515 > cap(yyv4515) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 288) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4515 := len(yyv4515) > 0 + yyv24515 := yyv4515 + yyrl4515, yyrt4515 = z.DecInferLen(yyl4515, z.DecBasicHandle().MaxInitLen, 288) + if yyrt4515 { + if yyrl4515 <= cap(yyv4515) { + yyv4515 = yyv4515[:yyrl4515] } else { - yyv1 = make([]ServiceAccount, yyrl1) + yyv4515 = make([]ServiceAccount, yyrl4515) } } else { - yyv1 = make([]ServiceAccount, yyrl1) + yyv4515 = make([]ServiceAccount, yyrl4515) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4515 = true + yyrr4515 = len(yyv4515) + if yyrg4515 { + copy(yyv4515, yyv24515) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4515 != len(yyv4515) { + yyv4515 = yyv4515[:yyl4515] + yyc4515 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4515 := 0 + for ; yyj4515 < yyrr4515; yyj4515++ { + yyh4515.ElemContainerState(yyj4515) if r.TryDecodeAsNil() { - yyv1[yyj1] = ServiceAccount{} + yyv4515[yyj4515] = ServiceAccount{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4516 := &yyv4515[yyj4515] + yyv4516.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ServiceAccount{}) - yyh1.ElemContainerState(yyj1) + if yyrt4515 { + for ; yyj4515 < yyl4515; yyj4515++ { + yyv4515 = append(yyv4515, ServiceAccount{}) + yyh4515.ElemContainerState(yyj4515) if r.TryDecodeAsNil() { - yyv1[yyj1] = ServiceAccount{} + yyv4515[yyj4515] = ServiceAccount{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4517 := &yyv4515[yyj4515] + yyv4517.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4515 := 0 + for ; !r.CheckBreak(); yyj4515++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ServiceAccount{}) // var yyz1 ServiceAccount - yyc1 = true + if yyj4515 >= len(yyv4515) { + yyv4515 = append(yyv4515, ServiceAccount{}) // var yyz4515 ServiceAccount + yyc4515 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4515.ElemContainerState(yyj4515) + if yyj4515 < len(yyv4515) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ServiceAccount{} + yyv4515[yyj4515] = ServiceAccount{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4518 := &yyv4515[yyj4515] + yyv4518.CodecDecodeSelf(d) } } else { @@ -57602,17 +57518,17 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ServiceAccount{} - yyc1 = true + if yyj4515 < len(yyv4515) { + yyv4515 = yyv4515[:yyj4515] + yyc4515 = true + } else if yyj4515 == 0 && yyv4515 == nil { + yyv4515 = []ServiceAccount{} + yyc4515 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4515.End() + if yyc4515 { + *v = yyv4515 } } @@ -57621,10 +57537,10 @@ func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4519 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4520 := &yyv4519 + yy4520.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57634,86 +57550,83 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []EndpointSubset{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4521 := *v + yyh4521, yyl4521 := z.DecSliceHelperStart() + var yyc4521 bool + if yyl4521 == 0 { + if yyv4521 == nil { + yyv4521 = []EndpointSubset{} + yyc4521 = true + } else if len(yyv4521) != 0 { + yyv4521 = yyv4521[:0] + yyc4521 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4521 > 0 { + var yyrr4521, yyrl4521 int + var yyrt4521 bool + if yyl4521 > cap(yyv4521) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4521 := len(yyv4521) > 0 + yyv24521 := yyv4521 + yyrl4521, yyrt4521 = z.DecInferLen(yyl4521, z.DecBasicHandle().MaxInitLen, 72) + if yyrt4521 { + if yyrl4521 <= cap(yyv4521) { + yyv4521 = yyv4521[:yyrl4521] } else { - yyv1 = make([]EndpointSubset, yyrl1) + yyv4521 = make([]EndpointSubset, yyrl4521) } } else { - yyv1 = make([]EndpointSubset, yyrl1) + yyv4521 = make([]EndpointSubset, yyrl4521) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4521 = true + yyrr4521 = len(yyv4521) + if yyrg4521 { + copy(yyv4521, yyv24521) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4521 != len(yyv4521) { + yyv4521 = yyv4521[:yyl4521] + yyc4521 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4521 := 0 + for ; yyj4521 < yyrr4521; yyj4521++ { + yyh4521.ElemContainerState(yyj4521) if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointSubset{} + yyv4521[yyj4521] = EndpointSubset{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4522 := &yyv4521[yyj4521] + yyv4522.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, EndpointSubset{}) - yyh1.ElemContainerState(yyj1) + if yyrt4521 { + for ; yyj4521 < yyl4521; yyj4521++ { + yyv4521 = append(yyv4521, EndpointSubset{}) + yyh4521.ElemContainerState(yyj4521) if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointSubset{} + yyv4521[yyj4521] = EndpointSubset{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4523 := &yyv4521[yyj4521] + yyv4523.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4521 := 0 + for ; !r.CheckBreak(); yyj4521++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, EndpointSubset{}) // var yyz1 EndpointSubset - yyc1 = true + if yyj4521 >= len(yyv4521) { + yyv4521 = append(yyv4521, EndpointSubset{}) // var yyz4521 EndpointSubset + yyc4521 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4521.ElemContainerState(yyj4521) + if yyj4521 < len(yyv4521) { if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointSubset{} + yyv4521[yyj4521] = EndpointSubset{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4524 := &yyv4521[yyj4521] + yyv4524.CodecDecodeSelf(d) } } else { @@ -57721,17 +57634,17 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []EndpointSubset{} - yyc1 = true + if yyj4521 < len(yyv4521) { + yyv4521 = yyv4521[:yyj4521] + yyc4521 = true + } else if yyj4521 == 0 && yyv4521 == nil { + yyv4521 = []EndpointSubset{} + yyc4521 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4521.End() + if yyc4521 { + *v = yyv4521 } } @@ -57740,10 +57653,10 @@ func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4525 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4526 := &yyv4525 + yy4526.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57753,86 +57666,83 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []EndpointAddress{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4527 := *v + yyh4527, yyl4527 := z.DecSliceHelperStart() + var yyc4527 bool + if yyl4527 == 0 { + if yyv4527 == nil { + yyv4527 = []EndpointAddress{} + yyc4527 = true + } else if len(yyv4527) != 0 { + yyv4527 = yyv4527[:0] + yyc4527 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4527 > 0 { + var yyrr4527, yyrl4527 int + var yyrt4527 bool + if yyl4527 > cap(yyv4527) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4527 := len(yyv4527) > 0 + yyv24527 := yyv4527 + yyrl4527, yyrt4527 = z.DecInferLen(yyl4527, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4527 { + if yyrl4527 <= cap(yyv4527) { + yyv4527 = yyv4527[:yyrl4527] } else { - yyv1 = make([]EndpointAddress, yyrl1) + yyv4527 = make([]EndpointAddress, yyrl4527) } } else { - yyv1 = make([]EndpointAddress, yyrl1) + yyv4527 = make([]EndpointAddress, yyrl4527) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4527 = true + yyrr4527 = len(yyv4527) + if yyrg4527 { + copy(yyv4527, yyv24527) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4527 != len(yyv4527) { + yyv4527 = yyv4527[:yyl4527] + yyc4527 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4527 := 0 + for ; yyj4527 < yyrr4527; yyj4527++ { + yyh4527.ElemContainerState(yyj4527) if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointAddress{} + yyv4527[yyj4527] = EndpointAddress{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4528 := &yyv4527[yyj4527] + yyv4528.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, EndpointAddress{}) - yyh1.ElemContainerState(yyj1) + if yyrt4527 { + for ; yyj4527 < yyl4527; yyj4527++ { + yyv4527 = append(yyv4527, EndpointAddress{}) + yyh4527.ElemContainerState(yyj4527) if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointAddress{} + yyv4527[yyj4527] = EndpointAddress{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4529 := &yyv4527[yyj4527] + yyv4529.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4527 := 0 + for ; !r.CheckBreak(); yyj4527++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, EndpointAddress{}) // var yyz1 EndpointAddress - yyc1 = true + if yyj4527 >= len(yyv4527) { + yyv4527 = append(yyv4527, EndpointAddress{}) // var yyz4527 EndpointAddress + yyc4527 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4527.ElemContainerState(yyj4527) + if yyj4527 < len(yyv4527) { if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointAddress{} + yyv4527[yyj4527] = EndpointAddress{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4530 := &yyv4527[yyj4527] + yyv4530.CodecDecodeSelf(d) } } else { @@ -57840,17 +57750,17 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []EndpointAddress{} - yyc1 = true + if yyj4527 < len(yyv4527) { + yyv4527 = yyv4527[:yyj4527] + yyc4527 = true + } else if yyj4527 == 0 && yyv4527 == nil { + yyv4527 = []EndpointAddress{} + yyc4527 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4527.End() + if yyc4527 { + *v = yyv4527 } } @@ -57859,10 +57769,10 @@ func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4531 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4532 := &yyv4531 + yy4532.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57872,86 +57782,83 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []EndpointPort{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4533 := *v + yyh4533, yyl4533 := z.DecSliceHelperStart() + var yyc4533 bool + if yyl4533 == 0 { + if yyv4533 == nil { + yyv4533 = []EndpointPort{} + yyc4533 = true + } else if len(yyv4533) != 0 { + yyv4533 = yyv4533[:0] + yyc4533 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4533 > 0 { + var yyrr4533, yyrl4533 int + var yyrt4533 bool + if yyl4533 > cap(yyv4533) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4533 := len(yyv4533) > 0 + yyv24533 := yyv4533 + yyrl4533, yyrt4533 = z.DecInferLen(yyl4533, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4533 { + if yyrl4533 <= cap(yyv4533) { + yyv4533 = yyv4533[:yyrl4533] } else { - yyv1 = make([]EndpointPort, yyrl1) + yyv4533 = make([]EndpointPort, yyrl4533) } } else { - yyv1 = make([]EndpointPort, yyrl1) + yyv4533 = make([]EndpointPort, yyrl4533) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4533 = true + yyrr4533 = len(yyv4533) + if yyrg4533 { + copy(yyv4533, yyv24533) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4533 != len(yyv4533) { + yyv4533 = yyv4533[:yyl4533] + yyc4533 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4533 := 0 + for ; yyj4533 < yyrr4533; yyj4533++ { + yyh4533.ElemContainerState(yyj4533) if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointPort{} + yyv4533[yyj4533] = EndpointPort{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4534 := &yyv4533[yyj4533] + yyv4534.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, EndpointPort{}) - yyh1.ElemContainerState(yyj1) + if yyrt4533 { + for ; yyj4533 < yyl4533; yyj4533++ { + yyv4533 = append(yyv4533, EndpointPort{}) + yyh4533.ElemContainerState(yyj4533) if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointPort{} + yyv4533[yyj4533] = EndpointPort{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4535 := &yyv4533[yyj4533] + yyv4535.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4533 := 0 + for ; !r.CheckBreak(); yyj4533++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, EndpointPort{}) // var yyz1 EndpointPort - yyc1 = true + if yyj4533 >= len(yyv4533) { + yyv4533 = append(yyv4533, EndpointPort{}) // var yyz4533 EndpointPort + yyc4533 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4533.ElemContainerState(yyj4533) + if yyj4533 < len(yyv4533) { if r.TryDecodeAsNil() { - yyv1[yyj1] = EndpointPort{} + yyv4533[yyj4533] = EndpointPort{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4536 := &yyv4533[yyj4533] + yyv4536.CodecDecodeSelf(d) } } else { @@ -57959,17 +57866,17 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []EndpointPort{} - yyc1 = true + if yyj4533 < len(yyv4533) { + yyv4533 = yyv4533[:yyj4533] + yyc4533 = true + } else if yyj4533 == 0 && yyv4533 == nil { + yyv4533 = []EndpointPort{} + yyc4533 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4533.End() + if yyc4533 { + *v = yyv4533 } } @@ -57978,10 +57885,10 @@ func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4537 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4538 := &yyv4537 + yy4538.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57991,86 +57898,83 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Endpoints{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4539 := *v + yyh4539, yyl4539 := z.DecSliceHelperStart() + var yyc4539 bool + if yyl4539 == 0 { + if yyv4539 == nil { + yyv4539 = []Endpoints{} + yyc4539 = true + } else if len(yyv4539) != 0 { + yyv4539 = yyv4539[:0] + yyc4539 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4539 > 0 { + var yyrr4539, yyrl4539 int + var yyrt4539 bool + if yyl4539 > cap(yyv4539) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 264) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4539 := len(yyv4539) > 0 + yyv24539 := yyv4539 + yyrl4539, yyrt4539 = z.DecInferLen(yyl4539, z.DecBasicHandle().MaxInitLen, 264) + if yyrt4539 { + if yyrl4539 <= cap(yyv4539) { + yyv4539 = yyv4539[:yyrl4539] } else { - yyv1 = make([]Endpoints, yyrl1) + yyv4539 = make([]Endpoints, yyrl4539) } } else { - yyv1 = make([]Endpoints, yyrl1) + yyv4539 = make([]Endpoints, yyrl4539) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4539 = true + yyrr4539 = len(yyv4539) + if yyrg4539 { + copy(yyv4539, yyv24539) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4539 != len(yyv4539) { + yyv4539 = yyv4539[:yyl4539] + yyc4539 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4539 := 0 + for ; yyj4539 < yyrr4539; yyj4539++ { + yyh4539.ElemContainerState(yyj4539) if r.TryDecodeAsNil() { - yyv1[yyj1] = Endpoints{} + yyv4539[yyj4539] = Endpoints{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4540 := &yyv4539[yyj4539] + yyv4540.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Endpoints{}) - yyh1.ElemContainerState(yyj1) + if yyrt4539 { + for ; yyj4539 < yyl4539; yyj4539++ { + yyv4539 = append(yyv4539, Endpoints{}) + yyh4539.ElemContainerState(yyj4539) if r.TryDecodeAsNil() { - yyv1[yyj1] = Endpoints{} + yyv4539[yyj4539] = Endpoints{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4541 := &yyv4539[yyj4539] + yyv4541.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4539 := 0 + for ; !r.CheckBreak(); yyj4539++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Endpoints{}) // var yyz1 Endpoints - yyc1 = true + if yyj4539 >= len(yyv4539) { + yyv4539 = append(yyv4539, Endpoints{}) // var yyz4539 Endpoints + yyc4539 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4539.ElemContainerState(yyj4539) + if yyj4539 < len(yyv4539) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Endpoints{} + yyv4539[yyj4539] = Endpoints{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4542 := &yyv4539[yyj4539] + yyv4542.CodecDecodeSelf(d) } } else { @@ -58078,17 +57982,17 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Endpoints{} - yyc1 = true + if yyj4539 < len(yyv4539) { + yyv4539 = yyv4539[:yyj4539] + yyc4539 = true + } else if yyj4539 == 0 && yyv4539 == nil { + yyv4539 = []Endpoints{} + yyc4539 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4539.End() + if yyc4539 { + *v = yyv4539 } } @@ -58097,10 +58001,10 @@ func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4543 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4544 := &yyv4543 + yy4544.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58110,86 +58014,83 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NodeCondition{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4545 := *v + yyh4545, yyl4545 := z.DecSliceHelperStart() + var yyc4545 bool + if yyl4545 == 0 { + if yyv4545 == nil { + yyv4545 = []NodeCondition{} + yyc4545 = true + } else if len(yyv4545) != 0 { + yyv4545 = yyv4545[:0] + yyc4545 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4545 > 0 { + var yyrr4545, yyrl4545 int + var yyrt4545 bool + if yyl4545 > cap(yyv4545) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4545 := len(yyv4545) > 0 + yyv24545 := yyv4545 + yyrl4545, yyrt4545 = z.DecInferLen(yyl4545, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4545 { + if yyrl4545 <= cap(yyv4545) { + yyv4545 = yyv4545[:yyrl4545] } else { - yyv1 = make([]NodeCondition, yyrl1) + yyv4545 = make([]NodeCondition, yyrl4545) } } else { - yyv1 = make([]NodeCondition, yyrl1) + yyv4545 = make([]NodeCondition, yyrl4545) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4545 = true + yyrr4545 = len(yyv4545) + if yyrg4545 { + copy(yyv4545, yyv24545) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4545 != len(yyv4545) { + yyv4545 = yyv4545[:yyl4545] + yyc4545 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4545 := 0 + for ; yyj4545 < yyrr4545; yyj4545++ { + yyh4545.ElemContainerState(yyj4545) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeCondition{} + yyv4545[yyj4545] = NodeCondition{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4546 := &yyv4545[yyj4545] + yyv4546.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NodeCondition{}) - yyh1.ElemContainerState(yyj1) + if yyrt4545 { + for ; yyj4545 < yyl4545; yyj4545++ { + yyv4545 = append(yyv4545, NodeCondition{}) + yyh4545.ElemContainerState(yyj4545) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeCondition{} + yyv4545[yyj4545] = NodeCondition{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4547 := &yyv4545[yyj4545] + yyv4547.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4545 := 0 + for ; !r.CheckBreak(); yyj4545++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NodeCondition{}) // var yyz1 NodeCondition - yyc1 = true + if yyj4545 >= len(yyv4545) { + yyv4545 = append(yyv4545, NodeCondition{}) // var yyz4545 NodeCondition + yyc4545 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4545.ElemContainerState(yyj4545) + if yyj4545 < len(yyv4545) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeCondition{} + yyv4545[yyj4545] = NodeCondition{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4548 := &yyv4545[yyj4545] + yyv4548.CodecDecodeSelf(d) } } else { @@ -58197,17 +58098,17 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NodeCondition{} - yyc1 = true + if yyj4545 < len(yyv4545) { + yyv4545 = yyv4545[:yyj4545] + yyc4545 = true + } else if yyj4545 == 0 && yyv4545 == nil { + yyv4545 = []NodeCondition{} + yyc4545 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4545.End() + if yyc4545 { + *v = yyv4545 } } @@ -58216,10 +58117,10 @@ func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4549 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4550 := &yyv4549 + yy4550.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58229,86 +58130,83 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NodeAddress{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4551 := *v + yyh4551, yyl4551 := z.DecSliceHelperStart() + var yyc4551 bool + if yyl4551 == 0 { + if yyv4551 == nil { + yyv4551 = []NodeAddress{} + yyc4551 = true + } else if len(yyv4551) != 0 { + yyv4551 = yyv4551[:0] + yyc4551 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4551 > 0 { + var yyrr4551, yyrl4551 int + var yyrt4551 bool + if yyl4551 > cap(yyv4551) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4551 := len(yyv4551) > 0 + yyv24551 := yyv4551 + yyrl4551, yyrt4551 = z.DecInferLen(yyl4551, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4551 { + if yyrl4551 <= cap(yyv4551) { + yyv4551 = yyv4551[:yyrl4551] } else { - yyv1 = make([]NodeAddress, yyrl1) + yyv4551 = make([]NodeAddress, yyrl4551) } } else { - yyv1 = make([]NodeAddress, yyrl1) + yyv4551 = make([]NodeAddress, yyrl4551) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4551 = true + yyrr4551 = len(yyv4551) + if yyrg4551 { + copy(yyv4551, yyv24551) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4551 != len(yyv4551) { + yyv4551 = yyv4551[:yyl4551] + yyc4551 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4551 := 0 + for ; yyj4551 < yyrr4551; yyj4551++ { + yyh4551.ElemContainerState(yyj4551) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeAddress{} + yyv4551[yyj4551] = NodeAddress{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4552 := &yyv4551[yyj4551] + yyv4552.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NodeAddress{}) - yyh1.ElemContainerState(yyj1) + if yyrt4551 { + for ; yyj4551 < yyl4551; yyj4551++ { + yyv4551 = append(yyv4551, NodeAddress{}) + yyh4551.ElemContainerState(yyj4551) if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeAddress{} + yyv4551[yyj4551] = NodeAddress{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4553 := &yyv4551[yyj4551] + yyv4553.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4551 := 0 + for ; !r.CheckBreak(); yyj4551++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NodeAddress{}) // var yyz1 NodeAddress - yyc1 = true + if yyj4551 >= len(yyv4551) { + yyv4551 = append(yyv4551, NodeAddress{}) // var yyz4551 NodeAddress + yyc4551 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4551.ElemContainerState(yyj4551) + if yyj4551 < len(yyv4551) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NodeAddress{} + yyv4551[yyj4551] = NodeAddress{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4554 := &yyv4551[yyj4551] + yyv4554.CodecDecodeSelf(d) } } else { @@ -58316,17 +58214,17 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NodeAddress{} - yyc1 = true + if yyj4551 < len(yyv4551) { + yyv4551 = yyv4551[:yyj4551] + yyc4551 = true + } else if yyj4551 == 0 && yyv4551 == nil { + yyv4551 = []NodeAddress{} + yyc4551 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4551.End() + if yyc4551 { + *v = yyv4551 } } @@ -58335,10 +58233,10 @@ func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4555 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4556 := &yyv4555 + yy4556.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58348,86 +58246,83 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ContainerImage{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4557 := *v + yyh4557, yyl4557 := z.DecSliceHelperStart() + var yyc4557 bool + if yyl4557 == 0 { + if yyv4557 == nil { + yyv4557 = []ContainerImage{} + yyc4557 = true + } else if len(yyv4557) != 0 { + yyv4557 = yyv4557[:0] + yyc4557 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4557 > 0 { + var yyrr4557, yyrl4557 int + var yyrt4557 bool + if yyl4557 > cap(yyv4557) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4557 := len(yyv4557) > 0 + yyv24557 := yyv4557 + yyrl4557, yyrt4557 = z.DecInferLen(yyl4557, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4557 { + if yyrl4557 <= cap(yyv4557) { + yyv4557 = yyv4557[:yyrl4557] } else { - yyv1 = make([]ContainerImage, yyrl1) + yyv4557 = make([]ContainerImage, yyrl4557) } } else { - yyv1 = make([]ContainerImage, yyrl1) + yyv4557 = make([]ContainerImage, yyrl4557) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4557 = true + yyrr4557 = len(yyv4557) + if yyrg4557 { + copy(yyv4557, yyv24557) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4557 != len(yyv4557) { + yyv4557 = yyv4557[:yyl4557] + yyc4557 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4557 := 0 + for ; yyj4557 < yyrr4557; yyj4557++ { + yyh4557.ElemContainerState(yyj4557) if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerImage{} + yyv4557[yyj4557] = ContainerImage{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4558 := &yyv4557[yyj4557] + yyv4558.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ContainerImage{}) - yyh1.ElemContainerState(yyj1) + if yyrt4557 { + for ; yyj4557 < yyl4557; yyj4557++ { + yyv4557 = append(yyv4557, ContainerImage{}) + yyh4557.ElemContainerState(yyj4557) if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerImage{} + yyv4557[yyj4557] = ContainerImage{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4559 := &yyv4557[yyj4557] + yyv4559.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4557 := 0 + for ; !r.CheckBreak(); yyj4557++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ContainerImage{}) // var yyz1 ContainerImage - yyc1 = true + if yyj4557 >= len(yyv4557) { + yyv4557 = append(yyv4557, ContainerImage{}) // var yyz4557 ContainerImage + yyc4557 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4557.ElemContainerState(yyj4557) + if yyj4557 < len(yyv4557) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ContainerImage{} + yyv4557[yyj4557] = ContainerImage{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4560 := &yyv4557[yyj4557] + yyv4560.CodecDecodeSelf(d) } } else { @@ -58435,17 +58330,17 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ContainerImage{} - yyc1 = true + if yyj4557 < len(yyv4557) { + yyv4557 = yyv4557[:yyj4557] + yyc4557 = true + } else if yyj4557 == 0 && yyv4557 == nil { + yyv4557 = []ContainerImage{} + yyc4557 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4557.End() + if yyc4557 { + *v = yyv4557 } } @@ -58454,9 +58349,9 @@ func (x codecSelfer1234) encSliceUniqueVolumeName(v []UniqueVolumeName, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4561 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1.CodecEncodeSelf(e) + yyv4561.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58466,78 +58361,75 @@ func (x codecSelfer1234) decSliceUniqueVolumeName(v *[]UniqueVolumeName, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []UniqueVolumeName{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4562 := *v + yyh4562, yyl4562 := z.DecSliceHelperStart() + var yyc4562 bool + if yyl4562 == 0 { + if yyv4562 == nil { + yyv4562 = []UniqueVolumeName{} + yyc4562 = true + } else if len(yyv4562) != 0 { + yyv4562 = yyv4562[:0] + yyc4562 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4562 > 0 { + var yyrr4562, yyrl4562 int + var yyrt4562 bool + if yyl4562 > cap(yyv4562) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl4562, yyrt4562 = z.DecInferLen(yyl4562, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4562 { + if yyrl4562 <= cap(yyv4562) { + yyv4562 = yyv4562[:yyrl4562] } else { - yyv1 = make([]UniqueVolumeName, yyrl1) + yyv4562 = make([]UniqueVolumeName, yyrl4562) } } else { - yyv1 = make([]UniqueVolumeName, yyrl1) + yyv4562 = make([]UniqueVolumeName, yyrl4562) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc4562 = true + yyrr4562 = len(yyv4562) + } else if yyl4562 != len(yyv4562) { + yyv4562 = yyv4562[:yyl4562] + yyc4562 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4562 := 0 + for ; yyj4562 < yyrr4562; yyj4562++ { + yyh4562.ElemContainerState(yyj4562) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4562[yyj4562] = "" } else { - yyv1[yyj1] = UniqueVolumeName(r.DecodeString()) + yyv4562[yyj4562] = UniqueVolumeName(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt4562 { + for ; yyj4562 < yyl4562; yyj4562++ { + yyv4562 = append(yyv4562, "") + yyh4562.ElemContainerState(yyj4562) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4562[yyj4562] = "" } else { - yyv1[yyj1] = UniqueVolumeName(r.DecodeString()) + yyv4562[yyj4562] = UniqueVolumeName(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4562 := 0 + for ; !r.CheckBreak(); yyj4562++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 UniqueVolumeName - yyc1 = true + if yyj4562 >= len(yyv4562) { + yyv4562 = append(yyv4562, "") // var yyz4562 UniqueVolumeName + yyc4562 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4562.ElemContainerState(yyj4562) + if yyj4562 < len(yyv4562) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4562[yyj4562] = "" } else { - yyv1[yyj1] = UniqueVolumeName(r.DecodeString()) + yyv4562[yyj4562] = UniqueVolumeName(r.DecodeString()) } } else { @@ -58545,17 +58437,17 @@ func (x codecSelfer1234) decSliceUniqueVolumeName(v *[]UniqueVolumeName, d *code } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []UniqueVolumeName{} - yyc1 = true + if yyj4562 < len(yyv4562) { + yyv4562 = yyv4562[:yyj4562] + yyc4562 = true + } else if yyj4562 == 0 && yyv4562 == nil { + yyv4562 = []UniqueVolumeName{} + yyc4562 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4562.End() + if yyc4562 { + *v = yyv4562 } } @@ -58564,10 +58456,10 @@ func (x codecSelfer1234) encSliceAttachedVolume(v []AttachedVolume, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4566 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4567 := &yyv4566 + yy4567.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58577,86 +58469,83 @@ func (x codecSelfer1234) decSliceAttachedVolume(v *[]AttachedVolume, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []AttachedVolume{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4568 := *v + yyh4568, yyl4568 := z.DecSliceHelperStart() + var yyc4568 bool + if yyl4568 == 0 { + if yyv4568 == nil { + yyv4568 = []AttachedVolume{} + yyc4568 = true + } else if len(yyv4568) != 0 { + yyv4568 = yyv4568[:0] + yyc4568 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4568 > 0 { + var yyrr4568, yyrl4568 int + var yyrt4568 bool + if yyl4568 > cap(yyv4568) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4568 := len(yyv4568) > 0 + yyv24568 := yyv4568 + yyrl4568, yyrt4568 = z.DecInferLen(yyl4568, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4568 { + if yyrl4568 <= cap(yyv4568) { + yyv4568 = yyv4568[:yyrl4568] } else { - yyv1 = make([]AttachedVolume, yyrl1) + yyv4568 = make([]AttachedVolume, yyrl4568) } } else { - yyv1 = make([]AttachedVolume, yyrl1) + yyv4568 = make([]AttachedVolume, yyrl4568) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4568 = true + yyrr4568 = len(yyv4568) + if yyrg4568 { + copy(yyv4568, yyv24568) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4568 != len(yyv4568) { + yyv4568 = yyv4568[:yyl4568] + yyc4568 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4568 := 0 + for ; yyj4568 < yyrr4568; yyj4568++ { + yyh4568.ElemContainerState(yyj4568) if r.TryDecodeAsNil() { - yyv1[yyj1] = AttachedVolume{} + yyv4568[yyj4568] = AttachedVolume{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4569 := &yyv4568[yyj4568] + yyv4569.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, AttachedVolume{}) - yyh1.ElemContainerState(yyj1) + if yyrt4568 { + for ; yyj4568 < yyl4568; yyj4568++ { + yyv4568 = append(yyv4568, AttachedVolume{}) + yyh4568.ElemContainerState(yyj4568) if r.TryDecodeAsNil() { - yyv1[yyj1] = AttachedVolume{} + yyv4568[yyj4568] = AttachedVolume{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4570 := &yyv4568[yyj4568] + yyv4570.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4568 := 0 + for ; !r.CheckBreak(); yyj4568++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, AttachedVolume{}) // var yyz1 AttachedVolume - yyc1 = true + if yyj4568 >= len(yyv4568) { + yyv4568 = append(yyv4568, AttachedVolume{}) // var yyz4568 AttachedVolume + yyc4568 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4568.ElemContainerState(yyj4568) + if yyj4568 < len(yyv4568) { if r.TryDecodeAsNil() { - yyv1[yyj1] = AttachedVolume{} + yyv4568[yyj4568] = AttachedVolume{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4571 := &yyv4568[yyj4568] + yyv4571.CodecDecodeSelf(d) } } else { @@ -58664,17 +58553,17 @@ func (x codecSelfer1234) decSliceAttachedVolume(v *[]AttachedVolume, d *codec197 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []AttachedVolume{} - yyc1 = true + if yyj4568 < len(yyv4568) { + yyv4568 = yyv4568[:yyj4568] + yyc4568 = true + } else if yyj4568 == 0 && yyv4568 == nil { + yyv4568 = []AttachedVolume{} + yyc4568 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4568.End() + if yyc4568 { + *v = yyv4568 } } @@ -58683,10 +58572,10 @@ func (x codecSelfer1234) encSlicePreferAvoidPodsEntry(v []PreferAvoidPodsEntry, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4572 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4573 := &yyv4572 + yy4573.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58696,86 +58585,83 @@ func (x codecSelfer1234) decSlicePreferAvoidPodsEntry(v *[]PreferAvoidPodsEntry, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PreferAvoidPodsEntry{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4574 := *v + yyh4574, yyl4574 := z.DecSliceHelperStart() + var yyc4574 bool + if yyl4574 == 0 { + if yyv4574 == nil { + yyv4574 = []PreferAvoidPodsEntry{} + yyc4574 = true + } else if len(yyv4574) != 0 { + yyv4574 = yyv4574[:0] + yyc4574 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4574 > 0 { + var yyrr4574, yyrl4574 int + var yyrt4574 bool + if yyl4574 > cap(yyv4574) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4574 := len(yyv4574) > 0 + yyv24574 := yyv4574 + yyrl4574, yyrt4574 = z.DecInferLen(yyl4574, z.DecBasicHandle().MaxInitLen, 64) + if yyrt4574 { + if yyrl4574 <= cap(yyv4574) { + yyv4574 = yyv4574[:yyrl4574] } else { - yyv1 = make([]PreferAvoidPodsEntry, yyrl1) + yyv4574 = make([]PreferAvoidPodsEntry, yyrl4574) } } else { - yyv1 = make([]PreferAvoidPodsEntry, yyrl1) + yyv4574 = make([]PreferAvoidPodsEntry, yyrl4574) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4574 = true + yyrr4574 = len(yyv4574) + if yyrg4574 { + copy(yyv4574, yyv24574) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4574 != len(yyv4574) { + yyv4574 = yyv4574[:yyl4574] + yyc4574 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4574 := 0 + for ; yyj4574 < yyrr4574; yyj4574++ { + yyh4574.ElemContainerState(yyj4574) if r.TryDecodeAsNil() { - yyv1[yyj1] = PreferAvoidPodsEntry{} + yyv4574[yyj4574] = PreferAvoidPodsEntry{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4575 := &yyv4574[yyj4574] + yyv4575.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PreferAvoidPodsEntry{}) - yyh1.ElemContainerState(yyj1) + if yyrt4574 { + for ; yyj4574 < yyl4574; yyj4574++ { + yyv4574 = append(yyv4574, PreferAvoidPodsEntry{}) + yyh4574.ElemContainerState(yyj4574) if r.TryDecodeAsNil() { - yyv1[yyj1] = PreferAvoidPodsEntry{} + yyv4574[yyj4574] = PreferAvoidPodsEntry{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4576 := &yyv4574[yyj4574] + yyv4576.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4574 := 0 + for ; !r.CheckBreak(); yyj4574++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PreferAvoidPodsEntry{}) // var yyz1 PreferAvoidPodsEntry - yyc1 = true + if yyj4574 >= len(yyv4574) { + yyv4574 = append(yyv4574, PreferAvoidPodsEntry{}) // var yyz4574 PreferAvoidPodsEntry + yyc4574 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4574.ElemContainerState(yyj4574) + if yyj4574 < len(yyv4574) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PreferAvoidPodsEntry{} + yyv4574[yyj4574] = PreferAvoidPodsEntry{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4577 := &yyv4574[yyj4574] + yyv4577.CodecDecodeSelf(d) } } else { @@ -58783,17 +58669,17 @@ func (x codecSelfer1234) decSlicePreferAvoidPodsEntry(v *[]PreferAvoidPodsEntry, } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PreferAvoidPodsEntry{} - yyc1 = true + if yyj4574 < len(yyv4574) { + yyv4574 = yyv4574[:yyj4574] + yyc4574 = true + } else if yyj4574 == 0 && yyv4574 == nil { + yyv4574 = []PreferAvoidPodsEntry{} + yyc4574 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4574.End() + if yyc4574 { + *v = yyv4574 } } @@ -58802,19 +58688,19 @@ func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk1, yyv1 := range v { + for yyk4578, yyv4578 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yyk1.CodecEncodeSelf(e) + yyk4578.CodecEncodeSelf(e) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3 := &yyv1 - yym4 := z.EncBinary() - _ = yym4 + yy4579 := &yyv4578 + yym4580 := z.EncBinary() + _ = yym4580 if false { - } else if z.HasExtensions() && z.EncExt(yy3) { - } else if !yym4 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3) + } else if z.HasExtensions() && z.EncExt(yy4579) { + } else if !yym4580 && z.IsJSONHandle() { + z.EncJSONMarshal(yy4579) } else { - z.EncFallback(yy3) + z.EncFallback(yy4579) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -58825,86 +58711,86 @@ func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyl1 := r.ReadMapStart() - yybh1 := z.DecBasicHandle() - if yyv1 == nil { - yyrl1, _ := z.DecInferLen(yyl1, yybh1.MaxInitLen, 72) - yyv1 = make(map[ResourceName]pkg3_resource.Quantity, yyrl1) - *v = yyv1 + yyv4581 := *v + yyl4581 := r.ReadMapStart() + yybh4581 := z.DecBasicHandle() + if yyv4581 == nil { + yyrl4581, _ := z.DecInferLen(yyl4581, yybh4581.MaxInitLen, 72) + yyv4581 = make(map[ResourceName]pkg3_resource.Quantity, yyrl4581) + *v = yyv4581 } - var yymk1 ResourceName - var yymv1 pkg3_resource.Quantity - var yymg1 bool - if yybh1.MapValueReset { - yymg1 = true + var yymk4581 ResourceName + var yymv4581 pkg3_resource.Quantity + var yymg4581 bool + if yybh4581.MapValueReset { + yymg4581 = true } - if yyl1 > 0 { - for yyj1 := 0; yyj1 < yyl1; yyj1++ { + if yyl4581 > 0 { + for yyj4581 := 0; yyj4581 < yyl4581; yyj4581++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk4581 = "" } else { - yymk1 = ResourceName(r.DecodeString()) + yymk4581 = ResourceName(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg4581 { + yymv4581 = yyv4581[yymk4581] } else { - yymv1 = pkg3_resource.Quantity{} + yymv4581 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = pkg3_resource.Quantity{} + yymv4581 = pkg3_resource.Quantity{} } else { - yyv3 := &yymv1 - yym4 := z.DecBinary() - _ = yym4 + yyv4583 := &yymv4581 + yym4584 := z.DecBinary() + _ = yym4584 if false { - } else if z.HasExtensions() && z.DecExt(yyv3) { - } else if !yym4 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3) + } else if z.HasExtensions() && z.DecExt(yyv4583) { + } else if !yym4584 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4583) } else { - z.DecFallback(yyv3, false) + z.DecFallback(yyv4583, false) } } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv4581 != nil { + yyv4581[yymk4581] = yymv4581 } } - } else if yyl1 < 0 { - for yyj1 := 0; !r.CheckBreak(); yyj1++ { + } else if yyl4581 < 0 { + for yyj4581 := 0; !r.CheckBreak(); yyj4581++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk4581 = "" } else { - yymk1 = ResourceName(r.DecodeString()) + yymk4581 = ResourceName(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg4581 { + yymv4581 = yyv4581[yymk4581] } else { - yymv1 = pkg3_resource.Quantity{} + yymv4581 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = pkg3_resource.Quantity{} + yymv4581 = pkg3_resource.Quantity{} } else { - yyv6 := &yymv1 - yym7 := z.DecBinary() - _ = yym7 + yyv4586 := &yymv4581 + yym4587 := z.DecBinary() + _ = yym4587 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv4586) { + } else if !yym4587 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4586) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv4586, false) } } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv4581 != nil { + yyv4581[yymk4581] = yymv4581 } } } // else len==0: TODO: Should we clear map entries? @@ -58916,10 +58802,10 @@ func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4588 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4589 := &yyv4588 + yy4589.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58929,86 +58815,83 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Node{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4590 := *v + yyh4590, yyl4590 := z.DecSliceHelperStart() + var yyc4590 bool + if yyl4590 == 0 { + if yyv4590 == nil { + yyv4590 = []Node{} + yyc4590 = true + } else if len(yyv4590) != 0 { + yyv4590 = yyv4590[:0] + yyc4590 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4590 > 0 { + var yyrr4590, yyrl4590 int + var yyrt4590 bool + if yyl4590 > cap(yyv4590) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 616) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4590 := len(yyv4590) > 0 + yyv24590 := yyv4590 + yyrl4590, yyrt4590 = z.DecInferLen(yyl4590, z.DecBasicHandle().MaxInitLen, 616) + if yyrt4590 { + if yyrl4590 <= cap(yyv4590) { + yyv4590 = yyv4590[:yyrl4590] } else { - yyv1 = make([]Node, yyrl1) + yyv4590 = make([]Node, yyrl4590) } } else { - yyv1 = make([]Node, yyrl1) + yyv4590 = make([]Node, yyrl4590) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4590 = true + yyrr4590 = len(yyv4590) + if yyrg4590 { + copy(yyv4590, yyv24590) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4590 != len(yyv4590) { + yyv4590 = yyv4590[:yyl4590] + yyc4590 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4590 := 0 + for ; yyj4590 < yyrr4590; yyj4590++ { + yyh4590.ElemContainerState(yyj4590) if r.TryDecodeAsNil() { - yyv1[yyj1] = Node{} + yyv4590[yyj4590] = Node{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4591 := &yyv4590[yyj4590] + yyv4591.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Node{}) - yyh1.ElemContainerState(yyj1) + if yyrt4590 { + for ; yyj4590 < yyl4590; yyj4590++ { + yyv4590 = append(yyv4590, Node{}) + yyh4590.ElemContainerState(yyj4590) if r.TryDecodeAsNil() { - yyv1[yyj1] = Node{} + yyv4590[yyj4590] = Node{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4592 := &yyv4590[yyj4590] + yyv4592.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4590 := 0 + for ; !r.CheckBreak(); yyj4590++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Node{}) // var yyz1 Node - yyc1 = true + if yyj4590 >= len(yyv4590) { + yyv4590 = append(yyv4590, Node{}) // var yyz4590 Node + yyc4590 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4590.ElemContainerState(yyj4590) + if yyj4590 < len(yyv4590) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Node{} + yyv4590[yyj4590] = Node{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4593 := &yyv4590[yyj4590] + yyv4593.CodecDecodeSelf(d) } } else { @@ -59016,17 +58899,17 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Node{} - yyc1 = true + if yyj4590 < len(yyv4590) { + yyv4590 = yyv4590[:yyj4590] + yyc4590 = true + } else if yyj4590 == 0 && yyv4590 == nil { + yyv4590 = []Node{} + yyc4590 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4590.End() + if yyc4590 { + *v = yyv4590 } } @@ -59035,9 +58918,9 @@ func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4594 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1.CodecEncodeSelf(e) + yyv4594.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59047,78 +58930,75 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []FinalizerName{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4595 := *v + yyh4595, yyl4595 := z.DecSliceHelperStart() + var yyc4595 bool + if yyl4595 == 0 { + if yyv4595 == nil { + yyv4595 = []FinalizerName{} + yyc4595 = true + } else if len(yyv4595) != 0 { + yyv4595 = yyv4595[:0] + yyc4595 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4595 > 0 { + var yyrr4595, yyrl4595 int + var yyrt4595 bool + if yyl4595 > cap(yyv4595) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl4595, yyrt4595 = z.DecInferLen(yyl4595, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4595 { + if yyrl4595 <= cap(yyv4595) { + yyv4595 = yyv4595[:yyrl4595] } else { - yyv1 = make([]FinalizerName, yyrl1) + yyv4595 = make([]FinalizerName, yyrl4595) } } else { - yyv1 = make([]FinalizerName, yyrl1) + yyv4595 = make([]FinalizerName, yyrl4595) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc4595 = true + yyrr4595 = len(yyv4595) + } else if yyl4595 != len(yyv4595) { + yyv4595 = yyv4595[:yyl4595] + yyc4595 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4595 := 0 + for ; yyj4595 < yyrr4595; yyj4595++ { + yyh4595.ElemContainerState(yyj4595) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4595[yyj4595] = "" } else { - yyv1[yyj1] = FinalizerName(r.DecodeString()) + yyv4595[yyj4595] = FinalizerName(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt4595 { + for ; yyj4595 < yyl4595; yyj4595++ { + yyv4595 = append(yyv4595, "") + yyh4595.ElemContainerState(yyj4595) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4595[yyj4595] = "" } else { - yyv1[yyj1] = FinalizerName(r.DecodeString()) + yyv4595[yyj4595] = FinalizerName(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4595 := 0 + for ; !r.CheckBreak(); yyj4595++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 FinalizerName - yyc1 = true + if yyj4595 >= len(yyv4595) { + yyv4595 = append(yyv4595, "") // var yyz4595 FinalizerName + yyc4595 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4595.ElemContainerState(yyj4595) + if yyj4595 < len(yyv4595) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4595[yyj4595] = "" } else { - yyv1[yyj1] = FinalizerName(r.DecodeString()) + yyv4595[yyj4595] = FinalizerName(r.DecodeString()) } } else { @@ -59126,17 +59006,17 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []FinalizerName{} - yyc1 = true + if yyj4595 < len(yyv4595) { + yyv4595 = yyv4595[:yyj4595] + yyc4595 = true + } else if yyj4595 == 0 && yyv4595 == nil { + yyv4595 = []FinalizerName{} + yyc4595 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4595.End() + if yyc4595 { + *v = yyv4595 } } @@ -59145,10 +59025,10 @@ func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4599 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4600 := &yyv4599 + yy4600.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59158,86 +59038,83 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Namespace{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4601 := *v + yyh4601, yyl4601 := z.DecSliceHelperStart() + var yyc4601 bool + if yyl4601 == 0 { + if yyv4601 == nil { + yyv4601 = []Namespace{} + yyc4601 = true + } else if len(yyv4601) != 0 { + yyv4601 = yyv4601[:0] + yyc4601 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4601 > 0 { + var yyrr4601, yyrl4601 int + var yyrt4601 bool + if yyl4601 > cap(yyv4601) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4601 := len(yyv4601) > 0 + yyv24601 := yyv4601 + yyrl4601, yyrt4601 = z.DecInferLen(yyl4601, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4601 { + if yyrl4601 <= cap(yyv4601) { + yyv4601 = yyv4601[:yyrl4601] } else { - yyv1 = make([]Namespace, yyrl1) + yyv4601 = make([]Namespace, yyrl4601) } } else { - yyv1 = make([]Namespace, yyrl1) + yyv4601 = make([]Namespace, yyrl4601) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4601 = true + yyrr4601 = len(yyv4601) + if yyrg4601 { + copy(yyv4601, yyv24601) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4601 != len(yyv4601) { + yyv4601 = yyv4601[:yyl4601] + yyc4601 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4601 := 0 + for ; yyj4601 < yyrr4601; yyj4601++ { + yyh4601.ElemContainerState(yyj4601) if r.TryDecodeAsNil() { - yyv1[yyj1] = Namespace{} + yyv4601[yyj4601] = Namespace{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4602 := &yyv4601[yyj4601] + yyv4602.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Namespace{}) - yyh1.ElemContainerState(yyj1) + if yyrt4601 { + for ; yyj4601 < yyl4601; yyj4601++ { + yyv4601 = append(yyv4601, Namespace{}) + yyh4601.ElemContainerState(yyj4601) if r.TryDecodeAsNil() { - yyv1[yyj1] = Namespace{} + yyv4601[yyj4601] = Namespace{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4603 := &yyv4601[yyj4601] + yyv4603.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4601 := 0 + for ; !r.CheckBreak(); yyj4601++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Namespace{}) // var yyz1 Namespace - yyc1 = true + if yyj4601 >= len(yyv4601) { + yyv4601 = append(yyv4601, Namespace{}) // var yyz4601 Namespace + yyc4601 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4601.ElemContainerState(yyj4601) + if yyj4601 < len(yyv4601) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Namespace{} + yyv4601[yyj4601] = Namespace{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4604 := &yyv4601[yyj4601] + yyv4604.CodecDecodeSelf(d) } } else { @@ -59245,17 +59122,17 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Namespace{} - yyc1 = true + if yyj4601 < len(yyv4601) { + yyv4601 = yyv4601[:yyj4601] + yyc4601 = true + } else if yyj4601 == 0 && yyv4601 == nil { + yyv4601 = []Namespace{} + yyc4601 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4601.End() + if yyc4601 { + *v = yyv4601 } } @@ -59264,10 +59141,10 @@ func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4605 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4606 := &yyv4605 + yy4606.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59277,86 +59154,83 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Event{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4607 := *v + yyh4607, yyl4607 := z.DecSliceHelperStart() + var yyc4607 bool + if yyl4607 == 0 { + if yyv4607 == nil { + yyv4607 = []Event{} + yyc4607 = true + } else if len(yyv4607) != 0 { + yyv4607 = yyv4607[:0] + yyc4607 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4607 > 0 { + var yyrr4607, yyrl4607 int + var yyrt4607 bool + if yyl4607 > cap(yyv4607) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 488) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4607 := len(yyv4607) > 0 + yyv24607 := yyv4607 + yyrl4607, yyrt4607 = z.DecInferLen(yyl4607, z.DecBasicHandle().MaxInitLen, 488) + if yyrt4607 { + if yyrl4607 <= cap(yyv4607) { + yyv4607 = yyv4607[:yyrl4607] } else { - yyv1 = make([]Event, yyrl1) + yyv4607 = make([]Event, yyrl4607) } } else { - yyv1 = make([]Event, yyrl1) + yyv4607 = make([]Event, yyrl4607) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4607 = true + yyrr4607 = len(yyv4607) + if yyrg4607 { + copy(yyv4607, yyv24607) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4607 != len(yyv4607) { + yyv4607 = yyv4607[:yyl4607] + yyc4607 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4607 := 0 + for ; yyj4607 < yyrr4607; yyj4607++ { + yyh4607.ElemContainerState(yyj4607) if r.TryDecodeAsNil() { - yyv1[yyj1] = Event{} + yyv4607[yyj4607] = Event{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4608 := &yyv4607[yyj4607] + yyv4608.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Event{}) - yyh1.ElemContainerState(yyj1) + if yyrt4607 { + for ; yyj4607 < yyl4607; yyj4607++ { + yyv4607 = append(yyv4607, Event{}) + yyh4607.ElemContainerState(yyj4607) if r.TryDecodeAsNil() { - yyv1[yyj1] = Event{} + yyv4607[yyj4607] = Event{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4609 := &yyv4607[yyj4607] + yyv4609.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4607 := 0 + for ; !r.CheckBreak(); yyj4607++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Event{}) // var yyz1 Event - yyc1 = true + if yyj4607 >= len(yyv4607) { + yyv4607 = append(yyv4607, Event{}) // var yyz4607 Event + yyc4607 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4607.ElemContainerState(yyj4607) + if yyj4607 < len(yyv4607) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Event{} + yyv4607[yyj4607] = Event{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4610 := &yyv4607[yyj4607] + yyv4610.CodecDecodeSelf(d) } } else { @@ -59364,17 +59238,17 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Event{} - yyc1 = true + if yyj4607 < len(yyv4607) { + yyv4607 = yyv4607[:yyj4607] + yyc4607 = true + } else if yyj4607 == 0 && yyv4607 == nil { + yyv4607 = []Event{} + yyc4607 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4607.End() + if yyc4607 { + *v = yyv4607 } } @@ -59383,17 +59257,17 @@ func (x codecSelfer1234) encSliceruntime_RawExtension(v []pkg5_runtime.RawExtens z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4611 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yym3 := z.EncBinary() - _ = yym3 + yy4612 := &yyv4611 + yym4613 := z.EncBinary() + _ = yym4613 if false { - } else if z.HasExtensions() && z.EncExt(yy2) { - } else if !yym3 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2) + } else if z.HasExtensions() && z.EncExt(yy4612) { + } else if !yym4613 && z.IsJSONHandle() { + z.EncJSONMarshal(yy4612) } else { - z.EncFallback(yy2) + z.EncFallback(yy4612) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -59404,81 +59278,78 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg5_runtime.RawExten z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []pkg5_runtime.RawExtension{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4614 := *v + yyh4614, yyl4614 := z.DecSliceHelperStart() + var yyc4614 bool + if yyl4614 == 0 { + if yyv4614 == nil { + yyv4614 = []pkg5_runtime.RawExtension{} + yyc4614 = true + } else if len(yyv4614) != 0 { + yyv4614 = yyv4614[:0] + yyc4614 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4614 > 0 { + var yyrr4614, yyrl4614 int + var yyrt4614 bool + if yyl4614 > cap(yyv4614) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4614 := len(yyv4614) > 0 + yyv24614 := yyv4614 + yyrl4614, yyrt4614 = z.DecInferLen(yyl4614, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4614 { + if yyrl4614 <= cap(yyv4614) { + yyv4614 = yyv4614[:yyrl4614] } else { - yyv1 = make([]pkg5_runtime.RawExtension, yyrl1) + yyv4614 = make([]pkg5_runtime.RawExtension, yyrl4614) } } else { - yyv1 = make([]pkg5_runtime.RawExtension, yyrl1) + yyv4614 = make([]pkg5_runtime.RawExtension, yyrl4614) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4614 = true + yyrr4614 = len(yyv4614) + if yyrg4614 { + copy(yyv4614, yyv24614) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4614 != len(yyv4614) { + yyv4614 = yyv4614[:yyl4614] + yyc4614 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4614 := 0 + for ; yyj4614 < yyrr4614; yyj4614++ { + yyh4614.ElemContainerState(yyj4614) if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg5_runtime.RawExtension{} + yyv4614[yyj4614] = pkg5_runtime.RawExtension{} } else { - yyv2 := &yyv1[yyj1] - yym3 := z.DecBinary() - _ = yym3 + yyv4615 := &yyv4614[yyj4614] + yym4616 := z.DecBinary() + _ = yym4616 if false { - } else if z.HasExtensions() && z.DecExt(yyv2) { - } else if !yym3 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2) + } else if z.HasExtensions() && z.DecExt(yyv4615) { + } else if !yym4616 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4615) } else { - z.DecFallback(yyv2, false) + z.DecFallback(yyv4615, false) } } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, pkg5_runtime.RawExtension{}) - yyh1.ElemContainerState(yyj1) + if yyrt4614 { + for ; yyj4614 < yyl4614; yyj4614++ { + yyv4614 = append(yyv4614, pkg5_runtime.RawExtension{}) + yyh4614.ElemContainerState(yyj4614) if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg5_runtime.RawExtension{} + yyv4614[yyj4614] = pkg5_runtime.RawExtension{} } else { - yyv4 := &yyv1[yyj1] - yym5 := z.DecBinary() - _ = yym5 + yyv4617 := &yyv4614[yyj4614] + yym4618 := z.DecBinary() + _ = yym4618 if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else if !yym5 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4) + } else if z.HasExtensions() && z.DecExt(yyv4617) { + } else if !yym4618 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4617) } else { - z.DecFallback(yyv4, false) + z.DecFallback(yyv4617, false) } } @@ -59486,27 +59357,27 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg5_runtime.RawExten } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4614 := 0 + for ; !r.CheckBreak(); yyj4614++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, pkg5_runtime.RawExtension{}) // var yyz1 pkg5_runtime.RawExtension - yyc1 = true + if yyj4614 >= len(yyv4614) { + yyv4614 = append(yyv4614, pkg5_runtime.RawExtension{}) // var yyz4614 pkg5_runtime.RawExtension + yyc4614 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4614.ElemContainerState(yyj4614) + if yyj4614 < len(yyv4614) { if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg5_runtime.RawExtension{} + yyv4614[yyj4614] = pkg5_runtime.RawExtension{} } else { - yyv6 := &yyv1[yyj1] - yym7 := z.DecBinary() - _ = yym7 + yyv4619 := &yyv4614[yyj4614] + yym4620 := z.DecBinary() + _ = yym4620 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv4619) { + } else if !yym4620 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4619) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv4619, false) } } @@ -59515,17 +59386,17 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg5_runtime.RawExten } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []pkg5_runtime.RawExtension{} - yyc1 = true + if yyj4614 < len(yyv4614) { + yyv4614 = yyv4614[:yyj4614] + yyc4614 = true + } else if yyj4614 == 0 && yyv4614 == nil { + yyv4614 = []pkg5_runtime.RawExtension{} + yyc4614 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4614.End() + if yyc4614 { + *v = yyv4614 } } @@ -59534,10 +59405,10 @@ func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4621 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4622 := &yyv4621 + yy4622.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59547,86 +59418,83 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []LimitRangeItem{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4623 := *v + yyh4623, yyl4623 := z.DecSliceHelperStart() + var yyc4623 bool + if yyl4623 == 0 { + if yyv4623 == nil { + yyv4623 = []LimitRangeItem{} + yyc4623 = true + } else if len(yyv4623) != 0 { + yyv4623 = yyv4623[:0] + yyc4623 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4623 > 0 { + var yyrr4623, yyrl4623 int + var yyrt4623 bool + if yyl4623 > cap(yyv4623) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4623 := len(yyv4623) > 0 + yyv24623 := yyv4623 + yyrl4623, yyrt4623 = z.DecInferLen(yyl4623, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4623 { + if yyrl4623 <= cap(yyv4623) { + yyv4623 = yyv4623[:yyrl4623] } else { - yyv1 = make([]LimitRangeItem, yyrl1) + yyv4623 = make([]LimitRangeItem, yyrl4623) } } else { - yyv1 = make([]LimitRangeItem, yyrl1) + yyv4623 = make([]LimitRangeItem, yyrl4623) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4623 = true + yyrr4623 = len(yyv4623) + if yyrg4623 { + copy(yyv4623, yyv24623) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4623 != len(yyv4623) { + yyv4623 = yyv4623[:yyl4623] + yyc4623 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4623 := 0 + for ; yyj4623 < yyrr4623; yyj4623++ { + yyh4623.ElemContainerState(yyj4623) if r.TryDecodeAsNil() { - yyv1[yyj1] = LimitRangeItem{} + yyv4623[yyj4623] = LimitRangeItem{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4624 := &yyv4623[yyj4623] + yyv4624.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, LimitRangeItem{}) - yyh1.ElemContainerState(yyj1) + if yyrt4623 { + for ; yyj4623 < yyl4623; yyj4623++ { + yyv4623 = append(yyv4623, LimitRangeItem{}) + yyh4623.ElemContainerState(yyj4623) if r.TryDecodeAsNil() { - yyv1[yyj1] = LimitRangeItem{} + yyv4623[yyj4623] = LimitRangeItem{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4625 := &yyv4623[yyj4623] + yyv4625.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4623 := 0 + for ; !r.CheckBreak(); yyj4623++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, LimitRangeItem{}) // var yyz1 LimitRangeItem - yyc1 = true + if yyj4623 >= len(yyv4623) { + yyv4623 = append(yyv4623, LimitRangeItem{}) // var yyz4623 LimitRangeItem + yyc4623 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4623.ElemContainerState(yyj4623) + if yyj4623 < len(yyv4623) { if r.TryDecodeAsNil() { - yyv1[yyj1] = LimitRangeItem{} + yyv4623[yyj4623] = LimitRangeItem{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4626 := &yyv4623[yyj4623] + yyv4626.CodecDecodeSelf(d) } } else { @@ -59634,17 +59502,17 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []LimitRangeItem{} - yyc1 = true + if yyj4623 < len(yyv4623) { + yyv4623 = yyv4623[:yyj4623] + yyc4623 = true + } else if yyj4623 == 0 && yyv4623 == nil { + yyv4623 = []LimitRangeItem{} + yyc4623 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4623.End() + if yyc4623 { + *v = yyv4623 } } @@ -59653,10 +59521,10 @@ func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4627 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4628 := &yyv4627 + yy4628.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59666,86 +59534,83 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []LimitRange{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4629 := *v + yyh4629, yyl4629 := z.DecSliceHelperStart() + var yyc4629 bool + if yyl4629 == 0 { + if yyv4629 == nil { + yyv4629 = []LimitRange{} + yyc4629 = true + } else if len(yyv4629) != 0 { + yyv4629 = yyv4629[:0] + yyc4629 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4629 > 0 { + var yyrr4629, yyrl4629 int + var yyrt4629 bool + if yyl4629 > cap(yyv4629) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 264) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4629 := len(yyv4629) > 0 + yyv24629 := yyv4629 + yyrl4629, yyrt4629 = z.DecInferLen(yyl4629, z.DecBasicHandle().MaxInitLen, 264) + if yyrt4629 { + if yyrl4629 <= cap(yyv4629) { + yyv4629 = yyv4629[:yyrl4629] } else { - yyv1 = make([]LimitRange, yyrl1) + yyv4629 = make([]LimitRange, yyrl4629) } } else { - yyv1 = make([]LimitRange, yyrl1) + yyv4629 = make([]LimitRange, yyrl4629) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4629 = true + yyrr4629 = len(yyv4629) + if yyrg4629 { + copy(yyv4629, yyv24629) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4629 != len(yyv4629) { + yyv4629 = yyv4629[:yyl4629] + yyc4629 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4629 := 0 + for ; yyj4629 < yyrr4629; yyj4629++ { + yyh4629.ElemContainerState(yyj4629) if r.TryDecodeAsNil() { - yyv1[yyj1] = LimitRange{} + yyv4629[yyj4629] = LimitRange{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4630 := &yyv4629[yyj4629] + yyv4630.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, LimitRange{}) - yyh1.ElemContainerState(yyj1) + if yyrt4629 { + for ; yyj4629 < yyl4629; yyj4629++ { + yyv4629 = append(yyv4629, LimitRange{}) + yyh4629.ElemContainerState(yyj4629) if r.TryDecodeAsNil() { - yyv1[yyj1] = LimitRange{} + yyv4629[yyj4629] = LimitRange{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4631 := &yyv4629[yyj4629] + yyv4631.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4629 := 0 + for ; !r.CheckBreak(); yyj4629++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, LimitRange{}) // var yyz1 LimitRange - yyc1 = true + if yyj4629 >= len(yyv4629) { + yyv4629 = append(yyv4629, LimitRange{}) // var yyz4629 LimitRange + yyc4629 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4629.ElemContainerState(yyj4629) + if yyj4629 < len(yyv4629) { if r.TryDecodeAsNil() { - yyv1[yyj1] = LimitRange{} + yyv4629[yyj4629] = LimitRange{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4632 := &yyv4629[yyj4629] + yyv4632.CodecDecodeSelf(d) } } else { @@ -59753,17 +59618,17 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []LimitRange{} - yyc1 = true + if yyj4629 < len(yyv4629) { + yyv4629 = yyv4629[:yyj4629] + yyc4629 = true + } else if yyj4629 == 0 && yyv4629 == nil { + yyv4629 = []LimitRange{} + yyc4629 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4629.End() + if yyc4629 { + *v = yyv4629 } } @@ -59772,9 +59637,9 @@ func (x codecSelfer1234) encSliceResourceQuotaScope(v []ResourceQuotaScope, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4633 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1.CodecEncodeSelf(e) + yyv4633.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59784,78 +59649,75 @@ func (x codecSelfer1234) decSliceResourceQuotaScope(v *[]ResourceQuotaScope, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ResourceQuotaScope{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4634 := *v + yyh4634, yyl4634 := z.DecSliceHelperStart() + var yyc4634 bool + if yyl4634 == 0 { + if yyv4634 == nil { + yyv4634 = []ResourceQuotaScope{} + yyc4634 = true + } else if len(yyv4634) != 0 { + yyv4634 = yyv4634[:0] + yyc4634 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4634 > 0 { + var yyrr4634, yyrl4634 int + var yyrt4634 bool + if yyl4634 > cap(yyv4634) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl4634, yyrt4634 = z.DecInferLen(yyl4634, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4634 { + if yyrl4634 <= cap(yyv4634) { + yyv4634 = yyv4634[:yyrl4634] } else { - yyv1 = make([]ResourceQuotaScope, yyrl1) + yyv4634 = make([]ResourceQuotaScope, yyrl4634) } } else { - yyv1 = make([]ResourceQuotaScope, yyrl1) + yyv4634 = make([]ResourceQuotaScope, yyrl4634) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc4634 = true + yyrr4634 = len(yyv4634) + } else if yyl4634 != len(yyv4634) { + yyv4634 = yyv4634[:yyl4634] + yyc4634 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4634 := 0 + for ; yyj4634 < yyrr4634; yyj4634++ { + yyh4634.ElemContainerState(yyj4634) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4634[yyj4634] = "" } else { - yyv1[yyj1] = ResourceQuotaScope(r.DecodeString()) + yyv4634[yyj4634] = ResourceQuotaScope(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt4634 { + for ; yyj4634 < yyl4634; yyj4634++ { + yyv4634 = append(yyv4634, "") + yyh4634.ElemContainerState(yyj4634) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4634[yyj4634] = "" } else { - yyv1[yyj1] = ResourceQuotaScope(r.DecodeString()) + yyv4634[yyj4634] = ResourceQuotaScope(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4634 := 0 + for ; !r.CheckBreak(); yyj4634++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 ResourceQuotaScope - yyc1 = true + if yyj4634 >= len(yyv4634) { + yyv4634 = append(yyv4634, "") // var yyz4634 ResourceQuotaScope + yyc4634 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4634.ElemContainerState(yyj4634) + if yyj4634 < len(yyv4634) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv4634[yyj4634] = "" } else { - yyv1[yyj1] = ResourceQuotaScope(r.DecodeString()) + yyv4634[yyj4634] = ResourceQuotaScope(r.DecodeString()) } } else { @@ -59863,17 +59725,17 @@ func (x codecSelfer1234) decSliceResourceQuotaScope(v *[]ResourceQuotaScope, d * } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ResourceQuotaScope{} - yyc1 = true + if yyj4634 < len(yyv4634) { + yyv4634 = yyv4634[:yyj4634] + yyc4634 = true + } else if yyj4634 == 0 && yyv4634 == nil { + yyv4634 = []ResourceQuotaScope{} + yyc4634 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4634.End() + if yyc4634 { + *v = yyv4634 } } @@ -59882,10 +59744,10 @@ func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4638 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4639 := &yyv4638 + yy4639.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59895,86 +59757,83 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ResourceQuota{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4640 := *v + yyh4640, yyl4640 := z.DecSliceHelperStart() + var yyc4640 bool + if yyl4640 == 0 { + if yyv4640 == nil { + yyv4640 = []ResourceQuota{} + yyc4640 = true + } else if len(yyv4640) != 0 { + yyv4640 = yyv4640[:0] + yyc4640 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4640 > 0 { + var yyrr4640, yyrl4640 int + var yyrt4640 bool + if yyl4640 > cap(yyv4640) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 288) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4640 := len(yyv4640) > 0 + yyv24640 := yyv4640 + yyrl4640, yyrt4640 = z.DecInferLen(yyl4640, z.DecBasicHandle().MaxInitLen, 288) + if yyrt4640 { + if yyrl4640 <= cap(yyv4640) { + yyv4640 = yyv4640[:yyrl4640] } else { - yyv1 = make([]ResourceQuota, yyrl1) + yyv4640 = make([]ResourceQuota, yyrl4640) } } else { - yyv1 = make([]ResourceQuota, yyrl1) + yyv4640 = make([]ResourceQuota, yyrl4640) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4640 = true + yyrr4640 = len(yyv4640) + if yyrg4640 { + copy(yyv4640, yyv24640) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4640 != len(yyv4640) { + yyv4640 = yyv4640[:yyl4640] + yyc4640 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4640 := 0 + for ; yyj4640 < yyrr4640; yyj4640++ { + yyh4640.ElemContainerState(yyj4640) if r.TryDecodeAsNil() { - yyv1[yyj1] = ResourceQuota{} + yyv4640[yyj4640] = ResourceQuota{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4641 := &yyv4640[yyj4640] + yyv4641.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ResourceQuota{}) - yyh1.ElemContainerState(yyj1) + if yyrt4640 { + for ; yyj4640 < yyl4640; yyj4640++ { + yyv4640 = append(yyv4640, ResourceQuota{}) + yyh4640.ElemContainerState(yyj4640) if r.TryDecodeAsNil() { - yyv1[yyj1] = ResourceQuota{} + yyv4640[yyj4640] = ResourceQuota{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4642 := &yyv4640[yyj4640] + yyv4642.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4640 := 0 + for ; !r.CheckBreak(); yyj4640++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ResourceQuota{}) // var yyz1 ResourceQuota - yyc1 = true + if yyj4640 >= len(yyv4640) { + yyv4640 = append(yyv4640, ResourceQuota{}) // var yyz4640 ResourceQuota + yyc4640 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4640.ElemContainerState(yyj4640) + if yyj4640 < len(yyv4640) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ResourceQuota{} + yyv4640[yyj4640] = ResourceQuota{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4643 := &yyv4640[yyj4640] + yyv4643.CodecDecodeSelf(d) } } else { @@ -59982,17 +59841,17 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ResourceQuota{} - yyc1 = true + if yyj4640 < len(yyv4640) { + yyv4640 = yyv4640[:yyj4640] + yyc4640 = true + } else if yyj4640 == 0 && yyv4640 == nil { + yyv4640 = []ResourceQuota{} + yyc4640 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4640.End() + if yyc4640 { + *v = yyv4640 } } @@ -60001,23 +59860,23 @@ func (x codecSelfer1234) encMapstringSliceuint8(v map[string][]uint8, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk1, yyv1 := range v { + for yyk4644, yyv4644 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym2 := z.EncBinary() - _ = yym2 + yym4645 := z.EncBinary() + _ = yym4645 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk1)) + r.EncodeString(codecSelferC_UTF81234, string(yyk4644)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv1 == nil { + if yyv4644 == nil { r.EncodeNil() } else { - yym3 := z.EncBinary() - _ = yym3 + yym4646 := z.EncBinary() + _ = yym4646 if false { } else { - r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv1)) + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv4644)) } } } @@ -60029,210 +59888,95 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyl1 := r.ReadMapStart() - yybh1 := z.DecBasicHandle() - if yyv1 == nil { - yyrl1, _ := z.DecInferLen(yyl1, yybh1.MaxInitLen, 40) - yyv1 = make(map[string][]uint8, yyrl1) - *v = yyv1 + yyv4647 := *v + yyl4647 := r.ReadMapStart() + yybh4647 := z.DecBasicHandle() + if yyv4647 == nil { + yyrl4647, _ := z.DecInferLen(yyl4647, yybh4647.MaxInitLen, 40) + yyv4647 = make(map[string][]uint8, yyrl4647) + *v = yyv4647 } - var yymk1 string - var yymv1 []uint8 - var yymg1 bool - if yybh1.MapValueReset { - yymg1 = true + var yymk4647 string + var yymv4647 []uint8 + var yymg4647 bool + if yybh4647.MapValueReset { + yymg4647 = true } - if yyl1 > 0 { - for yyj1 := 0; yyj1 < yyl1; yyj1++ { + if yyl4647 > 0 { + for yyj4647 := 0; yyj4647 < yyl4647; yyj4647++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk4647 = "" } else { - yymk1 = string(r.DecodeString()) + yymk4647 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg4647 { + yymv4647 = yyv4647[yymk4647] } else { - yymv1 = nil + yymv4647 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = nil + yymv4647 = nil } else { - yyv3 := &yymv1 - yym4 := z.DecBinary() - _ = yym4 + yyv4649 := &yymv4647 + yym4650 := z.DecBinary() + _ = yym4650 if false { } else { - *yyv3 = r.DecodeBytes(*(*[]byte)(yyv3), false, false) + *yyv4649 = r.DecodeBytes(*(*[]byte)(yyv4649), false, false) } } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv4647 != nil { + yyv4647[yymk4647] = yymv4647 } } - } else if yyl1 < 0 { - for yyj1 := 0; !r.CheckBreak(); yyj1++ { + } else if yyl4647 < 0 { + for yyj4647 := 0; !r.CheckBreak(); yyj4647++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk4647 = "" } else { - yymk1 = string(r.DecodeString()) + yymk4647 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg4647 { + yymv4647 = yyv4647[yymk4647] } else { - yymv1 = nil + yymv4647 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = nil + yymv4647 = nil } else { - yyv6 := &yymv1 - yym7 := z.DecBinary() - _ = yym7 + yyv4652 := &yymv4647 + yym4653 := z.DecBinary() + _ = yym4653 if false { } else { - *yyv6 = r.DecodeBytes(*(*[]byte)(yyv6), false, false) + *yyv4652 = r.DecodeBytes(*(*[]byte)(yyv4652), false, false) } } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv4647 != nil { + yyv4647[yymk4647] = yymv4647 } } } // else len==0: TODO: Should we clear map entries? z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x codecSelfer1234) encSliceuint8(v []uint8, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2 := z.EncBinary() - _ = yym2 - if false { - } else { - r.EncodeUint(uint64(yyv1)) - } - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceuint8(v *[]uint8, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []uint8{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true - } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { - - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 1) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] - } else { - yyv1 = make([]uint8, yyrl1) - } - } else { - yyv1 = make([]uint8, yyrl1) - } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true - } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) - if r.TryDecodeAsNil() { - yyv1[yyj1] = 0 - } else { - yyv1[yyj1] = uint8(r.DecodeUint(8)) - } - - } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, 0) - yyh1.ElemContainerState(yyj1) - if r.TryDecodeAsNil() { - yyv1[yyj1] = 0 - } else { - yyv1[yyj1] = uint8(r.DecodeUint(8)) - } - - } - } - - } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { - - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, 0) // var yyz1 uint8 - yyc1 = true - } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { - if r.TryDecodeAsNil() { - yyv1[yyj1] = 0 - } else { - yyv1[yyj1] = uint8(r.DecodeUint(8)) - } - - } else { - z.DecSwallow() - } - - } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []uint8{} - yyc1 = true - } - } - yyh1.End() - if yyc1 { - *v = yyv1 - } -} - 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 _, yyv1 := range v { + for _, yyv4654 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4655 := &yyv4654 + yy4655.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60242,86 +59986,83 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Secret{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4656 := *v + yyh4656, yyl4656 := z.DecSliceHelperStart() + var yyc4656 bool + if yyl4656 == 0 { + if yyv4656 == nil { + yyv4656 = []Secret{} + yyc4656 = true + } else if len(yyv4656) != 0 { + yyv4656 = yyv4656[:0] + yyc4656 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4656 > 0 { + var yyrr4656, yyrl4656 int + var yyrt4656 bool + if yyl4656 > cap(yyv4656) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 272) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4656 := len(yyv4656) > 0 + yyv24656 := yyv4656 + yyrl4656, yyrt4656 = z.DecInferLen(yyl4656, z.DecBasicHandle().MaxInitLen, 272) + if yyrt4656 { + if yyrl4656 <= cap(yyv4656) { + yyv4656 = yyv4656[:yyrl4656] } else { - yyv1 = make([]Secret, yyrl1) + yyv4656 = make([]Secret, yyrl4656) } } else { - yyv1 = make([]Secret, yyrl1) + yyv4656 = make([]Secret, yyrl4656) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4656 = true + yyrr4656 = len(yyv4656) + if yyrg4656 { + copy(yyv4656, yyv24656) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4656 != len(yyv4656) { + yyv4656 = yyv4656[:yyl4656] + yyc4656 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4656 := 0 + for ; yyj4656 < yyrr4656; yyj4656++ { + yyh4656.ElemContainerState(yyj4656) if r.TryDecodeAsNil() { - yyv1[yyj1] = Secret{} + yyv4656[yyj4656] = Secret{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4657 := &yyv4656[yyj4656] + yyv4657.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Secret{}) - yyh1.ElemContainerState(yyj1) + if yyrt4656 { + for ; yyj4656 < yyl4656; yyj4656++ { + yyv4656 = append(yyv4656, Secret{}) + yyh4656.ElemContainerState(yyj4656) if r.TryDecodeAsNil() { - yyv1[yyj1] = Secret{} + yyv4656[yyj4656] = Secret{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4658 := &yyv4656[yyj4656] + yyv4658.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4656 := 0 + for ; !r.CheckBreak(); yyj4656++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Secret{}) // var yyz1 Secret - yyc1 = true + if yyj4656 >= len(yyv4656) { + yyv4656 = append(yyv4656, Secret{}) // var yyz4656 Secret + yyc4656 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4656.ElemContainerState(yyj4656) + if yyj4656 < len(yyv4656) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Secret{} + yyv4656[yyj4656] = Secret{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4659 := &yyv4656[yyj4656] + yyv4659.CodecDecodeSelf(d) } } else { @@ -60329,17 +60070,17 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Secret{} - yyc1 = true + if yyj4656 < len(yyv4656) { + yyv4656 = yyv4656[:yyj4656] + yyc4656 = true + } else if yyj4656 == 0 && yyv4656 == nil { + yyv4656 = []Secret{} + yyc4656 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4656.End() + if yyc4656 { + *v = yyv4656 } } @@ -60348,10 +60089,10 @@ func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4660 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4661 := &yyv4660 + yy4661.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60361,86 +60102,83 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ConfigMap{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4662 := *v + yyh4662, yyl4662 := z.DecSliceHelperStart() + var yyc4662 bool + if yyl4662 == 0 { + if yyv4662 == nil { + yyv4662 = []ConfigMap{} + yyc4662 = true + } else if len(yyv4662) != 0 { + yyv4662 = yyv4662[:0] + yyc4662 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4662 > 0 { + var yyrr4662, yyrl4662 int + var yyrt4662 bool + if yyl4662 > cap(yyv4662) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 248) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4662 := len(yyv4662) > 0 + yyv24662 := yyv4662 + yyrl4662, yyrt4662 = z.DecInferLen(yyl4662, z.DecBasicHandle().MaxInitLen, 248) + if yyrt4662 { + if yyrl4662 <= cap(yyv4662) { + yyv4662 = yyv4662[:yyrl4662] } else { - yyv1 = make([]ConfigMap, yyrl1) + yyv4662 = make([]ConfigMap, yyrl4662) } } else { - yyv1 = make([]ConfigMap, yyrl1) + yyv4662 = make([]ConfigMap, yyrl4662) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4662 = true + yyrr4662 = len(yyv4662) + if yyrg4662 { + copy(yyv4662, yyv24662) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4662 != len(yyv4662) { + yyv4662 = yyv4662[:yyl4662] + yyc4662 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4662 := 0 + for ; yyj4662 < yyrr4662; yyj4662++ { + yyh4662.ElemContainerState(yyj4662) if r.TryDecodeAsNil() { - yyv1[yyj1] = ConfigMap{} + yyv4662[yyj4662] = ConfigMap{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4663 := &yyv4662[yyj4662] + yyv4663.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ConfigMap{}) - yyh1.ElemContainerState(yyj1) + if yyrt4662 { + for ; yyj4662 < yyl4662; yyj4662++ { + yyv4662 = append(yyv4662, ConfigMap{}) + yyh4662.ElemContainerState(yyj4662) if r.TryDecodeAsNil() { - yyv1[yyj1] = ConfigMap{} + yyv4662[yyj4662] = ConfigMap{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4664 := &yyv4662[yyj4662] + yyv4664.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4662 := 0 + for ; !r.CheckBreak(); yyj4662++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ConfigMap{}) // var yyz1 ConfigMap - yyc1 = true + if yyj4662 >= len(yyv4662) { + yyv4662 = append(yyv4662, ConfigMap{}) // var yyz4662 ConfigMap + yyc4662 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4662.ElemContainerState(yyj4662) + if yyj4662 < len(yyv4662) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ConfigMap{} + yyv4662[yyj4662] = ConfigMap{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4665 := &yyv4662[yyj4662] + yyv4665.CodecDecodeSelf(d) } } else { @@ -60448,17 +60186,17 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ConfigMap{} - yyc1 = true + if yyj4662 < len(yyv4662) { + yyv4662 = yyv4662[:yyj4662] + yyc4662 = true + } else if yyj4662 == 0 && yyv4662 == nil { + yyv4662 = []ConfigMap{} + yyc4662 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4662.End() + if yyc4662 { + *v = yyv4662 } } @@ -60467,10 +60205,10 @@ func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4666 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4667 := &yyv4666 + yy4667.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60480,86 +60218,83 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ComponentCondition{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4668 := *v + yyh4668, yyl4668 := z.DecSliceHelperStart() + var yyc4668 bool + if yyl4668 == 0 { + if yyv4668 == nil { + yyv4668 = []ComponentCondition{} + yyc4668 = true + } else if len(yyv4668) != 0 { + yyv4668 = yyv4668[:0] + yyc4668 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4668 > 0 { + var yyrr4668, yyrl4668 int + var yyrt4668 bool + if yyl4668 > cap(yyv4668) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4668 := len(yyv4668) > 0 + yyv24668 := yyv4668 + yyrl4668, yyrt4668 = z.DecInferLen(yyl4668, z.DecBasicHandle().MaxInitLen, 64) + if yyrt4668 { + if yyrl4668 <= cap(yyv4668) { + yyv4668 = yyv4668[:yyrl4668] } else { - yyv1 = make([]ComponentCondition, yyrl1) + yyv4668 = make([]ComponentCondition, yyrl4668) } } else { - yyv1 = make([]ComponentCondition, yyrl1) + yyv4668 = make([]ComponentCondition, yyrl4668) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4668 = true + yyrr4668 = len(yyv4668) + if yyrg4668 { + copy(yyv4668, yyv24668) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4668 != len(yyv4668) { + yyv4668 = yyv4668[:yyl4668] + yyc4668 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4668 := 0 + for ; yyj4668 < yyrr4668; yyj4668++ { + yyh4668.ElemContainerState(yyj4668) if r.TryDecodeAsNil() { - yyv1[yyj1] = ComponentCondition{} + yyv4668[yyj4668] = ComponentCondition{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4669 := &yyv4668[yyj4668] + yyv4669.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ComponentCondition{}) - yyh1.ElemContainerState(yyj1) + if yyrt4668 { + for ; yyj4668 < yyl4668; yyj4668++ { + yyv4668 = append(yyv4668, ComponentCondition{}) + yyh4668.ElemContainerState(yyj4668) if r.TryDecodeAsNil() { - yyv1[yyj1] = ComponentCondition{} + yyv4668[yyj4668] = ComponentCondition{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4670 := &yyv4668[yyj4668] + yyv4670.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4668 := 0 + for ; !r.CheckBreak(); yyj4668++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ComponentCondition{}) // var yyz1 ComponentCondition - yyc1 = true + if yyj4668 >= len(yyv4668) { + yyv4668 = append(yyv4668, ComponentCondition{}) // var yyz4668 ComponentCondition + yyc4668 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4668.ElemContainerState(yyj4668) + if yyj4668 < len(yyv4668) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ComponentCondition{} + yyv4668[yyj4668] = ComponentCondition{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4671 := &yyv4668[yyj4668] + yyv4671.CodecDecodeSelf(d) } } else { @@ -60567,17 +60302,17 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ComponentCondition{} - yyc1 = true + if yyj4668 < len(yyv4668) { + yyv4668 = yyv4668[:yyj4668] + yyc4668 = true + } else if yyj4668 == 0 && yyv4668 == nil { + yyv4668 = []ComponentCondition{} + yyc4668 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4668.End() + if yyc4668 { + *v = yyv4668 } } @@ -60586,10 +60321,10 @@ func (x codecSelfer1234) encSliceComponentStatus(v []ComponentStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4672 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4673 := &yyv4672 + yy4673.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60599,86 +60334,83 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ComponentStatus{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4674 := *v + yyh4674, yyl4674 := z.DecSliceHelperStart() + var yyc4674 bool + if yyl4674 == 0 { + if yyv4674 == nil { + yyv4674 = []ComponentStatus{} + yyc4674 = true + } else if len(yyv4674) != 0 { + yyv4674 = yyv4674[:0] + yyc4674 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4674 > 0 { + var yyrr4674, yyrl4674 int + var yyrt4674 bool + if yyl4674 > cap(yyv4674) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 264) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4674 := len(yyv4674) > 0 + yyv24674 := yyv4674 + yyrl4674, yyrt4674 = z.DecInferLen(yyl4674, z.DecBasicHandle().MaxInitLen, 264) + if yyrt4674 { + if yyrl4674 <= cap(yyv4674) { + yyv4674 = yyv4674[:yyrl4674] } else { - yyv1 = make([]ComponentStatus, yyrl1) + yyv4674 = make([]ComponentStatus, yyrl4674) } } else { - yyv1 = make([]ComponentStatus, yyrl1) + yyv4674 = make([]ComponentStatus, yyrl4674) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4674 = true + yyrr4674 = len(yyv4674) + if yyrg4674 { + copy(yyv4674, yyv24674) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4674 != len(yyv4674) { + yyv4674 = yyv4674[:yyl4674] + yyc4674 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4674 := 0 + for ; yyj4674 < yyrr4674; yyj4674++ { + yyh4674.ElemContainerState(yyj4674) if r.TryDecodeAsNil() { - yyv1[yyj1] = ComponentStatus{} + yyv4674[yyj4674] = ComponentStatus{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4675 := &yyv4674[yyj4674] + yyv4675.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ComponentStatus{}) - yyh1.ElemContainerState(yyj1) + if yyrt4674 { + for ; yyj4674 < yyl4674; yyj4674++ { + yyv4674 = append(yyv4674, ComponentStatus{}) + yyh4674.ElemContainerState(yyj4674) if r.TryDecodeAsNil() { - yyv1[yyj1] = ComponentStatus{} + yyv4674[yyj4674] = ComponentStatus{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4676 := &yyv4674[yyj4674] + yyv4676.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4674 := 0 + for ; !r.CheckBreak(); yyj4674++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ComponentStatus{}) // var yyz1 ComponentStatus - yyc1 = true + if yyj4674 >= len(yyv4674) { + yyv4674 = append(yyv4674, ComponentStatus{}) // var yyz4674 ComponentStatus + yyc4674 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4674.ElemContainerState(yyj4674) + if yyj4674 < len(yyv4674) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ComponentStatus{} + yyv4674[yyj4674] = ComponentStatus{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4677 := &yyv4674[yyj4674] + yyv4677.CodecDecodeSelf(d) } } else { @@ -60686,17 +60418,17 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ComponentStatus{} - yyc1 = true + if yyj4674 < len(yyv4674) { + yyv4674 = yyv4674[:yyj4674] + yyc4674 = true + } else if yyj4674 == 0 && yyv4674 == nil { + yyv4674 = []ComponentStatus{} + yyc4674 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4674.End() + if yyc4674 { + *v = yyv4674 } } @@ -60705,10 +60437,10 @@ func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv4678 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy4679 := &yyv4678 + yy4679.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60718,86 +60450,83 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []DownwardAPIVolumeFile{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv4680 := *v + yyh4680, yyl4680 := z.DecSliceHelperStart() + var yyc4680 bool + if yyl4680 == 0 { + if yyv4680 == nil { + yyv4680 = []DownwardAPIVolumeFile{} + yyc4680 = true + } else if len(yyv4680) != 0 { + yyv4680 = yyv4680[:0] + yyc4680 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl4680 > 0 { + var yyrr4680, yyrl4680 int + var yyrt4680 bool + if yyl4680 > cap(yyv4680) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg4680 := len(yyv4680) > 0 + yyv24680 := yyv4680 + yyrl4680, yyrt4680 = z.DecInferLen(yyl4680, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4680 { + if yyrl4680 <= cap(yyv4680) { + yyv4680 = yyv4680[:yyrl4680] } else { - yyv1 = make([]DownwardAPIVolumeFile, yyrl1) + yyv4680 = make([]DownwardAPIVolumeFile, yyrl4680) } } else { - yyv1 = make([]DownwardAPIVolumeFile, yyrl1) + yyv4680 = make([]DownwardAPIVolumeFile, yyrl4680) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc4680 = true + yyrr4680 = len(yyv4680) + if yyrg4680 { + copy(yyv4680, yyv24680) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl4680 != len(yyv4680) { + yyv4680 = yyv4680[:yyl4680] + yyc4680 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj4680 := 0 + for ; yyj4680 < yyrr4680; yyj4680++ { + yyh4680.ElemContainerState(yyj4680) if r.TryDecodeAsNil() { - yyv1[yyj1] = DownwardAPIVolumeFile{} + yyv4680[yyj4680] = DownwardAPIVolumeFile{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv4681 := &yyv4680[yyj4680] + yyv4681.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, DownwardAPIVolumeFile{}) - yyh1.ElemContainerState(yyj1) + if yyrt4680 { + for ; yyj4680 < yyl4680; yyj4680++ { + yyv4680 = append(yyv4680, DownwardAPIVolumeFile{}) + yyh4680.ElemContainerState(yyj4680) if r.TryDecodeAsNil() { - yyv1[yyj1] = DownwardAPIVolumeFile{} + yyv4680[yyj4680] = DownwardAPIVolumeFile{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv4682 := &yyv4680[yyj4680] + yyv4682.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj4680 := 0 + for ; !r.CheckBreak(); yyj4680++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, DownwardAPIVolumeFile{}) // var yyz1 DownwardAPIVolumeFile - yyc1 = true + if yyj4680 >= len(yyv4680) { + yyv4680 = append(yyv4680, DownwardAPIVolumeFile{}) // var yyz4680 DownwardAPIVolumeFile + yyc4680 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh4680.ElemContainerState(yyj4680) + if yyj4680 < len(yyv4680) { if r.TryDecodeAsNil() { - yyv1[yyj1] = DownwardAPIVolumeFile{} + yyv4680[yyj4680] = DownwardAPIVolumeFile{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv4683 := &yyv4680[yyj4680] + yyv4683.CodecDecodeSelf(d) } } else { @@ -60805,16 +60534,16 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []DownwardAPIVolumeFile{} - yyc1 = true + if yyj4680 < len(yyv4680) { + yyv4680 = yyv4680[:yyj4680] + yyc4680 = true + } else if yyj4680 == 0 && yyv4680 == nil { + yyv4680 = []DownwardAPIVolumeFile{} + yyc4680 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh4680.End() + if yyc4680 { + *v = yyv4680 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/v1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/api/v1/zz_generated.conversion.go index 7d610c1e1da..4303982f2fa 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/api/v1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/v1/zz_generated.conversion.go @@ -29,7 +29,13 @@ import ( ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStoreVolumeSource, Convert_api_AWSElasticBlockStoreVolumeSource_To_v1_AWSElasticBlockStoreVolumeSource, Convert_v1_Affinity_To_api_Affinity, @@ -334,10 +340,7 @@ func init() { Convert_api_VsphereVirtualDiskVolumeSource_To_v1_VsphereVirtualDiskVolumeSource, Convert_v1_WeightedPodAffinityTerm_To_api_WeightedPodAffinityTerm, Convert_api_WeightedPodAffinityTerm_To_v1_WeightedPodAffinityTerm, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1_AWSElasticBlockStoreVolumeSource_To_api_AWSElasticBlockStoreVolumeSource(in *AWSElasticBlockStoreVolumeSource, out *api.AWSElasticBlockStoreVolumeSource, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/api/v1/zz_generated.deepcopy.go index 5229345133e..5f5c1471884 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/api/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/v1/zz_generated.deepcopy.go @@ -21,7 +21,6 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.4/pkg/api" unversioned "k8s.io/client-go/1.4/pkg/api/unversioned" conversion "k8s.io/client-go/1.4/pkg/conversion" runtime "k8s.io/client-go/1.4/pkg/runtime" @@ -30,163 +29,166 @@ import ( ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_AWSElasticBlockStoreVolumeSource, InType: reflect.TypeOf(func() *AWSElasticBlockStoreVolumeSource { var x *AWSElasticBlockStoreVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Affinity, InType: reflect.TypeOf(func() *Affinity { var x *Affinity; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_AttachedVolume, InType: reflect.TypeOf(func() *AttachedVolume { var x *AttachedVolume; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_AvoidPods, InType: reflect.TypeOf(func() *AvoidPods { var x *AvoidPods; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_AzureFileVolumeSource, InType: reflect.TypeOf(func() *AzureFileVolumeSource { var x *AzureFileVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Binding, InType: reflect.TypeOf(func() *Binding { var x *Binding; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Capabilities, InType: reflect.TypeOf(func() *Capabilities { var x *Capabilities; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_CephFSVolumeSource, InType: reflect.TypeOf(func() *CephFSVolumeSource { var x *CephFSVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_CinderVolumeSource, InType: reflect.TypeOf(func() *CinderVolumeSource { var x *CinderVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ComponentCondition, InType: reflect.TypeOf(func() *ComponentCondition { var x *ComponentCondition; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ComponentStatus, InType: reflect.TypeOf(func() *ComponentStatus { var x *ComponentStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ComponentStatusList, InType: reflect.TypeOf(func() *ComponentStatusList { var x *ComponentStatusList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMap, InType: reflect.TypeOf(func() *ConfigMap { var x *ConfigMap; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMapKeySelector, InType: reflect.TypeOf(func() *ConfigMapKeySelector { var x *ConfigMapKeySelector; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMapList, InType: reflect.TypeOf(func() *ConfigMapList { var x *ConfigMapList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMapVolumeSource, InType: reflect.TypeOf(func() *ConfigMapVolumeSource { var x *ConfigMapVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Container, InType: reflect.TypeOf(func() *Container { var x *Container; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerImage, InType: reflect.TypeOf(func() *ContainerImage { var x *ContainerImage; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerPort, InType: reflect.TypeOf(func() *ContainerPort { var x *ContainerPort; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerState, InType: reflect.TypeOf(func() *ContainerState { var x *ContainerState; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerStateRunning, InType: reflect.TypeOf(func() *ContainerStateRunning { var x *ContainerStateRunning; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerStateTerminated, InType: reflect.TypeOf(func() *ContainerStateTerminated { var x *ContainerStateTerminated; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerStateWaiting, InType: reflect.TypeOf(func() *ContainerStateWaiting { var x *ContainerStateWaiting; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerStatus, InType: reflect.TypeOf(func() *ContainerStatus { var x *ContainerStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_DaemonEndpoint, InType: reflect.TypeOf(func() *DaemonEndpoint { var x *DaemonEndpoint; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_DeleteOptions, InType: reflect.TypeOf(func() *DeleteOptions { var x *DeleteOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_DownwardAPIVolumeFile, InType: reflect.TypeOf(func() *DownwardAPIVolumeFile { var x *DownwardAPIVolumeFile; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_DownwardAPIVolumeSource, InType: reflect.TypeOf(func() *DownwardAPIVolumeSource { var x *DownwardAPIVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EmptyDirVolumeSource, InType: reflect.TypeOf(func() *EmptyDirVolumeSource { var x *EmptyDirVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EndpointAddress, InType: reflect.TypeOf(func() *EndpointAddress { var x *EndpointAddress; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EndpointPort, InType: reflect.TypeOf(func() *EndpointPort { var x *EndpointPort; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EndpointSubset, InType: reflect.TypeOf(func() *EndpointSubset { var x *EndpointSubset; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Endpoints, InType: reflect.TypeOf(func() *Endpoints { var x *Endpoints; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EndpointsList, InType: reflect.TypeOf(func() *EndpointsList { var x *EndpointsList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EnvVar, InType: reflect.TypeOf(func() *EnvVar { var x *EnvVar; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EnvVarSource, InType: reflect.TypeOf(func() *EnvVarSource { var x *EnvVarSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Event, InType: reflect.TypeOf(func() *Event { var x *Event; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EventList, InType: reflect.TypeOf(func() *EventList { var x *EventList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EventSource, InType: reflect.TypeOf(func() *EventSource { var x *EventSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ExecAction, InType: reflect.TypeOf(func() *ExecAction { var x *ExecAction; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ExportOptions, InType: reflect.TypeOf(func() *ExportOptions { var x *ExportOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_FCVolumeSource, InType: reflect.TypeOf(func() *FCVolumeSource { var x *FCVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_FlexVolumeSource, InType: reflect.TypeOf(func() *FlexVolumeSource { var x *FlexVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_FlockerVolumeSource, InType: reflect.TypeOf(func() *FlockerVolumeSource { var x *FlockerVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_GCEPersistentDiskVolumeSource, InType: reflect.TypeOf(func() *GCEPersistentDiskVolumeSource { var x *GCEPersistentDiskVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_GitRepoVolumeSource, InType: reflect.TypeOf(func() *GitRepoVolumeSource { var x *GitRepoVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_GlusterfsVolumeSource, InType: reflect.TypeOf(func() *GlusterfsVolumeSource { var x *GlusterfsVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HTTPGetAction, InType: reflect.TypeOf(func() *HTTPGetAction { var x *HTTPGetAction; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HTTPHeader, InType: reflect.TypeOf(func() *HTTPHeader { var x *HTTPHeader; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Handler, InType: reflect.TypeOf(func() *Handler { var x *Handler; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HostPathVolumeSource, InType: reflect.TypeOf(func() *HostPathVolumeSource { var x *HostPathVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ISCSIVolumeSource, InType: reflect.TypeOf(func() *ISCSIVolumeSource { var x *ISCSIVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_KeyToPath, InType: reflect.TypeOf(func() *KeyToPath { var x *KeyToPath; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Lifecycle, InType: reflect.TypeOf(func() *Lifecycle { var x *Lifecycle; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LimitRange, InType: reflect.TypeOf(func() *LimitRange { var x *LimitRange; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LimitRangeItem, InType: reflect.TypeOf(func() *LimitRangeItem { var x *LimitRangeItem; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LimitRangeList, InType: reflect.TypeOf(func() *LimitRangeList { var x *LimitRangeList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LimitRangeSpec, InType: reflect.TypeOf(func() *LimitRangeSpec { var x *LimitRangeSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_List, InType: reflect.TypeOf(func() *List { var x *List; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ListOptions, InType: reflect.TypeOf(func() *ListOptions { var x *ListOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LoadBalancerIngress, InType: reflect.TypeOf(func() *LoadBalancerIngress { var x *LoadBalancerIngress; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LoadBalancerStatus, InType: reflect.TypeOf(func() *LoadBalancerStatus { var x *LoadBalancerStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LocalObjectReference, InType: reflect.TypeOf(func() *LocalObjectReference { var x *LocalObjectReference; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NFSVolumeSource, InType: reflect.TypeOf(func() *NFSVolumeSource { var x *NFSVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Namespace, InType: reflect.TypeOf(func() *Namespace { var x *Namespace; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NamespaceList, InType: reflect.TypeOf(func() *NamespaceList { var x *NamespaceList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NamespaceSpec, InType: reflect.TypeOf(func() *NamespaceSpec { var x *NamespaceSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NamespaceStatus, InType: reflect.TypeOf(func() *NamespaceStatus { var x *NamespaceStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Node, InType: reflect.TypeOf(func() *Node { var x *Node; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeAddress, InType: reflect.TypeOf(func() *NodeAddress { var x *NodeAddress; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeAffinity, InType: reflect.TypeOf(func() *NodeAffinity { var x *NodeAffinity; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeCondition, InType: reflect.TypeOf(func() *NodeCondition { var x *NodeCondition; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeDaemonEndpoints, InType: reflect.TypeOf(func() *NodeDaemonEndpoints { var x *NodeDaemonEndpoints; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeList, InType: reflect.TypeOf(func() *NodeList { var x *NodeList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeProxyOptions, InType: reflect.TypeOf(func() *NodeProxyOptions { var x *NodeProxyOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeSelector, InType: reflect.TypeOf(func() *NodeSelector { var x *NodeSelector; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeSelectorRequirement, InType: reflect.TypeOf(func() *NodeSelectorRequirement { var x *NodeSelectorRequirement; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeSelectorTerm, InType: reflect.TypeOf(func() *NodeSelectorTerm { var x *NodeSelectorTerm; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeSpec, InType: reflect.TypeOf(func() *NodeSpec { var x *NodeSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeStatus, InType: reflect.TypeOf(func() *NodeStatus { var x *NodeStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeSystemInfo, InType: reflect.TypeOf(func() *NodeSystemInfo { var x *NodeSystemInfo; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ObjectFieldSelector, InType: reflect.TypeOf(func() *ObjectFieldSelector { var x *ObjectFieldSelector; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ObjectMeta, InType: reflect.TypeOf(func() *ObjectMeta { var x *ObjectMeta; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ObjectReference, InType: reflect.TypeOf(func() *ObjectReference { var x *ObjectReference; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_OwnerReference, InType: reflect.TypeOf(func() *OwnerReference { var x *OwnerReference; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolume, InType: reflect.TypeOf(func() *PersistentVolume { var x *PersistentVolume; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeClaim, InType: reflect.TypeOf(func() *PersistentVolumeClaim { var x *PersistentVolumeClaim; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeClaimList, InType: reflect.TypeOf(func() *PersistentVolumeClaimList { var x *PersistentVolumeClaimList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeClaimSpec, InType: reflect.TypeOf(func() *PersistentVolumeClaimSpec { var x *PersistentVolumeClaimSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeClaimStatus, InType: reflect.TypeOf(func() *PersistentVolumeClaimStatus { var x *PersistentVolumeClaimStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeClaimVolumeSource, InType: reflect.TypeOf(func() *PersistentVolumeClaimVolumeSource { var x *PersistentVolumeClaimVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeList, InType: reflect.TypeOf(func() *PersistentVolumeList { var x *PersistentVolumeList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeSource, InType: reflect.TypeOf(func() *PersistentVolumeSource { var x *PersistentVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeSpec, InType: reflect.TypeOf(func() *PersistentVolumeSpec { var x *PersistentVolumeSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeStatus, InType: reflect.TypeOf(func() *PersistentVolumeStatus { var x *PersistentVolumeStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Pod, InType: reflect.TypeOf(func() *Pod { var x *Pod; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodAffinity, InType: reflect.TypeOf(func() *PodAffinity { var x *PodAffinity; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodAffinityTerm, InType: reflect.TypeOf(func() *PodAffinityTerm { var x *PodAffinityTerm; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodAntiAffinity, InType: reflect.TypeOf(func() *PodAntiAffinity { var x *PodAntiAffinity; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodAttachOptions, InType: reflect.TypeOf(func() *PodAttachOptions { var x *PodAttachOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodCondition, InType: reflect.TypeOf(func() *PodCondition { var x *PodCondition; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodExecOptions, InType: reflect.TypeOf(func() *PodExecOptions { var x *PodExecOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodList, InType: reflect.TypeOf(func() *PodList { var x *PodList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodLogOptions, InType: reflect.TypeOf(func() *PodLogOptions { var x *PodLogOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodProxyOptions, InType: reflect.TypeOf(func() *PodProxyOptions { var x *PodProxyOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodSecurityContext, InType: reflect.TypeOf(func() *PodSecurityContext { var x *PodSecurityContext; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodSignature, InType: reflect.TypeOf(func() *PodSignature { var x *PodSignature; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodSpec, InType: reflect.TypeOf(func() *PodSpec { var x *PodSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodStatus, InType: reflect.TypeOf(func() *PodStatus { var x *PodStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodStatusResult, InType: reflect.TypeOf(func() *PodStatusResult { var x *PodStatusResult; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodTemplate, InType: reflect.TypeOf(func() *PodTemplate { var x *PodTemplate; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodTemplateList, InType: reflect.TypeOf(func() *PodTemplateList { var x *PodTemplateList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodTemplateSpec, InType: reflect.TypeOf(func() *PodTemplateSpec { var x *PodTemplateSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Preconditions, InType: reflect.TypeOf(func() *Preconditions { var x *Preconditions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PreferAvoidPodsEntry, InType: reflect.TypeOf(func() *PreferAvoidPodsEntry { var x *PreferAvoidPodsEntry; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PreferredSchedulingTerm, InType: reflect.TypeOf(func() *PreferredSchedulingTerm { var x *PreferredSchedulingTerm; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Probe, InType: reflect.TypeOf(func() *Probe { var x *Probe; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_RBDVolumeSource, InType: reflect.TypeOf(func() *RBDVolumeSource { var x *RBDVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_RangeAllocation, InType: reflect.TypeOf(func() *RangeAllocation { var x *RangeAllocation; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationController, InType: reflect.TypeOf(func() *ReplicationController { var x *ReplicationController; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationControllerList, InType: reflect.TypeOf(func() *ReplicationControllerList { var x *ReplicationControllerList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationControllerSpec, InType: reflect.TypeOf(func() *ReplicationControllerSpec { var x *ReplicationControllerSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationControllerStatus, InType: reflect.TypeOf(func() *ReplicationControllerStatus { var x *ReplicationControllerStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceFieldSelector, InType: reflect.TypeOf(func() *ResourceFieldSelector { var x *ResourceFieldSelector; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceQuota, InType: reflect.TypeOf(func() *ResourceQuota { var x *ResourceQuota; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceQuotaList, InType: reflect.TypeOf(func() *ResourceQuotaList { var x *ResourceQuotaList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceQuotaSpec, InType: reflect.TypeOf(func() *ResourceQuotaSpec { var x *ResourceQuotaSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceQuotaStatus, InType: reflect.TypeOf(func() *ResourceQuotaStatus { var x *ResourceQuotaStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceRequirements, InType: reflect.TypeOf(func() *ResourceRequirements { var x *ResourceRequirements; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SELinuxOptions, InType: reflect.TypeOf(func() *SELinuxOptions { var x *SELinuxOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Secret, InType: reflect.TypeOf(func() *Secret { var x *Secret; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SecretKeySelector, InType: reflect.TypeOf(func() *SecretKeySelector { var x *SecretKeySelector; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SecretList, InType: reflect.TypeOf(func() *SecretList { var x *SecretList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SecretVolumeSource, InType: reflect.TypeOf(func() *SecretVolumeSource { var x *SecretVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SecurityContext, InType: reflect.TypeOf(func() *SecurityContext { var x *SecurityContext; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SerializedReference, InType: reflect.TypeOf(func() *SerializedReference { var x *SerializedReference; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Service, InType: reflect.TypeOf(func() *Service { var x *Service; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceAccount, InType: reflect.TypeOf(func() *ServiceAccount { var x *ServiceAccount; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceAccountList, InType: reflect.TypeOf(func() *ServiceAccountList { var x *ServiceAccountList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceList, InType: reflect.TypeOf(func() *ServiceList { var x *ServiceList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServicePort, InType: reflect.TypeOf(func() *ServicePort { var x *ServicePort; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceProxyOptions, InType: reflect.TypeOf(func() *ServiceProxyOptions { var x *ServiceProxyOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceSpec, InType: reflect.TypeOf(func() *ServiceSpec { var x *ServiceSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceStatus, InType: reflect.TypeOf(func() *ServiceStatus { var x *ServiceStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_TCPSocketAction, InType: reflect.TypeOf(func() *TCPSocketAction { var x *TCPSocketAction; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Taint, InType: reflect.TypeOf(func() *Taint { var x *Taint; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Toleration, InType: reflect.TypeOf(func() *Toleration { var x *Toleration; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Volume, InType: reflect.TypeOf(func() *Volume { var x *Volume; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_VolumeMount, InType: reflect.TypeOf(func() *VolumeMount { var x *VolumeMount; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_VolumeSource, InType: reflect.TypeOf(func() *VolumeSource { var x *VolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_VsphereVirtualDiskVolumeSource, InType: reflect.TypeOf(func() *VsphereVirtualDiskVolumeSource { var x *VsphereVirtualDiskVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_WeightedPodAffinityTerm, InType: reflect.TypeOf(func() *WeightedPodAffinityTerm { var x *WeightedPodAffinityTerm; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_AWSElasticBlockStoreVolumeSource, InType: reflect.TypeOf(&AWSElasticBlockStoreVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Affinity, InType: reflect.TypeOf(&Affinity{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_AttachedVolume, InType: reflect.TypeOf(&AttachedVolume{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_AvoidPods, InType: reflect.TypeOf(&AvoidPods{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_AzureFileVolumeSource, InType: reflect.TypeOf(&AzureFileVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Binding, InType: reflect.TypeOf(&Binding{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Capabilities, InType: reflect.TypeOf(&Capabilities{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_CephFSVolumeSource, InType: reflect.TypeOf(&CephFSVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_CinderVolumeSource, InType: reflect.TypeOf(&CinderVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ComponentCondition, InType: reflect.TypeOf(&ComponentCondition{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ComponentStatus, InType: reflect.TypeOf(&ComponentStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ComponentStatusList, InType: reflect.TypeOf(&ComponentStatusList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMap, InType: reflect.TypeOf(&ConfigMap{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMapKeySelector, InType: reflect.TypeOf(&ConfigMapKeySelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMapList, InType: reflect.TypeOf(&ConfigMapList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ConfigMapVolumeSource, InType: reflect.TypeOf(&ConfigMapVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Container, InType: reflect.TypeOf(&Container{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerImage, InType: reflect.TypeOf(&ContainerImage{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerPort, InType: reflect.TypeOf(&ContainerPort{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerState, InType: reflect.TypeOf(&ContainerState{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerStateRunning, InType: reflect.TypeOf(&ContainerStateRunning{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerStateTerminated, InType: reflect.TypeOf(&ContainerStateTerminated{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerStateWaiting, InType: reflect.TypeOf(&ContainerStateWaiting{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ContainerStatus, InType: reflect.TypeOf(&ContainerStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_DaemonEndpoint, InType: reflect.TypeOf(&DaemonEndpoint{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_DeleteOptions, InType: reflect.TypeOf(&DeleteOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_DownwardAPIVolumeFile, InType: reflect.TypeOf(&DownwardAPIVolumeFile{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_DownwardAPIVolumeSource, InType: reflect.TypeOf(&DownwardAPIVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EmptyDirVolumeSource, InType: reflect.TypeOf(&EmptyDirVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EndpointAddress, InType: reflect.TypeOf(&EndpointAddress{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EndpointPort, InType: reflect.TypeOf(&EndpointPort{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EndpointSubset, InType: reflect.TypeOf(&EndpointSubset{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Endpoints, InType: reflect.TypeOf(&Endpoints{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EndpointsList, InType: reflect.TypeOf(&EndpointsList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EnvVar, InType: reflect.TypeOf(&EnvVar{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EnvVarSource, InType: reflect.TypeOf(&EnvVarSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Event, InType: reflect.TypeOf(&Event{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EventList, InType: reflect.TypeOf(&EventList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_EventSource, InType: reflect.TypeOf(&EventSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ExecAction, InType: reflect.TypeOf(&ExecAction{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ExportOptions, InType: reflect.TypeOf(&ExportOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_FCVolumeSource, InType: reflect.TypeOf(&FCVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_FlexVolumeSource, InType: reflect.TypeOf(&FlexVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_FlockerVolumeSource, InType: reflect.TypeOf(&FlockerVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_GCEPersistentDiskVolumeSource, InType: reflect.TypeOf(&GCEPersistentDiskVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_GitRepoVolumeSource, InType: reflect.TypeOf(&GitRepoVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_GlusterfsVolumeSource, InType: reflect.TypeOf(&GlusterfsVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HTTPGetAction, InType: reflect.TypeOf(&HTTPGetAction{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HTTPHeader, InType: reflect.TypeOf(&HTTPHeader{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Handler, InType: reflect.TypeOf(&Handler{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HostPathVolumeSource, InType: reflect.TypeOf(&HostPathVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ISCSIVolumeSource, InType: reflect.TypeOf(&ISCSIVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_KeyToPath, InType: reflect.TypeOf(&KeyToPath{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Lifecycle, InType: reflect.TypeOf(&Lifecycle{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LimitRange, InType: reflect.TypeOf(&LimitRange{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LimitRangeItem, InType: reflect.TypeOf(&LimitRangeItem{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LimitRangeList, InType: reflect.TypeOf(&LimitRangeList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LimitRangeSpec, InType: reflect.TypeOf(&LimitRangeSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_List, InType: reflect.TypeOf(&List{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ListOptions, InType: reflect.TypeOf(&ListOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LoadBalancerIngress, InType: reflect.TypeOf(&LoadBalancerIngress{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LoadBalancerStatus, InType: reflect.TypeOf(&LoadBalancerStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LocalObjectReference, InType: reflect.TypeOf(&LocalObjectReference{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NFSVolumeSource, InType: reflect.TypeOf(&NFSVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Namespace, InType: reflect.TypeOf(&Namespace{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NamespaceList, InType: reflect.TypeOf(&NamespaceList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NamespaceSpec, InType: reflect.TypeOf(&NamespaceSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NamespaceStatus, InType: reflect.TypeOf(&NamespaceStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Node, InType: reflect.TypeOf(&Node{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeAddress, InType: reflect.TypeOf(&NodeAddress{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeAffinity, InType: reflect.TypeOf(&NodeAffinity{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeCondition, InType: reflect.TypeOf(&NodeCondition{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeDaemonEndpoints, InType: reflect.TypeOf(&NodeDaemonEndpoints{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeList, InType: reflect.TypeOf(&NodeList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeProxyOptions, InType: reflect.TypeOf(&NodeProxyOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeSelector, InType: reflect.TypeOf(&NodeSelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeSelectorRequirement, InType: reflect.TypeOf(&NodeSelectorRequirement{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeSelectorTerm, InType: reflect.TypeOf(&NodeSelectorTerm{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeSpec, InType: reflect.TypeOf(&NodeSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeStatus, InType: reflect.TypeOf(&NodeStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_NodeSystemInfo, InType: reflect.TypeOf(&NodeSystemInfo{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ObjectFieldSelector, InType: reflect.TypeOf(&ObjectFieldSelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ObjectMeta, InType: reflect.TypeOf(&ObjectMeta{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ObjectReference, InType: reflect.TypeOf(&ObjectReference{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_OwnerReference, InType: reflect.TypeOf(&OwnerReference{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolume, InType: reflect.TypeOf(&PersistentVolume{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeClaim, InType: reflect.TypeOf(&PersistentVolumeClaim{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeClaimList, InType: reflect.TypeOf(&PersistentVolumeClaimList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeClaimSpec, InType: reflect.TypeOf(&PersistentVolumeClaimSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeClaimStatus, InType: reflect.TypeOf(&PersistentVolumeClaimStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeClaimVolumeSource, InType: reflect.TypeOf(&PersistentVolumeClaimVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeList, InType: reflect.TypeOf(&PersistentVolumeList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeSource, InType: reflect.TypeOf(&PersistentVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeSpec, InType: reflect.TypeOf(&PersistentVolumeSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PersistentVolumeStatus, InType: reflect.TypeOf(&PersistentVolumeStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Pod, InType: reflect.TypeOf(&Pod{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodAffinity, InType: reflect.TypeOf(&PodAffinity{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodAffinityTerm, InType: reflect.TypeOf(&PodAffinityTerm{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodAntiAffinity, InType: reflect.TypeOf(&PodAntiAffinity{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodAttachOptions, InType: reflect.TypeOf(&PodAttachOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodCondition, InType: reflect.TypeOf(&PodCondition{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodExecOptions, InType: reflect.TypeOf(&PodExecOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodList, InType: reflect.TypeOf(&PodList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodLogOptions, InType: reflect.TypeOf(&PodLogOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodProxyOptions, InType: reflect.TypeOf(&PodProxyOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodSecurityContext, InType: reflect.TypeOf(&PodSecurityContext{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodSignature, InType: reflect.TypeOf(&PodSignature{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodSpec, InType: reflect.TypeOf(&PodSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodStatus, InType: reflect.TypeOf(&PodStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodStatusResult, InType: reflect.TypeOf(&PodStatusResult{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodTemplate, InType: reflect.TypeOf(&PodTemplate{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodTemplateList, InType: reflect.TypeOf(&PodTemplateList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PodTemplateSpec, InType: reflect.TypeOf(&PodTemplateSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Preconditions, InType: reflect.TypeOf(&Preconditions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PreferAvoidPodsEntry, InType: reflect.TypeOf(&PreferAvoidPodsEntry{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_PreferredSchedulingTerm, InType: reflect.TypeOf(&PreferredSchedulingTerm{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Probe, InType: reflect.TypeOf(&Probe{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_RBDVolumeSource, InType: reflect.TypeOf(&RBDVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_RangeAllocation, InType: reflect.TypeOf(&RangeAllocation{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationController, InType: reflect.TypeOf(&ReplicationController{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationControllerList, InType: reflect.TypeOf(&ReplicationControllerList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationControllerSpec, InType: reflect.TypeOf(&ReplicationControllerSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationControllerStatus, InType: reflect.TypeOf(&ReplicationControllerStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceFieldSelector, InType: reflect.TypeOf(&ResourceFieldSelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceQuota, InType: reflect.TypeOf(&ResourceQuota{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceQuotaList, InType: reflect.TypeOf(&ResourceQuotaList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceQuotaSpec, InType: reflect.TypeOf(&ResourceQuotaSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceQuotaStatus, InType: reflect.TypeOf(&ResourceQuotaStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ResourceRequirements, InType: reflect.TypeOf(&ResourceRequirements{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SELinuxOptions, InType: reflect.TypeOf(&SELinuxOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Secret, InType: reflect.TypeOf(&Secret{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SecretKeySelector, InType: reflect.TypeOf(&SecretKeySelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SecretList, InType: reflect.TypeOf(&SecretList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SecretVolumeSource, InType: reflect.TypeOf(&SecretVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SecurityContext, InType: reflect.TypeOf(&SecurityContext{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_SerializedReference, InType: reflect.TypeOf(&SerializedReference{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Service, InType: reflect.TypeOf(&Service{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceAccount, InType: reflect.TypeOf(&ServiceAccount{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceAccountList, InType: reflect.TypeOf(&ServiceAccountList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceList, InType: reflect.TypeOf(&ServiceList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServicePort, InType: reflect.TypeOf(&ServicePort{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceProxyOptions, InType: reflect.TypeOf(&ServiceProxyOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceSpec, InType: reflect.TypeOf(&ServiceSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ServiceStatus, InType: reflect.TypeOf(&ServiceStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_TCPSocketAction, InType: reflect.TypeOf(&TCPSocketAction{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Taint, InType: reflect.TypeOf(&Taint{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Toleration, InType: reflect.TypeOf(&Toleration{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Volume, InType: reflect.TypeOf(&Volume{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_VolumeMount, InType: reflect.TypeOf(&VolumeMount{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_VolumeSource, InType: reflect.TypeOf(&VolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_VsphereVirtualDiskVolumeSource, InType: reflect.TypeOf(&VsphereVirtualDiskVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_WeightedPodAffinityTerm, InType: reflect.TypeOf(&WeightedPodAffinityTerm{})}, + ) } func DeepCopy_v1_AWSElasticBlockStoreVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/validation/validation.go b/staging/src/k8s.io/client-go/1.4/pkg/api/validation/validation.go index eefe2882188..96c44a6476e 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/api/validation/validation.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/validation/validation.go @@ -598,7 +598,7 @@ func validateGitRepoVolumeSource(gitRepo *api.GitRepoVolumeSource, fldPath *fiel allErrs = append(allErrs, field.Required(fldPath.Child("repository"), "")) } - pathErrs := validateVolumeSourcePath(gitRepo.Directory, fldPath.Child("directory")) + pathErrs := validateLocalDescendingPath(gitRepo.Directory, fldPath.Child("directory")) allErrs = append(allErrs, pathErrs...) return allErrs } @@ -660,6 +660,11 @@ func validateSecretVolumeSource(secretSource *api.SecretVolumeSource, fldPath *f if len(secretSource.SecretName) == 0 { allErrs = append(allErrs, field.Required(fldPath.Child("secretName"), "")) } + itemsPath := fldPath.Child("items") + for i, kp := range secretSource.Items { + itemPath := itemsPath.Index(i) + allErrs = append(allErrs, validateKeyToPath(&kp, itemPath)...) + } return allErrs } @@ -668,6 +673,23 @@ func validateConfigMapVolumeSource(configMapSource *api.ConfigMapVolumeSource, f if len(configMapSource.Name) == 0 { allErrs = append(allErrs, field.Required(fldPath.Child("name"), "")) } + itemsPath := fldPath.Child("items") + for i, kp := range configMapSource.Items { + itemPath := itemsPath.Index(i) + allErrs = append(allErrs, validateKeyToPath(&kp, itemPath)...) + } + return allErrs +} + +func validateKeyToPath(kp *api.KeyToPath, fldPath *field.Path) field.ErrorList { + allErrs := field.ErrorList{} + if len(kp.Key) == 0 { + allErrs = append(allErrs, field.Required(fldPath.Child("key"), "")) + } + if len(kp.Path) == 0 { + allErrs = append(allErrs, field.Required(fldPath.Child("path"), "")) + } + allErrs = append(allErrs, validateLocalNonReservedPath(kp.Path, fldPath.Child("path"))...) return allErrs } @@ -715,22 +737,26 @@ func validateFlockerVolumeSource(flocker *api.FlockerVolumeSource, fldPath *fiel return allErrs } -var validDownwardAPIFieldPathExpressions = sets.NewString("metadata.name", "metadata.namespace", "metadata.labels", "metadata.annotations") +var validDownwardAPIFieldPathExpressions = sets.NewString( + "metadata.name", + "metadata.namespace", + "metadata.labels", + "metadata.annotations") func validateDownwardAPIVolumeSource(downwardAPIVolume *api.DownwardAPIVolumeSource, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} - for _, downwardAPIVolumeFile := range downwardAPIVolume.Items { - if len(downwardAPIVolumeFile.Path) == 0 { + for _, file := range downwardAPIVolume.Items { + if len(file.Path) == 0 { allErrs = append(allErrs, field.Required(fldPath.Child("path"), "")) } - allErrs = append(allErrs, validateVolumeSourcePath(downwardAPIVolumeFile.Path, fldPath.Child("path"))...) - if downwardAPIVolumeFile.FieldRef != nil { - allErrs = append(allErrs, validateObjectFieldSelector(downwardAPIVolumeFile.FieldRef, &validDownwardAPIFieldPathExpressions, fldPath.Child("fieldRef"))...) - if downwardAPIVolumeFile.ResourceFieldRef != nil { + allErrs = append(allErrs, validateLocalNonReservedPath(file.Path, fldPath.Child("path"))...) + if file.FieldRef != nil { + allErrs = append(allErrs, validateObjectFieldSelector(file.FieldRef, &validDownwardAPIFieldPathExpressions, fldPath.Child("fieldRef"))...) + if file.ResourceFieldRef != nil { allErrs = append(allErrs, field.Invalid(fldPath, "resource", "fieldRef and resourceFieldRef can not be specified simultaneously")) } - } else if downwardAPIVolumeFile.ResourceFieldRef != nil { - allErrs = append(allErrs, validateContainerResourceFieldSelector(downwardAPIVolumeFile.ResourceFieldRef, &validContainerResourceFieldPathExpressions, fldPath.Child("resourceFieldRef"), true)...) + } else if file.ResourceFieldRef != nil { + allErrs = append(allErrs, validateContainerResourceFieldSelector(file.ResourceFieldRef, &validContainerResourceFieldPathExpressions, fldPath.Child("resourceFieldRef"), true)...) } else { allErrs = append(allErrs, field.Required(fldPath, "one of fieldRef and resourceFieldRef is required")) } @@ -740,44 +766,33 @@ func validateDownwardAPIVolumeSource(downwardAPIVolume *api.DownwardAPIVolumeSou // This validate will make sure targetPath: // 1. is not abs path -// 2. does not start with '../' -// 3. does not contain '/../' -// 4. does not end with '/..' -func validateSubPath(targetPath string, fldPath *field.Path) field.ErrorList { +// 2. does not have any element which is ".." +func validateLocalDescendingPath(targetPath string, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} if path.IsAbs(targetPath) { allErrs = append(allErrs, field.Invalid(fldPath, targetPath, "must be a relative path")) } - if strings.HasPrefix(targetPath, "../") { - allErrs = append(allErrs, field.Invalid(fldPath, targetPath, "must not start with '../'")) - } - if strings.Contains(targetPath, "/../") { - allErrs = append(allErrs, field.Invalid(fldPath, targetPath, "must not contain '/../'")) - } - if strings.HasSuffix(targetPath, "/..") { - allErrs = append(allErrs, field.Invalid(fldPath, targetPath, "must not end with '/..'")) + + // TODO: this assumes the OS of apiserver & nodes are the same + parts := strings.Split(targetPath, string(os.PathSeparator)) + for _, item := range parts { + if item == ".." { + allErrs = append(allErrs, field.Invalid(fldPath, targetPath, "must not contain '..'")) + break // even for `../../..`, one error is sufficient to make the point + } } return allErrs } // This validate will make sure targetPath: // 1. is not abs path -// 2. does not contain '..' +// 2. does not contain any '..' elements // 3. does not start with '..' -func validateVolumeSourcePath(targetPath string, fldPath *field.Path) field.ErrorList { +func validateLocalNonReservedPath(targetPath string, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} - if path.IsAbs(targetPath) { - allErrs = append(allErrs, field.Invalid(fldPath, targetPath, "must be a relative path")) - } - // TODO assume OS of api server & nodes are the same for now - items := strings.Split(targetPath, string(os.PathSeparator)) - - for _, item := range items { - if item == ".." { - allErrs = append(allErrs, field.Invalid(fldPath, targetPath, "must not contain '..'")) - } - } - if strings.HasPrefix(items[0], "..") && len(items[0]) > 2 { + allErrs = append(allErrs, validateLocalDescendingPath(targetPath, fldPath)...) + // Don't report this error if the check for .. elements already caught it. + if strings.HasPrefix(targetPath, "..") && !strings.HasPrefix(targetPath, "../") { allErrs = append(allErrs, field.Invalid(fldPath, targetPath, "must not start with '..'")) } return allErrs @@ -1262,7 +1277,7 @@ func validateVolumeMounts(mounts []api.VolumeMount, volumes sets.String, fldPath } mountpoints.Insert(mnt.MountPath) if len(mnt.SubPath) > 0 { - allErrs = append(allErrs, validateSubPath(mnt.SubPath, fldPath.Child("subPath"))...) + allErrs = append(allErrs, validateLocalDescendingPath(mnt.SubPath, fldPath.Child("subPath"))...) } } return allErrs @@ -1918,7 +1933,7 @@ func validateSeccompProfile(p string, fldPath *field.Path) field.ErrorList { return nil } if strings.HasPrefix(p, "localhost/") { - return validateSubPath(strings.TrimPrefix(p, "localhost/"), fldPath) + return validateLocalDescendingPath(strings.TrimPrefix(p, "localhost/"), fldPath) } return field.ErrorList{field.Invalid(fldPath, p, "must be a valid seccomp profile")} } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/api/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/api/zz_generated.deepcopy.go index d32729287df..a9c4823bd22 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/api/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/api/zz_generated.deepcopy.go @@ -31,165 +31,168 @@ import ( ) func init() { - if err := Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AWSElasticBlockStoreVolumeSource, InType: reflect.TypeOf(func() *AWSElasticBlockStoreVolumeSource { var x *AWSElasticBlockStoreVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Affinity, InType: reflect.TypeOf(func() *Affinity { var x *Affinity; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AttachedVolume, InType: reflect.TypeOf(func() *AttachedVolume { var x *AttachedVolume; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AvoidPods, InType: reflect.TypeOf(func() *AvoidPods { var x *AvoidPods; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AzureFileVolumeSource, InType: reflect.TypeOf(func() *AzureFileVolumeSource { var x *AzureFileVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Binding, InType: reflect.TypeOf(func() *Binding { var x *Binding; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Capabilities, InType: reflect.TypeOf(func() *Capabilities { var x *Capabilities; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_CephFSVolumeSource, InType: reflect.TypeOf(func() *CephFSVolumeSource { var x *CephFSVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_CinderVolumeSource, InType: reflect.TypeOf(func() *CinderVolumeSource { var x *CinderVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentCondition, InType: reflect.TypeOf(func() *ComponentCondition { var x *ComponentCondition; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentStatus, InType: reflect.TypeOf(func() *ComponentStatus { var x *ComponentStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentStatusList, InType: reflect.TypeOf(func() *ComponentStatusList { var x *ComponentStatusList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMap, InType: reflect.TypeOf(func() *ConfigMap { var x *ConfigMap; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapKeySelector, InType: reflect.TypeOf(func() *ConfigMapKeySelector { var x *ConfigMapKeySelector; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapList, InType: reflect.TypeOf(func() *ConfigMapList { var x *ConfigMapList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapVolumeSource, InType: reflect.TypeOf(func() *ConfigMapVolumeSource { var x *ConfigMapVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Container, InType: reflect.TypeOf(func() *Container { var x *Container; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerImage, InType: reflect.TypeOf(func() *ContainerImage { var x *ContainerImage; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerPort, InType: reflect.TypeOf(func() *ContainerPort { var x *ContainerPort; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerState, InType: reflect.TypeOf(func() *ContainerState { var x *ContainerState; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStateRunning, InType: reflect.TypeOf(func() *ContainerStateRunning { var x *ContainerStateRunning; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStateTerminated, InType: reflect.TypeOf(func() *ContainerStateTerminated { var x *ContainerStateTerminated; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStateWaiting, InType: reflect.TypeOf(func() *ContainerStateWaiting { var x *ContainerStateWaiting; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStatus, InType: reflect.TypeOf(func() *ContainerStatus { var x *ContainerStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConversionError, InType: reflect.TypeOf(func() *ConversionError { var x *ConversionError; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DaemonEndpoint, InType: reflect.TypeOf(func() *DaemonEndpoint { var x *DaemonEndpoint; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DeleteOptions, InType: reflect.TypeOf(func() *DeleteOptions { var x *DeleteOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DownwardAPIVolumeFile, InType: reflect.TypeOf(func() *DownwardAPIVolumeFile { var x *DownwardAPIVolumeFile; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DownwardAPIVolumeSource, InType: reflect.TypeOf(func() *DownwardAPIVolumeSource { var x *DownwardAPIVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EmptyDirVolumeSource, InType: reflect.TypeOf(func() *EmptyDirVolumeSource { var x *EmptyDirVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointAddress, InType: reflect.TypeOf(func() *EndpointAddress { var x *EndpointAddress; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointPort, InType: reflect.TypeOf(func() *EndpointPort { var x *EndpointPort; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointSubset, InType: reflect.TypeOf(func() *EndpointSubset { var x *EndpointSubset; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Endpoints, InType: reflect.TypeOf(func() *Endpoints { var x *Endpoints; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointsList, InType: reflect.TypeOf(func() *EndpointsList { var x *EndpointsList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EnvVar, InType: reflect.TypeOf(func() *EnvVar { var x *EnvVar; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EnvVarSource, InType: reflect.TypeOf(func() *EnvVarSource { var x *EnvVarSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Event, InType: reflect.TypeOf(func() *Event { var x *Event; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EventList, InType: reflect.TypeOf(func() *EventList { var x *EventList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EventSource, InType: reflect.TypeOf(func() *EventSource { var x *EventSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ExecAction, InType: reflect.TypeOf(func() *ExecAction { var x *ExecAction; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ExportOptions, InType: reflect.TypeOf(func() *ExportOptions { var x *ExportOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_FCVolumeSource, InType: reflect.TypeOf(func() *FCVolumeSource { var x *FCVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_FlexVolumeSource, InType: reflect.TypeOf(func() *FlexVolumeSource { var x *FlexVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_FlockerVolumeSource, InType: reflect.TypeOf(func() *FlockerVolumeSource { var x *FlockerVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_GCEPersistentDiskVolumeSource, InType: reflect.TypeOf(func() *GCEPersistentDiskVolumeSource { var x *GCEPersistentDiskVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_GitRepoVolumeSource, InType: reflect.TypeOf(func() *GitRepoVolumeSource { var x *GitRepoVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_GlusterfsVolumeSource, InType: reflect.TypeOf(func() *GlusterfsVolumeSource { var x *GlusterfsVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_HTTPGetAction, InType: reflect.TypeOf(func() *HTTPGetAction { var x *HTTPGetAction; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_HTTPHeader, InType: reflect.TypeOf(func() *HTTPHeader { var x *HTTPHeader; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Handler, InType: reflect.TypeOf(func() *Handler { var x *Handler; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_HostPathVolumeSource, InType: reflect.TypeOf(func() *HostPathVolumeSource { var x *HostPathVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ISCSIVolumeSource, InType: reflect.TypeOf(func() *ISCSIVolumeSource { var x *ISCSIVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_KeyToPath, InType: reflect.TypeOf(func() *KeyToPath { var x *KeyToPath; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Lifecycle, InType: reflect.TypeOf(func() *Lifecycle { var x *Lifecycle; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRange, InType: reflect.TypeOf(func() *LimitRange { var x *LimitRange; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRangeItem, InType: reflect.TypeOf(func() *LimitRangeItem { var x *LimitRangeItem; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRangeList, InType: reflect.TypeOf(func() *LimitRangeList { var x *LimitRangeList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRangeSpec, InType: reflect.TypeOf(func() *LimitRangeSpec { var x *LimitRangeSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_List, InType: reflect.TypeOf(func() *List { var x *List; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ListOptions, InType: reflect.TypeOf(func() *ListOptions { var x *ListOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LoadBalancerIngress, InType: reflect.TypeOf(func() *LoadBalancerIngress { var x *LoadBalancerIngress; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LoadBalancerStatus, InType: reflect.TypeOf(func() *LoadBalancerStatus { var x *LoadBalancerStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LocalObjectReference, InType: reflect.TypeOf(func() *LocalObjectReference { var x *LocalObjectReference; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NFSVolumeSource, InType: reflect.TypeOf(func() *NFSVolumeSource { var x *NFSVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Namespace, InType: reflect.TypeOf(func() *Namespace { var x *Namespace; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NamespaceList, InType: reflect.TypeOf(func() *NamespaceList { var x *NamespaceList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NamespaceSpec, InType: reflect.TypeOf(func() *NamespaceSpec { var x *NamespaceSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NamespaceStatus, InType: reflect.TypeOf(func() *NamespaceStatus { var x *NamespaceStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Node, InType: reflect.TypeOf(func() *Node { var x *Node; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeAddress, InType: reflect.TypeOf(func() *NodeAddress { var x *NodeAddress; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeAffinity, InType: reflect.TypeOf(func() *NodeAffinity { var x *NodeAffinity; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeCondition, InType: reflect.TypeOf(func() *NodeCondition { var x *NodeCondition; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeDaemonEndpoints, InType: reflect.TypeOf(func() *NodeDaemonEndpoints { var x *NodeDaemonEndpoints; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeList, InType: reflect.TypeOf(func() *NodeList { var x *NodeList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeProxyOptions, InType: reflect.TypeOf(func() *NodeProxyOptions { var x *NodeProxyOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeResources, InType: reflect.TypeOf(func() *NodeResources { var x *NodeResources; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSelector, InType: reflect.TypeOf(func() *NodeSelector { var x *NodeSelector; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSelectorRequirement, InType: reflect.TypeOf(func() *NodeSelectorRequirement { var x *NodeSelectorRequirement; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSelectorTerm, InType: reflect.TypeOf(func() *NodeSelectorTerm { var x *NodeSelectorTerm; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSpec, InType: reflect.TypeOf(func() *NodeSpec { var x *NodeSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeStatus, InType: reflect.TypeOf(func() *NodeStatus { var x *NodeStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSystemInfo, InType: reflect.TypeOf(func() *NodeSystemInfo { var x *NodeSystemInfo; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectFieldSelector, InType: reflect.TypeOf(func() *ObjectFieldSelector { var x *ObjectFieldSelector; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectMeta, InType: reflect.TypeOf(func() *ObjectMeta { var x *ObjectMeta; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectReference, InType: reflect.TypeOf(func() *ObjectReference { var x *ObjectReference; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_OwnerReference, InType: reflect.TypeOf(func() *OwnerReference { var x *OwnerReference; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolume, InType: reflect.TypeOf(func() *PersistentVolume { var x *PersistentVolume; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaim, InType: reflect.TypeOf(func() *PersistentVolumeClaim { var x *PersistentVolumeClaim; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimList, InType: reflect.TypeOf(func() *PersistentVolumeClaimList { var x *PersistentVolumeClaimList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimSpec, InType: reflect.TypeOf(func() *PersistentVolumeClaimSpec { var x *PersistentVolumeClaimSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimStatus, InType: reflect.TypeOf(func() *PersistentVolumeClaimStatus { var x *PersistentVolumeClaimStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimVolumeSource, InType: reflect.TypeOf(func() *PersistentVolumeClaimVolumeSource { var x *PersistentVolumeClaimVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeList, InType: reflect.TypeOf(func() *PersistentVolumeList { var x *PersistentVolumeList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeSource, InType: reflect.TypeOf(func() *PersistentVolumeSource { var x *PersistentVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeSpec, InType: reflect.TypeOf(func() *PersistentVolumeSpec { var x *PersistentVolumeSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeStatus, InType: reflect.TypeOf(func() *PersistentVolumeStatus { var x *PersistentVolumeStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Pod, InType: reflect.TypeOf(func() *Pod { var x *Pod; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAffinity, InType: reflect.TypeOf(func() *PodAffinity { var x *PodAffinity; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAffinityTerm, InType: reflect.TypeOf(func() *PodAffinityTerm { var x *PodAffinityTerm; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAntiAffinity, InType: reflect.TypeOf(func() *PodAntiAffinity { var x *PodAntiAffinity; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAttachOptions, InType: reflect.TypeOf(func() *PodAttachOptions { var x *PodAttachOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodCondition, InType: reflect.TypeOf(func() *PodCondition { var x *PodCondition; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodExecOptions, InType: reflect.TypeOf(func() *PodExecOptions { var x *PodExecOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodList, InType: reflect.TypeOf(func() *PodList { var x *PodList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodLogOptions, InType: reflect.TypeOf(func() *PodLogOptions { var x *PodLogOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodProxyOptions, InType: reflect.TypeOf(func() *PodProxyOptions { var x *PodProxyOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodSecurityContext, InType: reflect.TypeOf(func() *PodSecurityContext { var x *PodSecurityContext; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodSignature, InType: reflect.TypeOf(func() *PodSignature { var x *PodSignature; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodSpec, InType: reflect.TypeOf(func() *PodSpec { var x *PodSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodStatus, InType: reflect.TypeOf(func() *PodStatus { var x *PodStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodStatusResult, InType: reflect.TypeOf(func() *PodStatusResult { var x *PodStatusResult; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodTemplate, InType: reflect.TypeOf(func() *PodTemplate { var x *PodTemplate; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodTemplateList, InType: reflect.TypeOf(func() *PodTemplateList { var x *PodTemplateList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodTemplateSpec, InType: reflect.TypeOf(func() *PodTemplateSpec { var x *PodTemplateSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Preconditions, InType: reflect.TypeOf(func() *Preconditions { var x *Preconditions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PreferAvoidPodsEntry, InType: reflect.TypeOf(func() *PreferAvoidPodsEntry { var x *PreferAvoidPodsEntry; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PreferredSchedulingTerm, InType: reflect.TypeOf(func() *PreferredSchedulingTerm { var x *PreferredSchedulingTerm; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Probe, InType: reflect.TypeOf(func() *Probe { var x *Probe; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_RBDVolumeSource, InType: reflect.TypeOf(func() *RBDVolumeSource { var x *RBDVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_RangeAllocation, InType: reflect.TypeOf(func() *RangeAllocation { var x *RangeAllocation; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationController, InType: reflect.TypeOf(func() *ReplicationController { var x *ReplicationController; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerList, InType: reflect.TypeOf(func() *ReplicationControllerList { var x *ReplicationControllerList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerSpec, InType: reflect.TypeOf(func() *ReplicationControllerSpec { var x *ReplicationControllerSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerStatus, InType: reflect.TypeOf(func() *ReplicationControllerStatus { var x *ReplicationControllerStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceFieldSelector, InType: reflect.TypeOf(func() *ResourceFieldSelector { var x *ResourceFieldSelector; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuota, InType: reflect.TypeOf(func() *ResourceQuota { var x *ResourceQuota; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuotaList, InType: reflect.TypeOf(func() *ResourceQuotaList { var x *ResourceQuotaList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuotaSpec, InType: reflect.TypeOf(func() *ResourceQuotaSpec { var x *ResourceQuotaSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuotaStatus, InType: reflect.TypeOf(func() *ResourceQuotaStatus { var x *ResourceQuotaStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceRequirements, InType: reflect.TypeOf(func() *ResourceRequirements { var x *ResourceRequirements; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SELinuxOptions, InType: reflect.TypeOf(func() *SELinuxOptions { var x *SELinuxOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Secret, InType: reflect.TypeOf(func() *Secret { var x *Secret; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretKeySelector, InType: reflect.TypeOf(func() *SecretKeySelector { var x *SecretKeySelector; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretList, InType: reflect.TypeOf(func() *SecretList { var x *SecretList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretVolumeSource, InType: reflect.TypeOf(func() *SecretVolumeSource { var x *SecretVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecurityContext, InType: reflect.TypeOf(func() *SecurityContext { var x *SecurityContext; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SerializedReference, InType: reflect.TypeOf(func() *SerializedReference { var x *SerializedReference; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Service, InType: reflect.TypeOf(func() *Service { var x *Service; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceAccount, InType: reflect.TypeOf(func() *ServiceAccount { var x *ServiceAccount; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceAccountList, InType: reflect.TypeOf(func() *ServiceAccountList { var x *ServiceAccountList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceList, InType: reflect.TypeOf(func() *ServiceList { var x *ServiceList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServicePort, InType: reflect.TypeOf(func() *ServicePort { var x *ServicePort; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceProxyOptions, InType: reflect.TypeOf(func() *ServiceProxyOptions { var x *ServiceProxyOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceSpec, InType: reflect.TypeOf(func() *ServiceSpec { var x *ServiceSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceStatus, InType: reflect.TypeOf(func() *ServiceStatus { var x *ServiceStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_TCPSocketAction, InType: reflect.TypeOf(func() *TCPSocketAction { var x *TCPSocketAction; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Taint, InType: reflect.TypeOf(func() *Taint { var x *Taint; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Toleration, InType: reflect.TypeOf(func() *Toleration { var x *Toleration; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Volume, InType: reflect.TypeOf(func() *Volume { var x *Volume; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VolumeMount, InType: reflect.TypeOf(func() *VolumeMount { var x *VolumeMount; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VolumeSource, InType: reflect.TypeOf(func() *VolumeSource { var x *VolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VsphereVirtualDiskVolumeSource, InType: reflect.TypeOf(func() *VsphereVirtualDiskVolumeSource { var x *VsphereVirtualDiskVolumeSource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_WeightedPodAffinityTerm, InType: reflect.TypeOf(func() *WeightedPodAffinityTerm { var x *WeightedPodAffinityTerm; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AWSElasticBlockStoreVolumeSource, InType: reflect.TypeOf(&AWSElasticBlockStoreVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Affinity, InType: reflect.TypeOf(&Affinity{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AttachedVolume, InType: reflect.TypeOf(&AttachedVolume{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AvoidPods, InType: reflect.TypeOf(&AvoidPods{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_AzureFileVolumeSource, InType: reflect.TypeOf(&AzureFileVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Binding, InType: reflect.TypeOf(&Binding{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Capabilities, InType: reflect.TypeOf(&Capabilities{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_CephFSVolumeSource, InType: reflect.TypeOf(&CephFSVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_CinderVolumeSource, InType: reflect.TypeOf(&CinderVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentCondition, InType: reflect.TypeOf(&ComponentCondition{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentStatus, InType: reflect.TypeOf(&ComponentStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ComponentStatusList, InType: reflect.TypeOf(&ComponentStatusList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMap, InType: reflect.TypeOf(&ConfigMap{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapKeySelector, InType: reflect.TypeOf(&ConfigMapKeySelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapList, InType: reflect.TypeOf(&ConfigMapList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConfigMapVolumeSource, InType: reflect.TypeOf(&ConfigMapVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Container, InType: reflect.TypeOf(&Container{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerImage, InType: reflect.TypeOf(&ContainerImage{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerPort, InType: reflect.TypeOf(&ContainerPort{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerState, InType: reflect.TypeOf(&ContainerState{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStateRunning, InType: reflect.TypeOf(&ContainerStateRunning{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStateTerminated, InType: reflect.TypeOf(&ContainerStateTerminated{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStateWaiting, InType: reflect.TypeOf(&ContainerStateWaiting{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ContainerStatus, InType: reflect.TypeOf(&ContainerStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ConversionError, InType: reflect.TypeOf(&ConversionError{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DaemonEndpoint, InType: reflect.TypeOf(&DaemonEndpoint{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DeleteOptions, InType: reflect.TypeOf(&DeleteOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DownwardAPIVolumeFile, InType: reflect.TypeOf(&DownwardAPIVolumeFile{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_DownwardAPIVolumeSource, InType: reflect.TypeOf(&DownwardAPIVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EmptyDirVolumeSource, InType: reflect.TypeOf(&EmptyDirVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointAddress, InType: reflect.TypeOf(&EndpointAddress{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointPort, InType: reflect.TypeOf(&EndpointPort{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointSubset, InType: reflect.TypeOf(&EndpointSubset{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Endpoints, InType: reflect.TypeOf(&Endpoints{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EndpointsList, InType: reflect.TypeOf(&EndpointsList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EnvVar, InType: reflect.TypeOf(&EnvVar{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EnvVarSource, InType: reflect.TypeOf(&EnvVarSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Event, InType: reflect.TypeOf(&Event{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EventList, InType: reflect.TypeOf(&EventList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_EventSource, InType: reflect.TypeOf(&EventSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ExecAction, InType: reflect.TypeOf(&ExecAction{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ExportOptions, InType: reflect.TypeOf(&ExportOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_FCVolumeSource, InType: reflect.TypeOf(&FCVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_FlexVolumeSource, InType: reflect.TypeOf(&FlexVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_FlockerVolumeSource, InType: reflect.TypeOf(&FlockerVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_GCEPersistentDiskVolumeSource, InType: reflect.TypeOf(&GCEPersistentDiskVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_GitRepoVolumeSource, InType: reflect.TypeOf(&GitRepoVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_GlusterfsVolumeSource, InType: reflect.TypeOf(&GlusterfsVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_HTTPGetAction, InType: reflect.TypeOf(&HTTPGetAction{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_HTTPHeader, InType: reflect.TypeOf(&HTTPHeader{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Handler, InType: reflect.TypeOf(&Handler{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_HostPathVolumeSource, InType: reflect.TypeOf(&HostPathVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ISCSIVolumeSource, InType: reflect.TypeOf(&ISCSIVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_KeyToPath, InType: reflect.TypeOf(&KeyToPath{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Lifecycle, InType: reflect.TypeOf(&Lifecycle{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRange, InType: reflect.TypeOf(&LimitRange{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRangeItem, InType: reflect.TypeOf(&LimitRangeItem{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRangeList, InType: reflect.TypeOf(&LimitRangeList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LimitRangeSpec, InType: reflect.TypeOf(&LimitRangeSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_List, InType: reflect.TypeOf(&List{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ListOptions, InType: reflect.TypeOf(&ListOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LoadBalancerIngress, InType: reflect.TypeOf(&LoadBalancerIngress{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LoadBalancerStatus, InType: reflect.TypeOf(&LoadBalancerStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_LocalObjectReference, InType: reflect.TypeOf(&LocalObjectReference{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NFSVolumeSource, InType: reflect.TypeOf(&NFSVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Namespace, InType: reflect.TypeOf(&Namespace{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NamespaceList, InType: reflect.TypeOf(&NamespaceList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NamespaceSpec, InType: reflect.TypeOf(&NamespaceSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NamespaceStatus, InType: reflect.TypeOf(&NamespaceStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Node, InType: reflect.TypeOf(&Node{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeAddress, InType: reflect.TypeOf(&NodeAddress{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeAffinity, InType: reflect.TypeOf(&NodeAffinity{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeCondition, InType: reflect.TypeOf(&NodeCondition{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeDaemonEndpoints, InType: reflect.TypeOf(&NodeDaemonEndpoints{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeList, InType: reflect.TypeOf(&NodeList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeProxyOptions, InType: reflect.TypeOf(&NodeProxyOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeResources, InType: reflect.TypeOf(&NodeResources{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSelector, InType: reflect.TypeOf(&NodeSelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSelectorRequirement, InType: reflect.TypeOf(&NodeSelectorRequirement{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSelectorTerm, InType: reflect.TypeOf(&NodeSelectorTerm{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSpec, InType: reflect.TypeOf(&NodeSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeStatus, InType: reflect.TypeOf(&NodeStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_NodeSystemInfo, InType: reflect.TypeOf(&NodeSystemInfo{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectFieldSelector, InType: reflect.TypeOf(&ObjectFieldSelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectMeta, InType: reflect.TypeOf(&ObjectMeta{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ObjectReference, InType: reflect.TypeOf(&ObjectReference{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_OwnerReference, InType: reflect.TypeOf(&OwnerReference{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolume, InType: reflect.TypeOf(&PersistentVolume{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaim, InType: reflect.TypeOf(&PersistentVolumeClaim{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimList, InType: reflect.TypeOf(&PersistentVolumeClaimList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimSpec, InType: reflect.TypeOf(&PersistentVolumeClaimSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimStatus, InType: reflect.TypeOf(&PersistentVolumeClaimStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeClaimVolumeSource, InType: reflect.TypeOf(&PersistentVolumeClaimVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeList, InType: reflect.TypeOf(&PersistentVolumeList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeSource, InType: reflect.TypeOf(&PersistentVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeSpec, InType: reflect.TypeOf(&PersistentVolumeSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PersistentVolumeStatus, InType: reflect.TypeOf(&PersistentVolumeStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Pod, InType: reflect.TypeOf(&Pod{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAffinity, InType: reflect.TypeOf(&PodAffinity{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAffinityTerm, InType: reflect.TypeOf(&PodAffinityTerm{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAntiAffinity, InType: reflect.TypeOf(&PodAntiAffinity{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodAttachOptions, InType: reflect.TypeOf(&PodAttachOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodCondition, InType: reflect.TypeOf(&PodCondition{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodExecOptions, InType: reflect.TypeOf(&PodExecOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodList, InType: reflect.TypeOf(&PodList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodLogOptions, InType: reflect.TypeOf(&PodLogOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodProxyOptions, InType: reflect.TypeOf(&PodProxyOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodSecurityContext, InType: reflect.TypeOf(&PodSecurityContext{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodSignature, InType: reflect.TypeOf(&PodSignature{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodSpec, InType: reflect.TypeOf(&PodSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodStatus, InType: reflect.TypeOf(&PodStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodStatusResult, InType: reflect.TypeOf(&PodStatusResult{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodTemplate, InType: reflect.TypeOf(&PodTemplate{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodTemplateList, InType: reflect.TypeOf(&PodTemplateList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PodTemplateSpec, InType: reflect.TypeOf(&PodTemplateSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Preconditions, InType: reflect.TypeOf(&Preconditions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PreferAvoidPodsEntry, InType: reflect.TypeOf(&PreferAvoidPodsEntry{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_PreferredSchedulingTerm, InType: reflect.TypeOf(&PreferredSchedulingTerm{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Probe, InType: reflect.TypeOf(&Probe{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_RBDVolumeSource, InType: reflect.TypeOf(&RBDVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_RangeAllocation, InType: reflect.TypeOf(&RangeAllocation{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationController, InType: reflect.TypeOf(&ReplicationController{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerList, InType: reflect.TypeOf(&ReplicationControllerList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerSpec, InType: reflect.TypeOf(&ReplicationControllerSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerStatus, InType: reflect.TypeOf(&ReplicationControllerStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceFieldSelector, InType: reflect.TypeOf(&ResourceFieldSelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuota, InType: reflect.TypeOf(&ResourceQuota{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuotaList, InType: reflect.TypeOf(&ResourceQuotaList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuotaSpec, InType: reflect.TypeOf(&ResourceQuotaSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceQuotaStatus, InType: reflect.TypeOf(&ResourceQuotaStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ResourceRequirements, InType: reflect.TypeOf(&ResourceRequirements{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SELinuxOptions, InType: reflect.TypeOf(&SELinuxOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Secret, InType: reflect.TypeOf(&Secret{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretKeySelector, InType: reflect.TypeOf(&SecretKeySelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretList, InType: reflect.TypeOf(&SecretList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecretVolumeSource, InType: reflect.TypeOf(&SecretVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SecurityContext, InType: reflect.TypeOf(&SecurityContext{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_SerializedReference, InType: reflect.TypeOf(&SerializedReference{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Service, InType: reflect.TypeOf(&Service{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceAccount, InType: reflect.TypeOf(&ServiceAccount{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceAccountList, InType: reflect.TypeOf(&ServiceAccountList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceList, InType: reflect.TypeOf(&ServiceList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServicePort, InType: reflect.TypeOf(&ServicePort{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceProxyOptions, InType: reflect.TypeOf(&ServiceProxyOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceSpec, InType: reflect.TypeOf(&ServiceSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ServiceStatus, InType: reflect.TypeOf(&ServiceStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_TCPSocketAction, InType: reflect.TypeOf(&TCPSocketAction{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Taint, InType: reflect.TypeOf(&Taint{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Toleration, InType: reflect.TypeOf(&Toleration{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_Volume, InType: reflect.TypeOf(&Volume{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VolumeMount, InType: reflect.TypeOf(&VolumeMount{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VolumeSource, InType: reflect.TypeOf(&VolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_VsphereVirtualDiskVolumeSource, InType: reflect.TypeOf(&VsphereVirtualDiskVolumeSource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_WeightedPodAffinityTerm, InType: reflect.TypeOf(&WeightedPodAffinityTerm{})}, + ) } func DeepCopy_api_AWSElasticBlockStoreVolumeSource(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/install/install.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/install/install.go index 43a4eba21eb..c0dc6822fe4 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/install/install.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/install/install.go @@ -110,7 +110,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - apps.AddToScheme(api.Scheme) + if err := apps.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -119,7 +122,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1alpha1.SchemeGroupVersion: - v1alpha1.AddToScheme(api.Scheme) + if err := v1alpha1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/register.go index c29c5cc27f7..4ee6a9b1772 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/register.go @@ -22,10 +22,10 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // GroupName is the group name use in this package const GroupName = "apps" @@ -44,11 +44,12 @@ func Resource(resource string) unversioned.GroupResource { } // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { // TODO this will get cleaned up with the scheme types are fixed scheme.AddKnownTypes(SchemeGroupVersion, &PetSet{}, &PetSetList{}, &api.ListOptions{}, ) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/types.generated.go index 1ad129faa67..0fabcb8e9ef 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/types.generated.go @@ -92,11 +92,11 @@ func (x *PetSet) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2 [5]bool _, _, _ = yysep2, yyq2, yy2arr2 const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" + yyq2[3] = true + yyq2[4] = true var yynn2 int if yyr2 || yy2arr2 { r.EncodeArrayStart(5) @@ -110,353 +110,353 @@ func (x *PetSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeMapStart(yynn2) yynn2 = 0 } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *PetSet) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2, d) - } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *PetSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = PetSetSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = PetSetStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *PetSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = PetSetSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = PetSetStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1 := z.EncBinary() - _ = yym1 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Replicas != 0 - yyq2[1] = x.Selector != nil - yyq2[3] = len(x.VolumeClaimTemplates) != 0 - var yynn2 int - if yyr2 || yy2arr2 { - r.EncodeArrayStart(5) - } else { - yynn2 = 2 - for _, b := range yyq2 { - if b { - yynn2++ - } - } - r.EncodeMapStart(yynn2) - yynn2 = 0 - } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[0] { yym4 := z.EncBinary() _ = yym4 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy11 := &x.ObjectMeta + yy11.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[3] { + yy13 := &x.Spec + yy13.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy14 := &x.Spec + yy14.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[4] { + yy16 := &x.Status + yy16.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy17 := &x.Status + yy17.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *PetSet) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym18 := z.DecBinary() + _ = yym18 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct19 := r.ContainerType() + if yyct19 == codecSelferValueTypeMap1234 { + yyl19 := r.ReadMapStart() + if yyl19 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl19, d) + } + } else if yyct19 == codecSelferValueTypeArray1234 { + yyl19 := r.ReadArrayStart() + if yyl19 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl19, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *PetSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys20Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys20Slc + var yyhl20 bool = l >= 0 + for yyj20 := 0; ; yyj20++ { + if yyhl20 { + if yyj20 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys20Slc = r.DecodeBytes(yys20Slc, true, true) + yys20 := string(yys20Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys20 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv23 := &x.ObjectMeta + yyv23.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = PetSetSpec{} + } else { + yyv24 := &x.Spec + yyv24.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = PetSetStatus{} + } else { + yyv25 := &x.Status + yyv25.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys20) + } // end switch yys20 + } // end for yyj20 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *PetSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj26 int + var yyb26 bool + var yyhl26 bool = l >= 0 + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv29 := &x.ObjectMeta + yyv29.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = PetSetSpec{} + } else { + yyv30 := &x.Spec + yyv30.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = PetSetStatus{} + } else { + yyv31 := &x.Status + yyv31.CodecDecodeSelf(d) + } + for { + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj26-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym32 := z.EncBinary() + _ = yym32 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep33 := !z.EncBinary() + yy2arr33 := z.EncBasicHandle().StructToArray + var yyq33 [5]bool + _, _, _ = yysep33, yyq33, yy2arr33 + const yyr33 bool = false + yyq33[0] = x.Replicas != 0 + yyq33[1] = x.Selector != nil + yyq33[3] = len(x.VolumeClaimTemplates) != 0 + var yynn33 int + if yyr33 || yy2arr33 { + r.EncodeArrayStart(5) + } else { + yynn33 = 2 + for _, b := range yyq33 { + if b { + yynn33++ + } + } + r.EncodeMapStart(yynn33) + yynn33 = 0 + } + if yyr33 || yy2arr33 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq33[0] { + yym35 := z.EncBinary() + _ = yym35 + if false { } else { r.EncodeInt(int64(x.Replicas)) } @@ -464,26 +464,26 @@ func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[0] { + if yyq33[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym36 := z.EncBinary() + _ = yym36 if false { } else { r.EncodeInt(int64(x.Replicas)) } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq33[1] { if x.Selector == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym38 := z.EncBinary() + _ = yym38 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -494,15 +494,15 @@ func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq33[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym39 := z.EncBinary() + _ = yym39 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -511,25 +511,25 @@ func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy10 := &x.Template - yy10.CodecEncodeSelf(e) + yy41 := &x.Template + yy41.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.Template - yy12.CodecEncodeSelf(e) + yy42 := &x.Template + yy42.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq33[3] { if x.VolumeClaimTemplates == nil { r.EncodeNil() } else { - yym15 := z.EncBinary() - _ = yym15 + yym44 := z.EncBinary() + _ = yym44 if false { } else { h.encSliceapi_PersistentVolumeClaim(([]pkg2_api.PersistentVolumeClaim)(x.VolumeClaimTemplates), e) @@ -539,15 +539,15 @@ func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq33[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeClaimTemplates")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumeClaimTemplates == nil { r.EncodeNil() } else { - yym16 := z.EncBinary() - _ = yym16 + yym45 := z.EncBinary() + _ = yym45 if false { } else { h.encSliceapi_PersistentVolumeClaim(([]pkg2_api.PersistentVolumeClaim)(x.VolumeClaimTemplates), e) @@ -555,10 +555,10 @@ func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym18 := z.EncBinary() - _ = yym18 + yym47 := z.EncBinary() + _ = yym47 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) @@ -567,14 +567,14 @@ func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym19 := z.EncBinary() - _ = yym19 + yym48 := z.EncBinary() + _ = yym48 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -587,25 +587,25 @@ func (x *PetSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym49 := z.DecBinary() + _ = yym49 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct50 := r.ContainerType() + if yyct50 == codecSelferValueTypeMap1234 { + yyl50 := r.ReadMapStart() + if yyl50 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl50, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct50 == codecSelferValueTypeArray1234 { + yyl50 := r.ReadArrayStart() + if yyl50 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl50, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -617,12 +617,12 @@ func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys51Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys51Slc + var yyhl51 bool = l >= 0 + for yyj51 := 0; ; yyj51++ { + if yyhl51 { + if yyj51 >= l { break } } else { @@ -631,10 +631,10 @@ func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys51Slc = r.DecodeBytes(yys51Slc, true, true) + yys51 := string(yys51Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys51 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -650,8 +650,8 @@ func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym6 := z.DecBinary() - _ = yym6 + yym54 := z.DecBinary() + _ = yym54 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -662,19 +662,19 @@ func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv7 := &x.Template - yyv7.CodecDecodeSelf(d) + yyv55 := &x.Template + yyv55.CodecDecodeSelf(d) } case "volumeClaimTemplates": if r.TryDecodeAsNil() { x.VolumeClaimTemplates = nil } else { - yyv8 := &x.VolumeClaimTemplates - yym9 := z.DecBinary() - _ = yym9 + yyv56 := &x.VolumeClaimTemplates + yym57 := z.DecBinary() + _ = yym57 if false { } else { - h.decSliceapi_PersistentVolumeClaim((*[]pkg2_api.PersistentVolumeClaim)(yyv8), d) + h.decSliceapi_PersistentVolumeClaim((*[]pkg2_api.PersistentVolumeClaim)(yyv56), d) } } case "serviceName": @@ -684,9 +684,9 @@ func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ServiceName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys51) + } // end switch yys51 + } // end for yyj51 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -694,16 +694,16 @@ func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj59 int + var yyb59 bool + var yyhl59 bool = l >= 0 + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l } else { - yyb11 = r.CheckBreak() + yyb59 = r.CheckBreak() } - if yyb11 { + if yyb59 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -713,13 +713,13 @@ func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l } else { - yyb11 = r.CheckBreak() + yyb59 = r.CheckBreak() } - if yyb11 { + if yyb59 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -732,21 +732,21 @@ func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym14 := z.DecBinary() - _ = yym14 + yym62 := z.DecBinary() + _ = yym62 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l } else { - yyb11 = r.CheckBreak() + yyb59 = r.CheckBreak() } - if yyb11 { + if yyb59 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -754,16 +754,16 @@ func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv15 := &x.Template - yyv15.CodecDecodeSelf(d) + yyv63 := &x.Template + yyv63.CodecDecodeSelf(d) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l } else { - yyb11 = r.CheckBreak() + yyb59 = r.CheckBreak() } - if yyb11 { + if yyb59 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -771,21 +771,21 @@ func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumeClaimTemplates = nil } else { - yyv16 := &x.VolumeClaimTemplates - yym17 := z.DecBinary() - _ = yym17 + yyv64 := &x.VolumeClaimTemplates + yym65 := z.DecBinary() + _ = yym65 if false { } else { - h.decSliceapi_PersistentVolumeClaim((*[]pkg2_api.PersistentVolumeClaim)(yyv16), d) + h.decSliceapi_PersistentVolumeClaim((*[]pkg2_api.PersistentVolumeClaim)(yyv64), d) } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l } else { - yyb11 = r.CheckBreak() + yyb59 = r.CheckBreak() } - if yyb11 { + if yyb59 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -796,17 +796,17 @@ func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ServiceName = string(r.DecodeString()) } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj59++ + if yyhl59 { + yyb59 = yyj59 > l } else { - yyb11 = r.CheckBreak() + yyb59 = r.CheckBreak() } - if yyb11 { + if yyb59 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj59-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -818,69 +818,69 @@ func (x *PetSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym67 := z.EncBinary() + _ = yym67 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.ObservedGeneration != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep68 := !z.EncBinary() + yy2arr68 := z.EncBasicHandle().StructToArray + var yyq68 [2]bool + _, _, _ = yysep68, yyq68, yy2arr68 + const yyr68 bool = false + yyq68[0] = x.ObservedGeneration != nil + var yynn68 int + if yyr68 || yy2arr68 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn68 = 1 + for _, b := range yyq68 { if b { - yynn2++ + yynn68++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn68) + yynn68 = 0 } - if yyr2 || yy2arr2 { + if yyr68 || yy2arr68 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq68[0] { if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy4 := *x.ObservedGeneration - yym5 := z.EncBinary() - _ = yym5 + yy70 := *x.ObservedGeneration + yym71 := z.EncBinary() + _ = yym71 if false { } else { - r.EncodeInt(int64(yy4)) + r.EncodeInt(int64(yy70)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq68[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy6 := *x.ObservedGeneration - yym7 := z.EncBinary() - _ = yym7 + yy72 := *x.ObservedGeneration + yym73 := z.EncBinary() + _ = yym73 if false { } else { - r.EncodeInt(int64(yy6)) + r.EncodeInt(int64(yy72)) } } } } - if yyr2 || yy2arr2 { + if yyr68 || yy2arr68 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym9 := z.EncBinary() - _ = yym9 + yym75 := z.EncBinary() + _ = yym75 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -889,14 +889,14 @@ func (x *PetSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym10 := z.EncBinary() - _ = yym10 + yym76 := z.EncBinary() + _ = yym76 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2 || yy2arr2 { + if yyr68 || yy2arr68 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -909,25 +909,25 @@ func (x *PetSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym77 := z.DecBinary() + _ = yym77 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct78 := r.ContainerType() + if yyct78 == codecSelferValueTypeMap1234 { + yyl78 := r.ReadMapStart() + if yyl78 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl78, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct78 == codecSelferValueTypeArray1234 { + yyl78 := r.ReadArrayStart() + if yyl78 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl78, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -939,12 +939,12 @@ func (x *PetSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys79Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys79Slc + var yyhl79 bool = l >= 0 + for yyj79 := 0; ; yyj79++ { + if yyhl79 { + if yyj79 >= l { break } } else { @@ -953,10 +953,10 @@ func (x *PetSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys79Slc = r.DecodeBytes(yys79Slc, true, true) + yys79 := string(yys79Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys79 { case "observedGeneration": if r.TryDecodeAsNil() { if x.ObservedGeneration != nil { @@ -966,8 +966,8 @@ func (x *PetSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym5 := z.DecBinary() - _ = yym5 + yym81 := z.DecBinary() + _ = yym81 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) @@ -980,9 +980,9 @@ func (x *PetSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys79) + } // end switch yys79 + } // end for yyj79 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -990,16 +990,16 @@ func (x *PetSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj83 int + var yyb83 bool + var yyhl83 bool = l >= 0 + yyj83++ + if yyhl83 { + yyb83 = yyj83 > l } else { - yyb7 = r.CheckBreak() + yyb83 = r.CheckBreak() } - if yyb7 { + if yyb83 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1012,20 +1012,20 @@ func (x *PetSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym9 := z.DecBinary() - _ = yym9 + yym85 := z.DecBinary() + _ = yym85 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) } } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj83++ + if yyhl83 { + yyb83 = yyj83 > l } else { - yyb7 = r.CheckBreak() + yyb83 = r.CheckBreak() } - if yyb7 { + if yyb83 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1036,17 +1036,17 @@ func (x *PetSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj83++ + if yyhl83 { + yyb83 = yyj83 > l } else { - yyb7 = r.CheckBreak() + yyb83 = r.CheckBreak() } - if yyb7 { + if yyb83 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj83-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1058,68 +1058,118 @@ func (x *PetSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym87 := z.EncBinary() + _ = yym87 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep88 := !z.EncBinary() + yy2arr88 := z.EncBasicHandle().StructToArray + var yyq88 [4]bool + _, _, _ = yysep88, yyq88, yy2arr88 + const yyr88 bool = false + yyq88[0] = x.Kind != "" + yyq88[1] = x.APIVersion != "" + yyq88[2] = true + var yynn88 int + if yyr88 || yy2arr88 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn88 = 1 + for _, b := range yyq88 { if b { - yynn2++ + yynn88++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn88) + yynn88 = 0 } - if yyr2 || yy2arr2 { + if yyr88 || yy2arr88 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq88[0] { + yym90 := z.EncBinary() + _ = yym90 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq88[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym91 := z.EncBinary() + _ = yym91 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr88 || yy2arr88 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq88[1] { + yym93 := z.EncBinary() + _ = yym93 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq88[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym94 := z.EncBinary() + _ = yym94 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr88 || yy2arr88 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq88[2] { + yy96 := &x.ListMeta + yym97 := z.EncBinary() + _ = yym97 + if false { + } else if z.HasExtensions() && z.EncExt(yy96) { + } else { + z.EncFallback(yy96) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq88[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy98 := &x.ListMeta + yym99 := z.EncBinary() + _ = yym99 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy98) { } else { - z.EncFallback(yy6) + z.EncFallback(yy98) } } } - if yyr2 || yy2arr2 { + if yyr88 || yy2arr88 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym101 := z.EncBinary() + _ = yym101 if false { } else { h.encSlicePetSet(([]PetSet)(x.Items), e) @@ -1132,65 +1182,15 @@ func (x *PetSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym102 := z.EncBinary() + _ = yym102 if false { } else { h.encSlicePetSet(([]PetSet)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr88 || yy2arr88 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1203,25 +1203,25 @@ func (x *PetSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym103 := z.DecBinary() + _ = yym103 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct104 := r.ContainerType() + if yyct104 == codecSelferValueTypeMap1234 { + yyl104 := r.ReadMapStart() + if yyl104 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl104, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct104 == codecSelferValueTypeArray1234 { + yyl104 := r.ReadArrayStart() + if yyl104 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl104, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1233,12 +1233,12 @@ func (x *PetSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -1247,35 +1247,10 @@ func (x *PetSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys105Slc = r.DecodeBytes(yys105Slc, true, true) + yys105 := string(yys105Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSlicePetSet((*[]PetSet)(yyv6), d) - } - } + switch yys105 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1288,10 +1263,35 @@ func (x *PetSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv108 := &x.ListMeta + yym109 := z.DecBinary() + _ = yym109 + if false { + } else if z.HasExtensions() && z.DecExt(yyv108) { + } else { + z.DecFallback(yyv108, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv110 := &x.Items + yym111 := z.DecBinary() + _ = yym111 + if false { + } else { + h.decSlicePetSet((*[]PetSet)(yyv110), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys105) + } // end switch yys105 + } // end for yyj105 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1299,61 +1299,16 @@ func (x *PetSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj112 int + var yyb112 bool + var yyhl112 bool = l >= 0 + yyj112++ + if yyhl112 { + yyb112 = yyj112 > l } else { - yyb10 = r.CheckBreak() + yyb112 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSlicePetSet((*[]PetSet)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb112 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1363,13 +1318,13 @@ func (x *PetSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj112++ + if yyhl112 { + yyb112 = yyj112 > l } else { - yyb10 = r.CheckBreak() + yyb112 = r.CheckBreak() } - if yyb10 { + if yyb112 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1379,18 +1334,63 @@ func (x *PetSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj112++ + if yyhl112 { + yyb112 = yyj112 > l + } else { + yyb112 = r.CheckBreak() + } + if yyb112 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv115 := &x.ListMeta + yym116 := z.DecBinary() + _ = yym116 + if false { + } else if z.HasExtensions() && z.DecExt(yyv115) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv115, false) } - if yyb10 { + } + yyj112++ + if yyhl112 { + yyb112 = yyj112 > l + } else { + yyb112 = r.CheckBreak() + } + if yyb112 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv117 := &x.Items + yym118 := z.DecBinary() + _ = yym118 + if false { + } else { + h.decSlicePetSet((*[]PetSet)(yyv117), d) + } + } + for { + yyj112++ + if yyhl112 { + yyb112 = yyj112 > l + } else { + yyb112 = r.CheckBreak() + } + if yyb112 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj112-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1400,10 +1400,10 @@ func (x codecSelfer1234) encSliceapi_PersistentVolumeClaim(v []pkg2_api.Persiste z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv119 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy120 := &yyv119 + yy120.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1413,86 +1413,83 @@ func (x codecSelfer1234) decSliceapi_PersistentVolumeClaim(v *[]pkg2_api.Persist z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []pkg2_api.PersistentVolumeClaim{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv121 := *v + yyh121, yyl121 := z.DecSliceHelperStart() + var yyc121 bool + if yyl121 == 0 { + if yyv121 == nil { + yyv121 = []pkg2_api.PersistentVolumeClaim{} + yyc121 = true + } else if len(yyv121) != 0 { + yyv121 = yyv121[:0] + yyc121 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl121 > 0 { + var yyrr121, yyrl121 int + var yyrt121 bool + if yyl121 > cap(yyv121) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 352) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg121 := len(yyv121) > 0 + yyv2121 := yyv121 + yyrl121, yyrt121 = z.DecInferLen(yyl121, z.DecBasicHandle().MaxInitLen, 352) + if yyrt121 { + if yyrl121 <= cap(yyv121) { + yyv121 = yyv121[:yyrl121] } else { - yyv1 = make([]pkg2_api.PersistentVolumeClaim, yyrl1) + yyv121 = make([]pkg2_api.PersistentVolumeClaim, yyrl121) } } else { - yyv1 = make([]pkg2_api.PersistentVolumeClaim, yyrl1) + yyv121 = make([]pkg2_api.PersistentVolumeClaim, yyrl121) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc121 = true + yyrr121 = len(yyv121) + if yyrg121 { + copy(yyv121, yyv2121) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl121 != len(yyv121) { + yyv121 = yyv121[:yyl121] + yyc121 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj121 := 0 + for ; yyj121 < yyrr121; yyj121++ { + yyh121.ElemContainerState(yyj121) if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_api.PersistentVolumeClaim{} + yyv121[yyj121] = pkg2_api.PersistentVolumeClaim{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv122 := &yyv121[yyj121] + yyv122.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, pkg2_api.PersistentVolumeClaim{}) - yyh1.ElemContainerState(yyj1) + if yyrt121 { + for ; yyj121 < yyl121; yyj121++ { + yyv121 = append(yyv121, pkg2_api.PersistentVolumeClaim{}) + yyh121.ElemContainerState(yyj121) if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_api.PersistentVolumeClaim{} + yyv121[yyj121] = pkg2_api.PersistentVolumeClaim{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv123 := &yyv121[yyj121] + yyv123.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj121 := 0 + for ; !r.CheckBreak(); yyj121++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, pkg2_api.PersistentVolumeClaim{}) // var yyz1 pkg2_api.PersistentVolumeClaim - yyc1 = true + if yyj121 >= len(yyv121) { + yyv121 = append(yyv121, pkg2_api.PersistentVolumeClaim{}) // var yyz121 pkg2_api.PersistentVolumeClaim + yyc121 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh121.ElemContainerState(yyj121) + if yyj121 < len(yyv121) { if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_api.PersistentVolumeClaim{} + yyv121[yyj121] = pkg2_api.PersistentVolumeClaim{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv124 := &yyv121[yyj121] + yyv124.CodecDecodeSelf(d) } } else { @@ -1500,17 +1497,17 @@ func (x codecSelfer1234) decSliceapi_PersistentVolumeClaim(v *[]pkg2_api.Persist } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []pkg2_api.PersistentVolumeClaim{} - yyc1 = true + if yyj121 < len(yyv121) { + yyv121 = yyv121[:yyj121] + yyc121 = true + } else if yyj121 == 0 && yyv121 == nil { + yyv121 = []pkg2_api.PersistentVolumeClaim{} + yyc121 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh121.End() + if yyc121 { + *v = yyv121 } } @@ -1519,10 +1516,10 @@ func (x codecSelfer1234) encSlicePetSet(v []PetSet, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv125 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy126 := &yyv125 + yy126.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1532,86 +1529,83 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PetSet{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv127 := *v + yyh127, yyl127 := z.DecSliceHelperStart() + var yyc127 bool + if yyl127 == 0 { + if yyv127 == nil { + yyv127 = []PetSet{} + yyc127 = true + } else if len(yyv127) != 0 { + yyv127 = yyv127[:0] + yyc127 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl127 > 0 { + var yyrr127, yyrl127 int + var yyrt127 bool + if yyl127 > cap(yyv127) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 744) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg127 := len(yyv127) > 0 + yyv2127 := yyv127 + yyrl127, yyrt127 = z.DecInferLen(yyl127, z.DecBasicHandle().MaxInitLen, 744) + if yyrt127 { + if yyrl127 <= cap(yyv127) { + yyv127 = yyv127[:yyrl127] } else { - yyv1 = make([]PetSet, yyrl1) + yyv127 = make([]PetSet, yyrl127) } } else { - yyv1 = make([]PetSet, yyrl1) + yyv127 = make([]PetSet, yyrl127) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc127 = true + yyrr127 = len(yyv127) + if yyrg127 { + copy(yyv127, yyv2127) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl127 != len(yyv127) { + yyv127 = yyv127[:yyl127] + yyc127 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj127 := 0 + for ; yyj127 < yyrr127; yyj127++ { + yyh127.ElemContainerState(yyj127) if r.TryDecodeAsNil() { - yyv1[yyj1] = PetSet{} + yyv127[yyj127] = PetSet{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv128 := &yyv127[yyj127] + yyv128.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PetSet{}) - yyh1.ElemContainerState(yyj1) + if yyrt127 { + for ; yyj127 < yyl127; yyj127++ { + yyv127 = append(yyv127, PetSet{}) + yyh127.ElemContainerState(yyj127) if r.TryDecodeAsNil() { - yyv1[yyj1] = PetSet{} + yyv127[yyj127] = PetSet{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv129 := &yyv127[yyj127] + yyv129.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj127 := 0 + for ; !r.CheckBreak(); yyj127++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PetSet{}) // var yyz1 PetSet - yyc1 = true + if yyj127 >= len(yyv127) { + yyv127 = append(yyv127, PetSet{}) // var yyz127 PetSet + yyc127 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh127.ElemContainerState(yyj127) + if yyj127 < len(yyv127) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PetSet{} + yyv127[yyj127] = PetSet{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv130 := &yyv127[yyj127] + yyv130.CodecDecodeSelf(d) } } else { @@ -1619,16 +1613,16 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PetSet{} - yyc1 = true + if yyj127 < len(yyv127) { + yyv127 = yyv127[:yyj127] + yyc127 = true + } else if yyj127 == 0 && yyv127 == nil { + yyv127 = []PetSet{} + yyc127 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh127.End() + if yyc127 { + *v = yyv127 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/conversion.go index b54a11eaefd..e75a81696be 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/conversion.go @@ -27,7 +27,7 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions to handle the *int32 -> int // conversion. A pointer is useful in the versioned type so we can default // it, but a plain int32 is more convenient in the internal type. These @@ -37,11 +37,10 @@ func addConversionFuncs(scheme *runtime.Scheme) { Convert_apps_PetSetSpec_To_v1alpha1_PetSetSpec, ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } - err = api.Scheme.AddFieldLabelConversionFunc("apps/v1alpha1", "PetSet", + return api.Scheme.AddFieldLabelConversionFunc("apps/v1alpha1", "PetSet", func(label, value string) (string, string, error) { switch label { case "metadata.name", "metadata.namespace", "status.successful": @@ -49,11 +48,8 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } + }, + ) } func Convert_v1alpha1_PetSetSpec_To_apps_PetSetSpec(in *PetSetSpec, out *apps.PetSetSpec, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/defaults.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/defaults.go index 9de96bbe408..111cadc24f2 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/defaults.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/defaults.go @@ -21,8 +21,8 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs( +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( SetDefaults_PetSet, ) } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/generated.pb.go index ec9b9e6fac4..8f565ab8a94 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/generated.pb.go @@ -49,17 +49,25 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf -func (m *PetSet) Reset() { *m = PetSet{} } -func (*PetSet) ProtoMessage() {} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 -func (m *PetSetList) Reset() { *m = PetSetList{} } -func (*PetSetList) ProtoMessage() {} +func (m *PetSet) Reset() { *m = PetSet{} } +func (*PetSet) ProtoMessage() {} +func (*PetSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } -func (m *PetSetSpec) Reset() { *m = PetSetSpec{} } -func (*PetSetSpec) ProtoMessage() {} +func (m *PetSetList) Reset() { *m = PetSetList{} } +func (*PetSetList) ProtoMessage() {} +func (*PetSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } -func (m *PetSetStatus) Reset() { *m = PetSetStatus{} } -func (*PetSetStatus) ProtoMessage() {} +func (m *PetSetSpec) Reset() { *m = PetSetSpec{} } +func (*PetSetSpec) ProtoMessage() {} +func (*PetSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } + +func (m *PetSetStatus) Reset() { *m = PetSetStatus{} } +func (*PetSetStatus) ProtoMessage() {} +func (*PetSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } func init() { proto.RegisterType((*PetSet)(nil), "k8s.io.client-go.1.4.pkg.apis.apps.v1alpha1.PetSet") @@ -1022,3 +1030,46 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 611 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x94, 0x93, 0x4f, 0x6f, 0xd3, 0x4c, + 0x10, 0xc6, 0xeb, 0xa6, 0xa9, 0xfc, 0x6e, 0xf3, 0x22, 0xb4, 0x54, 0x28, 0x8a, 0x50, 0x8a, 0x72, + 0x8a, 0x50, 0xb3, 0x26, 0x85, 0xa2, 0x9e, 0x8d, 0x04, 0x42, 0x02, 0x5a, 0x39, 0x10, 0x21, 0x10, + 0x48, 0x6b, 0x67, 0x48, 0x97, 0xd8, 0x5e, 0xcb, 0xbb, 0xce, 0x99, 0x03, 0xdc, 0x39, 0xf3, 0x31, + 0xf8, 0x08, 0x9c, 0x72, 0xec, 0x91, 0x53, 0x05, 0xe5, 0x8b, 0xb0, 0x5e, 0xff, 0x49, 0xa8, 0x93, + 0x96, 0x1e, 0x36, 0xca, 0xee, 0xce, 0xf3, 0xdb, 0x99, 0x67, 0xc6, 0xe8, 0x60, 0x72, 0x20, 0x08, + 0xe3, 0xd6, 0x24, 0x71, 0x21, 0x0e, 0x41, 0x82, 0xb0, 0xa2, 0xc9, 0xd8, 0xa2, 0x11, 0x13, 0xea, + 0x27, 0x12, 0xd6, 0xb4, 0x4f, 0xfd, 0xe8, 0x98, 0xf6, 0xad, 0x31, 0x84, 0x10, 0x53, 0x09, 0x23, + 0x12, 0xc5, 0x5c, 0x72, 0xdc, 0xcd, 0x94, 0x64, 0xae, 0x24, 0x4a, 0x49, 0x52, 0x25, 0x49, 0x95, + 0xa4, 0x50, 0xb6, 0x7a, 0x63, 0x26, 0x8f, 0x13, 0x97, 0x78, 0x3c, 0xb0, 0xc6, 0x7c, 0xcc, 0x2d, + 0x0d, 0x70, 0x93, 0xf7, 0x7a, 0xa7, 0x37, 0xfa, 0x5f, 0x06, 0x6e, 0xed, 0xad, 0x4c, 0xc9, 0x8a, + 0x41, 0xf0, 0x24, 0xf6, 0xe0, 0x7c, 0x32, 0xad, 0xfd, 0xd5, 0x9a, 0x24, 0x9c, 0x42, 0x2c, 0x18, + 0x0f, 0x61, 0x54, 0x91, 0xed, 0xae, 0x96, 0x4d, 0x2b, 0x15, 0xb7, 0x7a, 0xcb, 0xa3, 0xe3, 0x24, + 0x94, 0x2c, 0xa8, 0xe6, 0xd4, 0x5f, 0x1e, 0x9e, 0x48, 0xe6, 0x5b, 0x2c, 0x94, 0x42, 0xc6, 0xe7, + 0x25, 0x9d, 0xaf, 0xeb, 0x68, 0xf3, 0x08, 0xe4, 0x00, 0x24, 0x7e, 0x85, 0xcc, 0x00, 0x24, 0x1d, + 0x51, 0x49, 0x9b, 0xc6, 0x6d, 0xa3, 0xbb, 0xb5, 0xd7, 0x25, 0x2b, 0x1d, 0x57, 0x5e, 0x93, 0x43, + 0xf7, 0x03, 0x78, 0xf2, 0x99, 0xd2, 0xd8, 0x78, 0x76, 0xba, 0xb3, 0x76, 0x76, 0xba, 0x83, 0xe6, + 0x67, 0x4e, 0x49, 0xc3, 0x43, 0xb4, 0x21, 0x22, 0xf0, 0x9a, 0xeb, 0x9a, 0x7a, 0x9f, 0xfc, 0x6b, + 0x1f, 0x49, 0x96, 0xd9, 0x40, 0x69, 0xed, 0x46, 0xfe, 0xc2, 0x46, 0xba, 0x73, 0x34, 0x0f, 0xbf, + 0x43, 0x9b, 0x42, 0x52, 0x99, 0x88, 0x66, 0x4d, 0x93, 0x1f, 0x5c, 0x99, 0xac, 0xd5, 0xf6, 0xb5, + 0x9c, 0xbd, 0x99, 0xed, 0x9d, 0x9c, 0xda, 0xf9, 0x6e, 0x20, 0x94, 0x05, 0x3e, 0x65, 0x42, 0xe2, + 0xb7, 0x15, 0x83, 0xac, 0x0b, 0x0c, 0x5a, 0x98, 0x02, 0x92, 0xca, 0xb5, 0x4f, 0xd7, 0xf3, 0x97, + 0xcc, 0xe2, 0x64, 0xc1, 0xa5, 0x97, 0xa8, 0xce, 0x24, 0x04, 0x42, 0xd9, 0x54, 0x53, 0xec, 0xbb, + 0x57, 0x2d, 0xc6, 0xfe, 0x3f, 0x87, 0xd7, 0x9f, 0xa4, 0x18, 0x27, 0xa3, 0x75, 0xbe, 0xd5, 0x8a, + 0x22, 0x52, 0xe7, 0x70, 0x17, 0x99, 0x31, 0x44, 0x3e, 0xf3, 0xa8, 0xd0, 0x45, 0xd4, 0xed, 0x46, + 0x9a, 0x8f, 0x93, 0x9f, 0x39, 0xe5, 0xad, 0x72, 0xd7, 0x14, 0xe0, 0xab, 0x6e, 0xf2, 0xf8, 0xf2, + 0xce, 0xfd, 0x5d, 0x2e, 0x75, 0xc1, 0x1f, 0xe4, 0xda, 0x8c, 0x5f, 0xec, 0x9c, 0x92, 0x89, 0xdf, + 0x20, 0x53, 0x25, 0x18, 0xf9, 0x6a, 0x1a, 0xf3, 0xfe, 0xf5, 0x2e, 0x9e, 0xb7, 0x23, 0x3e, 0x7a, + 0x91, 0x0b, 0xf4, 0x48, 0x94, 0x66, 0x16, 0xa7, 0x4e, 0x09, 0xc4, 0x9f, 0x0d, 0xb4, 0x3d, 0xe5, + 0x7e, 0x12, 0xc0, 0x43, 0x9f, 0xb2, 0xa0, 0x88, 0x10, 0xcd, 0x0d, 0x6d, 0xee, 0xbd, 0x4b, 0x5e, + 0x4a, 0x4b, 0x11, 0x12, 0x42, 0x39, 0x9c, 0x33, 0xec, 0x5b, 0xf9, 0x7b, 0xdb, 0xc3, 0x25, 0x60, + 0x67, 0xe9, 0x73, 0x78, 0x1f, 0x6d, 0x09, 0x88, 0xa7, 0xcc, 0x83, 0xe7, 0x34, 0x80, 0x66, 0x5d, + 0xd5, 0xf9, 0x9f, 0x7d, 0x23, 0x07, 0x6d, 0x0d, 0xe6, 0x57, 0xce, 0x62, 0x5c, 0xe7, 0x93, 0x81, + 0x1a, 0x8b, 0x23, 0x8a, 0x1f, 0x21, 0xcc, 0xdd, 0x34, 0x02, 0x46, 0x8f, 0xb3, 0x4f, 0x58, 0x59, + 0xad, 0x1b, 0x58, 0xb3, 0x6f, 0x2a, 0x14, 0x3e, 0xac, 0xdc, 0x3a, 0x4b, 0x14, 0x78, 0x77, 0xa1, + 0xfd, 0xeb, 0xba, 0xfd, 0xa5, 0x8b, 0xd5, 0x11, 0xb0, 0xef, 0xcc, 0x7e, 0xb5, 0xd7, 0x4e, 0xd4, + 0xfa, 0xa1, 0xd6, 0xc7, 0xb3, 0xb6, 0x31, 0x53, 0xeb, 0x44, 0xad, 0x9f, 0x6a, 0x7d, 0xf9, 0xdd, + 0x5e, 0x7b, 0x6d, 0x16, 0x43, 0xf8, 0x27, 0x00, 0x00, 0xff, 0xff, 0x14, 0xcf, 0x45, 0x01, 0xd8, + 0x05, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/register.go index 1d1c3b29a1d..2208ccff77d 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/register.go @@ -29,14 +29,13 @@ const GroupName = "apps" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1alpha1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &PetSet{}, &PetSetList{}, @@ -44,6 +43,7 @@ func addKnownTypes(scheme *runtime.Scheme) { &v1.DeleteOptions{}, ) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } func (obj *PetSet) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/types.generated.go index f5a8e634240..29253262825 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/types.generated.go @@ -92,11 +92,11 @@ func (x *PetSet) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2 [5]bool _, _, _ = yysep2, yyq2, yy2arr2 const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" + yyq2[3] = true + yyq2[4] = true var yynn2 int if yyr2 || yy2arr2 { r.EncodeArrayStart(5) @@ -113,102 +113,102 @@ func (x *PetSet) CodecEncodeSelf(e *codec1978.Encoder) { if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, "") } } else { if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, "") } } else { if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy11 := &x.ObjectMeta yy11.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) + if yyq2[3] { + yy13 := &x.Spec + yy13.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq2[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy14 := &x.Spec + yy14.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[4] { + yy16 := &x.Status + yy16.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } + yy17 := &x.Status + yy17.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { @@ -224,25 +224,25 @@ func (x *PetSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym18 := z.DecBinary() + _ = yym18 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct19 := r.ContainerType() + if yyct19 == codecSelferValueTypeMap1234 { + yyl19 := r.ReadMapStart() + if yyl19 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl19, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct19 == codecSelferValueTypeArray1234 { + yyl19 := r.ReadArrayStart() + if yyl19 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl19, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -254,12 +254,12 @@ func (x *PetSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys20Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys20Slc + var yyhl20 bool = l >= 0 + for yyj20 := 0; ; yyj20++ { + if yyhl20 { + if yyj20 >= l { break } } else { @@ -268,31 +268,10 @@ func (x *PetSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys20Slc = r.DecodeBytes(yys20Slc, true, true) + yys20 := string(yys20Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = PetSetSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = PetSetStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys20 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -305,10 +284,31 @@ func (x *PetSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv23 := &x.ObjectMeta + yyv23.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = PetSetSpec{} + } else { + yyv24 := &x.Spec + yyv24.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = PetSetStatus{} + } else { + yyv25 := &x.Status + yyv25.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys20) + } // end switch yys20 + } // end for yyj20 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -316,67 +316,16 @@ func (x *PetSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj26 int + var yyb26 bool + var yyhl26 bool = l >= 0 + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = PetSetSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = PetSetStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -386,13 +335,13 @@ func (x *PetSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -402,18 +351,69 @@ func (x *PetSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv29 := &x.ObjectMeta + yyv29.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = PetSetSpec{} + } else { + yyv30 := &x.Spec + yyv30.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = PetSetStatus{} + } else { + yyv31 := &x.Status + yyv31.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { + if yyb26 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj26-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -425,75 +425,75 @@ func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym32 := z.EncBinary() + _ = yym32 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Replicas != nil - yyq2[1] = x.Selector != nil - yyq2[3] = len(x.VolumeClaimTemplates) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep33 := !z.EncBinary() + yy2arr33 := z.EncBasicHandle().StructToArray + var yyq33 [5]bool + _, _, _ = yysep33, yyq33, yy2arr33 + const yyr33 bool = false + yyq33[0] = x.Replicas != nil + yyq33[1] = x.Selector != nil + yyq33[3] = len(x.VolumeClaimTemplates) != 0 + var yynn33 int + if yyr33 || yy2arr33 { r.EncodeArrayStart(5) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn33 = 2 + for _, b := range yyq33 { if b { - yynn2++ + yynn33++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn33) + yynn33 = 0 } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq33[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy4 := *x.Replicas - yym5 := z.EncBinary() - _ = yym5 + yy35 := *x.Replicas + yym36 := z.EncBinary() + _ = yym36 if false { } else { - r.EncodeInt(int64(yy4)) + r.EncodeInt(int64(yy35)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq33[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy6 := *x.Replicas - yym7 := z.EncBinary() - _ = yym7 + yy37 := *x.Replicas + yym38 := z.EncBinary() + _ = yym38 if false { } else { - r.EncodeInt(int64(yy6)) + r.EncodeInt(int64(yy37)) } } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq33[1] { if x.Selector == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym40 := z.EncBinary() + _ = yym40 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -504,15 +504,15 @@ func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq33[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym41 := z.EncBinary() + _ = yym41 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -521,25 +521,25 @@ func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy12 := &x.Template - yy12.CodecEncodeSelf(e) + yy43 := &x.Template + yy43.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.Template - yy14.CodecEncodeSelf(e) + yy44 := &x.Template + yy44.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq33[3] { if x.VolumeClaimTemplates == nil { r.EncodeNil() } else { - yym17 := z.EncBinary() - _ = yym17 + yym46 := z.EncBinary() + _ = yym46 if false { } else { h.encSlicev1_PersistentVolumeClaim(([]pkg2_v1.PersistentVolumeClaim)(x.VolumeClaimTemplates), e) @@ -549,15 +549,15 @@ func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq33[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeClaimTemplates")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumeClaimTemplates == nil { r.EncodeNil() } else { - yym18 := z.EncBinary() - _ = yym18 + yym47 := z.EncBinary() + _ = yym47 if false { } else { h.encSlicev1_PersistentVolumeClaim(([]pkg2_v1.PersistentVolumeClaim)(x.VolumeClaimTemplates), e) @@ -565,10 +565,10 @@ func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym20 := z.EncBinary() - _ = yym20 + yym49 := z.EncBinary() + _ = yym49 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) @@ -577,14 +577,14 @@ func (x *PetSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym50 := z.EncBinary() + _ = yym50 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -597,25 +597,25 @@ func (x *PetSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym51 := z.DecBinary() + _ = yym51 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct52 := r.ContainerType() + if yyct52 == codecSelferValueTypeMap1234 { + yyl52 := r.ReadMapStart() + if yyl52 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl52, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct52 == codecSelferValueTypeArray1234 { + yyl52 := r.ReadArrayStart() + if yyl52 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl52, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -627,12 +627,12 @@ func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys53Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys53Slc + var yyhl53 bool = l >= 0 + for yyj53 := 0; ; yyj53++ { + if yyhl53 { + if yyj53 >= l { break } } else { @@ -641,10 +641,10 @@ func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys53Slc = r.DecodeBytes(yys53Slc, true, true) + yys53 := string(yys53Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys53 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -654,8 +654,8 @@ func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym5 := z.DecBinary() - _ = yym5 + yym55 := z.DecBinary() + _ = yym55 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -670,8 +670,8 @@ func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym7 := z.DecBinary() - _ = yym7 + yym57 := z.DecBinary() + _ = yym57 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -682,19 +682,19 @@ func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv8 := &x.Template - yyv8.CodecDecodeSelf(d) + yyv58 := &x.Template + yyv58.CodecDecodeSelf(d) } case "volumeClaimTemplates": if r.TryDecodeAsNil() { x.VolumeClaimTemplates = nil } else { - yyv9 := &x.VolumeClaimTemplates - yym10 := z.DecBinary() - _ = yym10 + yyv59 := &x.VolumeClaimTemplates + yym60 := z.DecBinary() + _ = yym60 if false { } else { - h.decSlicev1_PersistentVolumeClaim((*[]pkg2_v1.PersistentVolumeClaim)(yyv9), d) + h.decSlicev1_PersistentVolumeClaim((*[]pkg2_v1.PersistentVolumeClaim)(yyv59), d) } } case "serviceName": @@ -704,9 +704,9 @@ func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ServiceName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys53) + } // end switch yys53 + } // end for yyj53 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -714,16 +714,16 @@ func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj62 int + var yyb62 bool + var yyhl62 bool = l >= 0 + yyj62++ + if yyhl62 { + yyb62 = yyj62 > l } else { - yyb12 = r.CheckBreak() + yyb62 = r.CheckBreak() } - if yyb12 { + if yyb62 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -736,20 +736,20 @@ func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym14 := z.DecBinary() - _ = yym14 + yym64 := z.DecBinary() + _ = yym64 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj62++ + if yyhl62 { + yyb62 = yyj62 > l } else { - yyb12 = r.CheckBreak() + yyb62 = r.CheckBreak() } - if yyb12 { + if yyb62 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -762,21 +762,21 @@ func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym16 := z.DecBinary() - _ = yym16 + yym66 := z.DecBinary() + _ = yym66 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj62++ + if yyhl62 { + yyb62 = yyj62 > l } else { - yyb12 = r.CheckBreak() + yyb62 = r.CheckBreak() } - if yyb12 { + if yyb62 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -784,16 +784,16 @@ func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv17 := &x.Template - yyv17.CodecDecodeSelf(d) + yyv67 := &x.Template + yyv67.CodecDecodeSelf(d) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj62++ + if yyhl62 { + yyb62 = yyj62 > l } else { - yyb12 = r.CheckBreak() + yyb62 = r.CheckBreak() } - if yyb12 { + if yyb62 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -801,21 +801,21 @@ func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumeClaimTemplates = nil } else { - yyv18 := &x.VolumeClaimTemplates - yym19 := z.DecBinary() - _ = yym19 + yyv68 := &x.VolumeClaimTemplates + yym69 := z.DecBinary() + _ = yym69 if false { } else { - h.decSlicev1_PersistentVolumeClaim((*[]pkg2_v1.PersistentVolumeClaim)(yyv18), d) + h.decSlicev1_PersistentVolumeClaim((*[]pkg2_v1.PersistentVolumeClaim)(yyv68), d) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj62++ + if yyhl62 { + yyb62 = yyj62 > l } else { - yyb12 = r.CheckBreak() + yyb62 = r.CheckBreak() } - if yyb12 { + if yyb62 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -826,17 +826,17 @@ func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ServiceName = string(r.DecodeString()) } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj62++ + if yyhl62 { + yyb62 = yyj62 > l } else { - yyb12 = r.CheckBreak() + yyb62 = r.CheckBreak() } - if yyb12 { + if yyb62 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj62-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -848,69 +848,69 @@ func (x *PetSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym71 := z.EncBinary() + _ = yym71 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.ObservedGeneration != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep72 := !z.EncBinary() + yy2arr72 := z.EncBasicHandle().StructToArray + var yyq72 [2]bool + _, _, _ = yysep72, yyq72, yy2arr72 + const yyr72 bool = false + yyq72[0] = x.ObservedGeneration != nil + var yynn72 int + if yyr72 || yy2arr72 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn72 = 1 + for _, b := range yyq72 { if b { - yynn2++ + yynn72++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn72) + yynn72 = 0 } - if yyr2 || yy2arr2 { + if yyr72 || yy2arr72 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq72[0] { if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy4 := *x.ObservedGeneration - yym5 := z.EncBinary() - _ = yym5 + yy74 := *x.ObservedGeneration + yym75 := z.EncBinary() + _ = yym75 if false { } else { - r.EncodeInt(int64(yy4)) + r.EncodeInt(int64(yy74)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq72[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy6 := *x.ObservedGeneration - yym7 := z.EncBinary() - _ = yym7 + yy76 := *x.ObservedGeneration + yym77 := z.EncBinary() + _ = yym77 if false { } else { - r.EncodeInt(int64(yy6)) + r.EncodeInt(int64(yy76)) } } } } - if yyr2 || yy2arr2 { + if yyr72 || yy2arr72 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym9 := z.EncBinary() - _ = yym9 + yym79 := z.EncBinary() + _ = yym79 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -919,14 +919,14 @@ func (x *PetSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym10 := z.EncBinary() - _ = yym10 + yym80 := z.EncBinary() + _ = yym80 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2 || yy2arr2 { + if yyr72 || yy2arr72 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -939,25 +939,25 @@ func (x *PetSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym81 := z.DecBinary() + _ = yym81 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct82 := r.ContainerType() + if yyct82 == codecSelferValueTypeMap1234 { + yyl82 := r.ReadMapStart() + if yyl82 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl82, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct82 == codecSelferValueTypeArray1234 { + yyl82 := r.ReadArrayStart() + if yyl82 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl82, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -969,12 +969,12 @@ func (x *PetSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys83Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys83Slc + var yyhl83 bool = l >= 0 + for yyj83 := 0; ; yyj83++ { + if yyhl83 { + if yyj83 >= l { break } } else { @@ -983,10 +983,10 @@ func (x *PetSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys83Slc = r.DecodeBytes(yys83Slc, true, true) + yys83 := string(yys83Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys83 { case "observedGeneration": if r.TryDecodeAsNil() { if x.ObservedGeneration != nil { @@ -996,8 +996,8 @@ func (x *PetSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym5 := z.DecBinary() - _ = yym5 + yym85 := z.DecBinary() + _ = yym85 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) @@ -1010,9 +1010,9 @@ func (x *PetSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Replicas = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys83) + } // end switch yys83 + } // end for yyj83 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1020,16 +1020,16 @@ func (x *PetSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj87 int + var yyb87 bool + var yyhl87 bool = l >= 0 + yyj87++ + if yyhl87 { + yyb87 = yyj87 > l } else { - yyb7 = r.CheckBreak() + yyb87 = r.CheckBreak() } - if yyb7 { + if yyb87 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1042,20 +1042,20 @@ func (x *PetSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym9 := z.DecBinary() - _ = yym9 + yym89 := z.DecBinary() + _ = yym89 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) } } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj87++ + if yyhl87 { + yyb87 = yyj87 > l } else { - yyb7 = r.CheckBreak() + yyb87 = r.CheckBreak() } - if yyb7 { + if yyb87 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1066,17 +1066,17 @@ func (x *PetSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Replicas = int32(r.DecodeInt(32)) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj87++ + if yyhl87 { + yyb87 = yyj87 > l } else { - yyb7 = r.CheckBreak() + yyb87 = r.CheckBreak() } - if yyb7 { + if yyb87 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj87-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1088,68 +1088,118 @@ func (x *PetSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym91 := z.EncBinary() + _ = yym91 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep92 := !z.EncBinary() + yy2arr92 := z.EncBasicHandle().StructToArray + var yyq92 [4]bool + _, _, _ = yysep92, yyq92, yy2arr92 + const yyr92 bool = false + yyq92[0] = x.Kind != "" + yyq92[1] = x.APIVersion != "" + yyq92[2] = true + var yynn92 int + if yyr92 || yy2arr92 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn92 = 1 + for _, b := range yyq92 { if b { - yynn2++ + yynn92++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn92) + yynn92 = 0 } - if yyr2 || yy2arr2 { + if yyr92 || yy2arr92 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq92[0] { + yym94 := z.EncBinary() + _ = yym94 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq92[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym95 := z.EncBinary() + _ = yym95 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr92 || yy2arr92 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq92[1] { + yym97 := z.EncBinary() + _ = yym97 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq92[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym98 := z.EncBinary() + _ = yym98 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr92 || yy2arr92 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq92[2] { + yy100 := &x.ListMeta + yym101 := z.EncBinary() + _ = yym101 + if false { + } else if z.HasExtensions() && z.EncExt(yy100) { + } else { + z.EncFallback(yy100) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq92[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy102 := &x.ListMeta + yym103 := z.EncBinary() + _ = yym103 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy102) { } else { - z.EncFallback(yy6) + z.EncFallback(yy102) } } } - if yyr2 || yy2arr2 { + if yyr92 || yy2arr92 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym105 := z.EncBinary() + _ = yym105 if false { } else { h.encSlicePetSet(([]PetSet)(x.Items), e) @@ -1162,65 +1212,15 @@ func (x *PetSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym106 := z.EncBinary() + _ = yym106 if false { } else { h.encSlicePetSet(([]PetSet)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr92 || yy2arr92 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1233,25 +1233,25 @@ func (x *PetSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym107 := z.DecBinary() + _ = yym107 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct108 := r.ContainerType() + if yyct108 == codecSelferValueTypeMap1234 { + yyl108 := r.ReadMapStart() + if yyl108 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl108, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct108 == codecSelferValueTypeArray1234 { + yyl108 := r.ReadArrayStart() + if yyl108 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl108, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1263,12 +1263,12 @@ func (x *PetSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys109Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys109Slc + var yyhl109 bool = l >= 0 + for yyj109 := 0; ; yyj109++ { + if yyhl109 { + if yyj109 >= l { break } } else { @@ -1277,35 +1277,10 @@ func (x *PetSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys109Slc = r.DecodeBytes(yys109Slc, true, true) + yys109 := string(yys109Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSlicePetSet((*[]PetSet)(yyv6), d) - } - } + switch yys109 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1318,10 +1293,35 @@ func (x *PetSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv112 := &x.ListMeta + yym113 := z.DecBinary() + _ = yym113 + if false { + } else if z.HasExtensions() && z.DecExt(yyv112) { + } else { + z.DecFallback(yyv112, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv114 := &x.Items + yym115 := z.DecBinary() + _ = yym115 + if false { + } else { + h.decSlicePetSet((*[]PetSet)(yyv114), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys109) + } // end switch yys109 + } // end for yyj109 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1329,61 +1329,16 @@ func (x *PetSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj116 int + var yyb116 bool + var yyhl116 bool = l >= 0 + yyj116++ + if yyhl116 { + yyb116 = yyj116 > l } else { - yyb10 = r.CheckBreak() + yyb116 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSlicePetSet((*[]PetSet)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb116 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1393,13 +1348,13 @@ func (x *PetSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj116++ + if yyhl116 { + yyb116 = yyj116 > l } else { - yyb10 = r.CheckBreak() + yyb116 = r.CheckBreak() } - if yyb10 { + if yyb116 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1409,18 +1364,63 @@ func (x *PetSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj116++ + if yyhl116 { + yyb116 = yyj116 > l + } else { + yyb116 = r.CheckBreak() + } + if yyb116 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv119 := &x.ListMeta + yym120 := z.DecBinary() + _ = yym120 + if false { + } else if z.HasExtensions() && z.DecExt(yyv119) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv119, false) } - if yyb10 { + } + yyj116++ + if yyhl116 { + yyb116 = yyj116 > l + } else { + yyb116 = r.CheckBreak() + } + if yyb116 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv121 := &x.Items + yym122 := z.DecBinary() + _ = yym122 + if false { + } else { + h.decSlicePetSet((*[]PetSet)(yyv121), d) + } + } + for { + yyj116++ + if yyhl116 { + yyb116 = yyj116 > l + } else { + yyb116 = r.CheckBreak() + } + if yyb116 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj116-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1430,10 +1430,10 @@ func (x codecSelfer1234) encSlicev1_PersistentVolumeClaim(v []pkg2_v1.Persistent z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv123 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy124 := &yyv123 + yy124.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1443,86 +1443,83 @@ func (x codecSelfer1234) decSlicev1_PersistentVolumeClaim(v *[]pkg2_v1.Persisten z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []pkg2_v1.PersistentVolumeClaim{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv125 := *v + yyh125, yyl125 := z.DecSliceHelperStart() + var yyc125 bool + if yyl125 == 0 { + if yyv125 == nil { + yyv125 = []pkg2_v1.PersistentVolumeClaim{} + yyc125 = true + } else if len(yyv125) != 0 { + yyv125 = yyv125[:0] + yyc125 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl125 > 0 { + var yyrr125, yyrl125 int + var yyrt125 bool + if yyl125 > cap(yyv125) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 352) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg125 := len(yyv125) > 0 + yyv2125 := yyv125 + yyrl125, yyrt125 = z.DecInferLen(yyl125, z.DecBasicHandle().MaxInitLen, 352) + if yyrt125 { + if yyrl125 <= cap(yyv125) { + yyv125 = yyv125[:yyrl125] } else { - yyv1 = make([]pkg2_v1.PersistentVolumeClaim, yyrl1) + yyv125 = make([]pkg2_v1.PersistentVolumeClaim, yyrl125) } } else { - yyv1 = make([]pkg2_v1.PersistentVolumeClaim, yyrl1) + yyv125 = make([]pkg2_v1.PersistentVolumeClaim, yyrl125) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc125 = true + yyrr125 = len(yyv125) + if yyrg125 { + copy(yyv125, yyv2125) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl125 != len(yyv125) { + yyv125 = yyv125[:yyl125] + yyc125 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj125 := 0 + for ; yyj125 < yyrr125; yyj125++ { + yyh125.ElemContainerState(yyj125) if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_v1.PersistentVolumeClaim{} + yyv125[yyj125] = pkg2_v1.PersistentVolumeClaim{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv126 := &yyv125[yyj125] + yyv126.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, pkg2_v1.PersistentVolumeClaim{}) - yyh1.ElemContainerState(yyj1) + if yyrt125 { + for ; yyj125 < yyl125; yyj125++ { + yyv125 = append(yyv125, pkg2_v1.PersistentVolumeClaim{}) + yyh125.ElemContainerState(yyj125) if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_v1.PersistentVolumeClaim{} + yyv125[yyj125] = pkg2_v1.PersistentVolumeClaim{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv127 := &yyv125[yyj125] + yyv127.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj125 := 0 + for ; !r.CheckBreak(); yyj125++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, pkg2_v1.PersistentVolumeClaim{}) // var yyz1 pkg2_v1.PersistentVolumeClaim - yyc1 = true + if yyj125 >= len(yyv125) { + yyv125 = append(yyv125, pkg2_v1.PersistentVolumeClaim{}) // var yyz125 pkg2_v1.PersistentVolumeClaim + yyc125 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh125.ElemContainerState(yyj125) + if yyj125 < len(yyv125) { if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_v1.PersistentVolumeClaim{} + yyv125[yyj125] = pkg2_v1.PersistentVolumeClaim{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv128 := &yyv125[yyj125] + yyv128.CodecDecodeSelf(d) } } else { @@ -1530,17 +1527,17 @@ func (x codecSelfer1234) decSlicev1_PersistentVolumeClaim(v *[]pkg2_v1.Persisten } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []pkg2_v1.PersistentVolumeClaim{} - yyc1 = true + if yyj125 < len(yyv125) { + yyv125 = yyv125[:yyj125] + yyc125 = true + } else if yyj125 == 0 && yyv125 == nil { + yyv125 = []pkg2_v1.PersistentVolumeClaim{} + yyc125 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh125.End() + if yyc125 { + *v = yyv125 } } @@ -1549,10 +1546,10 @@ func (x codecSelfer1234) encSlicePetSet(v []PetSet, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv129 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy130 := &yyv129 + yy130.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1562,86 +1559,83 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PetSet{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv131 := *v + yyh131, yyl131 := z.DecSliceHelperStart() + var yyc131 bool + if yyl131 == 0 { + if yyv131 == nil { + yyv131 = []PetSet{} + yyc131 = true + } else if len(yyv131) != 0 { + yyv131 = yyv131[:0] + yyc131 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl131 > 0 { + var yyrr131, yyrl131 int + var yyrt131 bool + if yyl131 > cap(yyv131) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 768) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg131 := len(yyv131) > 0 + yyv2131 := yyv131 + yyrl131, yyrt131 = z.DecInferLen(yyl131, z.DecBasicHandle().MaxInitLen, 768) + if yyrt131 { + if yyrl131 <= cap(yyv131) { + yyv131 = yyv131[:yyrl131] } else { - yyv1 = make([]PetSet, yyrl1) + yyv131 = make([]PetSet, yyrl131) } } else { - yyv1 = make([]PetSet, yyrl1) + yyv131 = make([]PetSet, yyrl131) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc131 = true + yyrr131 = len(yyv131) + if yyrg131 { + copy(yyv131, yyv2131) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl131 != len(yyv131) { + yyv131 = yyv131[:yyl131] + yyc131 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj131 := 0 + for ; yyj131 < yyrr131; yyj131++ { + yyh131.ElemContainerState(yyj131) if r.TryDecodeAsNil() { - yyv1[yyj1] = PetSet{} + yyv131[yyj131] = PetSet{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv132 := &yyv131[yyj131] + yyv132.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PetSet{}) - yyh1.ElemContainerState(yyj1) + if yyrt131 { + for ; yyj131 < yyl131; yyj131++ { + yyv131 = append(yyv131, PetSet{}) + yyh131.ElemContainerState(yyj131) if r.TryDecodeAsNil() { - yyv1[yyj1] = PetSet{} + yyv131[yyj131] = PetSet{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv133 := &yyv131[yyj131] + yyv133.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj131 := 0 + for ; !r.CheckBreak(); yyj131++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PetSet{}) // var yyz1 PetSet - yyc1 = true + if yyj131 >= len(yyv131) { + yyv131 = append(yyv131, PetSet{}) // var yyz131 PetSet + yyc131 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh131.ElemContainerState(yyj131) + if yyj131 < len(yyv131) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PetSet{} + yyv131[yyj131] = PetSet{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv134 := &yyv131[yyj131] + yyv134.CodecDecodeSelf(d) } } else { @@ -1649,16 +1643,16 @@ func (x codecSelfer1234) decSlicePetSet(v *[]PetSet, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PetSet{} - yyc1 = true + if yyj131 < len(yyv131) { + yyv131 = yyv131[:yyj131] + yyc131 = true + } else if yyj131 == 0 && yyv131 == nil { + yyv131 = []PetSet{} + yyc131 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh131.End() + if yyc131 { + *v = yyv131 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/zz_generated.conversion.go index d7636f2e9b5..542f3bd5317 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/zz_generated.conversion.go @@ -24,10 +24,17 @@ import ( api "k8s.io/client-go/1.4/pkg/api" apps "k8s.io/client-go/1.4/pkg/apis/apps" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1alpha1_PetSet_To_apps_PetSet, Convert_apps_PetSet_To_v1alpha1_PetSet, Convert_v1alpha1_PetSetList_To_apps_PetSetList, @@ -36,10 +43,7 @@ func init() { Convert_apps_PetSetSpec_To_v1alpha1_PetSetSpec, Convert_v1alpha1_PetSetStatus_To_apps_PetSetStatus, Convert_apps_PetSetStatus_To_v1alpha1_PetSetStatus, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1alpha1_PetSet_To_apps_PetSet(in *PetSet, out *apps.PetSet, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go index 84283ad23d7..7f364fecc72 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go @@ -21,23 +21,26 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.4/pkg/api" unversioned "k8s.io/client-go/1.4/pkg/api/unversioned" v1 "k8s.io/client-go/1.4/pkg/api/v1" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSet, InType: reflect.TypeOf(func() *PetSet { var x *PetSet; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSetList, InType: reflect.TypeOf(func() *PetSetList { var x *PetSetList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSetSpec, InType: reflect.TypeOf(func() *PetSetSpec { var x *PetSetSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSetStatus, InType: reflect.TypeOf(func() *PetSetStatus { var x *PetSetStatus; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSet, InType: reflect.TypeOf(&PetSet{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSetList, InType: reflect.TypeOf(&PetSetList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSetSpec, InType: reflect.TypeOf(&PetSetSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PetSetStatus, InType: reflect.TypeOf(&PetSetStatus{})}, + ) } func DeepCopy_v1alpha1_PetSet(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/zz_generated.deepcopy.go index da2043462e5..297da4dd9c8 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/apps/zz_generated.deepcopy.go @@ -24,19 +24,23 @@ import ( api "k8s.io/client-go/1.4/pkg/api" unversioned "k8s.io/client-go/1.4/pkg/api/unversioned" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSet, InType: reflect.TypeOf(func() *PetSet { var x *PetSet; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSetList, InType: reflect.TypeOf(func() *PetSetList { var x *PetSetList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSetSpec, InType: reflect.TypeOf(func() *PetSetSpec { var x *PetSetSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSetStatus, InType: reflect.TypeOf(func() *PetSetStatus { var x *PetSetStatus; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSet, InType: reflect.TypeOf(&PetSet{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSetList, InType: reflect.TypeOf(&PetSetList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSetSpec, InType: reflect.TypeOf(&PetSetSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_apps_PetSetStatus, InType: reflect.TypeOf(&PetSetStatus{})}, + ) } func DeepCopy_apps_PetSet(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/install/install.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/install/install.go index 89cd7b236a4..293ce12f92f 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/install/install.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/install/install.go @@ -89,7 +89,10 @@ func enableVersions(externalVersions []unversioned.GroupVersion) error { func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - authentication.AddToScheme(api.Scheme) + if err := authentication.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -98,7 +101,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1beta1.SchemeGroupVersion: - v1beta1.AddToScheme(api.Scheme) + if err := v1beta1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/register.go index c69ff87052f..e9041c7ae82 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/register.go @@ -38,11 +38,12 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &api.ListOptions{}, &api.DeleteOptions{}, @@ -50,4 +51,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &TokenReview{}, ) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/types.generated.go index 00c5c4f8640..4aa8a96f6b0 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/types.generated.go @@ -88,22 +88,22 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2 [18]bool _, _, _ = yysep2, yyq2, yy2arr2 const yyr2 bool = false - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - yyq2[4] = x.Name != "" - yyq2[5] = x.GenerateName != "" - yyq2[6] = x.Namespace != "" - yyq2[7] = x.SelfLink != "" - yyq2[8] = x.UID != "" - yyq2[9] = x.ResourceVersion != "" - yyq2[10] = x.Generation != 0 - yyq2[11] = true - yyq2[12] = x.ObjectMeta.DeletionTimestamp != nil && x.DeletionTimestamp != nil - yyq2[13] = x.ObjectMeta.DeletionGracePeriodSeconds != nil && x.DeletionGracePeriodSeconds != nil - yyq2[14] = len(x.Labels) != 0 - yyq2[15] = len(x.Annotations) != 0 - yyq2[16] = len(x.OwnerReferences) != 0 - yyq2[17] = len(x.Finalizers) != 0 + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = x.Name != "" + yyq2[3] = x.GenerateName != "" + yyq2[4] = x.Namespace != "" + yyq2[5] = x.SelfLink != "" + yyq2[6] = x.UID != "" + yyq2[7] = x.ResourceVersion != "" + yyq2[8] = x.Generation != 0 + yyq2[9] = true + yyq2[10] = x.ObjectMeta.DeletionTimestamp != nil && x.DeletionTimestamp != nil + yyq2[11] = x.ObjectMeta.DeletionGracePeriodSeconds != nil && x.DeletionGracePeriodSeconds != nil + yyq2[12] = len(x.Labels) != 0 + yyq2[13] = len(x.Annotations) != 0 + yyq2[14] = len(x.OwnerReferences) != 0 + yyq2[15] = len(x.Finalizers) != 0 var yynn2 int if yyr2 || yy2arr2 { r.EncodeArrayStart(18) @@ -119,223 +119,201 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4 := &x.Spec - yy4.CodecEncodeSelf(e) + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.Spec - yy6.CodecEncodeSelf(e) + if yyq2[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy9 := &x.Status - yy9.CodecEncodeSelf(e) + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Status - yy11.CodecEncodeSelf(e) + if yyq2[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym11 := z.EncBinary() + _ = yym11 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.GenerateName)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("generateName")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym14 := z.EncBinary() _ = yym14 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + r.EncodeString(codecSelferC_UTF81234, string(x.GenerateName)) } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("namespace")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym17 := z.EncBinary() _ = yym17 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SelfLink)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("selfLink")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym20 := z.EncBinary() _ = yym20 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("name")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.GenerateName)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("generateName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.GenerateName)) + r.EncodeString(codecSelferC_UTF81234, string(x.SelfLink)) } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[6] { + yym22 := z.EncBinary() + _ = yym22 + if false { + } else if z.HasExtensions() && z.EncExt(x.UID) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.UID)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("uid")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym23 := z.EncBinary() + _ = yym23 + if false { + } else if z.HasExtensions() && z.EncExt(x.UID) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.UID)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[7] { + yym25 := z.EncBinary() + _ = yym25 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[7] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym26 := z.EncBinary() _ = yym26 if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("namespace")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym27 := z.EncBinary() - _ = yym27 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym29 := z.EncBinary() - _ = yym29 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SelfLink)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[7] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("selfLink")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym30 := z.EncBinary() - _ = yym30 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SelfLink)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { - yym32 := z.EncBinary() - _ = yym32 - if false { - } else if z.HasExtensions() && z.EncExt(x.UID) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.UID)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[8] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("uid")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym33 := z.EncBinary() - _ = yym33 - if false { - } else if z.HasExtensions() && z.EncExt(x.UID) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.UID)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { - yym35 := z.EncBinary() - _ = yym35 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[9] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym36 := z.EncBinary() - _ = yym36 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } @@ -343,9 +321,9 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { - yym38 := z.EncBinary() - _ = yym38 + if yyq2[8] { + yym28 := z.EncBinary() + _ = yym28 if false { } else { r.EncodeInt(int64(x.Generation)) @@ -354,12 +332,12 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[10] { + if yyq2[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("generation")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym39 := z.EncBinary() - _ = yym39 + yym29 := z.EncBinary() + _ = yym29 if false { } else { r.EncodeInt(int64(x.Generation)) @@ -368,63 +346,63 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { - yy41 := &x.CreationTimestamp - yym42 := z.EncBinary() - _ = yym42 + if yyq2[9] { + yy31 := &x.CreationTimestamp + yym32 := z.EncBinary() + _ = yym32 if false { - } else if z.HasExtensions() && z.EncExt(yy41) { - } else if yym42 { - z.EncBinaryMarshal(yy41) - } else if !yym42 && z.IsJSONHandle() { - z.EncJSONMarshal(yy41) + } else if z.HasExtensions() && z.EncExt(yy31) { + } else if yym32 { + z.EncBinaryMarshal(yy31) + } else if !yym32 && z.IsJSONHandle() { + z.EncJSONMarshal(yy31) } else { - z.EncFallback(yy41) + z.EncFallback(yy31) } } else { r.EncodeNil() } } else { - if yyq2[11] { + if yyq2[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("creationTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy43 := &x.CreationTimestamp - yym44 := z.EncBinary() - _ = yym44 + yy33 := &x.CreationTimestamp + yym34 := z.EncBinary() + _ = yym34 if false { - } else if z.HasExtensions() && z.EncExt(yy43) { - } else if yym44 { - z.EncBinaryMarshal(yy43) - } else if !yym44 && z.IsJSONHandle() { - z.EncJSONMarshal(yy43) + } else if z.HasExtensions() && z.EncExt(yy33) { + } else if yym34 { + z.EncBinaryMarshal(yy33) + } else if !yym34 && z.IsJSONHandle() { + z.EncJSONMarshal(yy33) } else { - z.EncFallback(yy43) + z.EncFallback(yy33) } } } - var yyn45 bool + var yyn35 bool if x.ObjectMeta.DeletionTimestamp == nil { - yyn45 = true - goto LABEL45 + yyn35 = true + goto LABEL35 } - LABEL45: + LABEL35: if yyr2 || yy2arr2 { - if yyn45 { + if yyn35 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { + if yyq2[10] { if x.DeletionTimestamp == nil { r.EncodeNil() } else { - yym46 := z.EncBinary() - _ = yym46 + yym36 := z.EncBinary() + _ = yym36 if false { } else if z.HasExtensions() && z.EncExt(x.DeletionTimestamp) { - } else if yym46 { + } else if yym36 { z.EncBinaryMarshal(x.DeletionTimestamp) - } else if !yym46 && z.IsJSONHandle() { + } else if !yym36 && z.IsJSONHandle() { z.EncJSONMarshal(x.DeletionTimestamp) } else { z.EncFallback(x.DeletionTimestamp) @@ -435,23 +413,23 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[12] { + if yyq2[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deletionTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn45 { + if yyn35 { r.EncodeNil() } else { if x.DeletionTimestamp == nil { r.EncodeNil() } else { - yym47 := z.EncBinary() - _ = yym47 + yym37 := z.EncBinary() + _ = yym37 if false { } else if z.HasExtensions() && z.EncExt(x.DeletionTimestamp) { - } else if yym47 { + } else if yym37 { z.EncBinaryMarshal(x.DeletionTimestamp) - } else if !yym47 && z.IsJSONHandle() { + } else if !yym37 && z.IsJSONHandle() { z.EncJSONMarshal(x.DeletionTimestamp) } else { z.EncFallback(x.DeletionTimestamp) @@ -460,27 +438,27 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn48 bool + var yyn38 bool if x.ObjectMeta.DeletionGracePeriodSeconds == nil { - yyn48 = true - goto LABEL48 + yyn38 = true + goto LABEL38 } - LABEL48: + LABEL38: if yyr2 || yy2arr2 { - if yyn48 { + if yyn38 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { + if yyq2[11] { if x.DeletionGracePeriodSeconds == nil { r.EncodeNil() } else { - yy49 := *x.DeletionGracePeriodSeconds - yym50 := z.EncBinary() - _ = yym50 + yy39 := *x.DeletionGracePeriodSeconds + yym40 := z.EncBinary() + _ = yym40 if false { } else { - r.EncodeInt(int64(yy49)) + r.EncodeInt(int64(yy39)) } } } else { @@ -488,22 +466,22 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[13] { + if yyq2[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deletionGracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn48 { + if yyn38 { r.EncodeNil() } else { if x.DeletionGracePeriodSeconds == nil { r.EncodeNil() } else { - yy51 := *x.DeletionGracePeriodSeconds - yym52 := z.EncBinary() - _ = yym52 + yy41 := *x.DeletionGracePeriodSeconds + yym42 := z.EncBinary() + _ = yym42 if false { } else { - r.EncodeInt(int64(yy51)) + r.EncodeInt(int64(yy41)) } } } @@ -511,12 +489,12 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[14] { + if yyq2[12] { if x.Labels == nil { r.EncodeNil() } else { - yym54 := z.EncBinary() - _ = yym54 + yym44 := z.EncBinary() + _ = yym44 if false { } else { z.F.EncMapStringStringV(x.Labels, false, e) @@ -526,15 +504,15 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[14] { + if yyq2[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labels")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Labels == nil { r.EncodeNil() } else { - yym55 := z.EncBinary() - _ = yym55 + yym45 := z.EncBinary() + _ = yym45 if false { } else { z.F.EncMapStringStringV(x.Labels, false, e) @@ -544,12 +522,12 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[15] { + if yyq2[13] { if x.Annotations == nil { r.EncodeNil() } else { - yym57 := z.EncBinary() - _ = yym57 + yym47 := z.EncBinary() + _ = yym47 if false { } else { z.F.EncMapStringStringV(x.Annotations, false, e) @@ -559,15 +537,15 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[15] { + if yyq2[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("annotations")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Annotations == nil { r.EncodeNil() } else { - yym58 := z.EncBinary() - _ = yym58 + yym48 := z.EncBinary() + _ = yym48 if false { } else { z.F.EncMapStringStringV(x.Annotations, false, e) @@ -577,12 +555,12 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[16] { + if yyq2[14] { if x.OwnerReferences == nil { r.EncodeNil() } else { - yym60 := z.EncBinary() - _ = yym60 + yym50 := z.EncBinary() + _ = yym50 if false { } else { h.encSliceapi_OwnerReference(([]pkg2_api.OwnerReference)(x.OwnerReferences), e) @@ -592,15 +570,15 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[16] { + if yyq2[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ownerReferences")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.OwnerReferences == nil { r.EncodeNil() } else { - yym61 := z.EncBinary() - _ = yym61 + yym51 := z.EncBinary() + _ = yym51 if false { } else { h.encSliceapi_OwnerReference(([]pkg2_api.OwnerReference)(x.OwnerReferences), e) @@ -610,12 +588,12 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[17] { + if yyq2[15] { if x.Finalizers == nil { r.EncodeNil() } else { - yym63 := z.EncBinary() - _ = yym63 + yym53 := z.EncBinary() + _ = yym53 if false { } else { z.F.EncSliceStringV(x.Finalizers, false, e) @@ -625,15 +603,15 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[17] { + if yyq2[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finalizers")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Finalizers == nil { r.EncodeNil() } else { - yym64 := z.EncBinary() - _ = yym64 + yym54 := z.EncBinary() + _ = yym54 if false { } else { z.F.EncSliceStringV(x.Finalizers, false, e) @@ -641,6 +619,28 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy56 := &x.Spec + yy56.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy57 := &x.Spec + yy57.CodecEncodeSelf(e) + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy59 := &x.Status + yy59.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy60 := &x.Status + yy60.CodecEncodeSelf(e) + } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { @@ -654,25 +654,25 @@ func (x *TokenReview) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym61 := z.DecBinary() + _ = yym61 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct62 := r.ContainerType() + if yyct62 == codecSelferValueTypeMap1234 { + yyl62 := r.ReadMapStart() + if yyl62 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl62, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct62 == codecSelferValueTypeArray1234 { + yyl62 := r.ReadArrayStart() + if yyl62 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl62, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -684,12 +684,12 @@ func (x *TokenReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys63Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys63Slc + var yyhl63 bool = l >= 0 + for yyj63 := 0; ; yyj63++ { + if yyhl63 { + if yyj63 >= l { break } } else { @@ -698,24 +698,10 @@ func (x *TokenReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys63Slc = r.DecodeBytes(yys63Slc, true, true) + yys63 := string(yys63Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "Spec": - if r.TryDecodeAsNil() { - x.Spec = TokenReviewSpec{} - } else { - yyv4 := &x.Spec - yyv4.CodecDecodeSelf(d) - } - case "Status": - if r.TryDecodeAsNil() { - x.Status = TokenReviewStatus{} - } else { - yyv5 := &x.Status - yyv5.CodecDecodeSelf(d) - } + switch yys63 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -774,17 +760,17 @@ func (x *TokenReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.CreationTimestamp = pkg1_unversioned.Time{} } else { - yyv15 := &x.CreationTimestamp - yym16 := z.DecBinary() - _ = yym16 + yyv73 := &x.CreationTimestamp + yym74 := z.DecBinary() + _ = yym74 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { - } else if yym16 { - z.DecBinaryUnmarshal(yyv15) - } else if !yym16 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv15) + } else if z.HasExtensions() && z.DecExt(yyv73) { + } else if yym74 { + z.DecBinaryUnmarshal(yyv73) + } else if !yym74 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv73) } else { - z.DecFallback(yyv15, false) + z.DecFallback(yyv73, false) } } case "deletionTimestamp": @@ -799,13 +785,13 @@ func (x *TokenReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.DeletionTimestamp == nil { x.DeletionTimestamp = new(pkg1_unversioned.Time) } - yym18 := z.DecBinary() - _ = yym18 + yym76 := z.DecBinary() + _ = yym76 if false { } else if z.HasExtensions() && z.DecExt(x.DeletionTimestamp) { - } else if yym18 { + } else if yym76 { z.DecBinaryUnmarshal(x.DeletionTimestamp) - } else if !yym18 && z.IsJSONHandle() { + } else if !yym76 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.DeletionTimestamp) } else { z.DecFallback(x.DeletionTimestamp, false) @@ -823,8 +809,8 @@ func (x *TokenReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.DeletionGracePeriodSeconds == nil { x.DeletionGracePeriodSeconds = new(int64) } - yym20 := z.DecBinary() - _ = yym20 + yym78 := z.DecBinary() + _ = yym78 if false { } else { *((*int64)(x.DeletionGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -834,54 +820,68 @@ func (x *TokenReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv21 := &x.Labels - yym22 := z.DecBinary() - _ = yym22 + yyv79 := &x.Labels + yym80 := z.DecBinary() + _ = yym80 if false { } else { - z.F.DecMapStringStringX(yyv21, false, d) + z.F.DecMapStringStringX(yyv79, false, d) } } case "annotations": if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv23 := &x.Annotations - yym24 := z.DecBinary() - _ = yym24 + yyv81 := &x.Annotations + yym82 := z.DecBinary() + _ = yym82 if false { } else { - z.F.DecMapStringStringX(yyv23, false, d) + z.F.DecMapStringStringX(yyv81, false, d) } } case "ownerReferences": if r.TryDecodeAsNil() { x.OwnerReferences = nil } else { - yyv25 := &x.OwnerReferences - yym26 := z.DecBinary() - _ = yym26 + yyv83 := &x.OwnerReferences + yym84 := z.DecBinary() + _ = yym84 if false { } else { - h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv25), d) + h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv83), d) } } case "finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv27 := &x.Finalizers - yym28 := z.DecBinary() - _ = yym28 + yyv85 := &x.Finalizers + yym86 := z.DecBinary() + _ = yym86 if false { } else { - z.F.DecSliceStringX(yyv27, false, d) + z.F.DecSliceStringX(yyv85, false, d) } } + case "Spec": + if r.TryDecodeAsNil() { + x.Spec = TokenReviewSpec{} + } else { + yyv87 := &x.Spec + yyv87.CodecDecodeSelf(d) + } + case "Status": + if r.TryDecodeAsNil() { + x.Status = TokenReviewStatus{} + } else { + yyv88 := &x.Status + yyv88.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys63) + } // end switch yys63 + } // end for yyj63 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -889,50 +889,16 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj29 int - var yyb29 bool - var yyhl29 bool = l >= 0 - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + var yyj89 int + var yyb89 bool + var yyhl89 bool = l >= 0 + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = TokenReviewSpec{} - } else { - yyv30 := &x.Spec - yyv30.CodecDecodeSelf(d) - } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l - } else { - yyb29 = r.CheckBreak() - } - if yyb29 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = TokenReviewStatus{} - } else { - yyv31 := &x.Status - yyv31.CodecDecodeSelf(d) - } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l - } else { - yyb29 = r.CheckBreak() - } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -942,13 +908,13 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -958,13 +924,13 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -974,13 +940,13 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -990,13 +956,13 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.GenerateName = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1006,13 +972,13 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Namespace = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1022,13 +988,13 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SelfLink = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1038,13 +1004,13 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.UID = pkg3_types.UID(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1054,13 +1020,13 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1070,13 +1036,13 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Generation = int64(r.DecodeInt(64)) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1084,29 +1050,29 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.CreationTimestamp = pkg1_unversioned.Time{} } else { - yyv41 := &x.CreationTimestamp - yym42 := z.DecBinary() - _ = yym42 + yyv99 := &x.CreationTimestamp + yym100 := z.DecBinary() + _ = yym100 if false { - } else if z.HasExtensions() && z.DecExt(yyv41) { - } else if yym42 { - z.DecBinaryUnmarshal(yyv41) - } else if !yym42 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv41) + } else if z.HasExtensions() && z.DecExt(yyv99) { + } else if yym100 { + z.DecBinaryUnmarshal(yyv99) + } else if !yym100 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv99) } else { - z.DecFallback(yyv41, false) + z.DecFallback(yyv99, false) } } if x.ObjectMeta.DeletionTimestamp == nil { x.ObjectMeta.DeletionTimestamp = new(pkg1_unversioned.Time) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1119,13 +1085,13 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.DeletionTimestamp == nil { x.DeletionTimestamp = new(pkg1_unversioned.Time) } - yym44 := z.DecBinary() - _ = yym44 + yym102 := z.DecBinary() + _ = yym102 if false { } else if z.HasExtensions() && z.DecExt(x.DeletionTimestamp) { - } else if yym44 { + } else if yym102 { z.DecBinaryUnmarshal(x.DeletionTimestamp) - } else if !yym44 && z.IsJSONHandle() { + } else if !yym102 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.DeletionTimestamp) } else { z.DecFallback(x.DeletionTimestamp, false) @@ -1134,13 +1100,13 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ObjectMeta.DeletionGracePeriodSeconds == nil { x.ObjectMeta.DeletionGracePeriodSeconds = new(int64) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1153,20 +1119,20 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.DeletionGracePeriodSeconds == nil { x.DeletionGracePeriodSeconds = new(int64) } - yym46 := z.DecBinary() - _ = yym46 + yym104 := z.DecBinary() + _ = yym104 if false { } else { *((*int64)(x.DeletionGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1174,21 +1140,21 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv47 := &x.Labels - yym48 := z.DecBinary() - _ = yym48 + yyv105 := &x.Labels + yym106 := z.DecBinary() + _ = yym106 if false { } else { - z.F.DecMapStringStringX(yyv47, false, d) + z.F.DecMapStringStringX(yyv105, false, d) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1196,21 +1162,21 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv49 := &x.Annotations - yym50 := z.DecBinary() - _ = yym50 + yyv107 := &x.Annotations + yym108 := z.DecBinary() + _ = yym108 if false { } else { - z.F.DecMapStringStringX(yyv49, false, d) + z.F.DecMapStringStringX(yyv107, false, d) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1218,21 +1184,21 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.OwnerReferences = nil } else { - yyv51 := &x.OwnerReferences - yym52 := z.DecBinary() - _ = yym52 + yyv109 := &x.OwnerReferences + yym110 := z.DecBinary() + _ = yym110 if false { } else { - h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv51), d) + h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv109), d) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1240,26 +1206,60 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv53 := &x.Finalizers - yym54 := z.DecBinary() - _ = yym54 + yyv111 := &x.Finalizers + yym112 := z.DecBinary() + _ = yym112 if false { } else { - z.F.DecSliceStringX(yyv53, false, d) + z.F.DecSliceStringX(yyv111, false, d) } } + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l + } else { + yyb89 = r.CheckBreak() + } + if yyb89 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = TokenReviewSpec{} + } else { + yyv113 := &x.Spec + yyv113.CodecDecodeSelf(d) + } + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l + } else { + yyb89 = r.CheckBreak() + } + if yyb89 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = TokenReviewStatus{} + } else { + yyv114 := &x.Status + yyv114.CodecDecodeSelf(d) + } for { - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj29-1, "") + z.DecStructFieldNotFound(yyj89-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1271,33 +1271,33 @@ func (x *TokenReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym115 := z.EncBinary() + _ = yym115 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep116 := !z.EncBinary() + yy2arr116 := z.EncBasicHandle().StructToArray + var yyq116 [1]bool + _, _, _ = yysep116, yyq116, yy2arr116 + const yyr116 bool = false + var yynn116 int + if yyr116 || yy2arr116 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn116 = 1 + for _, b := range yyq116 { if b { - yynn2++ + yynn116++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn116) + yynn116 = 0 } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym118 := z.EncBinary() + _ = yym118 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Token)) @@ -1306,14 +1306,14 @@ func (x *TokenReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Token")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym119 := z.EncBinary() + _ = yym119 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Token)) } } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1326,25 +1326,25 @@ func (x *TokenReviewSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym120 := z.DecBinary() + _ = yym120 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct121 := r.ContainerType() + if yyct121 == codecSelferValueTypeMap1234 { + yyl121 := r.ReadMapStart() + if yyl121 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl121, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct121 == codecSelferValueTypeArray1234 { + yyl121 := r.ReadArrayStart() + if yyl121 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl121, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1356,12 +1356,12 @@ func (x *TokenReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys122Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys122Slc + var yyhl122 bool = l >= 0 + for yyj122 := 0; ; yyj122++ { + if yyhl122 { + if yyj122 >= l { break } } else { @@ -1370,10 +1370,10 @@ func (x *TokenReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys122Slc = r.DecodeBytes(yys122Slc, true, true) + yys122 := string(yys122Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys122 { case "Token": if r.TryDecodeAsNil() { x.Token = "" @@ -1381,9 +1381,9 @@ func (x *TokenReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Token = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys122) + } // end switch yys122 + } // end for yyj122 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1391,16 +1391,16 @@ func (x *TokenReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj124 int + var yyb124 bool + var yyhl124 bool = l >= 0 + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb5 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb5 { + if yyb124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1411,17 +1411,17 @@ func (x *TokenReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Token = string(r.DecodeString()) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj124++ + if yyhl124 { + yyb124 = yyj124 > l } else { - yyb5 = r.CheckBreak() + yyb124 = r.CheckBreak() } - if yyb5 { + if yyb124 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj124-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1433,33 +1433,33 @@ func (x *TokenReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym126 := z.EncBinary() + _ = yym126 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep127 := !z.EncBinary() + yy2arr127 := z.EncBasicHandle().StructToArray + var yyq127 [3]bool + _, _, _ = yysep127, yyq127, yy2arr127 + const yyr127 bool = false + var yynn127 int + if yyr127 || yy2arr127 { r.EncodeArrayStart(3) } else { - yynn2 = 3 - for _, b := range yyq2 { + yynn127 = 3 + for _, b := range yyq127 { if b { - yynn2++ + yynn127++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn127) + yynn127 = 0 } - if yyr2 || yy2arr2 { + if yyr127 || yy2arr127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym129 := z.EncBinary() + _ = yym129 if false { } else { r.EncodeBool(bool(x.Authenticated)) @@ -1468,28 +1468,28 @@ func (x *TokenReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Authenticated")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym130 := z.EncBinary() + _ = yym130 if false { } else { r.EncodeBool(bool(x.Authenticated)) } } - if yyr2 || yy2arr2 { + if yyr127 || yy2arr127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.User - yy7.CodecEncodeSelf(e) + yy132 := &x.User + yy132.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("User")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.User - yy9.CodecEncodeSelf(e) + yy133 := &x.User + yy133.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr127 || yy2arr127 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym12 := z.EncBinary() - _ = yym12 + yym135 := z.EncBinary() + _ = yym135 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) @@ -1498,14 +1498,14 @@ func (x *TokenReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 + yym136 := z.EncBinary() + _ = yym136 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } - if yyr2 || yy2arr2 { + if yyr127 || yy2arr127 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1518,25 +1518,25 @@ func (x *TokenReviewStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym137 := z.DecBinary() + _ = yym137 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct138 := r.ContainerType() + if yyct138 == codecSelferValueTypeMap1234 { + yyl138 := r.ReadMapStart() + if yyl138 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl138, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct138 == codecSelferValueTypeArray1234 { + yyl138 := r.ReadArrayStart() + if yyl138 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl138, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1548,12 +1548,12 @@ func (x *TokenReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys139Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys139Slc + var yyhl139 bool = l >= 0 + for yyj139 := 0; ; yyj139++ { + if yyhl139 { + if yyj139 >= l { break } } else { @@ -1562,10 +1562,10 @@ func (x *TokenReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys139Slc = r.DecodeBytes(yys139Slc, true, true) + yys139 := string(yys139Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys139 { case "Authenticated": if r.TryDecodeAsNil() { x.Authenticated = false @@ -1576,8 +1576,8 @@ func (x *TokenReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.User = UserInfo{} } else { - yyv5 := &x.User - yyv5.CodecDecodeSelf(d) + yyv141 := &x.User + yyv141.CodecDecodeSelf(d) } case "Error": if r.TryDecodeAsNil() { @@ -1586,9 +1586,9 @@ func (x *TokenReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Error = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys139) + } // end switch yys139 + } // end for yyj139 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1596,16 +1596,16 @@ func (x *TokenReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj143 int + var yyb143 bool + var yyhl143 bool = l >= 0 + yyj143++ + if yyhl143 { + yyb143 = yyj143 > l } else { - yyb7 = r.CheckBreak() + yyb143 = r.CheckBreak() } - if yyb7 { + if yyb143 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1615,13 +1615,13 @@ func (x *TokenReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Authenticated = bool(r.DecodeBool()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj143++ + if yyhl143 { + yyb143 = yyj143 > l } else { - yyb7 = r.CheckBreak() + yyb143 = r.CheckBreak() } - if yyb7 { + if yyb143 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1629,16 +1629,16 @@ func (x *TokenReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.User = UserInfo{} } else { - yyv9 := &x.User - yyv9.CodecDecodeSelf(d) + yyv145 := &x.User + yyv145.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj143++ + if yyhl143 { + yyb143 = yyj143 > l } else { - yyb7 = r.CheckBreak() + yyb143 = r.CheckBreak() } - if yyb7 { + if yyb143 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1649,17 +1649,17 @@ func (x *TokenReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.Error = string(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj143++ + if yyhl143 { + yyb143 = yyj143 > l } else { - yyb7 = r.CheckBreak() + yyb143 = r.CheckBreak() } - if yyb7 { + if yyb143 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj143-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1671,33 +1671,33 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym147 := z.EncBinary() + _ = yym147 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep148 := !z.EncBinary() + yy2arr148 := z.EncBasicHandle().StructToArray + var yyq148 [4]bool + _, _, _ = yysep148, yyq148, yy2arr148 + const yyr148 bool = false + var yynn148 int + if yyr148 || yy2arr148 { r.EncodeArrayStart(4) } else { - yynn2 = 4 - for _, b := range yyq2 { + yynn148 = 4 + for _, b := range yyq148 { if b { - yynn2++ + yynn148++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn148) + yynn148 = 0 } - if yyr2 || yy2arr2 { + if yyr148 || yy2arr148 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym150 := z.EncBinary() + _ = yym150 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Username)) @@ -1706,17 +1706,17 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Username")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym151 := z.EncBinary() + _ = yym151 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Username)) } } - if yyr2 || yy2arr2 { + if yyr148 || yy2arr148 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym153 := z.EncBinary() + _ = yym153 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) @@ -1725,20 +1725,20 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("UID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym154 := z.EncBinary() + _ = yym154 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) } } - if yyr2 || yy2arr2 { + if yyr148 || yy2arr148 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Groups == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym156 := z.EncBinary() + _ = yym156 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -1751,21 +1751,21 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { if x.Groups == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym157 := z.EncBinary() + _ = yym157 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) } } } - if yyr2 || yy2arr2 { + if yyr148 || yy2arr148 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Extra == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym159 := z.EncBinary() + _ = yym159 if false { } else { h.encMapstringExtraValue((map[string]ExtraValue)(x.Extra), e) @@ -1778,15 +1778,15 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { if x.Extra == nil { r.EncodeNil() } else { - yym14 := z.EncBinary() - _ = yym14 + yym160 := z.EncBinary() + _ = yym160 if false { } else { h.encMapstringExtraValue((map[string]ExtraValue)(x.Extra), e) } } } - if yyr2 || yy2arr2 { + if yyr148 || yy2arr148 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1799,25 +1799,25 @@ func (x *UserInfo) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym161 := z.DecBinary() + _ = yym161 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct162 := r.ContainerType() + if yyct162 == codecSelferValueTypeMap1234 { + yyl162 := r.ReadMapStart() + if yyl162 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl162, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct162 == codecSelferValueTypeArray1234 { + yyl162 := r.ReadArrayStart() + if yyl162 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl162, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1829,12 +1829,12 @@ func (x *UserInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys163Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys163Slc + var yyhl163 bool = l >= 0 + for yyj163 := 0; ; yyj163++ { + if yyhl163 { + if yyj163 >= l { break } } else { @@ -1843,10 +1843,10 @@ func (x *UserInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys163Slc = r.DecodeBytes(yys163Slc, true, true) + yys163 := string(yys163Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys163 { case "Username": if r.TryDecodeAsNil() { x.Username = "" @@ -1863,30 +1863,30 @@ func (x *UserInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv6 := &x.Groups - yym7 := z.DecBinary() - _ = yym7 + yyv166 := &x.Groups + yym167 := z.DecBinary() + _ = yym167 if false { } else { - z.F.DecSliceStringX(yyv6, false, d) + z.F.DecSliceStringX(yyv166, false, d) } } case "Extra": if r.TryDecodeAsNil() { x.Extra = nil } else { - yyv8 := &x.Extra - yym9 := z.DecBinary() - _ = yym9 + yyv168 := &x.Extra + yym169 := z.DecBinary() + _ = yym169 if false { } else { - h.decMapstringExtraValue((*map[string]ExtraValue)(yyv8), d) + h.decMapstringExtraValue((*map[string]ExtraValue)(yyv168), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys163) + } // end switch yys163 + } // end for yyj163 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1894,16 +1894,16 @@ func (x *UserInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj170 int + var yyb170 bool + var yyhl170 bool = l >= 0 + yyj170++ + if yyhl170 { + yyb170 = yyj170 > l } else { - yyb10 = r.CheckBreak() + yyb170 = r.CheckBreak() } - if yyb10 { + if yyb170 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1913,13 +1913,13 @@ func (x *UserInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Username = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj170++ + if yyhl170 { + yyb170 = yyj170 > l } else { - yyb10 = r.CheckBreak() + yyb170 = r.CheckBreak() } - if yyb10 { + if yyb170 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1929,13 +1929,13 @@ func (x *UserInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.UID = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj170++ + if yyhl170 { + yyb170 = yyj170 > l } else { - yyb10 = r.CheckBreak() + yyb170 = r.CheckBreak() } - if yyb10 { + if yyb170 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1943,21 +1943,21 @@ func (x *UserInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv13 := &x.Groups - yym14 := z.DecBinary() - _ = yym14 + yyv173 := &x.Groups + yym174 := z.DecBinary() + _ = yym174 if false { } else { - z.F.DecSliceStringX(yyv13, false, d) + z.F.DecSliceStringX(yyv173, false, d) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj170++ + if yyhl170 { + yyb170 = yyj170 > l } else { - yyb10 = r.CheckBreak() + yyb170 = r.CheckBreak() } - if yyb10 { + if yyb170 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1965,26 +1965,26 @@ func (x *UserInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Extra = nil } else { - yyv15 := &x.Extra - yym16 := z.DecBinary() - _ = yym16 + yyv175 := &x.Extra + yym176 := z.DecBinary() + _ = yym176 if false { } else { - h.decMapstringExtraValue((*map[string]ExtraValue)(yyv15), d) + h.decMapstringExtraValue((*map[string]ExtraValue)(yyv175), d) } } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj170++ + if yyhl170 { + yyb170 = yyj170 > l } else { - yyb10 = r.CheckBreak() + yyb170 = r.CheckBreak() } - if yyb10 { + if yyb170 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj170-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1996,8 +1996,8 @@ func (x ExtraValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym177 := z.EncBinary() + _ = yym177 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -2010,8 +2010,8 @@ func (x *ExtraValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym178 := z.DecBinary() + _ = yym178 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -2024,10 +2024,10 @@ func (x codecSelfer1234) encSliceapi_OwnerReference(v []pkg2_api.OwnerReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv179 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy180 := &yyv179 + yy180.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2037,86 +2037,83 @@ func (x codecSelfer1234) decSliceapi_OwnerReference(v *[]pkg2_api.OwnerReference z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []pkg2_api.OwnerReference{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv181 := *v + yyh181, yyl181 := z.DecSliceHelperStart() + var yyc181 bool + if yyl181 == 0 { + if yyv181 == nil { + yyv181 = []pkg2_api.OwnerReference{} + yyc181 = true + } else if len(yyv181) != 0 { + yyv181 = yyv181[:0] + yyc181 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl181 > 0 { + var yyrr181, yyrl181 int + var yyrt181 bool + if yyl181 > cap(yyv181) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg181 := len(yyv181) > 0 + yyv2181 := yyv181 + yyrl181, yyrt181 = z.DecInferLen(yyl181, z.DecBasicHandle().MaxInitLen, 72) + if yyrt181 { + if yyrl181 <= cap(yyv181) { + yyv181 = yyv181[:yyrl181] } else { - yyv1 = make([]pkg2_api.OwnerReference, yyrl1) + yyv181 = make([]pkg2_api.OwnerReference, yyrl181) } } else { - yyv1 = make([]pkg2_api.OwnerReference, yyrl1) + yyv181 = make([]pkg2_api.OwnerReference, yyrl181) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc181 = true + yyrr181 = len(yyv181) + if yyrg181 { + copy(yyv181, yyv2181) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl181 != len(yyv181) { + yyv181 = yyv181[:yyl181] + yyc181 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj181 := 0 + for ; yyj181 < yyrr181; yyj181++ { + yyh181.ElemContainerState(yyj181) if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_api.OwnerReference{} + yyv181[yyj181] = pkg2_api.OwnerReference{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv182 := &yyv181[yyj181] + yyv182.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, pkg2_api.OwnerReference{}) - yyh1.ElemContainerState(yyj1) + if yyrt181 { + for ; yyj181 < yyl181; yyj181++ { + yyv181 = append(yyv181, pkg2_api.OwnerReference{}) + yyh181.ElemContainerState(yyj181) if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_api.OwnerReference{} + yyv181[yyj181] = pkg2_api.OwnerReference{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv183 := &yyv181[yyj181] + yyv183.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj181 := 0 + for ; !r.CheckBreak(); yyj181++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, pkg2_api.OwnerReference{}) // var yyz1 pkg2_api.OwnerReference - yyc1 = true + if yyj181 >= len(yyv181) { + yyv181 = append(yyv181, pkg2_api.OwnerReference{}) // var yyz181 pkg2_api.OwnerReference + yyc181 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh181.ElemContainerState(yyj181) + if yyj181 < len(yyv181) { if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_api.OwnerReference{} + yyv181[yyj181] = pkg2_api.OwnerReference{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv184 := &yyv181[yyj181] + yyv184.CodecDecodeSelf(d) } } else { @@ -2124,17 +2121,17 @@ func (x codecSelfer1234) decSliceapi_OwnerReference(v *[]pkg2_api.OwnerReference } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []pkg2_api.OwnerReference{} - yyc1 = true + if yyj181 < len(yyv181) { + yyv181 = yyv181[:yyj181] + yyc181 = true + } else if yyj181 == 0 && yyv181 == nil { + yyv181 = []pkg2_api.OwnerReference{} + yyc181 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh181.End() + if yyc181 { + *v = yyv181 } } @@ -2143,19 +2140,19 @@ func (x codecSelfer1234) encMapstringExtraValue(v map[string]ExtraValue, e *code z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk1, yyv1 := range v { + for yyk185, yyv185 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym2 := z.EncBinary() - _ = yym2 + yym186 := z.EncBinary() + _ = yym186 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk1)) + r.EncodeString(codecSelferC_UTF81234, string(yyk185)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv1 == nil { + if yyv185 == nil { r.EncodeNil() } else { - yyv1.CodecEncodeSelf(e) + yyv185.CodecEncodeSelf(e) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2166,70 +2163,70 @@ func (x codecSelfer1234) decMapstringExtraValue(v *map[string]ExtraValue, d *cod z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyl1 := r.ReadMapStart() - yybh1 := z.DecBasicHandle() - if yyv1 == nil { - yyrl1, _ := z.DecInferLen(yyl1, yybh1.MaxInitLen, 40) - yyv1 = make(map[string]ExtraValue, yyrl1) - *v = yyv1 + yyv187 := *v + yyl187 := r.ReadMapStart() + yybh187 := z.DecBasicHandle() + if yyv187 == nil { + yyrl187, _ := z.DecInferLen(yyl187, yybh187.MaxInitLen, 40) + yyv187 = make(map[string]ExtraValue, yyrl187) + *v = yyv187 } - var yymk1 string - var yymv1 ExtraValue - var yymg1 bool - if yybh1.MapValueReset { - yymg1 = true + var yymk187 string + var yymv187 ExtraValue + var yymg187 bool + if yybh187.MapValueReset { + yymg187 = true } - if yyl1 > 0 { - for yyj1 := 0; yyj1 < yyl1; yyj1++ { + if yyl187 > 0 { + for yyj187 := 0; yyj187 < yyl187; yyj187++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk187 = "" } else { - yymk1 = string(r.DecodeString()) + yymk187 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg187 { + yymv187 = yyv187[yymk187] } else { - yymv1 = nil + yymv187 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = nil + yymv187 = nil } else { - yyv3 := &yymv1 - yyv3.CodecDecodeSelf(d) + yyv189 := &yymv187 + yyv189.CodecDecodeSelf(d) } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv187 != nil { + yyv187[yymk187] = yymv187 } } - } else if yyl1 < 0 { - for yyj1 := 0; !r.CheckBreak(); yyj1++ { + } else if yyl187 < 0 { + for yyj187 := 0; !r.CheckBreak(); yyj187++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk187 = "" } else { - yymk1 = string(r.DecodeString()) + yymk187 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg187 { + yymv187 = yyv187[yymk187] } else { - yymv1 = nil + yymv187 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = nil + yymv187 = nil } else { - yyv5 := &yymv1 - yyv5.CodecDecodeSelf(d) + yyv191 := &yymv187 + yyv191.CodecDecodeSelf(d) } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv187 != nil { + yyv187[yymk187] = yymv187 } } } // else len==0: TODO: Should we clear map entries? @@ -2241,13 +2238,13 @@ func (x codecSelfer1234) encExtraValue(v ExtraValue, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv192 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2 := z.EncBinary() - _ = yym2 + yym193 := z.EncBinary() + _ = yym193 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1)) + r.EncodeString(codecSelferC_UTF81234, string(yyv192)) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -2258,78 +2255,75 @@ func (x codecSelfer1234) decExtraValue(v *ExtraValue, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []string{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv194 := *v + yyh194, yyl194 := z.DecSliceHelperStart() + var yyc194 bool + if yyl194 == 0 { + if yyv194 == nil { + yyv194 = []string{} + yyc194 = true + } else if len(yyv194) != 0 { + yyv194 = yyv194[:0] + yyc194 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl194 > 0 { + var yyrr194, yyrl194 int + var yyrt194 bool + if yyl194 > cap(yyv194) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl194, yyrt194 = z.DecInferLen(yyl194, z.DecBasicHandle().MaxInitLen, 16) + if yyrt194 { + if yyrl194 <= cap(yyv194) { + yyv194 = yyv194[:yyrl194] } else { - yyv1 = make([]string, yyrl1) + yyv194 = make([]string, yyrl194) } } else { - yyv1 = make([]string, yyrl1) + yyv194 = make([]string, yyrl194) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc194 = true + yyrr194 = len(yyv194) + } else if yyl194 != len(yyv194) { + yyv194 = yyv194[:yyl194] + yyc194 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj194 := 0 + for ; yyj194 < yyrr194; yyj194++ { + yyh194.ElemContainerState(yyj194) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv194[yyj194] = "" } else { - yyv1[yyj1] = string(r.DecodeString()) + yyv194[yyj194] = string(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt194 { + for ; yyj194 < yyl194; yyj194++ { + yyv194 = append(yyv194, "") + yyh194.ElemContainerState(yyj194) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv194[yyj194] = "" } else { - yyv1[yyj1] = string(r.DecodeString()) + yyv194[yyj194] = string(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj194 := 0 + for ; !r.CheckBreak(); yyj194++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 string - yyc1 = true + if yyj194 >= len(yyv194) { + yyv194 = append(yyv194, "") // var yyz194 string + yyc194 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh194.ElemContainerState(yyj194) + if yyj194 < len(yyv194) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv194[yyj194] = "" } else { - yyv1[yyj1] = string(r.DecodeString()) + yyv194[yyj194] = string(r.DecodeString()) } } else { @@ -2337,16 +2331,16 @@ func (x codecSelfer1234) decExtraValue(v *ExtraValue, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []string{} - yyc1 = true + if yyj194 < len(yyv194) { + yyv194 = yyv194[:yyj194] + yyc194 = true + } else if yyj194 == 0 && yyv194 == nil { + yyv194 = []string{} + yyc194 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh194.End() + if yyc194 { + *v = yyv194 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/conversion.go index e033e70257f..fe41ee7f350 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/conversion.go @@ -20,11 +20,7 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions - err := scheme.AddConversionFuncs() - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } + return scheme.AddConversionFuncs() } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/defaults.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/defaults.go index 16c70ad385a..86657816a73 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/defaults.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/defaults.go @@ -20,6 +20,6 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs() +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs() } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/generated.pb.go index 6cb126099fe..a59f180e5bf 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/generated.pb.go @@ -48,20 +48,29 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf -func (m *ExtraValue) Reset() { *m = ExtraValue{} } -func (*ExtraValue) ProtoMessage() {} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 -func (m *TokenReview) Reset() { *m = TokenReview{} } -func (*TokenReview) ProtoMessage() {} +func (m *ExtraValue) Reset() { *m = ExtraValue{} } +func (*ExtraValue) ProtoMessage() {} +func (*ExtraValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } -func (m *TokenReviewSpec) Reset() { *m = TokenReviewSpec{} } -func (*TokenReviewSpec) ProtoMessage() {} +func (m *TokenReview) Reset() { *m = TokenReview{} } +func (*TokenReview) ProtoMessage() {} +func (*TokenReview) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } -func (m *TokenReviewStatus) Reset() { *m = TokenReviewStatus{} } -func (*TokenReviewStatus) ProtoMessage() {} +func (m *TokenReviewSpec) Reset() { *m = TokenReviewSpec{} } +func (*TokenReviewSpec) ProtoMessage() {} +func (*TokenReviewSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } -func (m *UserInfo) Reset() { *m = UserInfo{} } -func (*UserInfo) ProtoMessage() {} +func (m *TokenReviewStatus) Reset() { *m = TokenReviewStatus{} } +func (*TokenReviewStatus) ProtoMessage() {} +func (*TokenReviewStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } + +func (m *UserInfo) Reset() { *m = UserInfo{} } +func (*UserInfo) ProtoMessage() {} +func (*UserInfo) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } func init() { proto.RegisterType((*ExtraValue)(nil), "k8s.io.client-go.1.4.pkg.apis.authentication.v1beta1.ExtraValue") @@ -1225,3 +1234,47 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 632 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x53, 0x4f, 0x4f, 0x13, 0x41, + 0x14, 0xef, 0x5f, 0x6c, 0xa7, 0xa2, 0x38, 0x89, 0x49, 0xd3, 0x44, 0x4a, 0xd6, 0x0b, 0x26, 0x30, + 0x9b, 0x92, 0xa8, 0x04, 0xe2, 0x81, 0x0d, 0x68, 0x38, 0x18, 0x93, 0x41, 0x8c, 0x31, 0xf1, 0xb0, + 0xed, 0x3e, 0x96, 0x75, 0xdb, 0x9d, 0x66, 0x76, 0xa6, 0xc8, 0x8d, 0x8f, 0xe0, 0xd1, 0xa3, 0xdf, + 0xc3, 0x2f, 0xd0, 0x23, 0x07, 0x0f, 0x1e, 0x0c, 0x11, 0xfc, 0x22, 0xce, 0xcc, 0x8e, 0xb4, 0xb4, + 0xf4, 0x20, 0x1c, 0x26, 0xd9, 0xf9, 0xcd, 0xfb, 0xfd, 0xde, 0xef, 0xbd, 0xb7, 0x0f, 0x6d, 0xc5, + 0xeb, 0x29, 0x89, 0x98, 0x1b, 0xcb, 0x36, 0xf0, 0x04, 0x04, 0xa4, 0x6e, 0x3f, 0x0e, 0x5d, 0xbf, + 0x1f, 0xa5, 0xae, 0x2f, 0xc5, 0x21, 0x24, 0x22, 0xea, 0xf8, 0x22, 0x62, 0x89, 0x3b, 0x68, 0xb5, + 0x41, 0xf8, 0x2d, 0x37, 0x84, 0x04, 0xb8, 0x2f, 0x20, 0x20, 0x7d, 0xce, 0x04, 0xc3, 0xad, 0x4c, + 0x82, 0x8c, 0x24, 0x88, 0x92, 0x20, 0x5a, 0x82, 0x5c, 0x95, 0x20, 0x56, 0xa2, 0xb1, 0x1a, 0x46, + 0xe2, 0x50, 0xb6, 0x49, 0x87, 0xf5, 0xdc, 0x90, 0x85, 0xcc, 0x35, 0x4a, 0x6d, 0x79, 0x60, 0x6e, + 0xe6, 0x62, 0xbe, 0xb2, 0x0c, 0x8d, 0xb5, 0x99, 0x26, 0x5d, 0x0e, 0x29, 0x93, 0xbc, 0x03, 0x93, + 0xae, 0x1a, 0x4f, 0x67, 0x73, 0x64, 0x32, 0x00, 0x9e, 0x2a, 0x3f, 0x10, 0x4c, 0xd1, 0x56, 0x66, + 0xd3, 0x06, 0x53, 0xa5, 0x37, 0x56, 0xaf, 0x8f, 0xe6, 0x52, 0x95, 0xdc, 0x9b, 0xf6, 0xd4, 0xba, + 0x3e, 0x5c, 0x8a, 0xa8, 0xeb, 0x46, 0x89, 0x48, 0x05, 0x9f, 0xa4, 0x38, 0xcf, 0x11, 0xda, 0xf9, + 0x2c, 0xb8, 0xff, 0xce, 0xef, 0x4a, 0xc0, 0x4d, 0x54, 0x8e, 0x04, 0xf4, 0xd2, 0x7a, 0x7e, 0xa9, + 0xb8, 0x5c, 0xf5, 0xaa, 0x17, 0x67, 0xcd, 0xf2, 0xae, 0x06, 0x68, 0x86, 0x6f, 0x54, 0xbe, 0x7e, + 0x6b, 0xe6, 0x4e, 0x7e, 0x2d, 0xe5, 0x9c, 0xef, 0x05, 0x54, 0x7b, 0xcb, 0x62, 0x48, 0x28, 0x0c, + 0x22, 0x38, 0xc2, 0xef, 0x51, 0xa5, 0xa7, 0x7a, 0x1f, 0xf8, 0xc2, 0x57, 0xec, 0xfc, 0x72, 0x6d, + 0x6d, 0x99, 0xcc, 0x1c, 0x9c, 0x1a, 0x14, 0x79, 0xd3, 0xfe, 0x04, 0x1d, 0xf1, 0x5a, 0x71, 0x3c, + 0x3c, 0x3c, 0x6b, 0xe6, 0x54, 0x2e, 0x34, 0xc2, 0xe8, 0xa5, 0x1a, 0x0e, 0x50, 0x29, 0xed, 0x43, + 0xa7, 0x5e, 0x30, 0xaa, 0x1e, 0xf9, 0xef, 0xdf, 0x81, 0x8c, 0xf9, 0xdc, 0x53, 0x4a, 0xde, 0x5d, + 0x9b, 0xaf, 0xa4, 0x6f, 0xd4, 0xa8, 0xe3, 0x2e, 0x9a, 0x4b, 0x85, 0x2f, 0x64, 0x5a, 0x2f, 0x9a, + 0x3c, 0xdb, 0xb7, 0xcc, 0x63, 0xb4, 0xbc, 0x7b, 0x36, 0xd3, 0x5c, 0x76, 0xa7, 0x36, 0x87, 0xf3, + 0x0c, 0xdd, 0x9f, 0x30, 0x85, 0x1f, 0xa3, 0xb2, 0xd0, 0x90, 0xe9, 0x5e, 0xd5, 0x9b, 0xb7, 0xcc, + 0x72, 0x16, 0x97, 0xbd, 0x39, 0x3f, 0xf2, 0xe8, 0xc1, 0x54, 0x16, 0xbc, 0x89, 0xe6, 0xc7, 0x1c, + 0x41, 0x60, 0x24, 0x2a, 0xde, 0x43, 0x2b, 0x31, 0xbf, 0x35, 0xfe, 0x48, 0xaf, 0xc6, 0xe2, 0x8f, + 0xa8, 0x24, 0x53, 0xe0, 0xb6, 0xbd, 0x9b, 0x37, 0x28, 0x7b, 0x5f, 0xd1, 0x77, 0x93, 0x03, 0x36, + 0xea, 0xab, 0x46, 0xa8, 0x91, 0xd5, 0x65, 0x01, 0xe7, 0x8c, 0x9b, 0xb6, 0x8e, 0x95, 0xb5, 0xa3, + 0x41, 0x9a, 0xbd, 0x39, 0xe7, 0x05, 0x54, 0xf9, 0xa7, 0x82, 0x57, 0x50, 0x45, 0x33, 0x13, 0xbf, + 0x07, 0xb6, 0x17, 0x0b, 0x96, 0x64, 0x62, 0x34, 0x4e, 0x2f, 0x23, 0xf0, 0x23, 0x54, 0x94, 0x51, + 0x60, 0xdc, 0x57, 0xbd, 0x9a, 0x0d, 0x2c, 0xee, 0xef, 0x6e, 0x53, 0x8d, 0x63, 0x07, 0xcd, 0x85, + 0x9c, 0xc9, 0xbe, 0x1e, 0xab, 0xfe, 0xa5, 0x91, 0x1e, 0xc6, 0x2b, 0x83, 0x50, 0xfb, 0x82, 0x63, + 0x65, 0x51, 0xef, 0x40, 0xbd, 0xa4, 0x42, 0x6a, 0x6b, 0x2f, 0x6f, 0xd1, 0x02, 0x62, 0x96, 0x69, + 0x27, 0x11, 0xfc, 0x78, 0xac, 0x54, 0x8d, 0xd1, 0x2c, 0x47, 0xe3, 0xc8, 0x2e, 0x9c, 0x89, 0xc1, + 0x0b, 0xa8, 0x18, 0xc3, 0x71, 0x56, 0x26, 0xd5, 0x9f, 0x78, 0x0f, 0x95, 0x07, 0x7a, 0x17, 0xed, + 0x3c, 0x5e, 0xdc, 0xc0, 0xcc, 0x68, 0xa1, 0x69, 0xa6, 0xb5, 0x51, 0x58, 0xcf, 0x7b, 0x4f, 0x86, + 0xe7, 0x8b, 0xb9, 0x53, 0x75, 0x7e, 0xaa, 0x73, 0x72, 0xb1, 0x98, 0x1f, 0xaa, 0x73, 0xaa, 0xce, + 0x6f, 0x75, 0xbe, 0xfc, 0x59, 0xcc, 0x7d, 0xb8, 0x63, 0x05, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff, + 0xca, 0xd0, 0x35, 0x8c, 0xb5, 0x05, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/register.go index 4db19ff6b27..486781ecc22 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/register.go @@ -28,15 +28,13 @@ const GroupName = "authentication.k8s.io" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1beta1"} -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &v1.ListOptions{}, &v1.DeleteOptions{}, @@ -44,4 +42,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &TokenReview{}, ) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/types.generated.go index bb824b09990..5ca495e27f7 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/types.generated.go @@ -88,10 +88,10 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2 [5]bool _, _, _ = yysep2, yyq2, yy2arr2 const yyr2 bool = false - yyq2[0] = true + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" + yyq2[4] = true var yynn2 int if yyr2 || yy2arr2 { r.EncodeArrayStart(5) @@ -108,96 +108,96 @@ func (x *TokenReview) CodecEncodeSelf(e *codec1978.Encoder) { if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, "") } } else { if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) + if yyq2[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { if yyq2[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy11 := &x.ObjectMeta + yy11.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy13 := &x.Spec + yy13.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy14 := &x.Spec + yy14.CodecEncodeSelf(e) + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[4] { yy16 := &x.Status yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") + r.EncodeNil() } } else { if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } + yy17 := &x.Status + yy17.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { @@ -213,25 +213,25 @@ func (x *TokenReview) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym18 := z.DecBinary() + _ = yym18 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct19 := r.ContainerType() + if yyct19 == codecSelferValueTypeMap1234 { + yyl19 := r.ReadMapStart() + if yyl19 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl19, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct19 == codecSelferValueTypeArray1234 { + yyl19 := r.ReadArrayStart() + if yyl19 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl19, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -243,12 +243,12 @@ func (x *TokenReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys20Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys20Slc + var yyhl20 bool = l >= 0 + for yyj20 := 0; ; yyj20++ { + if yyhl20 { + if yyj20 >= l { break } } else { @@ -257,31 +257,10 @@ func (x *TokenReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys20Slc = r.DecodeBytes(yys20Slc, true, true) + yys20 := string(yys20Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = TokenReviewSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = TokenReviewStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys20 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -294,10 +273,31 @@ func (x *TokenReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv23 := &x.ObjectMeta + yyv23.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = TokenReviewSpec{} + } else { + yyv24 := &x.Spec + yyv24.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = TokenReviewStatus{} + } else { + yyv25 := &x.Status + yyv25.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys20) + } // end switch yys20 + } // end for yyj20 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -305,67 +305,16 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj26 int + var yyb26 bool + var yyhl26 bool = l >= 0 + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = TokenReviewSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = TokenReviewStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -375,13 +324,13 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -391,18 +340,69 @@ func (x *TokenReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv29 := &x.ObjectMeta + yyv29.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = TokenReviewSpec{} + } else { + yyv30 := &x.Spec + yyv30.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = TokenReviewStatus{} + } else { + yyv31 := &x.Status + yyv31.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { + if yyb26 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj26-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -414,35 +414,35 @@ func (x *TokenReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym32 := z.EncBinary() + _ = yym32 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Token != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep33 := !z.EncBinary() + yy2arr33 := z.EncBasicHandle().StructToArray + var yyq33 [1]bool + _, _, _ = yysep33, yyq33, yy2arr33 + const yyr33 bool = false + yyq33[0] = x.Token != "" + var yynn33 int + if yyr33 || yy2arr33 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn33 = 0 + for _, b := range yyq33 { if b { - yynn2++ + yynn33++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn33) + yynn33 = 0 } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq33[0] { + yym35 := z.EncBinary() + _ = yym35 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Token)) @@ -451,19 +451,19 @@ func (x *TokenReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq33[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("token")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym36 := z.EncBinary() + _ = yym36 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Token)) } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -476,25 +476,25 @@ func (x *TokenReviewSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym37 := z.DecBinary() + _ = yym37 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct38 := r.ContainerType() + if yyct38 == codecSelferValueTypeMap1234 { + yyl38 := r.ReadMapStart() + if yyl38 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl38, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct38 == codecSelferValueTypeArray1234 { + yyl38 := r.ReadArrayStart() + if yyl38 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl38, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -506,12 +506,12 @@ func (x *TokenReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys39Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys39Slc + var yyhl39 bool = l >= 0 + for yyj39 := 0; ; yyj39++ { + if yyhl39 { + if yyj39 >= l { break } } else { @@ -520,10 +520,10 @@ func (x *TokenReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys39Slc = r.DecodeBytes(yys39Slc, true, true) + yys39 := string(yys39Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys39 { case "token": if r.TryDecodeAsNil() { x.Token = "" @@ -531,9 +531,9 @@ func (x *TokenReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Token = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys39) + } // end switch yys39 + } // end for yyj39 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -541,16 +541,16 @@ func (x *TokenReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj41 int + var yyb41 bool + var yyhl41 bool = l >= 0 + yyj41++ + if yyhl41 { + yyb41 = yyj41 > l } else { - yyb5 = r.CheckBreak() + yyb41 = r.CheckBreak() } - if yyb5 { + if yyb41 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -561,17 +561,17 @@ func (x *TokenReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Token = string(r.DecodeString()) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj41++ + if yyhl41 { + yyb41 = yyj41 > l } else { - yyb5 = r.CheckBreak() + yyb41 = r.CheckBreak() } - if yyb5 { + if yyb41 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj41-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -583,37 +583,37 @@ func (x *TokenReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym43 := z.EncBinary() + _ = yym43 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Authenticated != false - yyq2[1] = true - yyq2[2] = x.Error != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep44 := !z.EncBinary() + yy2arr44 := z.EncBasicHandle().StructToArray + var yyq44 [3]bool + _, _, _ = yysep44, yyq44, yy2arr44 + const yyr44 bool = false + yyq44[0] = x.Authenticated != false + yyq44[1] = true + yyq44[2] = x.Error != "" + var yynn44 int + if yyr44 || yy2arr44 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn44 = 0 + for _, b := range yyq44 { if b { - yynn2++ + yynn44++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn44) + yynn44 = 0 } - if yyr2 || yy2arr2 { + if yyr44 || yy2arr44 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq44[0] { + yym46 := z.EncBinary() + _ = yym46 if false { } else { r.EncodeBool(bool(x.Authenticated)) @@ -622,40 +622,40 @@ func (x *TokenReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[0] { + if yyq44[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("authenticated")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym47 := z.EncBinary() + _ = yym47 if false { } else { r.EncodeBool(bool(x.Authenticated)) } } } - if yyr2 || yy2arr2 { + if yyr44 || yy2arr44 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy7 := &x.User - yy7.CodecEncodeSelf(e) + if yyq44[1] { + yy49 := &x.User + yy49.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq44[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.User - yy9.CodecEncodeSelf(e) + yy50 := &x.User + yy50.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr44 || yy2arr44 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 + if yyq44[2] { + yym52 := z.EncBinary() + _ = yym52 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) @@ -664,19 +664,19 @@ func (x *TokenReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq44[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 + yym53 := z.EncBinary() + _ = yym53 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } } - if yyr2 || yy2arr2 { + if yyr44 || yy2arr44 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -689,25 +689,25 @@ func (x *TokenReviewStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym54 := z.DecBinary() + _ = yym54 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct55 := r.ContainerType() + if yyct55 == codecSelferValueTypeMap1234 { + yyl55 := r.ReadMapStart() + if yyl55 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl55, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct55 == codecSelferValueTypeArray1234 { + yyl55 := r.ReadArrayStart() + if yyl55 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl55, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -719,12 +719,12 @@ func (x *TokenReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys56Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys56Slc + var yyhl56 bool = l >= 0 + for yyj56 := 0; ; yyj56++ { + if yyhl56 { + if yyj56 >= l { break } } else { @@ -733,10 +733,10 @@ func (x *TokenReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys56Slc = r.DecodeBytes(yys56Slc, true, true) + yys56 := string(yys56Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys56 { case "authenticated": if r.TryDecodeAsNil() { x.Authenticated = false @@ -747,8 +747,8 @@ func (x *TokenReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.User = UserInfo{} } else { - yyv5 := &x.User - yyv5.CodecDecodeSelf(d) + yyv58 := &x.User + yyv58.CodecDecodeSelf(d) } case "error": if r.TryDecodeAsNil() { @@ -757,9 +757,9 @@ func (x *TokenReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Error = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys56) + } // end switch yys56 + } // end for yyj56 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -767,16 +767,16 @@ func (x *TokenReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj60 int + var yyb60 bool + var yyhl60 bool = l >= 0 + yyj60++ + if yyhl60 { + yyb60 = yyj60 > l } else { - yyb7 = r.CheckBreak() + yyb60 = r.CheckBreak() } - if yyb7 { + if yyb60 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -786,13 +786,13 @@ func (x *TokenReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Authenticated = bool(r.DecodeBool()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj60++ + if yyhl60 { + yyb60 = yyj60 > l } else { - yyb7 = r.CheckBreak() + yyb60 = r.CheckBreak() } - if yyb7 { + if yyb60 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -800,16 +800,16 @@ func (x *TokenReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.User = UserInfo{} } else { - yyv9 := &x.User - yyv9.CodecDecodeSelf(d) + yyv62 := &x.User + yyv62.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj60++ + if yyhl60 { + yyb60 = yyj60 > l } else { - yyb7 = r.CheckBreak() + yyb60 = r.CheckBreak() } - if yyb7 { + if yyb60 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -820,17 +820,17 @@ func (x *TokenReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.Error = string(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj60++ + if yyhl60 { + yyb60 = yyj60 > l } else { - yyb7 = r.CheckBreak() + yyb60 = r.CheckBreak() } - if yyb7 { + if yyb60 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj60-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -842,38 +842,38 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym64 := z.EncBinary() + _ = yym64 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Username != "" - yyq2[1] = x.UID != "" - yyq2[2] = len(x.Groups) != 0 - yyq2[3] = len(x.Extra) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep65 := !z.EncBinary() + yy2arr65 := z.EncBasicHandle().StructToArray + var yyq65 [4]bool + _, _, _ = yysep65, yyq65, yy2arr65 + const yyr65 bool = false + yyq65[0] = x.Username != "" + yyq65[1] = x.UID != "" + yyq65[2] = len(x.Groups) != 0 + yyq65[3] = len(x.Extra) != 0 + var yynn65 int + if yyr65 || yy2arr65 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn65 = 0 + for _, b := range yyq65 { if b { - yynn2++ + yynn65++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn65) + yynn65 = 0 } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq65[0] { + yym67 := z.EncBinary() + _ = yym67 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Username)) @@ -882,23 +882,23 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq65[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("username")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym68 := z.EncBinary() + _ = yym68 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Username)) } } } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq65[1] { + yym70 := z.EncBinary() + _ = yym70 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) @@ -907,26 +907,26 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq65[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym71 := z.EncBinary() + _ = yym71 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) } } } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq65[2] { if x.Groups == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym73 := z.EncBinary() + _ = yym73 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -936,15 +936,15 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq65[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("groups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Groups == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym74 := z.EncBinary() + _ = yym74 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -952,14 +952,14 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq65[3] { if x.Extra == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym76 := z.EncBinary() + _ = yym76 if false { } else { h.encMapstringExtraValue((map[string]ExtraValue)(x.Extra), e) @@ -969,15 +969,15 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq65[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("extra")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Extra == nil { r.EncodeNil() } else { - yym14 := z.EncBinary() - _ = yym14 + yym77 := z.EncBinary() + _ = yym77 if false { } else { h.encMapstringExtraValue((map[string]ExtraValue)(x.Extra), e) @@ -985,7 +985,7 @@ func (x *UserInfo) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -998,25 +998,25 @@ func (x *UserInfo) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym78 := z.DecBinary() + _ = yym78 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct79 := r.ContainerType() + if yyct79 == codecSelferValueTypeMap1234 { + yyl79 := r.ReadMapStart() + if yyl79 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl79, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct79 == codecSelferValueTypeArray1234 { + yyl79 := r.ReadArrayStart() + if yyl79 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl79, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1028,12 +1028,12 @@ func (x *UserInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys80Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys80Slc + var yyhl80 bool = l >= 0 + for yyj80 := 0; ; yyj80++ { + if yyhl80 { + if yyj80 >= l { break } } else { @@ -1042,10 +1042,10 @@ func (x *UserInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys80Slc = r.DecodeBytes(yys80Slc, true, true) + yys80 := string(yys80Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys80 { case "username": if r.TryDecodeAsNil() { x.Username = "" @@ -1062,30 +1062,30 @@ func (x *UserInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv6 := &x.Groups - yym7 := z.DecBinary() - _ = yym7 + yyv83 := &x.Groups + yym84 := z.DecBinary() + _ = yym84 if false { } else { - z.F.DecSliceStringX(yyv6, false, d) + z.F.DecSliceStringX(yyv83, false, d) } } case "extra": if r.TryDecodeAsNil() { x.Extra = nil } else { - yyv8 := &x.Extra - yym9 := z.DecBinary() - _ = yym9 + yyv85 := &x.Extra + yym86 := z.DecBinary() + _ = yym86 if false { } else { - h.decMapstringExtraValue((*map[string]ExtraValue)(yyv8), d) + h.decMapstringExtraValue((*map[string]ExtraValue)(yyv85), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys80) + } // end switch yys80 + } // end for yyj80 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1093,16 +1093,16 @@ func (x *UserInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj87 int + var yyb87 bool + var yyhl87 bool = l >= 0 + yyj87++ + if yyhl87 { + yyb87 = yyj87 > l } else { - yyb10 = r.CheckBreak() + yyb87 = r.CheckBreak() } - if yyb10 { + if yyb87 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1112,13 +1112,13 @@ func (x *UserInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Username = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj87++ + if yyhl87 { + yyb87 = yyj87 > l } else { - yyb10 = r.CheckBreak() + yyb87 = r.CheckBreak() } - if yyb10 { + if yyb87 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1128,13 +1128,13 @@ func (x *UserInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.UID = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj87++ + if yyhl87 { + yyb87 = yyj87 > l } else { - yyb10 = r.CheckBreak() + yyb87 = r.CheckBreak() } - if yyb10 { + if yyb87 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1142,21 +1142,21 @@ func (x *UserInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv13 := &x.Groups - yym14 := z.DecBinary() - _ = yym14 + yyv90 := &x.Groups + yym91 := z.DecBinary() + _ = yym91 if false { } else { - z.F.DecSliceStringX(yyv13, false, d) + z.F.DecSliceStringX(yyv90, false, d) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj87++ + if yyhl87 { + yyb87 = yyj87 > l } else { - yyb10 = r.CheckBreak() + yyb87 = r.CheckBreak() } - if yyb10 { + if yyb87 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1164,26 +1164,26 @@ func (x *UserInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Extra = nil } else { - yyv15 := &x.Extra - yym16 := z.DecBinary() - _ = yym16 + yyv92 := &x.Extra + yym93 := z.DecBinary() + _ = yym93 if false { } else { - h.decMapstringExtraValue((*map[string]ExtraValue)(yyv15), d) + h.decMapstringExtraValue((*map[string]ExtraValue)(yyv92), d) } } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj87++ + if yyhl87 { + yyb87 = yyj87 > l } else { - yyb10 = r.CheckBreak() + yyb87 = r.CheckBreak() } - if yyb10 { + if yyb87 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj87-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1195,8 +1195,8 @@ func (x ExtraValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym94 := z.EncBinary() + _ = yym94 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -1209,8 +1209,8 @@ func (x *ExtraValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym95 := z.DecBinary() + _ = yym95 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -1223,19 +1223,19 @@ func (x codecSelfer1234) encMapstringExtraValue(v map[string]ExtraValue, e *code z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk1, yyv1 := range v { + for yyk96, yyv96 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym2 := z.EncBinary() - _ = yym2 + yym97 := z.EncBinary() + _ = yym97 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk1)) + r.EncodeString(codecSelferC_UTF81234, string(yyk96)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv1 == nil { + if yyv96 == nil { r.EncodeNil() } else { - yyv1.CodecEncodeSelf(e) + yyv96.CodecEncodeSelf(e) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1246,70 +1246,70 @@ func (x codecSelfer1234) decMapstringExtraValue(v *map[string]ExtraValue, d *cod z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyl1 := r.ReadMapStart() - yybh1 := z.DecBasicHandle() - if yyv1 == nil { - yyrl1, _ := z.DecInferLen(yyl1, yybh1.MaxInitLen, 40) - yyv1 = make(map[string]ExtraValue, yyrl1) - *v = yyv1 + yyv98 := *v + yyl98 := r.ReadMapStart() + yybh98 := z.DecBasicHandle() + if yyv98 == nil { + yyrl98, _ := z.DecInferLen(yyl98, yybh98.MaxInitLen, 40) + yyv98 = make(map[string]ExtraValue, yyrl98) + *v = yyv98 } - var yymk1 string - var yymv1 ExtraValue - var yymg1 bool - if yybh1.MapValueReset { - yymg1 = true + var yymk98 string + var yymv98 ExtraValue + var yymg98 bool + if yybh98.MapValueReset { + yymg98 = true } - if yyl1 > 0 { - for yyj1 := 0; yyj1 < yyl1; yyj1++ { + if yyl98 > 0 { + for yyj98 := 0; yyj98 < yyl98; yyj98++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk98 = "" } else { - yymk1 = string(r.DecodeString()) + yymk98 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg98 { + yymv98 = yyv98[yymk98] } else { - yymv1 = nil + yymv98 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = nil + yymv98 = nil } else { - yyv3 := &yymv1 - yyv3.CodecDecodeSelf(d) + yyv100 := &yymv98 + yyv100.CodecDecodeSelf(d) } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv98 != nil { + yyv98[yymk98] = yymv98 } } - } else if yyl1 < 0 { - for yyj1 := 0; !r.CheckBreak(); yyj1++ { + } else if yyl98 < 0 { + for yyj98 := 0; !r.CheckBreak(); yyj98++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk98 = "" } else { - yymk1 = string(r.DecodeString()) + yymk98 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg98 { + yymv98 = yyv98[yymk98] } else { - yymv1 = nil + yymv98 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = nil + yymv98 = nil } else { - yyv5 := &yymv1 - yyv5.CodecDecodeSelf(d) + yyv102 := &yymv98 + yyv102.CodecDecodeSelf(d) } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv98 != nil { + yyv98[yymk98] = yymv98 } } } // else len==0: TODO: Should we clear map entries? @@ -1321,13 +1321,13 @@ func (x codecSelfer1234) encExtraValue(v ExtraValue, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv103 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2 := z.EncBinary() - _ = yym2 + yym104 := z.EncBinary() + _ = yym104 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1)) + r.EncodeString(codecSelferC_UTF81234, string(yyv103)) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -1338,78 +1338,75 @@ func (x codecSelfer1234) decExtraValue(v *ExtraValue, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []string{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv105 := *v + yyh105, yyl105 := z.DecSliceHelperStart() + var yyc105 bool + if yyl105 == 0 { + if yyv105 == nil { + yyv105 = []string{} + yyc105 = true + } else if len(yyv105) != 0 { + yyv105 = yyv105[:0] + yyc105 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl105 > 0 { + var yyrr105, yyrl105 int + var yyrt105 bool + if yyl105 > cap(yyv105) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl105, yyrt105 = z.DecInferLen(yyl105, z.DecBasicHandle().MaxInitLen, 16) + if yyrt105 { + if yyrl105 <= cap(yyv105) { + yyv105 = yyv105[:yyrl105] } else { - yyv1 = make([]string, yyrl1) + yyv105 = make([]string, yyrl105) } } else { - yyv1 = make([]string, yyrl1) + yyv105 = make([]string, yyrl105) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc105 = true + yyrr105 = len(yyv105) + } else if yyl105 != len(yyv105) { + yyv105 = yyv105[:yyl105] + yyc105 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj105 := 0 + for ; yyj105 < yyrr105; yyj105++ { + yyh105.ElemContainerState(yyj105) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv105[yyj105] = "" } else { - yyv1[yyj1] = string(r.DecodeString()) + yyv105[yyj105] = string(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt105 { + for ; yyj105 < yyl105; yyj105++ { + yyv105 = append(yyv105, "") + yyh105.ElemContainerState(yyj105) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv105[yyj105] = "" } else { - yyv1[yyj1] = string(r.DecodeString()) + yyv105[yyj105] = string(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj105 := 0 + for ; !r.CheckBreak(); yyj105++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 string - yyc1 = true + if yyj105 >= len(yyv105) { + yyv105 = append(yyv105, "") // var yyz105 string + yyc105 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh105.ElemContainerState(yyj105) + if yyj105 < len(yyv105) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv105[yyj105] = "" } else { - yyv1[yyj1] = string(r.DecodeString()) + yyv105[yyj105] = string(r.DecodeString()) } } else { @@ -1417,16 +1414,16 @@ func (x codecSelfer1234) decExtraValue(v *ExtraValue, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []string{} - yyc1 = true + if yyj105 < len(yyv105) { + yyv105 = yyv105[:yyj105] + yyc105 = true + } else if yyj105 == 0 && yyv105 == nil { + yyv105 = []string{} + yyc105 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh105.End() + if yyc105 { + *v = yyv105 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/zz_generated.conversion.go index 390abcc1dec..8d6867621ba 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/zz_generated.conversion.go @@ -24,10 +24,17 @@ import ( api "k8s.io/client-go/1.4/pkg/api" authentication "k8s.io/client-go/1.4/pkg/apis/authentication" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1beta1_TokenReview_To_authentication_TokenReview, Convert_authentication_TokenReview_To_v1beta1_TokenReview, Convert_v1beta1_TokenReviewSpec_To_authentication_TokenReviewSpec, @@ -36,10 +43,7 @@ func init() { Convert_authentication_TokenReviewStatus_To_v1beta1_TokenReviewStatus, Convert_v1beta1_UserInfo_To_authentication_UserInfo, Convert_authentication_UserInfo_To_v1beta1_UserInfo, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1beta1_TokenReview_To_authentication_TokenReview(in *TokenReview, out *authentication.TokenReview, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go index d97e84c8873..33909ba2711 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go @@ -21,22 +21,25 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.4/pkg/api" v1 "k8s.io/client-go/1.4/pkg/api/v1" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_TokenReview, InType: reflect.TypeOf(func() *TokenReview { var x *TokenReview; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_TokenReviewSpec, InType: reflect.TypeOf(func() *TokenReviewSpec { var x *TokenReviewSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_TokenReviewStatus, InType: reflect.TypeOf(func() *TokenReviewStatus { var x *TokenReviewStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_UserInfo, InType: reflect.TypeOf(func() *UserInfo { var x *UserInfo; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_TokenReview, InType: reflect.TypeOf(&TokenReview{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_TokenReviewSpec, InType: reflect.TypeOf(&TokenReviewSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_TokenReviewStatus, InType: reflect.TypeOf(&TokenReviewStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_UserInfo, InType: reflect.TypeOf(&UserInfo{})}, + ) } func DeepCopy_v1beta1_TokenReview(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/zz_generated.deepcopy.go index faa820f14e6..c91b659046b 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authentication/zz_generated.deepcopy.go @@ -23,19 +23,23 @@ package authentication import ( api "k8s.io/client-go/1.4/pkg/api" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authentication_TokenReview, InType: reflect.TypeOf(func() *TokenReview { var x *TokenReview; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authentication_TokenReviewSpec, InType: reflect.TypeOf(func() *TokenReviewSpec { var x *TokenReviewSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authentication_TokenReviewStatus, InType: reflect.TypeOf(func() *TokenReviewStatus { var x *TokenReviewStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authentication_UserInfo, InType: reflect.TypeOf(func() *UserInfo { var x *UserInfo; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authentication_TokenReview, InType: reflect.TypeOf(&TokenReview{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authentication_TokenReviewSpec, InType: reflect.TypeOf(&TokenReviewSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authentication_TokenReviewStatus, InType: reflect.TypeOf(&TokenReviewStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authentication_UserInfo, InType: reflect.TypeOf(&UserInfo{})}, + ) } func DeepCopy_authentication_TokenReview(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/install/install.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/install/install.go index 27bc1cb6a3a..839127f84c0 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/install/install.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/install/install.go @@ -89,7 +89,10 @@ func enableVersions(externalVersions []unversioned.GroupVersion) error { func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - authorization.AddToScheme(api.Scheme) + if err := authorization.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -98,7 +101,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1beta1.SchemeGroupVersion: - v1beta1.AddToScheme(api.Scheme) + if err := v1beta1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/register.go index 1c2f8c68fa2..1c4006fd2a8 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/register.go @@ -37,14 +37,16 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &SelfSubjectAccessReview{}, &SubjectAccessReview{}, &LocalSubjectAccessReview{}, ) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/types.generated.go index 0db376e434c..1e47f4bea0d 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/types.generated.go @@ -88,22 +88,22 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2 [18]bool _, _, _ = yysep2, yyq2, yy2arr2 const yyr2 bool = false - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - yyq2[4] = x.Name != "" - yyq2[5] = x.GenerateName != "" - yyq2[6] = x.Namespace != "" - yyq2[7] = x.SelfLink != "" - yyq2[8] = x.UID != "" - yyq2[9] = x.ResourceVersion != "" - yyq2[10] = x.Generation != 0 - yyq2[11] = true - yyq2[12] = x.ObjectMeta.DeletionTimestamp != nil && x.DeletionTimestamp != nil - yyq2[13] = x.ObjectMeta.DeletionGracePeriodSeconds != nil && x.DeletionGracePeriodSeconds != nil - yyq2[14] = len(x.Labels) != 0 - yyq2[15] = len(x.Annotations) != 0 - yyq2[16] = len(x.OwnerReferences) != 0 - yyq2[17] = len(x.Finalizers) != 0 + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" + yyq2[2] = x.Name != "" + yyq2[3] = x.GenerateName != "" + yyq2[4] = x.Namespace != "" + yyq2[5] = x.SelfLink != "" + yyq2[6] = x.UID != "" + yyq2[7] = x.ResourceVersion != "" + yyq2[8] = x.Generation != 0 + yyq2[9] = true + yyq2[10] = x.ObjectMeta.DeletionTimestamp != nil && x.DeletionTimestamp != nil + yyq2[11] = x.ObjectMeta.DeletionGracePeriodSeconds != nil && x.DeletionGracePeriodSeconds != nil + yyq2[12] = len(x.Labels) != 0 + yyq2[13] = len(x.Annotations) != 0 + yyq2[14] = len(x.OwnerReferences) != 0 + yyq2[15] = len(x.Finalizers) != 0 var yynn2 int if yyr2 || yy2arr2 { r.EncodeArrayStart(18) @@ -119,223 +119,201 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4 := &x.Spec - yy4.CodecEncodeSelf(e) + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.Spec - yy6.CodecEncodeSelf(e) + if yyq2[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy9 := &x.Status - yy9.CodecEncodeSelf(e) + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Status - yy11.CodecEncodeSelf(e) + if yyq2[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[2] { + yym10 := z.EncBinary() + _ = yym10 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("name")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym11 := z.EncBinary() + _ = yym11 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[3] { + yym13 := z.EncBinary() + _ = yym13 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.GenerateName)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("generateName")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym14 := z.EncBinary() _ = yym14 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + r.EncodeString(codecSelferC_UTF81234, string(x.GenerateName)) } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq2[4] { + yym16 := z.EncBinary() + _ = yym16 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("namespace")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym17 := z.EncBinary() _ = yym17 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq2[5] { + yym19 := z.EncBinary() + _ = yym19 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.SelfLink)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("selfLink")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym20 := z.EncBinary() _ = yym20 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("name")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.GenerateName)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("generateName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.GenerateName)) + r.EncodeString(codecSelferC_UTF81234, string(x.SelfLink)) } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[6] { + yym22 := z.EncBinary() + _ = yym22 + if false { + } else if z.HasExtensions() && z.EncExt(x.UID) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.UID)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("uid")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym23 := z.EncBinary() + _ = yym23 + if false { + } else if z.HasExtensions() && z.EncExt(x.UID) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.UID)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[7] { + yym25 := z.EncBinary() + _ = yym25 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[7] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) yym26 := z.EncBinary() _ = yym26 if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("namespace")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym27 := z.EncBinary() - _ = yym27 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym29 := z.EncBinary() - _ = yym29 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SelfLink)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[7] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("selfLink")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym30 := z.EncBinary() - _ = yym30 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SelfLink)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { - yym32 := z.EncBinary() - _ = yym32 - if false { - } else if z.HasExtensions() && z.EncExt(x.UID) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.UID)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[8] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("uid")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym33 := z.EncBinary() - _ = yym33 - if false { - } else if z.HasExtensions() && z.EncExt(x.UID) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.UID)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { - yym35 := z.EncBinary() - _ = yym35 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[9] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym36 := z.EncBinary() - _ = yym36 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } @@ -343,9 +321,9 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { - yym38 := z.EncBinary() - _ = yym38 + if yyq2[8] { + yym28 := z.EncBinary() + _ = yym28 if false { } else { r.EncodeInt(int64(x.Generation)) @@ -354,12 +332,12 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[10] { + if yyq2[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("generation")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym39 := z.EncBinary() - _ = yym39 + yym29 := z.EncBinary() + _ = yym29 if false { } else { r.EncodeInt(int64(x.Generation)) @@ -368,63 +346,63 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { - yy41 := &x.CreationTimestamp - yym42 := z.EncBinary() - _ = yym42 + if yyq2[9] { + yy31 := &x.CreationTimestamp + yym32 := z.EncBinary() + _ = yym32 if false { - } else if z.HasExtensions() && z.EncExt(yy41) { - } else if yym42 { - z.EncBinaryMarshal(yy41) - } else if !yym42 && z.IsJSONHandle() { - z.EncJSONMarshal(yy41) + } else if z.HasExtensions() && z.EncExt(yy31) { + } else if yym32 { + z.EncBinaryMarshal(yy31) + } else if !yym32 && z.IsJSONHandle() { + z.EncJSONMarshal(yy31) } else { - z.EncFallback(yy41) + z.EncFallback(yy31) } } else { r.EncodeNil() } } else { - if yyq2[11] { + if yyq2[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("creationTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy43 := &x.CreationTimestamp - yym44 := z.EncBinary() - _ = yym44 + yy33 := &x.CreationTimestamp + yym34 := z.EncBinary() + _ = yym34 if false { - } else if z.HasExtensions() && z.EncExt(yy43) { - } else if yym44 { - z.EncBinaryMarshal(yy43) - } else if !yym44 && z.IsJSONHandle() { - z.EncJSONMarshal(yy43) + } else if z.HasExtensions() && z.EncExt(yy33) { + } else if yym34 { + z.EncBinaryMarshal(yy33) + } else if !yym34 && z.IsJSONHandle() { + z.EncJSONMarshal(yy33) } else { - z.EncFallback(yy43) + z.EncFallback(yy33) } } } - var yyn45 bool + var yyn35 bool if x.ObjectMeta.DeletionTimestamp == nil { - yyn45 = true - goto LABEL45 + yyn35 = true + goto LABEL35 } - LABEL45: + LABEL35: if yyr2 || yy2arr2 { - if yyn45 { + if yyn35 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { + if yyq2[10] { if x.DeletionTimestamp == nil { r.EncodeNil() } else { - yym46 := z.EncBinary() - _ = yym46 + yym36 := z.EncBinary() + _ = yym36 if false { } else if z.HasExtensions() && z.EncExt(x.DeletionTimestamp) { - } else if yym46 { + } else if yym36 { z.EncBinaryMarshal(x.DeletionTimestamp) - } else if !yym46 && z.IsJSONHandle() { + } else if !yym36 && z.IsJSONHandle() { z.EncJSONMarshal(x.DeletionTimestamp) } else { z.EncFallback(x.DeletionTimestamp) @@ -435,23 +413,23 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[12] { + if yyq2[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deletionTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn45 { + if yyn35 { r.EncodeNil() } else { if x.DeletionTimestamp == nil { r.EncodeNil() } else { - yym47 := z.EncBinary() - _ = yym47 + yym37 := z.EncBinary() + _ = yym37 if false { } else if z.HasExtensions() && z.EncExt(x.DeletionTimestamp) { - } else if yym47 { + } else if yym37 { z.EncBinaryMarshal(x.DeletionTimestamp) - } else if !yym47 && z.IsJSONHandle() { + } else if !yym37 && z.IsJSONHandle() { z.EncJSONMarshal(x.DeletionTimestamp) } else { z.EncFallback(x.DeletionTimestamp) @@ -460,27 +438,27 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn48 bool + var yyn38 bool if x.ObjectMeta.DeletionGracePeriodSeconds == nil { - yyn48 = true - goto LABEL48 + yyn38 = true + goto LABEL38 } - LABEL48: + LABEL38: if yyr2 || yy2arr2 { - if yyn48 { + if yyn38 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { + if yyq2[11] { if x.DeletionGracePeriodSeconds == nil { r.EncodeNil() } else { - yy49 := *x.DeletionGracePeriodSeconds - yym50 := z.EncBinary() - _ = yym50 + yy39 := *x.DeletionGracePeriodSeconds + yym40 := z.EncBinary() + _ = yym40 if false { } else { - r.EncodeInt(int64(yy49)) + r.EncodeInt(int64(yy39)) } } } else { @@ -488,22 +466,22 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[13] { + if yyq2[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deletionGracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn48 { + if yyn38 { r.EncodeNil() } else { if x.DeletionGracePeriodSeconds == nil { r.EncodeNil() } else { - yy51 := *x.DeletionGracePeriodSeconds - yym52 := z.EncBinary() - _ = yym52 + yy41 := *x.DeletionGracePeriodSeconds + yym42 := z.EncBinary() + _ = yym42 if false { } else { - r.EncodeInt(int64(yy51)) + r.EncodeInt(int64(yy41)) } } } @@ -511,12 +489,12 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[14] { + if yyq2[12] { if x.Labels == nil { r.EncodeNil() } else { - yym54 := z.EncBinary() - _ = yym54 + yym44 := z.EncBinary() + _ = yym44 if false { } else { z.F.EncMapStringStringV(x.Labels, false, e) @@ -526,15 +504,15 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[14] { + if yyq2[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labels")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Labels == nil { r.EncodeNil() } else { - yym55 := z.EncBinary() - _ = yym55 + yym45 := z.EncBinary() + _ = yym45 if false { } else { z.F.EncMapStringStringV(x.Labels, false, e) @@ -544,12 +522,12 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[15] { + if yyq2[13] { if x.Annotations == nil { r.EncodeNil() } else { - yym57 := z.EncBinary() - _ = yym57 + yym47 := z.EncBinary() + _ = yym47 if false { } else { z.F.EncMapStringStringV(x.Annotations, false, e) @@ -559,15 +537,15 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[15] { + if yyq2[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("annotations")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Annotations == nil { r.EncodeNil() } else { - yym58 := z.EncBinary() - _ = yym58 + yym48 := z.EncBinary() + _ = yym48 if false { } else { z.F.EncMapStringStringV(x.Annotations, false, e) @@ -577,12 +555,12 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[16] { + if yyq2[14] { if x.OwnerReferences == nil { r.EncodeNil() } else { - yym60 := z.EncBinary() - _ = yym60 + yym50 := z.EncBinary() + _ = yym50 if false { } else { h.encSliceapi_OwnerReference(([]pkg2_api.OwnerReference)(x.OwnerReferences), e) @@ -592,15 +570,15 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[16] { + if yyq2[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ownerReferences")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.OwnerReferences == nil { r.EncodeNil() } else { - yym61 := z.EncBinary() - _ = yym61 + yym51 := z.EncBinary() + _ = yym51 if false { } else { h.encSliceapi_OwnerReference(([]pkg2_api.OwnerReference)(x.OwnerReferences), e) @@ -610,12 +588,12 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[17] { + if yyq2[15] { if x.Finalizers == nil { r.EncodeNil() } else { - yym63 := z.EncBinary() - _ = yym63 + yym53 := z.EncBinary() + _ = yym53 if false { } else { z.F.EncSliceStringV(x.Finalizers, false, e) @@ -625,15 +603,15 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[17] { + if yyq2[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finalizers")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Finalizers == nil { r.EncodeNil() } else { - yym64 := z.EncBinary() - _ = yym64 + yym54 := z.EncBinary() + _ = yym54 if false { } else { z.F.EncSliceStringV(x.Finalizers, false, e) @@ -641,6 +619,28 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy56 := &x.Spec + yy56.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy57 := &x.Spec + yy57.CodecEncodeSelf(e) + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy59 := &x.Status + yy59.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy60 := &x.Status + yy60.CodecEncodeSelf(e) + } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { @@ -654,25 +654,25 @@ func (x *SubjectAccessReview) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym61 := z.DecBinary() + _ = yym61 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct62 := r.ContainerType() + if yyct62 == codecSelferValueTypeMap1234 { + yyl62 := r.ReadMapStart() + if yyl62 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl62, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct62 == codecSelferValueTypeArray1234 { + yyl62 := r.ReadArrayStart() + if yyl62 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl62, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -684,12 +684,12 @@ func (x *SubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys63Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys63Slc + var yyhl63 bool = l >= 0 + for yyj63 := 0; ; yyj63++ { + if yyhl63 { + if yyj63 >= l { break } } else { @@ -698,24 +698,10 @@ func (x *SubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys63Slc = r.DecodeBytes(yys63Slc, true, true) + yys63 := string(yys63Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "Spec": - if r.TryDecodeAsNil() { - x.Spec = SubjectAccessReviewSpec{} - } else { - yyv4 := &x.Spec - yyv4.CodecDecodeSelf(d) - } - case "Status": - if r.TryDecodeAsNil() { - x.Status = SubjectAccessReviewStatus{} - } else { - yyv5 := &x.Status - yyv5.CodecDecodeSelf(d) - } + switch yys63 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -774,17 +760,17 @@ func (x *SubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.CreationTimestamp = pkg1_unversioned.Time{} } else { - yyv15 := &x.CreationTimestamp - yym16 := z.DecBinary() - _ = yym16 + yyv73 := &x.CreationTimestamp + yym74 := z.DecBinary() + _ = yym74 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { - } else if yym16 { - z.DecBinaryUnmarshal(yyv15) - } else if !yym16 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv15) + } else if z.HasExtensions() && z.DecExt(yyv73) { + } else if yym74 { + z.DecBinaryUnmarshal(yyv73) + } else if !yym74 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv73) } else { - z.DecFallback(yyv15, false) + z.DecFallback(yyv73, false) } } case "deletionTimestamp": @@ -799,13 +785,13 @@ func (x *SubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if x.DeletionTimestamp == nil { x.DeletionTimestamp = new(pkg1_unversioned.Time) } - yym18 := z.DecBinary() - _ = yym18 + yym76 := z.DecBinary() + _ = yym76 if false { } else if z.HasExtensions() && z.DecExt(x.DeletionTimestamp) { - } else if yym18 { + } else if yym76 { z.DecBinaryUnmarshal(x.DeletionTimestamp) - } else if !yym18 && z.IsJSONHandle() { + } else if !yym76 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.DeletionTimestamp) } else { z.DecFallback(x.DeletionTimestamp, false) @@ -823,8 +809,8 @@ func (x *SubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if x.DeletionGracePeriodSeconds == nil { x.DeletionGracePeriodSeconds = new(int64) } - yym20 := z.DecBinary() - _ = yym20 + yym78 := z.DecBinary() + _ = yym78 if false { } else { *((*int64)(x.DeletionGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -834,54 +820,68 @@ func (x *SubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv21 := &x.Labels - yym22 := z.DecBinary() - _ = yym22 + yyv79 := &x.Labels + yym80 := z.DecBinary() + _ = yym80 if false { } else { - z.F.DecMapStringStringX(yyv21, false, d) + z.F.DecMapStringStringX(yyv79, false, d) } } case "annotations": if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv23 := &x.Annotations - yym24 := z.DecBinary() - _ = yym24 + yyv81 := &x.Annotations + yym82 := z.DecBinary() + _ = yym82 if false { } else { - z.F.DecMapStringStringX(yyv23, false, d) + z.F.DecMapStringStringX(yyv81, false, d) } } case "ownerReferences": if r.TryDecodeAsNil() { x.OwnerReferences = nil } else { - yyv25 := &x.OwnerReferences - yym26 := z.DecBinary() - _ = yym26 + yyv83 := &x.OwnerReferences + yym84 := z.DecBinary() + _ = yym84 if false { } else { - h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv25), d) + h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv83), d) } } case "finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv27 := &x.Finalizers - yym28 := z.DecBinary() - _ = yym28 + yyv85 := &x.Finalizers + yym86 := z.DecBinary() + _ = yym86 if false { } else { - z.F.DecSliceStringX(yyv27, false, d) + z.F.DecSliceStringX(yyv85, false, d) } } + case "Spec": + if r.TryDecodeAsNil() { + x.Spec = SubjectAccessReviewSpec{} + } else { + yyv87 := &x.Spec + yyv87.CodecDecodeSelf(d) + } + case "Status": + if r.TryDecodeAsNil() { + x.Status = SubjectAccessReviewStatus{} + } else { + yyv88 := &x.Status + yyv88.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys63) + } // end switch yys63 + } // end for yyj63 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -889,50 +889,16 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj29 int - var yyb29 bool - var yyhl29 bool = l >= 0 - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + var yyj89 int + var yyb89 bool + var yyhl89 bool = l >= 0 + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = SubjectAccessReviewSpec{} - } else { - yyv30 := &x.Spec - yyv30.CodecDecodeSelf(d) - } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l - } else { - yyb29 = r.CheckBreak() - } - if yyb29 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = SubjectAccessReviewStatus{} - } else { - yyv31 := &x.Status - yyv31.CodecDecodeSelf(d) - } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l - } else { - yyb29 = r.CheckBreak() - } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -942,13 +908,13 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -958,13 +924,13 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -974,13 +940,13 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Name = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -990,13 +956,13 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.GenerateName = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1006,13 +972,13 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Namespace = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1022,13 +988,13 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.SelfLink = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1038,13 +1004,13 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.UID = pkg3_types.UID(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1054,13 +1020,13 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.ResourceVersion = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1070,13 +1036,13 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Generation = int64(r.DecodeInt(64)) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1084,29 +1050,29 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.CreationTimestamp = pkg1_unversioned.Time{} } else { - yyv41 := &x.CreationTimestamp - yym42 := z.DecBinary() - _ = yym42 + yyv99 := &x.CreationTimestamp + yym100 := z.DecBinary() + _ = yym100 if false { - } else if z.HasExtensions() && z.DecExt(yyv41) { - } else if yym42 { - z.DecBinaryUnmarshal(yyv41) - } else if !yym42 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv41) + } else if z.HasExtensions() && z.DecExt(yyv99) { + } else if yym100 { + z.DecBinaryUnmarshal(yyv99) + } else if !yym100 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv99) } else { - z.DecFallback(yyv41, false) + z.DecFallback(yyv99, false) } } if x.ObjectMeta.DeletionTimestamp == nil { x.ObjectMeta.DeletionTimestamp = new(pkg1_unversioned.Time) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1119,13 +1085,13 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod if x.DeletionTimestamp == nil { x.DeletionTimestamp = new(pkg1_unversioned.Time) } - yym44 := z.DecBinary() - _ = yym44 + yym102 := z.DecBinary() + _ = yym102 if false { } else if z.HasExtensions() && z.DecExt(x.DeletionTimestamp) { - } else if yym44 { + } else if yym102 { z.DecBinaryUnmarshal(x.DeletionTimestamp) - } else if !yym44 && z.IsJSONHandle() { + } else if !yym102 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.DeletionTimestamp) } else { z.DecFallback(x.DeletionTimestamp, false) @@ -1134,13 +1100,13 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod if x.ObjectMeta.DeletionGracePeriodSeconds == nil { x.ObjectMeta.DeletionGracePeriodSeconds = new(int64) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1153,20 +1119,20 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod if x.DeletionGracePeriodSeconds == nil { x.DeletionGracePeriodSeconds = new(int64) } - yym46 := z.DecBinary() - _ = yym46 + yym104 := z.DecBinary() + _ = yym104 if false { } else { *((*int64)(x.DeletionGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1174,21 +1140,21 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv47 := &x.Labels - yym48 := z.DecBinary() - _ = yym48 + yyv105 := &x.Labels + yym106 := z.DecBinary() + _ = yym106 if false { } else { - z.F.DecMapStringStringX(yyv47, false, d) + z.F.DecMapStringStringX(yyv105, false, d) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1196,21 +1162,21 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv49 := &x.Annotations - yym50 := z.DecBinary() - _ = yym50 + yyv107 := &x.Annotations + yym108 := z.DecBinary() + _ = yym108 if false { } else { - z.F.DecMapStringStringX(yyv49, false, d) + z.F.DecMapStringStringX(yyv107, false, d) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1218,21 +1184,21 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.OwnerReferences = nil } else { - yyv51 := &x.OwnerReferences - yym52 := z.DecBinary() - _ = yym52 + yyv109 := &x.OwnerReferences + yym110 := z.DecBinary() + _ = yym110 if false { } else { - h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv51), d) + h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv109), d) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1240,26 +1206,60 @@ func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv53 := &x.Finalizers - yym54 := z.DecBinary() - _ = yym54 + yyv111 := &x.Finalizers + yym112 := z.DecBinary() + _ = yym112 if false { } else { - z.F.DecSliceStringX(yyv53, false, d) + z.F.DecSliceStringX(yyv111, false, d) } } + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l + } else { + yyb89 = r.CheckBreak() + } + if yyb89 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = SubjectAccessReviewSpec{} + } else { + yyv113 := &x.Spec + yyv113.CodecDecodeSelf(d) + } + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l + } else { + yyb89 = r.CheckBreak() + } + if yyb89 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = SubjectAccessReviewStatus{} + } else { + yyv114 := &x.Status + yyv114.CodecDecodeSelf(d) + } for { - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj89++ + if yyhl89 { + yyb89 = yyj89 > l } else { - yyb29 = r.CheckBreak() + yyb89 = r.CheckBreak() } - if yyb29 { + if yyb89 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj29-1, "") + z.DecStructFieldNotFound(yyj89-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1271,72 +1271,50 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym115 := z.EncBinary() + _ = yym115 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [18]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - yyq2[4] = x.Name != "" - yyq2[5] = x.GenerateName != "" - yyq2[6] = x.Namespace != "" - yyq2[7] = x.SelfLink != "" - yyq2[8] = x.UID != "" - yyq2[9] = x.ResourceVersion != "" - yyq2[10] = x.Generation != 0 - yyq2[11] = true - yyq2[12] = x.ObjectMeta.DeletionTimestamp != nil && x.DeletionTimestamp != nil - yyq2[13] = x.ObjectMeta.DeletionGracePeriodSeconds != nil && x.DeletionGracePeriodSeconds != nil - yyq2[14] = len(x.Labels) != 0 - yyq2[15] = len(x.Annotations) != 0 - yyq2[16] = len(x.OwnerReferences) != 0 - yyq2[17] = len(x.Finalizers) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep116 := !z.EncBinary() + yy2arr116 := z.EncBasicHandle().StructToArray + var yyq116 [18]bool + _, _, _ = yysep116, yyq116, yy2arr116 + const yyr116 bool = false + yyq116[0] = x.Kind != "" + yyq116[1] = x.APIVersion != "" + yyq116[2] = x.Name != "" + yyq116[3] = x.GenerateName != "" + yyq116[4] = x.Namespace != "" + yyq116[5] = x.SelfLink != "" + yyq116[6] = x.UID != "" + yyq116[7] = x.ResourceVersion != "" + yyq116[8] = x.Generation != 0 + yyq116[9] = true + yyq116[10] = x.ObjectMeta.DeletionTimestamp != nil && x.DeletionTimestamp != nil + yyq116[11] = x.ObjectMeta.DeletionGracePeriodSeconds != nil && x.DeletionGracePeriodSeconds != nil + yyq116[12] = len(x.Labels) != 0 + yyq116[13] = len(x.Annotations) != 0 + yyq116[14] = len(x.OwnerReferences) != 0 + yyq116[15] = len(x.Finalizers) != 0 + var yynn116 int + if yyr116 || yy2arr116 { r.EncodeArrayStart(18) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn116 = 2 + for _, b := range yyq116 { if b { - yynn2++ + yynn116++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn116) + yynn116 = 0 } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4 := &x.Spec - yy4.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.Spec - yy6.CodecEncodeSelf(e) - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy9 := &x.Status - yy9.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Status - yy11.CodecEncodeSelf(e) - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq116[0] { + yym118 := z.EncBinary() + _ = yym118 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1345,23 +1323,23 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq116[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym119 := z.EncBinary() + _ = yym119 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq116[1] { + yym121 := z.EncBinary() + _ = yym121 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1370,23 +1348,23 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq116[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym122 := z.EncBinary() + _ = yym122 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 + if yyq116[2] { + yym124 := z.EncBinary() + _ = yym124 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -1395,23 +1373,23 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq116[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym125 := z.EncBinary() + _ = yym125 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym23 := z.EncBinary() - _ = yym23 + if yyq116[3] { + yym127 := z.EncBinary() + _ = yym127 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.GenerateName)) @@ -1420,23 +1398,23 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq116[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("generateName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 + yym128 := z.EncBinary() + _ = yym128 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.GenerateName)) } } } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym26 := z.EncBinary() - _ = yym26 + if yyq116[4] { + yym130 := z.EncBinary() + _ = yym130 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -1445,23 +1423,23 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[6] { + if yyq116[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym27 := z.EncBinary() - _ = yym27 + yym131 := z.EncBinary() + _ = yym131 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym29 := z.EncBinary() - _ = yym29 + if yyq116[5] { + yym133 := z.EncBinary() + _ = yym133 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SelfLink)) @@ -1470,23 +1448,23 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[7] { + if yyq116[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selfLink")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym30 := z.EncBinary() - _ = yym30 + yym134 := z.EncBinary() + _ = yym134 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SelfLink)) } } } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { - yym32 := z.EncBinary() - _ = yym32 + if yyq116[6] { + yym136 := z.EncBinary() + _ = yym136 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -1496,12 +1474,12 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[8] { + if yyq116[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym33 := z.EncBinary() - _ = yym33 + yym137 := z.EncBinary() + _ = yym137 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -1509,11 +1487,11 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { - yym35 := z.EncBinary() - _ = yym35 + if yyq116[7] { + yym139 := z.EncBinary() + _ = yym139 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -1522,23 +1500,23 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[9] { + if yyq116[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym36 := z.EncBinary() - _ = yym36 + yym140 := z.EncBinary() + _ = yym140 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { - yym38 := z.EncBinary() - _ = yym38 + if yyq116[8] { + yym142 := z.EncBinary() + _ = yym142 if false { } else { r.EncodeInt(int64(x.Generation)) @@ -1547,77 +1525,77 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[10] { + if yyq116[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("generation")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym39 := z.EncBinary() - _ = yym39 + yym143 := z.EncBinary() + _ = yym143 if false { } else { r.EncodeInt(int64(x.Generation)) } } } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { - yy41 := &x.CreationTimestamp - yym42 := z.EncBinary() - _ = yym42 + if yyq116[9] { + yy145 := &x.CreationTimestamp + yym146 := z.EncBinary() + _ = yym146 if false { - } else if z.HasExtensions() && z.EncExt(yy41) { - } else if yym42 { - z.EncBinaryMarshal(yy41) - } else if !yym42 && z.IsJSONHandle() { - z.EncJSONMarshal(yy41) + } else if z.HasExtensions() && z.EncExt(yy145) { + } else if yym146 { + z.EncBinaryMarshal(yy145) + } else if !yym146 && z.IsJSONHandle() { + z.EncJSONMarshal(yy145) } else { - z.EncFallback(yy41) + z.EncFallback(yy145) } } else { r.EncodeNil() } } else { - if yyq2[11] { + if yyq116[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("creationTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy43 := &x.CreationTimestamp - yym44 := z.EncBinary() - _ = yym44 + yy147 := &x.CreationTimestamp + yym148 := z.EncBinary() + _ = yym148 if false { - } else if z.HasExtensions() && z.EncExt(yy43) { - } else if yym44 { - z.EncBinaryMarshal(yy43) - } else if !yym44 && z.IsJSONHandle() { - z.EncJSONMarshal(yy43) + } else if z.HasExtensions() && z.EncExt(yy147) { + } else if yym148 { + z.EncBinaryMarshal(yy147) + } else if !yym148 && z.IsJSONHandle() { + z.EncJSONMarshal(yy147) } else { - z.EncFallback(yy43) + z.EncFallback(yy147) } } } - var yyn45 bool + var yyn149 bool if x.ObjectMeta.DeletionTimestamp == nil { - yyn45 = true - goto LABEL45 + yyn149 = true + goto LABEL149 } - LABEL45: - if yyr2 || yy2arr2 { - if yyn45 { + LABEL149: + if yyr116 || yy2arr116 { + if yyn149 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { + if yyq116[10] { if x.DeletionTimestamp == nil { r.EncodeNil() } else { - yym46 := z.EncBinary() - _ = yym46 + yym150 := z.EncBinary() + _ = yym150 if false { } else if z.HasExtensions() && z.EncExt(x.DeletionTimestamp) { - } else if yym46 { + } else if yym150 { z.EncBinaryMarshal(x.DeletionTimestamp) - } else if !yym46 && z.IsJSONHandle() { + } else if !yym150 && z.IsJSONHandle() { z.EncJSONMarshal(x.DeletionTimestamp) } else { z.EncFallback(x.DeletionTimestamp) @@ -1628,23 +1606,23 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[12] { + if yyq116[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deletionTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn45 { + if yyn149 { r.EncodeNil() } else { if x.DeletionTimestamp == nil { r.EncodeNil() } else { - yym47 := z.EncBinary() - _ = yym47 + yym151 := z.EncBinary() + _ = yym151 if false { } else if z.HasExtensions() && z.EncExt(x.DeletionTimestamp) { - } else if yym47 { + } else if yym151 { z.EncBinaryMarshal(x.DeletionTimestamp) - } else if !yym47 && z.IsJSONHandle() { + } else if !yym151 && z.IsJSONHandle() { z.EncJSONMarshal(x.DeletionTimestamp) } else { z.EncFallback(x.DeletionTimestamp) @@ -1653,27 +1631,27 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn48 bool + var yyn152 bool if x.ObjectMeta.DeletionGracePeriodSeconds == nil { - yyn48 = true - goto LABEL48 + yyn152 = true + goto LABEL152 } - LABEL48: - if yyr2 || yy2arr2 { - if yyn48 { + LABEL152: + if yyr116 || yy2arr116 { + if yyn152 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { + if yyq116[11] { if x.DeletionGracePeriodSeconds == nil { r.EncodeNil() } else { - yy49 := *x.DeletionGracePeriodSeconds - yym50 := z.EncBinary() - _ = yym50 + yy153 := *x.DeletionGracePeriodSeconds + yym154 := z.EncBinary() + _ = yym154 if false { } else { - r.EncodeInt(int64(yy49)) + r.EncodeInt(int64(yy153)) } } } else { @@ -1681,35 +1659,35 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[13] { + if yyq116[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deletionGracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn48 { + if yyn152 { r.EncodeNil() } else { if x.DeletionGracePeriodSeconds == nil { r.EncodeNil() } else { - yy51 := *x.DeletionGracePeriodSeconds - yym52 := z.EncBinary() - _ = yym52 + yy155 := *x.DeletionGracePeriodSeconds + yym156 := z.EncBinary() + _ = yym156 if false { } else { - r.EncodeInt(int64(yy51)) + r.EncodeInt(int64(yy155)) } } } } } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[14] { + if yyq116[12] { if x.Labels == nil { r.EncodeNil() } else { - yym54 := z.EncBinary() - _ = yym54 + yym158 := z.EncBinary() + _ = yym158 if false { } else { z.F.EncMapStringStringV(x.Labels, false, e) @@ -1719,15 +1697,15 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[14] { + if yyq116[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labels")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Labels == nil { r.EncodeNil() } else { - yym55 := z.EncBinary() - _ = yym55 + yym159 := z.EncBinary() + _ = yym159 if false { } else { z.F.EncMapStringStringV(x.Labels, false, e) @@ -1735,14 +1713,14 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[15] { + if yyq116[13] { if x.Annotations == nil { r.EncodeNil() } else { - yym57 := z.EncBinary() - _ = yym57 + yym161 := z.EncBinary() + _ = yym161 if false { } else { z.F.EncMapStringStringV(x.Annotations, false, e) @@ -1752,15 +1730,15 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[15] { + if yyq116[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("annotations")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Annotations == nil { r.EncodeNil() } else { - yym58 := z.EncBinary() - _ = yym58 + yym162 := z.EncBinary() + _ = yym162 if false { } else { z.F.EncMapStringStringV(x.Annotations, false, e) @@ -1768,14 +1746,14 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[16] { + if yyq116[14] { if x.OwnerReferences == nil { r.EncodeNil() } else { - yym60 := z.EncBinary() - _ = yym60 + yym164 := z.EncBinary() + _ = yym164 if false { } else { h.encSliceapi_OwnerReference(([]pkg2_api.OwnerReference)(x.OwnerReferences), e) @@ -1785,15 +1763,15 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[16] { + if yyq116[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ownerReferences")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.OwnerReferences == nil { r.EncodeNil() } else { - yym61 := z.EncBinary() - _ = yym61 + yym165 := z.EncBinary() + _ = yym165 if false { } else { h.encSliceapi_OwnerReference(([]pkg2_api.OwnerReference)(x.OwnerReferences), e) @@ -1801,14 +1779,14 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[17] { + if yyq116[15] { if x.Finalizers == nil { r.EncodeNil() } else { - yym63 := z.EncBinary() - _ = yym63 + yym167 := z.EncBinary() + _ = yym167 if false { } else { z.F.EncSliceStringV(x.Finalizers, false, e) @@ -1818,15 +1796,15 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[17] { + if yyq116[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finalizers")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Finalizers == nil { r.EncodeNil() } else { - yym64 := z.EncBinary() - _ = yym64 + yym168 := z.EncBinary() + _ = yym168 if false { } else { z.F.EncSliceStringV(x.Finalizers, false, e) @@ -1834,7 +1812,29 @@ func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr116 || yy2arr116 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy170 := &x.Spec + yy170.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy171 := &x.Spec + yy171.CodecEncodeSelf(e) + } + if yyr116 || yy2arr116 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy173 := &x.Status + yy173.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy174 := &x.Status + yy174.CodecEncodeSelf(e) + } + if yyr116 || yy2arr116 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1847,25 +1847,25 @@ func (x *SelfSubjectAccessReview) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym175 := z.DecBinary() + _ = yym175 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct176 := r.ContainerType() + if yyct176 == codecSelferValueTypeMap1234 { + yyl176 := r.ReadMapStart() + if yyl176 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl176, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct176 == codecSelferValueTypeArray1234 { + yyl176 := r.ReadArrayStart() + if yyl176 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl176, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1877,12 +1877,12 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys177Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys177Slc + var yyhl177 bool = l >= 0 + for yyj177 := 0; ; yyj177++ { + if yyhl177 { + if yyj177 >= l { break } } else { @@ -1891,24 +1891,10 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys177Slc = r.DecodeBytes(yys177Slc, true, true) + yys177 := string(yys177Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "Spec": - if r.TryDecodeAsNil() { - x.Spec = SelfSubjectAccessReviewSpec{} - } else { - yyv4 := &x.Spec - yyv4.CodecDecodeSelf(d) - } - case "Status": - if r.TryDecodeAsNil() { - x.Status = SubjectAccessReviewStatus{} - } else { - yyv5 := &x.Status - yyv5.CodecDecodeSelf(d) - } + switch yys177 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1967,17 +1953,17 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.CreationTimestamp = pkg1_unversioned.Time{} } else { - yyv15 := &x.CreationTimestamp - yym16 := z.DecBinary() - _ = yym16 + yyv187 := &x.CreationTimestamp + yym188 := z.DecBinary() + _ = yym188 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { - } else if yym16 { - z.DecBinaryUnmarshal(yyv15) - } else if !yym16 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv15) + } else if z.HasExtensions() && z.DecExt(yyv187) { + } else if yym188 { + z.DecBinaryUnmarshal(yyv187) + } else if !yym188 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv187) } else { - z.DecFallback(yyv15, false) + z.DecFallback(yyv187, false) } } case "deletionTimestamp": @@ -1992,13 +1978,13 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.DeletionTimestamp == nil { x.DeletionTimestamp = new(pkg1_unversioned.Time) } - yym18 := z.DecBinary() - _ = yym18 + yym190 := z.DecBinary() + _ = yym190 if false { } else if z.HasExtensions() && z.DecExt(x.DeletionTimestamp) { - } else if yym18 { + } else if yym190 { z.DecBinaryUnmarshal(x.DeletionTimestamp) - } else if !yym18 && z.IsJSONHandle() { + } else if !yym190 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.DeletionTimestamp) } else { z.DecFallback(x.DeletionTimestamp, false) @@ -2016,8 +2002,8 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.DeletionGracePeriodSeconds == nil { x.DeletionGracePeriodSeconds = new(int64) } - yym20 := z.DecBinary() - _ = yym20 + yym192 := z.DecBinary() + _ = yym192 if false { } else { *((*int64)(x.DeletionGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -2027,54 +2013,68 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv21 := &x.Labels - yym22 := z.DecBinary() - _ = yym22 + yyv193 := &x.Labels + yym194 := z.DecBinary() + _ = yym194 if false { } else { - z.F.DecMapStringStringX(yyv21, false, d) + z.F.DecMapStringStringX(yyv193, false, d) } } case "annotations": if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv23 := &x.Annotations - yym24 := z.DecBinary() - _ = yym24 + yyv195 := &x.Annotations + yym196 := z.DecBinary() + _ = yym196 if false { } else { - z.F.DecMapStringStringX(yyv23, false, d) + z.F.DecMapStringStringX(yyv195, false, d) } } case "ownerReferences": if r.TryDecodeAsNil() { x.OwnerReferences = nil } else { - yyv25 := &x.OwnerReferences - yym26 := z.DecBinary() - _ = yym26 + yyv197 := &x.OwnerReferences + yym198 := z.DecBinary() + _ = yym198 if false { } else { - h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv25), d) + h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv197), d) } } case "finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv27 := &x.Finalizers - yym28 := z.DecBinary() - _ = yym28 + yyv199 := &x.Finalizers + yym200 := z.DecBinary() + _ = yym200 if false { } else { - z.F.DecSliceStringX(yyv27, false, d) + z.F.DecSliceStringX(yyv199, false, d) } } + case "Spec": + if r.TryDecodeAsNil() { + x.Spec = SelfSubjectAccessReviewSpec{} + } else { + yyv201 := &x.Spec + yyv201.CodecDecodeSelf(d) + } + case "Status": + if r.TryDecodeAsNil() { + x.Status = SubjectAccessReviewStatus{} + } else { + yyv202 := &x.Status + yyv202.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys177) + } // end switch yys177 + } // end for yyj177 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2082,50 +2082,16 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj29 int - var yyb29 bool - var yyhl29 bool = l >= 0 - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + var yyj203 int + var yyb203 bool + var yyhl203 bool = l >= 0 + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = SelfSubjectAccessReviewSpec{} - } else { - yyv30 := &x.Spec - yyv30.CodecDecodeSelf(d) - } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l - } else { - yyb29 = r.CheckBreak() - } - if yyb29 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = SubjectAccessReviewStatus{} - } else { - yyv31 := &x.Status - yyv31.CodecDecodeSelf(d) - } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l - } else { - yyb29 = r.CheckBreak() - } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2135,13 +2101,13 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Kind = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2151,13 +2117,13 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.APIVersion = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2167,13 +2133,13 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Name = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2183,13 +2149,13 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.GenerateName = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2199,13 +2165,13 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Namespace = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2215,13 +2181,13 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.SelfLink = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2231,13 +2197,13 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.UID = pkg3_types.UID(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2247,13 +2213,13 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.ResourceVersion = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2263,13 +2229,13 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Generation = int64(r.DecodeInt(64)) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2277,29 +2243,29 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.CreationTimestamp = pkg1_unversioned.Time{} } else { - yyv41 := &x.CreationTimestamp - yym42 := z.DecBinary() - _ = yym42 + yyv213 := &x.CreationTimestamp + yym214 := z.DecBinary() + _ = yym214 if false { - } else if z.HasExtensions() && z.DecExt(yyv41) { - } else if yym42 { - z.DecBinaryUnmarshal(yyv41) - } else if !yym42 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv41) + } else if z.HasExtensions() && z.DecExt(yyv213) { + } else if yym214 { + z.DecBinaryUnmarshal(yyv213) + } else if !yym214 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv213) } else { - z.DecFallback(yyv41, false) + z.DecFallback(yyv213, false) } } if x.ObjectMeta.DeletionTimestamp == nil { x.ObjectMeta.DeletionTimestamp = new(pkg1_unversioned.Time) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2312,13 +2278,13 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D if x.DeletionTimestamp == nil { x.DeletionTimestamp = new(pkg1_unversioned.Time) } - yym44 := z.DecBinary() - _ = yym44 + yym216 := z.DecBinary() + _ = yym216 if false { } else if z.HasExtensions() && z.DecExt(x.DeletionTimestamp) { - } else if yym44 { + } else if yym216 { z.DecBinaryUnmarshal(x.DeletionTimestamp) - } else if !yym44 && z.IsJSONHandle() { + } else if !yym216 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.DeletionTimestamp) } else { z.DecFallback(x.DeletionTimestamp, false) @@ -2327,13 +2293,13 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D if x.ObjectMeta.DeletionGracePeriodSeconds == nil { x.ObjectMeta.DeletionGracePeriodSeconds = new(int64) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2346,20 +2312,20 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D if x.DeletionGracePeriodSeconds == nil { x.DeletionGracePeriodSeconds = new(int64) } - yym46 := z.DecBinary() - _ = yym46 + yym218 := z.DecBinary() + _ = yym218 if false { } else { *((*int64)(x.DeletionGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2367,21 +2333,21 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv47 := &x.Labels - yym48 := z.DecBinary() - _ = yym48 + yyv219 := &x.Labels + yym220 := z.DecBinary() + _ = yym220 if false { } else { - z.F.DecMapStringStringX(yyv47, false, d) + z.F.DecMapStringStringX(yyv219, false, d) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2389,21 +2355,21 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv49 := &x.Annotations - yym50 := z.DecBinary() - _ = yym50 + yyv221 := &x.Annotations + yym222 := z.DecBinary() + _ = yym222 if false { } else { - z.F.DecMapStringStringX(yyv49, false, d) + z.F.DecMapStringStringX(yyv221, false, d) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2411,21 +2377,21 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.OwnerReferences = nil } else { - yyv51 := &x.OwnerReferences - yym52 := z.DecBinary() - _ = yym52 + yyv223 := &x.OwnerReferences + yym224 := z.DecBinary() + _ = yym224 if false { } else { - h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv51), d) + h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv223), d) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2433,26 +2399,60 @@ func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv53 := &x.Finalizers - yym54 := z.DecBinary() - _ = yym54 + yyv225 := &x.Finalizers + yym226 := z.DecBinary() + _ = yym226 if false { } else { - z.F.DecSliceStringX(yyv53, false, d) + z.F.DecSliceStringX(yyv225, false, d) } } + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l + } else { + yyb203 = r.CheckBreak() + } + if yyb203 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = SelfSubjectAccessReviewSpec{} + } else { + yyv227 := &x.Spec + yyv227.CodecDecodeSelf(d) + } + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l + } else { + yyb203 = r.CheckBreak() + } + if yyb203 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = SubjectAccessReviewStatus{} + } else { + yyv228 := &x.Status + yyv228.CodecDecodeSelf(d) + } for { - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb29 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb29 { + if yyb203 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj29-1, "") + z.DecStructFieldNotFound(yyj203-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2464,72 +2464,50 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym229 := z.EncBinary() + _ = yym229 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [18]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - yyq2[4] = x.Name != "" - yyq2[5] = x.GenerateName != "" - yyq2[6] = x.Namespace != "" - yyq2[7] = x.SelfLink != "" - yyq2[8] = x.UID != "" - yyq2[9] = x.ResourceVersion != "" - yyq2[10] = x.Generation != 0 - yyq2[11] = true - yyq2[12] = x.ObjectMeta.DeletionTimestamp != nil && x.DeletionTimestamp != nil - yyq2[13] = x.ObjectMeta.DeletionGracePeriodSeconds != nil && x.DeletionGracePeriodSeconds != nil - yyq2[14] = len(x.Labels) != 0 - yyq2[15] = len(x.Annotations) != 0 - yyq2[16] = len(x.OwnerReferences) != 0 - yyq2[17] = len(x.Finalizers) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep230 := !z.EncBinary() + yy2arr230 := z.EncBasicHandle().StructToArray + var yyq230 [18]bool + _, _, _ = yysep230, yyq230, yy2arr230 + const yyr230 bool = false + yyq230[0] = x.Kind != "" + yyq230[1] = x.APIVersion != "" + yyq230[2] = x.Name != "" + yyq230[3] = x.GenerateName != "" + yyq230[4] = x.Namespace != "" + yyq230[5] = x.SelfLink != "" + yyq230[6] = x.UID != "" + yyq230[7] = x.ResourceVersion != "" + yyq230[8] = x.Generation != 0 + yyq230[9] = true + yyq230[10] = x.ObjectMeta.DeletionTimestamp != nil && x.DeletionTimestamp != nil + yyq230[11] = x.ObjectMeta.DeletionGracePeriodSeconds != nil && x.DeletionGracePeriodSeconds != nil + yyq230[12] = len(x.Labels) != 0 + yyq230[13] = len(x.Annotations) != 0 + yyq230[14] = len(x.OwnerReferences) != 0 + yyq230[15] = len(x.Finalizers) != 0 + var yynn230 int + if yyr230 || yy2arr230 { r.EncodeArrayStart(18) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn230 = 2 + for _, b := range yyq230 { if b { - yynn2++ + yynn230++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn230) + yynn230 = 0 } - if yyr2 || yy2arr2 { + if yyr230 || yy2arr230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4 := &x.Spec - yy4.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.Spec - yy6.CodecEncodeSelf(e) - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy9 := &x.Status - yy9.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Status - yy11.CodecEncodeSelf(e) - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq230[0] { + yym232 := z.EncBinary() + _ = yym232 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -2538,23 +2516,23 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq230[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym233 := z.EncBinary() + _ = yym233 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr230 || yy2arr230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq230[1] { + yym235 := z.EncBinary() + _ = yym235 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -2563,23 +2541,23 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq230[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym236 := z.EncBinary() + _ = yym236 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr230 || yy2arr230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 + if yyq230[2] { + yym238 := z.EncBinary() + _ = yym238 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -2588,23 +2566,23 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq230[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym239 := z.EncBinary() + _ = yym239 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2 || yy2arr2 { + if yyr230 || yy2arr230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym23 := z.EncBinary() - _ = yym23 + if yyq230[3] { + yym241 := z.EncBinary() + _ = yym241 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.GenerateName)) @@ -2613,23 +2591,23 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq230[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("generateName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 + yym242 := z.EncBinary() + _ = yym242 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.GenerateName)) } } } - if yyr2 || yy2arr2 { + if yyr230 || yy2arr230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym26 := z.EncBinary() - _ = yym26 + if yyq230[4] { + yym244 := z.EncBinary() + _ = yym244 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -2638,23 +2616,23 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[6] { + if yyq230[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym27 := z.EncBinary() - _ = yym27 + yym245 := z.EncBinary() + _ = yym245 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } - if yyr2 || yy2arr2 { + if yyr230 || yy2arr230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym29 := z.EncBinary() - _ = yym29 + if yyq230[5] { + yym247 := z.EncBinary() + _ = yym247 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SelfLink)) @@ -2663,23 +2641,23 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[7] { + if yyq230[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selfLink")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym30 := z.EncBinary() - _ = yym30 + yym248 := z.EncBinary() + _ = yym248 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SelfLink)) } } } - if yyr2 || yy2arr2 { + if yyr230 || yy2arr230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { - yym32 := z.EncBinary() - _ = yym32 + if yyq230[6] { + yym250 := z.EncBinary() + _ = yym250 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -2689,12 +2667,12 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[8] { + if yyq230[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym33 := z.EncBinary() - _ = yym33 + yym251 := z.EncBinary() + _ = yym251 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -2702,11 +2680,11 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr230 || yy2arr230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[9] { - yym35 := z.EncBinary() - _ = yym35 + if yyq230[7] { + yym253 := z.EncBinary() + _ = yym253 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -2715,23 +2693,23 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[9] { + if yyq230[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym36 := z.EncBinary() - _ = yym36 + yym254 := z.EncBinary() + _ = yym254 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr2 || yy2arr2 { + if yyr230 || yy2arr230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[10] { - yym38 := z.EncBinary() - _ = yym38 + if yyq230[8] { + yym256 := z.EncBinary() + _ = yym256 if false { } else { r.EncodeInt(int64(x.Generation)) @@ -2740,77 +2718,77 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[10] { + if yyq230[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("generation")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym39 := z.EncBinary() - _ = yym39 + yym257 := z.EncBinary() + _ = yym257 if false { } else { r.EncodeInt(int64(x.Generation)) } } } - if yyr2 || yy2arr2 { + if yyr230 || yy2arr230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[11] { - yy41 := &x.CreationTimestamp - yym42 := z.EncBinary() - _ = yym42 + if yyq230[9] { + yy259 := &x.CreationTimestamp + yym260 := z.EncBinary() + _ = yym260 if false { - } else if z.HasExtensions() && z.EncExt(yy41) { - } else if yym42 { - z.EncBinaryMarshal(yy41) - } else if !yym42 && z.IsJSONHandle() { - z.EncJSONMarshal(yy41) + } else if z.HasExtensions() && z.EncExt(yy259) { + } else if yym260 { + z.EncBinaryMarshal(yy259) + } else if !yym260 && z.IsJSONHandle() { + z.EncJSONMarshal(yy259) } else { - z.EncFallback(yy41) + z.EncFallback(yy259) } } else { r.EncodeNil() } } else { - if yyq2[11] { + if yyq230[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("creationTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy43 := &x.CreationTimestamp - yym44 := z.EncBinary() - _ = yym44 + yy261 := &x.CreationTimestamp + yym262 := z.EncBinary() + _ = yym262 if false { - } else if z.HasExtensions() && z.EncExt(yy43) { - } else if yym44 { - z.EncBinaryMarshal(yy43) - } else if !yym44 && z.IsJSONHandle() { - z.EncJSONMarshal(yy43) + } else if z.HasExtensions() && z.EncExt(yy261) { + } else if yym262 { + z.EncBinaryMarshal(yy261) + } else if !yym262 && z.IsJSONHandle() { + z.EncJSONMarshal(yy261) } else { - z.EncFallback(yy43) + z.EncFallback(yy261) } } } - var yyn45 bool + var yyn263 bool if x.ObjectMeta.DeletionTimestamp == nil { - yyn45 = true - goto LABEL45 + yyn263 = true + goto LABEL263 } - LABEL45: - if yyr2 || yy2arr2 { - if yyn45 { + LABEL263: + if yyr230 || yy2arr230 { + if yyn263 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { + if yyq230[10] { if x.DeletionTimestamp == nil { r.EncodeNil() } else { - yym46 := z.EncBinary() - _ = yym46 + yym264 := z.EncBinary() + _ = yym264 if false { } else if z.HasExtensions() && z.EncExt(x.DeletionTimestamp) { - } else if yym46 { + } else if yym264 { z.EncBinaryMarshal(x.DeletionTimestamp) - } else if !yym46 && z.IsJSONHandle() { + } else if !yym264 && z.IsJSONHandle() { z.EncJSONMarshal(x.DeletionTimestamp) } else { z.EncFallback(x.DeletionTimestamp) @@ -2821,23 +2799,23 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[12] { + if yyq230[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deletionTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn45 { + if yyn263 { r.EncodeNil() } else { if x.DeletionTimestamp == nil { r.EncodeNil() } else { - yym47 := z.EncBinary() - _ = yym47 + yym265 := z.EncBinary() + _ = yym265 if false { } else if z.HasExtensions() && z.EncExt(x.DeletionTimestamp) { - } else if yym47 { + } else if yym265 { z.EncBinaryMarshal(x.DeletionTimestamp) - } else if !yym47 && z.IsJSONHandle() { + } else if !yym265 && z.IsJSONHandle() { z.EncJSONMarshal(x.DeletionTimestamp) } else { z.EncFallback(x.DeletionTimestamp) @@ -2846,27 +2824,27 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn48 bool + var yyn266 bool if x.ObjectMeta.DeletionGracePeriodSeconds == nil { - yyn48 = true - goto LABEL48 + yyn266 = true + goto LABEL266 } - LABEL48: - if yyr2 || yy2arr2 { - if yyn48 { + LABEL266: + if yyr230 || yy2arr230 { + if yyn266 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { + if yyq230[11] { if x.DeletionGracePeriodSeconds == nil { r.EncodeNil() } else { - yy49 := *x.DeletionGracePeriodSeconds - yym50 := z.EncBinary() - _ = yym50 + yy267 := *x.DeletionGracePeriodSeconds + yym268 := z.EncBinary() + _ = yym268 if false { } else { - r.EncodeInt(int64(yy49)) + r.EncodeInt(int64(yy267)) } } } else { @@ -2874,35 +2852,35 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[13] { + if yyq230[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deletionGracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn48 { + if yyn266 { r.EncodeNil() } else { if x.DeletionGracePeriodSeconds == nil { r.EncodeNil() } else { - yy51 := *x.DeletionGracePeriodSeconds - yym52 := z.EncBinary() - _ = yym52 + yy269 := *x.DeletionGracePeriodSeconds + yym270 := z.EncBinary() + _ = yym270 if false { } else { - r.EncodeInt(int64(yy51)) + r.EncodeInt(int64(yy269)) } } } } } - if yyr2 || yy2arr2 { + if yyr230 || yy2arr230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[14] { + if yyq230[12] { if x.Labels == nil { r.EncodeNil() } else { - yym54 := z.EncBinary() - _ = yym54 + yym272 := z.EncBinary() + _ = yym272 if false { } else { z.F.EncMapStringStringV(x.Labels, false, e) @@ -2912,15 +2890,15 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[14] { + if yyq230[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labels")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Labels == nil { r.EncodeNil() } else { - yym55 := z.EncBinary() - _ = yym55 + yym273 := z.EncBinary() + _ = yym273 if false { } else { z.F.EncMapStringStringV(x.Labels, false, e) @@ -2928,14 +2906,14 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr230 || yy2arr230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[15] { + if yyq230[13] { if x.Annotations == nil { r.EncodeNil() } else { - yym57 := z.EncBinary() - _ = yym57 + yym275 := z.EncBinary() + _ = yym275 if false { } else { z.F.EncMapStringStringV(x.Annotations, false, e) @@ -2945,15 +2923,15 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[15] { + if yyq230[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("annotations")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Annotations == nil { r.EncodeNil() } else { - yym58 := z.EncBinary() - _ = yym58 + yym276 := z.EncBinary() + _ = yym276 if false { } else { z.F.EncMapStringStringV(x.Annotations, false, e) @@ -2961,14 +2939,14 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr230 || yy2arr230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[16] { + if yyq230[14] { if x.OwnerReferences == nil { r.EncodeNil() } else { - yym60 := z.EncBinary() - _ = yym60 + yym278 := z.EncBinary() + _ = yym278 if false { } else { h.encSliceapi_OwnerReference(([]pkg2_api.OwnerReference)(x.OwnerReferences), e) @@ -2978,15 +2956,15 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[16] { + if yyq230[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ownerReferences")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.OwnerReferences == nil { r.EncodeNil() } else { - yym61 := z.EncBinary() - _ = yym61 + yym279 := z.EncBinary() + _ = yym279 if false { } else { h.encSliceapi_OwnerReference(([]pkg2_api.OwnerReference)(x.OwnerReferences), e) @@ -2994,14 +2972,14 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr230 || yy2arr230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[17] { + if yyq230[15] { if x.Finalizers == nil { r.EncodeNil() } else { - yym63 := z.EncBinary() - _ = yym63 + yym281 := z.EncBinary() + _ = yym281 if false { } else { z.F.EncSliceStringV(x.Finalizers, false, e) @@ -3011,15 +2989,15 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[17] { + if yyq230[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("finalizers")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Finalizers == nil { r.EncodeNil() } else { - yym64 := z.EncBinary() - _ = yym64 + yym282 := z.EncBinary() + _ = yym282 if false { } else { z.F.EncSliceStringV(x.Finalizers, false, e) @@ -3027,7 +3005,29 @@ func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr230 || yy2arr230 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy284 := &x.Spec + yy284.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy285 := &x.Spec + yy285.CodecEncodeSelf(e) + } + if yyr230 || yy2arr230 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy287 := &x.Status + yy287.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy288 := &x.Status + yy288.CodecEncodeSelf(e) + } + if yyr230 || yy2arr230 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3040,25 +3040,25 @@ func (x *LocalSubjectAccessReview) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym289 := z.DecBinary() + _ = yym289 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct290 := r.ContainerType() + if yyct290 == codecSelferValueTypeMap1234 { + yyl290 := r.ReadMapStart() + if yyl290 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl290, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct290 == codecSelferValueTypeArray1234 { + yyl290 := r.ReadArrayStart() + if yyl290 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl290, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3070,12 +3070,12 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys291Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys291Slc + var yyhl291 bool = l >= 0 + for yyj291 := 0; ; yyj291++ { + if yyhl291 { + if yyj291 >= l { break } } else { @@ -3084,24 +3084,10 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys291Slc = r.DecodeBytes(yys291Slc, true, true) + yys291 := string(yys291Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "Spec": - if r.TryDecodeAsNil() { - x.Spec = SubjectAccessReviewSpec{} - } else { - yyv4 := &x.Spec - yyv4.CodecDecodeSelf(d) - } - case "Status": - if r.TryDecodeAsNil() { - x.Status = SubjectAccessReviewStatus{} - } else { - yyv5 := &x.Status - yyv5.CodecDecodeSelf(d) - } + switch yys291 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3160,17 +3146,17 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.CreationTimestamp = pkg1_unversioned.Time{} } else { - yyv15 := &x.CreationTimestamp - yym16 := z.DecBinary() - _ = yym16 + yyv301 := &x.CreationTimestamp + yym302 := z.DecBinary() + _ = yym302 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { - } else if yym16 { - z.DecBinaryUnmarshal(yyv15) - } else if !yym16 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv15) + } else if z.HasExtensions() && z.DecExt(yyv301) { + } else if yym302 { + z.DecBinaryUnmarshal(yyv301) + } else if !yym302 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv301) } else { - z.DecFallback(yyv15, false) + z.DecFallback(yyv301, false) } } case "deletionTimestamp": @@ -3185,13 +3171,13 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.De if x.DeletionTimestamp == nil { x.DeletionTimestamp = new(pkg1_unversioned.Time) } - yym18 := z.DecBinary() - _ = yym18 + yym304 := z.DecBinary() + _ = yym304 if false { } else if z.HasExtensions() && z.DecExt(x.DeletionTimestamp) { - } else if yym18 { + } else if yym304 { z.DecBinaryUnmarshal(x.DeletionTimestamp) - } else if !yym18 && z.IsJSONHandle() { + } else if !yym304 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.DeletionTimestamp) } else { z.DecFallback(x.DeletionTimestamp, false) @@ -3209,8 +3195,8 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.De if x.DeletionGracePeriodSeconds == nil { x.DeletionGracePeriodSeconds = new(int64) } - yym20 := z.DecBinary() - _ = yym20 + yym306 := z.DecBinary() + _ = yym306 if false { } else { *((*int64)(x.DeletionGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -3220,54 +3206,68 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv21 := &x.Labels - yym22 := z.DecBinary() - _ = yym22 + yyv307 := &x.Labels + yym308 := z.DecBinary() + _ = yym308 if false { } else { - z.F.DecMapStringStringX(yyv21, false, d) + z.F.DecMapStringStringX(yyv307, false, d) } } case "annotations": if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv23 := &x.Annotations - yym24 := z.DecBinary() - _ = yym24 + yyv309 := &x.Annotations + yym310 := z.DecBinary() + _ = yym310 if false { } else { - z.F.DecMapStringStringX(yyv23, false, d) + z.F.DecMapStringStringX(yyv309, false, d) } } case "ownerReferences": if r.TryDecodeAsNil() { x.OwnerReferences = nil } else { - yyv25 := &x.OwnerReferences - yym26 := z.DecBinary() - _ = yym26 + yyv311 := &x.OwnerReferences + yym312 := z.DecBinary() + _ = yym312 if false { } else { - h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv25), d) + h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv311), d) } } case "finalizers": if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv27 := &x.Finalizers - yym28 := z.DecBinary() - _ = yym28 + yyv313 := &x.Finalizers + yym314 := z.DecBinary() + _ = yym314 if false { } else { - z.F.DecSliceStringX(yyv27, false, d) + z.F.DecSliceStringX(yyv313, false, d) } } + case "Spec": + if r.TryDecodeAsNil() { + x.Spec = SubjectAccessReviewSpec{} + } else { + yyv315 := &x.Spec + yyv315.CodecDecodeSelf(d) + } + case "Status": + if r.TryDecodeAsNil() { + x.Status = SubjectAccessReviewStatus{} + } else { + yyv316 := &x.Status + yyv316.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys291) + } // end switch yys291 + } // end for yyj291 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3275,50 +3275,16 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj29 int - var yyb29 bool - var yyhl29 bool = l >= 0 - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + var yyj317 int + var yyb317 bool + var yyhl317 bool = l >= 0 + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = SubjectAccessReviewSpec{} - } else { - yyv30 := &x.Spec - yyv30.CodecDecodeSelf(d) - } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l - } else { - yyb29 = r.CheckBreak() - } - if yyb29 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = SubjectAccessReviewStatus{} - } else { - yyv31 := &x.Status - yyv31.CodecDecodeSelf(d) - } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l - } else { - yyb29 = r.CheckBreak() - } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3328,13 +3294,13 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Kind = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3344,13 +3310,13 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.APIVersion = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3360,13 +3326,13 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Name = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3376,13 +3342,13 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.GenerateName = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3392,13 +3358,13 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Namespace = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3408,13 +3374,13 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.SelfLink = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3424,13 +3390,13 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.UID = pkg3_types.UID(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3440,13 +3406,13 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.ResourceVersion = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3456,13 +3422,13 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Generation = int64(r.DecodeInt(64)) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3470,29 +3436,29 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.CreationTimestamp = pkg1_unversioned.Time{} } else { - yyv41 := &x.CreationTimestamp - yym42 := z.DecBinary() - _ = yym42 + yyv327 := &x.CreationTimestamp + yym328 := z.DecBinary() + _ = yym328 if false { - } else if z.HasExtensions() && z.DecExt(yyv41) { - } else if yym42 { - z.DecBinaryUnmarshal(yyv41) - } else if !yym42 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv41) + } else if z.HasExtensions() && z.DecExt(yyv327) { + } else if yym328 { + z.DecBinaryUnmarshal(yyv327) + } else if !yym328 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv327) } else { - z.DecFallback(yyv41, false) + z.DecFallback(yyv327, false) } } if x.ObjectMeta.DeletionTimestamp == nil { x.ObjectMeta.DeletionTimestamp = new(pkg1_unversioned.Time) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3505,13 +3471,13 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. if x.DeletionTimestamp == nil { x.DeletionTimestamp = new(pkg1_unversioned.Time) } - yym44 := z.DecBinary() - _ = yym44 + yym330 := z.DecBinary() + _ = yym330 if false { } else if z.HasExtensions() && z.DecExt(x.DeletionTimestamp) { - } else if yym44 { + } else if yym330 { z.DecBinaryUnmarshal(x.DeletionTimestamp) - } else if !yym44 && z.IsJSONHandle() { + } else if !yym330 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.DeletionTimestamp) } else { z.DecFallback(x.DeletionTimestamp, false) @@ -3520,13 +3486,13 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. if x.ObjectMeta.DeletionGracePeriodSeconds == nil { x.ObjectMeta.DeletionGracePeriodSeconds = new(int64) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3539,20 +3505,20 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. if x.DeletionGracePeriodSeconds == nil { x.DeletionGracePeriodSeconds = new(int64) } - yym46 := z.DecBinary() - _ = yym46 + yym332 := z.DecBinary() + _ = yym332 if false { } else { *((*int64)(x.DeletionGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3560,21 +3526,21 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Labels = nil } else { - yyv47 := &x.Labels - yym48 := z.DecBinary() - _ = yym48 + yyv333 := &x.Labels + yym334 := z.DecBinary() + _ = yym334 if false { } else { - z.F.DecMapStringStringX(yyv47, false, d) + z.F.DecMapStringStringX(yyv333, false, d) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3582,21 +3548,21 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Annotations = nil } else { - yyv49 := &x.Annotations - yym50 := z.DecBinary() - _ = yym50 + yyv335 := &x.Annotations + yym336 := z.DecBinary() + _ = yym336 if false { } else { - z.F.DecMapStringStringX(yyv49, false, d) + z.F.DecMapStringStringX(yyv335, false, d) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3604,21 +3570,21 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.OwnerReferences = nil } else { - yyv51 := &x.OwnerReferences - yym52 := z.DecBinary() - _ = yym52 + yyv337 := &x.OwnerReferences + yym338 := z.DecBinary() + _ = yym338 if false { } else { - h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv51), d) + h.decSliceapi_OwnerReference((*[]pkg2_api.OwnerReference)(yyv337), d) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3626,26 +3592,60 @@ func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Finalizers = nil } else { - yyv53 := &x.Finalizers - yym54 := z.DecBinary() - _ = yym54 + yyv339 := &x.Finalizers + yym340 := z.DecBinary() + _ = yym340 if false { } else { - z.F.DecSliceStringX(yyv53, false, d) + z.F.DecSliceStringX(yyv339, false, d) } } + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l + } else { + yyb317 = r.CheckBreak() + } + if yyb317 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = SubjectAccessReviewSpec{} + } else { + yyv341 := &x.Spec + yyv341.CodecDecodeSelf(d) + } + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l + } else { + yyb317 = r.CheckBreak() + } + if yyb317 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = SubjectAccessReviewStatus{} + } else { + yyv342 := &x.Status + yyv342.CodecDecodeSelf(d) + } for { - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb29 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb29 { + if yyb317 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj29-1, "") + z.DecStructFieldNotFound(yyj317-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3657,33 +3657,33 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym343 := z.EncBinary() + _ = yym343 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [7]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep344 := !z.EncBinary() + yy2arr344 := z.EncBasicHandle().StructToArray + var yyq344 [7]bool + _, _, _ = yysep344, yyq344, yy2arr344 + const yyr344 bool = false + var yynn344 int + if yyr344 || yy2arr344 { r.EncodeArrayStart(7) } else { - yynn2 = 7 - for _, b := range yyq2 { + yynn344 = 7 + for _, b := range yyq344 { if b { - yynn2++ + yynn344++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn344) + yynn344 = 0 } - if yyr2 || yy2arr2 { + if yyr344 || yy2arr344 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym346 := z.EncBinary() + _ = yym346 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -3692,17 +3692,17 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym347 := z.EncBinary() + _ = yym347 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } - if yyr2 || yy2arr2 { + if yyr344 || yy2arr344 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym349 := z.EncBinary() + _ = yym349 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Verb)) @@ -3711,17 +3711,17 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Verb")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym350 := z.EncBinary() + _ = yym350 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Verb)) } } - if yyr2 || yy2arr2 { + if yyr344 || yy2arr344 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym352 := z.EncBinary() + _ = yym352 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Group)) @@ -3730,17 +3730,17 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Group")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym353 := z.EncBinary() + _ = yym353 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Group)) } } - if yyr2 || yy2arr2 { + if yyr344 || yy2arr344 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 + yym355 := z.EncBinary() + _ = yym355 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Version)) @@ -3749,17 +3749,17 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Version")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym356 := z.EncBinary() + _ = yym356 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Version)) } } - if yyr2 || yy2arr2 { + if yyr344 || yy2arr344 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym16 := z.EncBinary() - _ = yym16 + yym358 := z.EncBinary() + _ = yym358 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) @@ -3768,17 +3768,17 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Resource")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym359 := z.EncBinary() + _ = yym359 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) } } - if yyr2 || yy2arr2 { + if yyr344 || yy2arr344 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym19 := z.EncBinary() - _ = yym19 + yym361 := z.EncBinary() + _ = yym361 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subresource)) @@ -3787,17 +3787,17 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Subresource")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym362 := z.EncBinary() + _ = yym362 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subresource)) } } - if yyr2 || yy2arr2 { + if yyr344 || yy2arr344 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym22 := z.EncBinary() - _ = yym22 + yym364 := z.EncBinary() + _ = yym364 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -3806,14 +3806,14 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym365 := z.EncBinary() + _ = yym365 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr344 || yy2arr344 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3826,25 +3826,25 @@ func (x *ResourceAttributes) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym366 := z.DecBinary() + _ = yym366 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct367 := r.ContainerType() + if yyct367 == codecSelferValueTypeMap1234 { + yyl367 := r.ReadMapStart() + if yyl367 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl367, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct367 == codecSelferValueTypeArray1234 { + yyl367 := r.ReadArrayStart() + if yyl367 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl367, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3856,12 +3856,12 @@ func (x *ResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys368Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys368Slc + var yyhl368 bool = l >= 0 + for yyj368 := 0; ; yyj368++ { + if yyhl368 { + if yyj368 >= l { break } } else { @@ -3870,10 +3870,10 @@ func (x *ResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys368Slc = r.DecodeBytes(yys368Slc, true, true) + yys368 := string(yys368Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys368 { case "Namespace": if r.TryDecodeAsNil() { x.Namespace = "" @@ -3917,9 +3917,9 @@ func (x *ResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys368) + } // end switch yys368 + } // end for yyj368 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3927,16 +3927,16 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj376 int + var yyb376 bool + var yyhl376 bool = l >= 0 + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb11 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb11 { + if yyb376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3946,13 +3946,13 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Namespace = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb11 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb11 { + if yyb376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3962,13 +3962,13 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Verb = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb11 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb11 { + if yyb376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3978,13 +3978,13 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Group = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb11 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb11 { + if yyb376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3994,13 +3994,13 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Version = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb11 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb11 { + if yyb376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4010,13 +4010,13 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Resource = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb11 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb11 { + if yyb376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4026,13 +4026,13 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Subresource = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb11 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb11 { + if yyb376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4043,17 +4043,17 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.Name = string(r.DecodeString()) } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj376++ + if yyhl376 { + yyb376 = yyj376 > l } else { - yyb11 = r.CheckBreak() + yyb376 = r.CheckBreak() } - if yyb11 { + if yyb376 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj376-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4065,33 +4065,33 @@ func (x *NonResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym384 := z.EncBinary() + _ = yym384 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep385 := !z.EncBinary() + yy2arr385 := z.EncBasicHandle().StructToArray + var yyq385 [2]bool + _, _, _ = yysep385, yyq385, yy2arr385 + const yyr385 bool = false + var yynn385 int + if yyr385 || yy2arr385 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn385 = 2 + for _, b := range yyq385 { if b { - yynn2++ + yynn385++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn385) + yynn385 = 0 } - if yyr2 || yy2arr2 { + if yyr385 || yy2arr385 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym387 := z.EncBinary() + _ = yym387 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -4100,17 +4100,17 @@ func (x *NonResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym388 := z.EncBinary() + _ = yym388 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr2 || yy2arr2 { + if yyr385 || yy2arr385 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym390 := z.EncBinary() + _ = yym390 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Verb)) @@ -4119,14 +4119,14 @@ func (x *NonResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Verb")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym391 := z.EncBinary() + _ = yym391 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Verb)) } } - if yyr2 || yy2arr2 { + if yyr385 || yy2arr385 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4139,25 +4139,25 @@ func (x *NonResourceAttributes) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym392 := z.DecBinary() + _ = yym392 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct393 := r.ContainerType() + if yyct393 == codecSelferValueTypeMap1234 { + yyl393 := r.ReadMapStart() + if yyl393 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl393, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct393 == codecSelferValueTypeArray1234 { + yyl393 := r.ReadArrayStart() + if yyl393 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl393, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4169,12 +4169,12 @@ func (x *NonResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys394Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys394Slc + var yyhl394 bool = l >= 0 + for yyj394 := 0; ; yyj394++ { + if yyhl394 { + if yyj394 >= l { break } } else { @@ -4183,10 +4183,10 @@ func (x *NonResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys394Slc = r.DecodeBytes(yys394Slc, true, true) + yys394 := string(yys394Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys394 { case "Path": if r.TryDecodeAsNil() { x.Path = "" @@ -4200,9 +4200,9 @@ func (x *NonResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.Verb = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys394) + } // end switch yys394 + } // end for yyj394 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4210,16 +4210,16 @@ func (x *NonResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj397 int + var yyb397 bool + var yyhl397 bool = l >= 0 + yyj397++ + if yyhl397 { + yyb397 = yyj397 > l } else { - yyb6 = r.CheckBreak() + yyb397 = r.CheckBreak() } - if yyb6 { + if yyb397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4229,13 +4229,13 @@ func (x *NonResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj397++ + if yyhl397 { + yyb397 = yyj397 > l } else { - yyb6 = r.CheckBreak() + yyb397 = r.CheckBreak() } - if yyb6 { + if yyb397 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4246,17 +4246,17 @@ func (x *NonResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.Verb = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj397++ + if yyhl397 { + yyb397 = yyj397 > l } else { - yyb6 = r.CheckBreak() + yyb397 = r.CheckBreak() } - if yyb6 { + if yyb397 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj397-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4268,30 +4268,30 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym400 := z.EncBinary() + _ = yym400 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep401 := !z.EncBinary() + yy2arr401 := z.EncBasicHandle().StructToArray + var yyq401 [5]bool + _, _, _ = yysep401, yyq401, yy2arr401 + const yyr401 bool = false + var yynn401 int + if yyr401 || yy2arr401 { r.EncodeArrayStart(5) } else { - yynn2 = 5 - for _, b := range yyq2 { + yynn401 = 5 + for _, b := range yyq401 { if b { - yynn2++ + yynn401++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn401) + yynn401 = 0 } - if yyr2 || yy2arr2 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.ResourceAttributes == nil { r.EncodeNil() @@ -4308,7 +4308,7 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { x.ResourceAttributes.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.NonResourceAttributes == nil { r.EncodeNil() @@ -4325,10 +4325,10 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { x.NonResourceAttributes.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym405 := z.EncBinary() + _ = yym405 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -4337,20 +4337,20 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("User")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym406 := z.EncBinary() + _ = yym406 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } - if yyr2 || yy2arr2 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Groups == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym408 := z.EncBinary() + _ = yym408 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -4363,21 +4363,21 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Groups == nil { r.EncodeNil() } else { - yym14 := z.EncBinary() - _ = yym14 + yym409 := z.EncBinary() + _ = yym409 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) } } } - if yyr2 || yy2arr2 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Extra == nil { r.EncodeNil() } else { - yym16 := z.EncBinary() - _ = yym16 + yym411 := z.EncBinary() + _ = yym411 if false { } else { h.encMapstringExtraValue((map[string]ExtraValue)(x.Extra), e) @@ -4390,15 +4390,15 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Extra == nil { r.EncodeNil() } else { - yym17 := z.EncBinary() - _ = yym17 + yym412 := z.EncBinary() + _ = yym412 if false { } else { h.encMapstringExtraValue((map[string]ExtraValue)(x.Extra), e) } } } - if yyr2 || yy2arr2 { + if yyr401 || yy2arr401 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4411,25 +4411,25 @@ func (x *SubjectAccessReviewSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym413 := z.DecBinary() + _ = yym413 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct414 := r.ContainerType() + if yyct414 == codecSelferValueTypeMap1234 { + yyl414 := r.ReadMapStart() + if yyl414 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl414, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct414 == codecSelferValueTypeArray1234 { + yyl414 := r.ReadArrayStart() + if yyl414 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl414, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4441,12 +4441,12 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys415Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys415Slc + var yyhl415 bool = l >= 0 + for yyj415 := 0; ; yyj415++ { + if yyhl415 { + if yyj415 >= l { break } } else { @@ -4455,10 +4455,10 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys415Slc = r.DecodeBytes(yys415Slc, true, true) + yys415 := string(yys415Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys415 { case "ResourceAttributes": if r.TryDecodeAsNil() { if x.ResourceAttributes != nil { @@ -4491,30 +4491,30 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv7 := &x.Groups - yym8 := z.DecBinary() - _ = yym8 + yyv419 := &x.Groups + yym420 := z.DecBinary() + _ = yym420 if false { } else { - z.F.DecSliceStringX(yyv7, false, d) + z.F.DecSliceStringX(yyv419, false, d) } } case "Extra": if r.TryDecodeAsNil() { x.Extra = nil } else { - yyv9 := &x.Extra - yym10 := z.DecBinary() - _ = yym10 + yyv421 := &x.Extra + yym422 := z.DecBinary() + _ = yym422 if false { } else { - h.decMapstringExtraValue((*map[string]ExtraValue)(yyv9), d) + h.decMapstringExtraValue((*map[string]ExtraValue)(yyv421), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys415) + } // end switch yys415 + } // end for yyj415 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4522,16 +4522,16 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj423 int + var yyb423 bool + var yyhl423 bool = l >= 0 + yyj423++ + if yyhl423 { + yyb423 = yyj423 > l } else { - yyb11 = r.CheckBreak() + yyb423 = r.CheckBreak() } - if yyb11 { + if yyb423 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4546,13 +4546,13 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D } x.ResourceAttributes.CodecDecodeSelf(d) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj423++ + if yyhl423 { + yyb423 = yyj423 > l } else { - yyb11 = r.CheckBreak() + yyb423 = r.CheckBreak() } - if yyb11 { + if yyb423 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4567,13 +4567,13 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D } x.NonResourceAttributes.CodecDecodeSelf(d) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj423++ + if yyhl423 { + yyb423 = yyj423 > l } else { - yyb11 = r.CheckBreak() + yyb423 = r.CheckBreak() } - if yyb11 { + if yyb423 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4583,13 +4583,13 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.User = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj423++ + if yyhl423 { + yyb423 = yyj423 > l } else { - yyb11 = r.CheckBreak() + yyb423 = r.CheckBreak() } - if yyb11 { + if yyb423 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4597,21 +4597,21 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv15 := &x.Groups - yym16 := z.DecBinary() - _ = yym16 + yyv427 := &x.Groups + yym428 := z.DecBinary() + _ = yym428 if false { } else { - z.F.DecSliceStringX(yyv15, false, d) + z.F.DecSliceStringX(yyv427, false, d) } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj423++ + if yyhl423 { + yyb423 = yyj423 > l } else { - yyb11 = r.CheckBreak() + yyb423 = r.CheckBreak() } - if yyb11 { + if yyb423 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4619,26 +4619,26 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Extra = nil } else { - yyv17 := &x.Extra - yym18 := z.DecBinary() - _ = yym18 + yyv429 := &x.Extra + yym430 := z.DecBinary() + _ = yym430 if false { } else { - h.decMapstringExtraValue((*map[string]ExtraValue)(yyv17), d) + h.decMapstringExtraValue((*map[string]ExtraValue)(yyv429), d) } } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj423++ + if yyhl423 { + yyb423 = yyj423 > l } else { - yyb11 = r.CheckBreak() + yyb423 = r.CheckBreak() } - if yyb11 { + if yyb423 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj423-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4650,8 +4650,8 @@ func (x ExtraValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym431 := z.EncBinary() + _ = yym431 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -4664,8 +4664,8 @@ func (x *ExtraValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym432 := z.DecBinary() + _ = yym432 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -4680,30 +4680,30 @@ func (x *SelfSubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym433 := z.EncBinary() + _ = yym433 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep434 := !z.EncBinary() + yy2arr434 := z.EncBasicHandle().StructToArray + var yyq434 [2]bool + _, _, _ = yysep434, yyq434, yy2arr434 + const yyr434 bool = false + var yynn434 int + if yyr434 || yy2arr434 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn434 = 2 + for _, b := range yyq434 { if b { - yynn2++ + yynn434++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn434) + yynn434 = 0 } - if yyr2 || yy2arr2 { + if yyr434 || yy2arr434 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.ResourceAttributes == nil { r.EncodeNil() @@ -4720,7 +4720,7 @@ func (x *SelfSubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { x.ResourceAttributes.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr434 || yy2arr434 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.NonResourceAttributes == nil { r.EncodeNil() @@ -4737,7 +4737,7 @@ func (x *SelfSubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { x.NonResourceAttributes.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr434 || yy2arr434 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4750,25 +4750,25 @@ func (x *SelfSubjectAccessReviewSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym437 := z.DecBinary() + _ = yym437 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct438 := r.ContainerType() + if yyct438 == codecSelferValueTypeMap1234 { + yyl438 := r.ReadMapStart() + if yyl438 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl438, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct438 == codecSelferValueTypeArray1234 { + yyl438 := r.ReadArrayStart() + if yyl438 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl438, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4780,12 +4780,12 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys439Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys439Slc + var yyhl439 bool = l >= 0 + for yyj439 := 0; ; yyj439++ { + if yyhl439 { + if yyj439 >= l { break } } else { @@ -4794,10 +4794,10 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys439Slc = r.DecodeBytes(yys439Slc, true, true) + yys439 := string(yys439Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys439 { case "ResourceAttributes": if r.TryDecodeAsNil() { if x.ResourceAttributes != nil { @@ -4821,9 +4821,9 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978 x.NonResourceAttributes.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys439) + } // end switch yys439 + } // end for yyj439 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4831,16 +4831,16 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj442 int + var yyb442 bool + var yyhl442 bool = l >= 0 + yyj442++ + if yyhl442 { + yyb442 = yyj442 > l } else { - yyb6 = r.CheckBreak() + yyb442 = r.CheckBreak() } - if yyb6 { + if yyb442 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4855,13 +4855,13 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec19 } x.ResourceAttributes.CodecDecodeSelf(d) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj442++ + if yyhl442 { + yyb442 = yyj442 > l } else { - yyb6 = r.CheckBreak() + yyb442 = r.CheckBreak() } - if yyb6 { + if yyb442 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4877,17 +4877,17 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec19 x.NonResourceAttributes.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj442++ + if yyhl442 { + yyb442 = yyj442 > l } else { - yyb6 = r.CheckBreak() + yyb442 = r.CheckBreak() } - if yyb6 { + if yyb442 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj442-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4899,33 +4899,33 @@ func (x *SubjectAccessReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym445 := z.EncBinary() + _ = yym445 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep446 := !z.EncBinary() + yy2arr446 := z.EncBasicHandle().StructToArray + var yyq446 [3]bool + _, _, _ = yysep446, yyq446, yy2arr446 + const yyr446 bool = false + var yynn446 int + if yyr446 || yy2arr446 { r.EncodeArrayStart(3) } else { - yynn2 = 3 - for _, b := range yyq2 { + yynn446 = 3 + for _, b := range yyq446 { if b { - yynn2++ + yynn446++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn446) + yynn446 = 0 } - if yyr2 || yy2arr2 { + if yyr446 || yy2arr446 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym448 := z.EncBinary() + _ = yym448 if false { } else { r.EncodeBool(bool(x.Allowed)) @@ -4934,17 +4934,17 @@ func (x *SubjectAccessReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Allowed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym449 := z.EncBinary() + _ = yym449 if false { } else { r.EncodeBool(bool(x.Allowed)) } } - if yyr2 || yy2arr2 { + if yyr446 || yy2arr446 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym451 := z.EncBinary() + _ = yym451 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -4953,17 +4953,17 @@ func (x *SubjectAccessReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym452 := z.EncBinary() + _ = yym452 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } - if yyr2 || yy2arr2 { + if yyr446 || yy2arr446 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym454 := z.EncBinary() + _ = yym454 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvaluationError)) @@ -4972,14 +4972,14 @@ func (x *SubjectAccessReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("EvaluationError")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym455 := z.EncBinary() + _ = yym455 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvaluationError)) } } - if yyr2 || yy2arr2 { + if yyr446 || yy2arr446 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4992,25 +4992,25 @@ func (x *SubjectAccessReviewStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym456 := z.DecBinary() + _ = yym456 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct457 := r.ContainerType() + if yyct457 == codecSelferValueTypeMap1234 { + yyl457 := r.ReadMapStart() + if yyl457 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl457, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct457 == codecSelferValueTypeArray1234 { + yyl457 := r.ReadArrayStart() + if yyl457 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl457, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5022,12 +5022,12 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys458Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys458Slc + var yyhl458 bool = l >= 0 + for yyj458 := 0; ; yyj458++ { + if yyhl458 { + if yyj458 >= l { break } } else { @@ -5036,10 +5036,10 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys458Slc = r.DecodeBytes(yys458Slc, true, true) + yys458 := string(yys458Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys458 { case "Allowed": if r.TryDecodeAsNil() { x.Allowed = false @@ -5059,9 +5059,9 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.D x.EvaluationError = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys458) + } // end switch yys458 + } // end for yyj458 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5069,16 +5069,16 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj462 int + var yyb462 bool + var yyhl462 bool = l >= 0 + yyj462++ + if yyhl462 { + yyb462 = yyj462 > l } else { - yyb7 = r.CheckBreak() + yyb462 = r.CheckBreak() } - if yyb7 { + if yyb462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5088,13 +5088,13 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Allowed = bool(r.DecodeBool()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj462++ + if yyhl462 { + yyb462 = yyj462 > l } else { - yyb7 = r.CheckBreak() + yyb462 = r.CheckBreak() } - if yyb7 { + if yyb462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5104,13 +5104,13 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Reason = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj462++ + if yyhl462 { + yyb462 = yyj462 > l } else { - yyb7 = r.CheckBreak() + yyb462 = r.CheckBreak() } - if yyb7 { + if yyb462 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5121,17 +5121,17 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978 x.EvaluationError = string(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj462++ + if yyhl462 { + yyb462 = yyj462 > l } else { - yyb7 = r.CheckBreak() + yyb462 = r.CheckBreak() } - if yyb7 { + if yyb462 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj462-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5141,10 +5141,10 @@ func (x codecSelfer1234) encSliceapi_OwnerReference(v []pkg2_api.OwnerReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv466 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy467 := &yyv466 + yy467.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5154,86 +5154,83 @@ func (x codecSelfer1234) decSliceapi_OwnerReference(v *[]pkg2_api.OwnerReference z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []pkg2_api.OwnerReference{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv468 := *v + yyh468, yyl468 := z.DecSliceHelperStart() + var yyc468 bool + if yyl468 == 0 { + if yyv468 == nil { + yyv468 = []pkg2_api.OwnerReference{} + yyc468 = true + } else if len(yyv468) != 0 { + yyv468 = yyv468[:0] + yyc468 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl468 > 0 { + var yyrr468, yyrl468 int + var yyrt468 bool + if yyl468 > cap(yyv468) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg468 := len(yyv468) > 0 + yyv2468 := yyv468 + yyrl468, yyrt468 = z.DecInferLen(yyl468, z.DecBasicHandle().MaxInitLen, 72) + if yyrt468 { + if yyrl468 <= cap(yyv468) { + yyv468 = yyv468[:yyrl468] } else { - yyv1 = make([]pkg2_api.OwnerReference, yyrl1) + yyv468 = make([]pkg2_api.OwnerReference, yyrl468) } } else { - yyv1 = make([]pkg2_api.OwnerReference, yyrl1) + yyv468 = make([]pkg2_api.OwnerReference, yyrl468) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc468 = true + yyrr468 = len(yyv468) + if yyrg468 { + copy(yyv468, yyv2468) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl468 != len(yyv468) { + yyv468 = yyv468[:yyl468] + yyc468 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj468 := 0 + for ; yyj468 < yyrr468; yyj468++ { + yyh468.ElemContainerState(yyj468) if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_api.OwnerReference{} + yyv468[yyj468] = pkg2_api.OwnerReference{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv469 := &yyv468[yyj468] + yyv469.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, pkg2_api.OwnerReference{}) - yyh1.ElemContainerState(yyj1) + if yyrt468 { + for ; yyj468 < yyl468; yyj468++ { + yyv468 = append(yyv468, pkg2_api.OwnerReference{}) + yyh468.ElemContainerState(yyj468) if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_api.OwnerReference{} + yyv468[yyj468] = pkg2_api.OwnerReference{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv470 := &yyv468[yyj468] + yyv470.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj468 := 0 + for ; !r.CheckBreak(); yyj468++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, pkg2_api.OwnerReference{}) // var yyz1 pkg2_api.OwnerReference - yyc1 = true + if yyj468 >= len(yyv468) { + yyv468 = append(yyv468, pkg2_api.OwnerReference{}) // var yyz468 pkg2_api.OwnerReference + yyc468 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh468.ElemContainerState(yyj468) + if yyj468 < len(yyv468) { if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_api.OwnerReference{} + yyv468[yyj468] = pkg2_api.OwnerReference{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv471 := &yyv468[yyj468] + yyv471.CodecDecodeSelf(d) } } else { @@ -5241,17 +5238,17 @@ func (x codecSelfer1234) decSliceapi_OwnerReference(v *[]pkg2_api.OwnerReference } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []pkg2_api.OwnerReference{} - yyc1 = true + if yyj468 < len(yyv468) { + yyv468 = yyv468[:yyj468] + yyc468 = true + } else if yyj468 == 0 && yyv468 == nil { + yyv468 = []pkg2_api.OwnerReference{} + yyc468 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh468.End() + if yyc468 { + *v = yyv468 } } @@ -5260,19 +5257,19 @@ func (x codecSelfer1234) encMapstringExtraValue(v map[string]ExtraValue, e *code z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk1, yyv1 := range v { + for yyk472, yyv472 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym2 := z.EncBinary() - _ = yym2 + yym473 := z.EncBinary() + _ = yym473 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk1)) + r.EncodeString(codecSelferC_UTF81234, string(yyk472)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv1 == nil { + if yyv472 == nil { r.EncodeNil() } else { - yyv1.CodecEncodeSelf(e) + yyv472.CodecEncodeSelf(e) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5283,70 +5280,70 @@ func (x codecSelfer1234) decMapstringExtraValue(v *map[string]ExtraValue, d *cod z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyl1 := r.ReadMapStart() - yybh1 := z.DecBasicHandle() - if yyv1 == nil { - yyrl1, _ := z.DecInferLen(yyl1, yybh1.MaxInitLen, 40) - yyv1 = make(map[string]ExtraValue, yyrl1) - *v = yyv1 + yyv474 := *v + yyl474 := r.ReadMapStart() + yybh474 := z.DecBasicHandle() + if yyv474 == nil { + yyrl474, _ := z.DecInferLen(yyl474, yybh474.MaxInitLen, 40) + yyv474 = make(map[string]ExtraValue, yyrl474) + *v = yyv474 } - var yymk1 string - var yymv1 ExtraValue - var yymg1 bool - if yybh1.MapValueReset { - yymg1 = true + var yymk474 string + var yymv474 ExtraValue + var yymg474 bool + if yybh474.MapValueReset { + yymg474 = true } - if yyl1 > 0 { - for yyj1 := 0; yyj1 < yyl1; yyj1++ { + if yyl474 > 0 { + for yyj474 := 0; yyj474 < yyl474; yyj474++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk474 = "" } else { - yymk1 = string(r.DecodeString()) + yymk474 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg474 { + yymv474 = yyv474[yymk474] } else { - yymv1 = nil + yymv474 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = nil + yymv474 = nil } else { - yyv3 := &yymv1 - yyv3.CodecDecodeSelf(d) + yyv476 := &yymv474 + yyv476.CodecDecodeSelf(d) } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv474 != nil { + yyv474[yymk474] = yymv474 } } - } else if yyl1 < 0 { - for yyj1 := 0; !r.CheckBreak(); yyj1++ { + } else if yyl474 < 0 { + for yyj474 := 0; !r.CheckBreak(); yyj474++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk474 = "" } else { - yymk1 = string(r.DecodeString()) + yymk474 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg474 { + yymv474 = yyv474[yymk474] } else { - yymv1 = nil + yymv474 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = nil + yymv474 = nil } else { - yyv5 := &yymv1 - yyv5.CodecDecodeSelf(d) + yyv478 := &yymv474 + yyv478.CodecDecodeSelf(d) } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv474 != nil { + yyv474[yymk474] = yymv474 } } } // else len==0: TODO: Should we clear map entries? @@ -5358,13 +5355,13 @@ func (x codecSelfer1234) encExtraValue(v ExtraValue, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv479 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2 := z.EncBinary() - _ = yym2 + yym480 := z.EncBinary() + _ = yym480 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1)) + r.EncodeString(codecSelferC_UTF81234, string(yyv479)) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -5375,78 +5372,75 @@ func (x codecSelfer1234) decExtraValue(v *ExtraValue, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []string{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv481 := *v + yyh481, yyl481 := z.DecSliceHelperStart() + var yyc481 bool + if yyl481 == 0 { + if yyv481 == nil { + yyv481 = []string{} + yyc481 = true + } else if len(yyv481) != 0 { + yyv481 = yyv481[:0] + yyc481 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl481 > 0 { + var yyrr481, yyrl481 int + var yyrt481 bool + if yyl481 > cap(yyv481) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl481, yyrt481 = z.DecInferLen(yyl481, z.DecBasicHandle().MaxInitLen, 16) + if yyrt481 { + if yyrl481 <= cap(yyv481) { + yyv481 = yyv481[:yyrl481] } else { - yyv1 = make([]string, yyrl1) + yyv481 = make([]string, yyrl481) } } else { - yyv1 = make([]string, yyrl1) + yyv481 = make([]string, yyrl481) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc481 = true + yyrr481 = len(yyv481) + } else if yyl481 != len(yyv481) { + yyv481 = yyv481[:yyl481] + yyc481 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj481 := 0 + for ; yyj481 < yyrr481; yyj481++ { + yyh481.ElemContainerState(yyj481) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv481[yyj481] = "" } else { - yyv1[yyj1] = string(r.DecodeString()) + yyv481[yyj481] = string(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt481 { + for ; yyj481 < yyl481; yyj481++ { + yyv481 = append(yyv481, "") + yyh481.ElemContainerState(yyj481) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv481[yyj481] = "" } else { - yyv1[yyj1] = string(r.DecodeString()) + yyv481[yyj481] = string(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj481 := 0 + for ; !r.CheckBreak(); yyj481++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 string - yyc1 = true + if yyj481 >= len(yyv481) { + yyv481 = append(yyv481, "") // var yyz481 string + yyc481 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh481.ElemContainerState(yyj481) + if yyj481 < len(yyv481) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv481[yyj481] = "" } else { - yyv1[yyj1] = string(r.DecodeString()) + yyv481[yyj481] = string(r.DecodeString()) } } else { @@ -5454,16 +5448,16 @@ func (x codecSelfer1234) decExtraValue(v *ExtraValue, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []string{} - yyc1 = true + if yyj481 < len(yyv481) { + yyv481 = yyv481[:yyj481] + yyc481 = true + } else if yyj481 == 0 && yyv481 == nil { + yyv481 = []string{} + yyc481 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh481.End() + if yyc481 { + *v = yyv481 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/conversion.go index e83569c4364..289d1c5403f 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/conversion.go @@ -20,11 +20,7 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions - err := scheme.AddConversionFuncs() - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } + return scheme.AddConversionFuncs() } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/defaults.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/defaults.go index 74ec84960bb..a8072432243 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/defaults.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/defaults.go @@ -20,6 +20,6 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs() +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs() } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/generated.pb.go index 568d4c28349..758a2888861 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/generated.pb.go @@ -52,32 +52,51 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf -func (m *ExtraValue) Reset() { *m = ExtraValue{} } -func (*ExtraValue) ProtoMessage() {} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 + +func (m *ExtraValue) Reset() { *m = ExtraValue{} } +func (*ExtraValue) ProtoMessage() {} +func (*ExtraValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } func (m *LocalSubjectAccessReview) Reset() { *m = LocalSubjectAccessReview{} } func (*LocalSubjectAccessReview) ProtoMessage() {} +func (*LocalSubjectAccessReview) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{1} +} -func (m *NonResourceAttributes) Reset() { *m = NonResourceAttributes{} } -func (*NonResourceAttributes) ProtoMessage() {} +func (m *NonResourceAttributes) Reset() { *m = NonResourceAttributes{} } +func (*NonResourceAttributes) ProtoMessage() {} +func (*NonResourceAttributes) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } -func (m *ResourceAttributes) Reset() { *m = ResourceAttributes{} } -func (*ResourceAttributes) ProtoMessage() {} +func (m *ResourceAttributes) Reset() { *m = ResourceAttributes{} } +func (*ResourceAttributes) ProtoMessage() {} +func (*ResourceAttributes) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } -func (m *SelfSubjectAccessReview) Reset() { *m = SelfSubjectAccessReview{} } -func (*SelfSubjectAccessReview) ProtoMessage() {} +func (m *SelfSubjectAccessReview) Reset() { *m = SelfSubjectAccessReview{} } +func (*SelfSubjectAccessReview) ProtoMessage() {} +func (*SelfSubjectAccessReview) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } func (m *SelfSubjectAccessReviewSpec) Reset() { *m = SelfSubjectAccessReviewSpec{} } func (*SelfSubjectAccessReviewSpec) ProtoMessage() {} +func (*SelfSubjectAccessReviewSpec) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{5} +} -func (m *SubjectAccessReview) Reset() { *m = SubjectAccessReview{} } -func (*SubjectAccessReview) ProtoMessage() {} +func (m *SubjectAccessReview) Reset() { *m = SubjectAccessReview{} } +func (*SubjectAccessReview) ProtoMessage() {} +func (*SubjectAccessReview) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } -func (m *SubjectAccessReviewSpec) Reset() { *m = SubjectAccessReviewSpec{} } -func (*SubjectAccessReviewSpec) ProtoMessage() {} +func (m *SubjectAccessReviewSpec) Reset() { *m = SubjectAccessReviewSpec{} } +func (*SubjectAccessReviewSpec) ProtoMessage() {} +func (*SubjectAccessReviewSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } func (m *SubjectAccessReviewStatus) Reset() { *m = SubjectAccessReviewStatus{} } func (*SubjectAccessReviewStatus) ProtoMessage() {} +func (*SubjectAccessReviewStatus) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{8} +} func init() { proto.RegisterType((*ExtraValue)(nil), "k8s.io.client-go.1.4.pkg.apis.authorization.v1beta1.ExtraValue") @@ -2262,3 +2281,61 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 864 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x56, 0x4d, 0x4f, 0x1b, 0x47, + 0x18, 0xf6, 0xf7, 0xc7, 0xd0, 0x16, 0x3a, 0x88, 0x62, 0x5c, 0x09, 0x5b, 0xae, 0x54, 0x81, 0x04, + 0xbb, 0x05, 0x09, 0x15, 0xa1, 0x1e, 0xea, 0x55, 0x2d, 0x84, 0x5a, 0x68, 0x35, 0x6e, 0x51, 0xd5, + 0x9e, 0x66, 0xd7, 0x83, 0xd9, 0xd8, 0xde, 0xb5, 0x66, 0x66, 0x4d, 0xc8, 0x89, 0x1f, 0x90, 0x43, + 0x8e, 0x1c, 0xf3, 0x17, 0xf2, 0x07, 0x72, 0x0d, 0x47, 0x72, 0x89, 0x12, 0x29, 0x42, 0x09, 0xf9, + 0x17, 0x39, 0x65, 0x76, 0x76, 0xec, 0xc5, 0x78, 0x9d, 0xc8, 0x09, 0x8a, 0x72, 0xe0, 0x30, 0xd2, + 0xce, 0xfb, 0xf1, 0xbc, 0xcf, 0xcc, 0x3c, 0xb3, 0xef, 0x80, 0x5f, 0x5b, 0x9b, 0x4c, 0xb3, 0x5d, + 0xbd, 0xe5, 0x99, 0x84, 0x3a, 0x84, 0x13, 0xa6, 0x77, 0x5b, 0x4d, 0x1d, 0x77, 0x6d, 0xa6, 0x63, + 0x8f, 0x1f, 0xba, 0xd4, 0xbe, 0x87, 0xb9, 0xed, 0x3a, 0x7a, 0x6f, 0xcd, 0x24, 0x1c, 0xaf, 0xe9, + 0x4d, 0xe2, 0x10, 0x8a, 0x39, 0x69, 0x68, 0x5d, 0xea, 0x72, 0x17, 0xfe, 0x14, 0x20, 0x68, 0x21, + 0x82, 0x26, 0x10, 0x34, 0x1f, 0x41, 0x1b, 0x42, 0xd0, 0x14, 0x42, 0x71, 0xb5, 0x69, 0xf3, 0x43, + 0xcf, 0xd4, 0x2c, 0xb7, 0xa3, 0x37, 0xdd, 0xa6, 0xab, 0x4b, 0x20, 0xd3, 0x3b, 0x90, 0x33, 0x39, + 0x91, 0x5f, 0x41, 0x81, 0xe2, 0xfa, 0x58, 0x8a, 0x3a, 0x25, 0xcc, 0xf5, 0xa8, 0x45, 0xae, 0x93, + 0x2a, 0x6e, 0x8c, 0xcf, 0xf1, 0x9c, 0x1e, 0xa1, 0x4c, 0xf0, 0x21, 0x8d, 0x91, 0xb4, 0x95, 0xf1, + 0x69, 0xbd, 0x91, 0x95, 0x17, 0x57, 0xa3, 0xa3, 0xa9, 0xe7, 0x70, 0xbb, 0x33, 0xca, 0x69, 0x2d, + 0x3a, 0xdc, 0xe3, 0x76, 0x5b, 0xb7, 0x1d, 0xce, 0x38, 0xbd, 0x9e, 0x52, 0xf9, 0x19, 0x80, 0xda, + 0x5d, 0x4e, 0xf1, 0x3e, 0x6e, 0x7b, 0x04, 0x96, 0x40, 0xda, 0xe6, 0xa4, 0xc3, 0x0a, 0xf1, 0x72, + 0x72, 0x29, 0x6f, 0xe4, 0x2f, 0x2f, 0x4a, 0xe9, 0x1d, 0xdf, 0x80, 0x02, 0xfb, 0x56, 0xee, 0xf4, + 0x61, 0x29, 0x76, 0xf2, 0xb2, 0x1c, 0xab, 0x3c, 0x4b, 0x80, 0xc2, 0x1f, 0xae, 0x85, 0xdb, 0x75, + 0xcf, 0xbc, 0x43, 0x2c, 0x5e, 0xb5, 0x2c, 0xc2, 0x18, 0x22, 0x3d, 0x9b, 0x1c, 0xc1, 0x7f, 0x41, + 0xae, 0x23, 0x0e, 0xa2, 0x81, 0x39, 0x16, 0x50, 0xf1, 0xa5, 0xa9, 0xf5, 0x25, 0x6d, 0xec, 0x21, + 0x8a, 0x53, 0xd3, 0xfe, 0x94, 0x18, 0xbb, 0x22, 0xc7, 0x80, 0x67, 0x17, 0xa5, 0x98, 0x28, 0x0c, + 0x42, 0x1b, 0x1a, 0xa0, 0xc1, 0x16, 0x48, 0xb1, 0x2e, 0xb1, 0x0a, 0x09, 0x89, 0xba, 0xa3, 0x4d, + 0x2a, 0x0d, 0x2d, 0x82, 0x6e, 0x5d, 0x00, 0x1a, 0x5f, 0xa9, 0xb2, 0x29, 0x7f, 0x86, 0x64, 0x11, + 0xc8, 0x40, 0x86, 0x71, 0xcc, 0x3d, 0x56, 0x48, 0xca, 0x72, 0xbf, 0xdf, 0x4c, 0x39, 0x09, 0x69, + 0x7c, 0xa3, 0x0a, 0x66, 0x82, 0x39, 0x52, 0xa5, 0x2a, 0xff, 0x83, 0xb9, 0x3d, 0xd7, 0x41, 0x4a, + 0x77, 0x55, 0xce, 0xa9, 0x6d, 0x7a, 0xa2, 0x12, 0x2c, 0x83, 0x54, 0x17, 0xf3, 0x43, 0xb9, 0xa1, + 0xf9, 0x90, 0xef, 0x5f, 0xc2, 0x86, 0xa4, 0xc7, 0x8f, 0x10, 0xca, 0x33, 0xe5, 0xe6, 0x5c, 0x89, + 0xd8, 0x17, 0x36, 0x24, 0x3d, 0x95, 0xc7, 0x09, 0x00, 0x23, 0xa0, 0x75, 0x90, 0x77, 0x70, 0x87, + 0xb0, 0x2e, 0xb6, 0x88, 0xc2, 0xff, 0x56, 0x65, 0xe7, 0xf7, 0xfa, 0x0e, 0x14, 0xc6, 0x7c, 0xb8, + 0x12, 0xfc, 0x01, 0xa4, 0x9b, 0xd4, 0xf5, 0xba, 0x72, 0xeb, 0xf2, 0xc6, 0xd7, 0x2a, 0x24, 0xbd, + 0xed, 0x1b, 0x51, 0xe0, 0x83, 0xcb, 0x20, 0xab, 0xae, 0x4a, 0x21, 0x25, 0xc3, 0xa6, 0x55, 0x58, + 0x76, 0x3f, 0x30, 0xa3, 0xbe, 0x1f, 0xae, 0x80, 0x5c, 0xff, 0x2e, 0x16, 0xd2, 0x32, 0x76, 0x46, + 0xc5, 0xe6, 0xfa, 0x0b, 0x42, 0x83, 0x08, 0xb8, 0x01, 0xa6, 0x98, 0x67, 0x0e, 0x12, 0x32, 0x32, + 0x61, 0x56, 0x25, 0x4c, 0xd5, 0x43, 0x17, 0xba, 0x1a, 0xe7, 0x2f, 0xcb, 0x5f, 0x63, 0x21, 0x3b, + 0xbc, 0x2c, 0x7f, 0x0b, 0x90, 0xf4, 0x54, 0x5e, 0x24, 0xc0, 0x7c, 0x9d, 0xb4, 0x0f, 0x3e, 0xaf, + 0xea, 0xdd, 0x21, 0xd5, 0xef, 0x7e, 0x84, 0x0c, 0xa3, 0x29, 0x7f, 0x59, 0xca, 0x7f, 0x92, 0x00, + 0xdf, 0xbf, 0x87, 0x28, 0xbc, 0x1f, 0x07, 0x90, 0x8e, 0x88, 0x57, 0x6d, 0xf5, 0x6f, 0x93, 0x33, + 0x1c, 0xbd, 0x08, 0xc6, 0x77, 0x82, 0x56, 0xc4, 0x05, 0x41, 0x11, 0x75, 0xe1, 0x69, 0x1c, 0xcc, + 0x39, 0x51, 0x37, 0x55, 0x1d, 0xd3, 0xf6, 0xe4, 0x8c, 0x22, 0x2f, 0xbe, 0xb1, 0x20, 0x48, 0x45, + 0xff, 0x13, 0x50, 0x34, 0x81, 0xca, 0xd3, 0x04, 0x98, 0xbd, 0xfd, 0x2f, 0xdf, 0xac, 0x3a, 0xdf, + 0xa6, 0xc4, 0xcd, 0xbf, 0x55, 0xe6, 0xa7, 0x29, 0x73, 0xd0, 0x38, 0x92, 0xc3, 0x7f, 0xd8, 0x7f, + 0x18, 0xa1, 0xaa, 0x71, 0x94, 0xfb, 0x8d, 0x23, 0x25, 0xdf, 0x20, 0xc0, 0x3f, 0x0a, 0xd9, 0x34, + 0x58, 0xbf, 0x6b, 0x1c, 0x83, 0x34, 0xf1, 0xdf, 0x2c, 0xa2, 0x0f, 0x24, 0xc5, 0x6a, 0xfe, 0xbe, + 0x31, 0xb1, 0x69, 0xf2, 0x29, 0x54, 0x73, 0x38, 0x3d, 0x0e, 0x1b, 0x96, 0xb4, 0xa1, 0xa0, 0x62, + 0xb1, 0xa7, 0x9e, 0x4b, 0x32, 0x06, 0xce, 0x80, 0x64, 0x8b, 0x1c, 0x07, 0x0d, 0x13, 0xf9, 0x9f, + 0x10, 0x81, 0x74, 0xcf, 0x7f, 0x49, 0xa9, 0x8d, 0xfe, 0x65, 0x72, 0x6a, 0xe1, 0x6b, 0x0c, 0x05, + 0x50, 0x5b, 0x89, 0xcd, 0x78, 0xe5, 0x51, 0x1c, 0x2c, 0x8c, 0x95, 0xac, 0xdf, 0x46, 0x71, 0xbb, + 0xed, 0x1e, 0x91, 0x86, 0xe4, 0x92, 0x0b, 0xdb, 0x68, 0x35, 0x30, 0xa3, 0xbe, 0x1f, 0xfe, 0x08, + 0x32, 0x94, 0x60, 0x26, 0x1a, 0x6e, 0xd0, 0xba, 0x07, 0x6a, 0x47, 0xd2, 0x8a, 0x94, 0x17, 0x56, + 0xc1, 0x34, 0xf1, 0xcb, 0x4b, 0x72, 0x35, 0x4a, 0x5d, 0xaa, 0x8e, 0x6c, 0x5e, 0x25, 0x4c, 0xd7, + 0x86, 0xdd, 0xe8, 0x7a, 0xbc, 0xb1, 0x7c, 0xf6, 0x7a, 0x31, 0x76, 0x2e, 0xc6, 0x73, 0x31, 0x4e, + 0x2e, 0x17, 0xe3, 0x67, 0x62, 0x9c, 0x8b, 0xf1, 0x4a, 0x8c, 0x07, 0x6f, 0x16, 0x63, 0xff, 0x65, + 0xd5, 0xa2, 0xdf, 0x05, 0x00, 0x00, 0xff, 0xff, 0x0c, 0xa4, 0x8c, 0xef, 0x24, 0x0c, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/register.go index 1a05981dc2a..51298e9e694 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/register.go @@ -29,15 +29,13 @@ const GroupName = "authorization.k8s.io" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1beta1"} -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &v1.ListOptions{}, &v1.DeleteOptions{}, @@ -48,6 +46,7 @@ func addKnownTypes(scheme *runtime.Scheme) { ) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } func (obj *LocalSubjectAccessReview) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/types.generated.go index a61f4de7a8b..60dfe22f341 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/types.generated.go @@ -88,10 +88,10 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2 [5]bool _, _, _ = yysep2, yyq2, yy2arr2 const yyr2 bool = false - yyq2[0] = true + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" + yyq2[4] = true var yynn2 int if yyr2 || yy2arr2 { r.EncodeArrayStart(5) @@ -105,1017 +105,6 @@ func (x *SubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeMapStart(yynn2) yynn2 = 0 } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *SubjectAccessReview) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2, d) - } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *SubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = SubjectAccessReviewSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = SubjectAccessReviewStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = SubjectAccessReviewSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = SubjectAccessReviewStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1 := z.EncBinary() - _ = yym1 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { - r.EncodeArrayStart(5) - } else { - yynn2 = 1 - for _, b := range yyq2 { - if b { - yynn2++ - } - } - r.EncodeMapStart(yynn2) - yynn2 = 0 - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *SelfSubjectAccessReview) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2, d) - } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *SelfSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = SelfSubjectAccessReviewSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = SubjectAccessReviewStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = SelfSubjectAccessReviewSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = SubjectAccessReviewStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1 := z.EncBinary() - _ = yym1 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { - r.EncodeArrayStart(5) - } else { - yynn2 = 1 - for _, b := range yyq2 { - if b { - yynn2++ - } - } - r.EncodeMapStart(yynn2) - yynn2 = 0 - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LocalSubjectAccessReview) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2, d) - } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LocalSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = SubjectAccessReviewSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = SubjectAccessReviewStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = SubjectAccessReviewSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = SubjectAccessReviewStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1 := z.EncBinary() - _ = yym1 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [7]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Namespace != "" - yyq2[1] = x.Verb != "" - yyq2[2] = x.Group != "" - yyq2[3] = x.Version != "" - yyq2[4] = x.Resource != "" - yyq2[5] = x.Subresource != "" - yyq2[6] = x.Name != "" - var yynn2 int - if yyr2 || yy2arr2 { - r.EncodeArrayStart(7) - } else { - yynn2 = 0 - for _, b := range yyq2 { - if b { - yynn2++ - } - } - r.EncodeMapStart(yynn2) - yynn2 = 0 - } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[0] { @@ -1123,7 +112,7 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym4 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } else { r.EncodeString(codecSelferC_UTF81234, "") @@ -1131,13 +120,13 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("namespace")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym5 := z.EncBinary() _ = yym5 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } @@ -1148,7 +137,7 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym7 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Verb)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } else { r.EncodeString(codecSelferC_UTF81234, "") @@ -1156,21 +145,1032 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("verb")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym8 := z.EncBinary() _ = yym8 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy11 := &x.ObjectMeta + yy11.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy13 := &x.Spec + yy13.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy14 := &x.Spec + yy14.CodecEncodeSelf(e) + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[4] { + yy16 := &x.Status + yy16.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy17 := &x.Status + yy17.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *SubjectAccessReview) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym18 := z.DecBinary() + _ = yym18 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct19 := r.ContainerType() + if yyct19 == codecSelferValueTypeMap1234 { + yyl19 := r.ReadMapStart() + if yyl19 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl19, d) + } + } else if yyct19 == codecSelferValueTypeArray1234 { + yyl19 := r.ReadArrayStart() + if yyl19 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl19, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *SubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys20Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys20Slc + var yyhl20 bool = l >= 0 + for yyj20 := 0; ; yyj20++ { + if yyhl20 { + if yyj20 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys20Slc = r.DecodeBytes(yys20Slc, true, true) + yys20 := string(yys20Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys20 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv23 := &x.ObjectMeta + yyv23.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = SubjectAccessReviewSpec{} + } else { + yyv24 := &x.Spec + yyv24.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = SubjectAccessReviewStatus{} + } else { + yyv25 := &x.Status + yyv25.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys20) + } // end switch yys20 + } // end for yyj20 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *SubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj26 int + var yyb26 bool + var yyhl26 bool = l >= 0 + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv29 := &x.ObjectMeta + yyv29.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = SubjectAccessReviewSpec{} + } else { + yyv30 := &x.Spec + yyv30.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = SubjectAccessReviewStatus{} + } else { + yyv31 := &x.Status + yyv31.CodecDecodeSelf(d) + } + for { + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj26-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *SelfSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym32 := z.EncBinary() + _ = yym32 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep33 := !z.EncBinary() + yy2arr33 := z.EncBasicHandle().StructToArray + var yyq33 [5]bool + _, _, _ = yysep33, yyq33, yy2arr33 + const yyr33 bool = false + yyq33[0] = x.Kind != "" + yyq33[1] = x.APIVersion != "" + yyq33[2] = true + yyq33[4] = true + var yynn33 int + if yyr33 || yy2arr33 { + r.EncodeArrayStart(5) + } else { + yynn33 = 1 + for _, b := range yyq33 { + if b { + yynn33++ + } + } + r.EncodeMapStart(yynn33) + yynn33 = 0 + } + if yyr33 || yy2arr33 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq33[0] { + yym35 := z.EncBinary() + _ = yym35 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq33[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym36 := z.EncBinary() + _ = yym36 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr33 || yy2arr33 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq33[1] { + yym38 := z.EncBinary() + _ = yym38 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq33[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym39 := z.EncBinary() + _ = yym39 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr33 || yy2arr33 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq33[2] { + yy41 := &x.ObjectMeta + yy41.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq33[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy42 := &x.ObjectMeta + yy42.CodecEncodeSelf(e) + } + } + if yyr33 || yy2arr33 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy44 := &x.Spec + yy44.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy45 := &x.Spec + yy45.CodecEncodeSelf(e) + } + if yyr33 || yy2arr33 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq33[4] { + yy47 := &x.Status + yy47.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq33[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy48 := &x.Status + yy48.CodecEncodeSelf(e) + } + } + if yyr33 || yy2arr33 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *SelfSubjectAccessReview) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym49 := z.DecBinary() + _ = yym49 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct50 := r.ContainerType() + if yyct50 == codecSelferValueTypeMap1234 { + yyl50 := r.ReadMapStart() + if yyl50 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl50, d) + } + } else if yyct50 == codecSelferValueTypeArray1234 { + yyl50 := r.ReadArrayStart() + if yyl50 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl50, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *SelfSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys51Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys51Slc + var yyhl51 bool = l >= 0 + for yyj51 := 0; ; yyj51++ { + if yyhl51 { + if yyj51 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys51Slc = r.DecodeBytes(yys51Slc, true, true) + yys51 := string(yys51Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys51 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv54 := &x.ObjectMeta + yyv54.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = SelfSubjectAccessReviewSpec{} + } else { + yyv55 := &x.Spec + yyv55.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = SubjectAccessReviewStatus{} + } else { + yyv56 := &x.Status + yyv56.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys51) + } // end switch yys51 + } // end for yyj51 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *SelfSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj57 int + var yyb57 bool + var yyhl57 bool = l >= 0 + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l + } else { + yyb57 = r.CheckBreak() + } + if yyb57 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l + } else { + yyb57 = r.CheckBreak() + } + if yyb57 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l + } else { + yyb57 = r.CheckBreak() + } + if yyb57 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv60 := &x.ObjectMeta + yyv60.CodecDecodeSelf(d) + } + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l + } else { + yyb57 = r.CheckBreak() + } + if yyb57 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = SelfSubjectAccessReviewSpec{} + } else { + yyv61 := &x.Spec + yyv61.CodecDecodeSelf(d) + } + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l + } else { + yyb57 = r.CheckBreak() + } + if yyb57 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = SubjectAccessReviewStatus{} + } else { + yyv62 := &x.Status + yyv62.CodecDecodeSelf(d) + } + for { + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l + } else { + yyb57 = r.CheckBreak() + } + if yyb57 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj57-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *LocalSubjectAccessReview) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym63 := z.EncBinary() + _ = yym63 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep64 := !z.EncBinary() + yy2arr64 := z.EncBasicHandle().StructToArray + var yyq64 [5]bool + _, _, _ = yysep64, yyq64, yy2arr64 + const yyr64 bool = false + yyq64[0] = x.Kind != "" + yyq64[1] = x.APIVersion != "" + yyq64[2] = true + yyq64[4] = true + var yynn64 int + if yyr64 || yy2arr64 { + r.EncodeArrayStart(5) + } else { + yynn64 = 1 + for _, b := range yyq64 { + if b { + yynn64++ + } + } + r.EncodeMapStart(yynn64) + yynn64 = 0 + } + if yyr64 || yy2arr64 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq64[0] { + yym66 := z.EncBinary() + _ = yym66 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq64[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym67 := z.EncBinary() + _ = yym67 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr64 || yy2arr64 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq64[1] { + yym69 := z.EncBinary() + _ = yym69 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq64[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym70 := z.EncBinary() + _ = yym70 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr64 || yy2arr64 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq64[2] { + yy72 := &x.ObjectMeta + yy72.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq64[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy73 := &x.ObjectMeta + yy73.CodecEncodeSelf(e) + } + } + if yyr64 || yy2arr64 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy75 := &x.Spec + yy75.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy76 := &x.Spec + yy76.CodecEncodeSelf(e) + } + if yyr64 || yy2arr64 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq64[4] { + yy78 := &x.Status + yy78.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq64[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy79 := &x.Status + yy79.CodecEncodeSelf(e) + } + } + if yyr64 || yy2arr64 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LocalSubjectAccessReview) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym80 := z.DecBinary() + _ = yym80 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct81 := r.ContainerType() + if yyct81 == codecSelferValueTypeMap1234 { + yyl81 := r.ReadMapStart() + if yyl81 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl81, d) + } + } else if yyct81 == codecSelferValueTypeArray1234 { + yyl81 := r.ReadArrayStart() + if yyl81 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl81, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *LocalSubjectAccessReview) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys82Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys82Slc + var yyhl82 bool = l >= 0 + for yyj82 := 0; ; yyj82++ { + if yyhl82 { + if yyj82 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys82Slc = r.DecodeBytes(yys82Slc, true, true) + yys82 := string(yys82Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys82 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv85 := &x.ObjectMeta + yyv85.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = SubjectAccessReviewSpec{} + } else { + yyv86 := &x.Spec + yyv86.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = SubjectAccessReviewStatus{} + } else { + yyv87 := &x.Status + yyv87.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys82) + } // end switch yys82 + } // end for yyj82 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LocalSubjectAccessReview) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj88 int + var yyb88 bool + var yyhl88 bool = l >= 0 + yyj88++ + if yyhl88 { + yyb88 = yyj88 > l + } else { + yyb88 = r.CheckBreak() + } + if yyb88 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj88++ + if yyhl88 { + yyb88 = yyj88 > l + } else { + yyb88 = r.CheckBreak() + } + if yyb88 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj88++ + if yyhl88 { + yyb88 = yyj88 > l + } else { + yyb88 = r.CheckBreak() + } + if yyb88 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv91 := &x.ObjectMeta + yyv91.CodecDecodeSelf(d) + } + yyj88++ + if yyhl88 { + yyb88 = yyj88 > l + } else { + yyb88 = r.CheckBreak() + } + if yyb88 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = SubjectAccessReviewSpec{} + } else { + yyv92 := &x.Spec + yyv92.CodecDecodeSelf(d) + } + yyj88++ + if yyhl88 { + yyb88 = yyj88 > l + } else { + yyb88 = r.CheckBreak() + } + if yyb88 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = SubjectAccessReviewStatus{} + } else { + yyv93 := &x.Status + yyv93.CodecDecodeSelf(d) + } + for { + yyj88++ + if yyhl88 { + yyb88 = yyj88 > l + } else { + yyb88 = r.CheckBreak() + } + if yyb88 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj88-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym94 := z.EncBinary() + _ = yym94 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep95 := !z.EncBinary() + yy2arr95 := z.EncBasicHandle().StructToArray + var yyq95 [7]bool + _, _, _ = yysep95, yyq95, yy2arr95 + const yyr95 bool = false + yyq95[0] = x.Namespace != "" + yyq95[1] = x.Verb != "" + yyq95[2] = x.Group != "" + yyq95[3] = x.Version != "" + yyq95[4] = x.Resource != "" + yyq95[5] = x.Subresource != "" + yyq95[6] = x.Name != "" + var yynn95 int + if yyr95 || yy2arr95 { + r.EncodeArrayStart(7) + } else { + yynn95 = 0 + for _, b := range yyq95 { + if b { + yynn95++ + } + } + r.EncodeMapStart(yynn95) + yynn95 = 0 + } + if yyr95 || yy2arr95 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq95[0] { + yym97 := z.EncBinary() + _ = yym97 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq95[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("namespace")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym98 := z.EncBinary() + _ = yym98 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) + } + } + } + if yyr95 || yy2arr95 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq95[1] { + yym100 := z.EncBinary() + _ = yym100 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Verb)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq95[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("verb")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym101 := z.EncBinary() + _ = yym101 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Verb)) } } } - if yyr2 || yy2arr2 { + if yyr95 || yy2arr95 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq95[2] { + yym103 := z.EncBinary() + _ = yym103 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Group)) @@ -1179,23 +1179,23 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq95[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("group")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym104 := z.EncBinary() + _ = yym104 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Group)) } } } - if yyr2 || yy2arr2 { + if yyr95 || yy2arr95 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq95[3] { + yym106 := z.EncBinary() + _ = yym106 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Version)) @@ -1204,23 +1204,23 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq95[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("version")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym107 := z.EncBinary() + _ = yym107 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Version)) } } } - if yyr2 || yy2arr2 { + if yyr95 || yy2arr95 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq95[4] { + yym109 := z.EncBinary() + _ = yym109 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) @@ -1229,23 +1229,23 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq95[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resource")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym110 := z.EncBinary() + _ = yym110 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) } } } - if yyr2 || yy2arr2 { + if yyr95 || yy2arr95 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq95[5] { + yym112 := z.EncBinary() + _ = yym112 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subresource)) @@ -1254,23 +1254,23 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq95[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subresource")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym113 := z.EncBinary() + _ = yym113 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subresource)) } } } - if yyr2 || yy2arr2 { + if yyr95 || yy2arr95 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym22 := z.EncBinary() - _ = yym22 + if yyq95[6] { + yym115 := z.EncBinary() + _ = yym115 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -1279,19 +1279,19 @@ func (x *ResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[6] { + if yyq95[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym116 := z.EncBinary() + _ = yym116 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2 || yy2arr2 { + if yyr95 || yy2arr95 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1304,25 +1304,25 @@ func (x *ResourceAttributes) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym117 := z.DecBinary() + _ = yym117 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct118 := r.ContainerType() + if yyct118 == codecSelferValueTypeMap1234 { + yyl118 := r.ReadMapStart() + if yyl118 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl118, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct118 == codecSelferValueTypeArray1234 { + yyl118 := r.ReadArrayStart() + if yyl118 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl118, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1334,12 +1334,12 @@ func (x *ResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys119Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys119Slc + var yyhl119 bool = l >= 0 + for yyj119 := 0; ; yyj119++ { + if yyhl119 { + if yyj119 >= l { break } } else { @@ -1348,10 +1348,10 @@ func (x *ResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys119Slc = r.DecodeBytes(yys119Slc, true, true) + yys119 := string(yys119Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys119 { case "namespace": if r.TryDecodeAsNil() { x.Namespace = "" @@ -1395,9 +1395,9 @@ func (x *ResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys119) + } // end switch yys119 + } // end for yyj119 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1405,16 +1405,16 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj127 int + var yyb127 bool + var yyhl127 bool = l >= 0 + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l } else { - yyb11 = r.CheckBreak() + yyb127 = r.CheckBreak() } - if yyb11 { + if yyb127 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1424,13 +1424,13 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Namespace = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l } else { - yyb11 = r.CheckBreak() + yyb127 = r.CheckBreak() } - if yyb11 { + if yyb127 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1440,13 +1440,13 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Verb = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l } else { - yyb11 = r.CheckBreak() + yyb127 = r.CheckBreak() } - if yyb11 { + if yyb127 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1456,13 +1456,13 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Group = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l } else { - yyb11 = r.CheckBreak() + yyb127 = r.CheckBreak() } - if yyb11 { + if yyb127 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1472,13 +1472,13 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Version = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l } else { - yyb11 = r.CheckBreak() + yyb127 = r.CheckBreak() } - if yyb11 { + if yyb127 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1488,13 +1488,13 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Resource = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l } else { - yyb11 = r.CheckBreak() + yyb127 = r.CheckBreak() } - if yyb11 { + if yyb127 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1504,13 +1504,13 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Subresource = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l } else { - yyb11 = r.CheckBreak() + yyb127 = r.CheckBreak() } - if yyb11 { + if yyb127 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1521,17 +1521,17 @@ func (x *ResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.Name = string(r.DecodeString()) } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l } else { - yyb11 = r.CheckBreak() + yyb127 = r.CheckBreak() } - if yyb11 { + if yyb127 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj127-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1543,36 +1543,36 @@ func (x *NonResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym135 := z.EncBinary() + _ = yym135 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Path != "" - yyq2[1] = x.Verb != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep136 := !z.EncBinary() + yy2arr136 := z.EncBasicHandle().StructToArray + var yyq136 [2]bool + _, _, _ = yysep136, yyq136, yy2arr136 + const yyr136 bool = false + yyq136[0] = x.Path != "" + yyq136[1] = x.Verb != "" + var yynn136 int + if yyr136 || yy2arr136 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn136 = 0 + for _, b := range yyq136 { if b { - yynn2++ + yynn136++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn136) + yynn136 = 0 } - if yyr2 || yy2arr2 { + if yyr136 || yy2arr136 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq136[0] { + yym138 := z.EncBinary() + _ = yym138 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -1581,23 +1581,23 @@ func (x *NonResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq136[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym139 := z.EncBinary() + _ = yym139 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr2 || yy2arr2 { + if yyr136 || yy2arr136 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq136[1] { + yym141 := z.EncBinary() + _ = yym141 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Verb)) @@ -1606,19 +1606,19 @@ func (x *NonResourceAttributes) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq136[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("verb")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym142 := z.EncBinary() + _ = yym142 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Verb)) } } } - if yyr2 || yy2arr2 { + if yyr136 || yy2arr136 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1631,25 +1631,25 @@ func (x *NonResourceAttributes) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym143 := z.DecBinary() + _ = yym143 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct144 := r.ContainerType() + if yyct144 == codecSelferValueTypeMap1234 { + yyl144 := r.ReadMapStart() + if yyl144 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl144, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct144 == codecSelferValueTypeArray1234 { + yyl144 := r.ReadArrayStart() + if yyl144 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl144, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1661,12 +1661,12 @@ func (x *NonResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys145Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys145Slc + var yyhl145 bool = l >= 0 + for yyj145 := 0; ; yyj145++ { + if yyhl145 { + if yyj145 >= l { break } } else { @@ -1675,10 +1675,10 @@ func (x *NonResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys145Slc = r.DecodeBytes(yys145Slc, true, true) + yys145 := string(yys145Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys145 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -1692,9 +1692,9 @@ func (x *NonResourceAttributes) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.Verb = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys145) + } // end switch yys145 + } // end for yyj145 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1702,16 +1702,16 @@ func (x *NonResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj148 int + var yyb148 bool + var yyhl148 bool = l >= 0 + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb6 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb6 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1721,13 +1721,13 @@ func (x *NonResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb6 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb6 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1738,17 +1738,17 @@ func (x *NonResourceAttributes) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.Verb = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb6 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb6 { + if yyb148 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj148-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1760,37 +1760,37 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym151 := z.EncBinary() + _ = yym151 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.ResourceAttributes != nil - yyq2[1] = x.NonResourceAttributes != nil - yyq2[2] = x.User != "" - yyq2[3] = len(x.Groups) != 0 - yyq2[4] = len(x.Extra) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep152 := !z.EncBinary() + yy2arr152 := z.EncBasicHandle().StructToArray + var yyq152 [5]bool + _, _, _ = yysep152, yyq152, yy2arr152 + const yyr152 bool = false + yyq152[0] = x.ResourceAttributes != nil + yyq152[1] = x.NonResourceAttributes != nil + yyq152[2] = x.User != "" + yyq152[3] = len(x.Groups) != 0 + yyq152[4] = len(x.Extra) != 0 + var yynn152 int + if yyr152 || yy2arr152 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn152 = 0 + for _, b := range yyq152 { if b { - yynn2++ + yynn152++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn152) + yynn152 = 0 } - if yyr2 || yy2arr2 { + if yyr152 || yy2arr152 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq152[0] { if x.ResourceAttributes == nil { r.EncodeNil() } else { @@ -1800,7 +1800,7 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq152[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceAttributes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -1811,9 +1811,9 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr152 || yy2arr152 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq152[1] { if x.NonResourceAttributes == nil { r.EncodeNil() } else { @@ -1823,7 +1823,7 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq152[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nonResourceAttributes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -1834,11 +1834,11 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr152 || yy2arr152 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq152[2] { + yym156 := z.EncBinary() + _ = yym156 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -1847,26 +1847,26 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq152[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym157 := z.EncBinary() + _ = yym157 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr2 || yy2arr2 { + if yyr152 || yy2arr152 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq152[3] { if x.Groups == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym159 := z.EncBinary() + _ = yym159 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -1876,15 +1876,15 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq152[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("group")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Groups == nil { r.EncodeNil() } else { - yym14 := z.EncBinary() - _ = yym14 + yym160 := z.EncBinary() + _ = yym160 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -1892,14 +1892,14 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr152 || yy2arr152 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq152[4] { if x.Extra == nil { r.EncodeNil() } else { - yym16 := z.EncBinary() - _ = yym16 + yym162 := z.EncBinary() + _ = yym162 if false { } else { h.encMapstringExtraValue((map[string]ExtraValue)(x.Extra), e) @@ -1909,15 +1909,15 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq152[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("extra")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Extra == nil { r.EncodeNil() } else { - yym17 := z.EncBinary() - _ = yym17 + yym163 := z.EncBinary() + _ = yym163 if false { } else { h.encMapstringExtraValue((map[string]ExtraValue)(x.Extra), e) @@ -1925,7 +1925,7 @@ func (x *SubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr152 || yy2arr152 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1938,25 +1938,25 @@ func (x *SubjectAccessReviewSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym164 := z.DecBinary() + _ = yym164 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct165 := r.ContainerType() + if yyct165 == codecSelferValueTypeMap1234 { + yyl165 := r.ReadMapStart() + if yyl165 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl165, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct165 == codecSelferValueTypeArray1234 { + yyl165 := r.ReadArrayStart() + if yyl165 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl165, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1968,12 +1968,12 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys166Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys166Slc + var yyhl166 bool = l >= 0 + for yyj166 := 0; ; yyj166++ { + if yyhl166 { + if yyj166 >= l { break } } else { @@ -1982,10 +1982,10 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys166Slc = r.DecodeBytes(yys166Slc, true, true) + yys166 := string(yys166Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys166 { case "resourceAttributes": if r.TryDecodeAsNil() { if x.ResourceAttributes != nil { @@ -2018,30 +2018,30 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv7 := &x.Groups - yym8 := z.DecBinary() - _ = yym8 + yyv170 := &x.Groups + yym171 := z.DecBinary() + _ = yym171 if false { } else { - z.F.DecSliceStringX(yyv7, false, d) + z.F.DecSliceStringX(yyv170, false, d) } } case "extra": if r.TryDecodeAsNil() { x.Extra = nil } else { - yyv9 := &x.Extra - yym10 := z.DecBinary() - _ = yym10 + yyv172 := &x.Extra + yym173 := z.DecBinary() + _ = yym173 if false { } else { - h.decMapstringExtraValue((*map[string]ExtraValue)(yyv9), d) + h.decMapstringExtraValue((*map[string]ExtraValue)(yyv172), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys166) + } // end switch yys166 + } // end for yyj166 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2049,16 +2049,16 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj174 int + var yyb174 bool + var yyhl174 bool = l >= 0 + yyj174++ + if yyhl174 { + yyb174 = yyj174 > l } else { - yyb11 = r.CheckBreak() + yyb174 = r.CheckBreak() } - if yyb11 { + if yyb174 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2073,13 +2073,13 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D } x.ResourceAttributes.CodecDecodeSelf(d) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj174++ + if yyhl174 { + yyb174 = yyj174 > l } else { - yyb11 = r.CheckBreak() + yyb174 = r.CheckBreak() } - if yyb11 { + if yyb174 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2094,13 +2094,13 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D } x.NonResourceAttributes.CodecDecodeSelf(d) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj174++ + if yyhl174 { + yyb174 = yyj174 > l } else { - yyb11 = r.CheckBreak() + yyb174 = r.CheckBreak() } - if yyb11 { + if yyb174 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2110,13 +2110,13 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.User = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj174++ + if yyhl174 { + yyb174 = yyj174 > l } else { - yyb11 = r.CheckBreak() + yyb174 = r.CheckBreak() } - if yyb11 { + if yyb174 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2124,21 +2124,21 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv15 := &x.Groups - yym16 := z.DecBinary() - _ = yym16 + yyv178 := &x.Groups + yym179 := z.DecBinary() + _ = yym179 if false { } else { - z.F.DecSliceStringX(yyv15, false, d) + z.F.DecSliceStringX(yyv178, false, d) } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj174++ + if yyhl174 { + yyb174 = yyj174 > l } else { - yyb11 = r.CheckBreak() + yyb174 = r.CheckBreak() } - if yyb11 { + if yyb174 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2146,26 +2146,26 @@ func (x *SubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Extra = nil } else { - yyv17 := &x.Extra - yym18 := z.DecBinary() - _ = yym18 + yyv180 := &x.Extra + yym181 := z.DecBinary() + _ = yym181 if false { } else { - h.decMapstringExtraValue((*map[string]ExtraValue)(yyv17), d) + h.decMapstringExtraValue((*map[string]ExtraValue)(yyv180), d) } } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj174++ + if yyhl174 { + yyb174 = yyj174 > l } else { - yyb11 = r.CheckBreak() + yyb174 = r.CheckBreak() } - if yyb11 { + if yyb174 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj174-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2177,8 +2177,8 @@ func (x ExtraValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym182 := z.EncBinary() + _ = yym182 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -2191,8 +2191,8 @@ func (x *ExtraValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym183 := z.DecBinary() + _ = yym183 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -2207,34 +2207,34 @@ func (x *SelfSubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym184 := z.EncBinary() + _ = yym184 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.ResourceAttributes != nil - yyq2[1] = x.NonResourceAttributes != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep185 := !z.EncBinary() + yy2arr185 := z.EncBasicHandle().StructToArray + var yyq185 [2]bool + _, _, _ = yysep185, yyq185, yy2arr185 + const yyr185 bool = false + yyq185[0] = x.ResourceAttributes != nil + yyq185[1] = x.NonResourceAttributes != nil + var yynn185 int + if yyr185 || yy2arr185 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn185 = 0 + for _, b := range yyq185 { if b { - yynn2++ + yynn185++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn185) + yynn185 = 0 } - if yyr2 || yy2arr2 { + if yyr185 || yy2arr185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq185[0] { if x.ResourceAttributes == nil { r.EncodeNil() } else { @@ -2244,7 +2244,7 @@ func (x *SelfSubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq185[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceAttributes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2255,9 +2255,9 @@ func (x *SelfSubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr185 || yy2arr185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq185[1] { if x.NonResourceAttributes == nil { r.EncodeNil() } else { @@ -2267,7 +2267,7 @@ func (x *SelfSubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq185[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nonResourceAttributes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2278,7 +2278,7 @@ func (x *SelfSubjectAccessReviewSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr185 || yy2arr185 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2291,25 +2291,25 @@ func (x *SelfSubjectAccessReviewSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym188 := z.DecBinary() + _ = yym188 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct189 := r.ContainerType() + if yyct189 == codecSelferValueTypeMap1234 { + yyl189 := r.ReadMapStart() + if yyl189 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl189, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct189 == codecSelferValueTypeArray1234 { + yyl189 := r.ReadArrayStart() + if yyl189 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl189, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2321,12 +2321,12 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys190Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys190Slc + var yyhl190 bool = l >= 0 + for yyj190 := 0; ; yyj190++ { + if yyhl190 { + if yyj190 >= l { break } } else { @@ -2335,10 +2335,10 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys190Slc = r.DecodeBytes(yys190Slc, true, true) + yys190 := string(yys190Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys190 { case "resourceAttributes": if r.TryDecodeAsNil() { if x.ResourceAttributes != nil { @@ -2362,9 +2362,9 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromMap(l int, d *codec1978 x.NonResourceAttributes.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys190) + } // end switch yys190 + } // end for yyj190 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2372,16 +2372,16 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj193 int + var yyb193 bool + var yyhl193 bool = l >= 0 + yyj193++ + if yyhl193 { + yyb193 = yyj193 > l } else { - yyb6 = r.CheckBreak() + yyb193 = r.CheckBreak() } - if yyb6 { + if yyb193 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2396,13 +2396,13 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec19 } x.ResourceAttributes.CodecDecodeSelf(d) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj193++ + if yyhl193 { + yyb193 = yyj193 > l } else { - yyb6 = r.CheckBreak() + yyb193 = r.CheckBreak() } - if yyb6 { + if yyb193 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2418,17 +2418,17 @@ func (x *SelfSubjectAccessReviewSpec) codecDecodeSelfFromArray(l int, d *codec19 x.NonResourceAttributes.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj193++ + if yyhl193 { + yyb193 = yyj193 > l } else { - yyb6 = r.CheckBreak() + yyb193 = r.CheckBreak() } - if yyb6 { + if yyb193 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj193-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2440,35 +2440,35 @@ func (x *SubjectAccessReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym196 := z.EncBinary() + _ = yym196 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Reason != "" - yyq2[2] = x.EvaluationError != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep197 := !z.EncBinary() + yy2arr197 := z.EncBasicHandle().StructToArray + var yyq197 [3]bool + _, _, _ = yysep197, yyq197, yy2arr197 + const yyr197 bool = false + yyq197[1] = x.Reason != "" + yyq197[2] = x.EvaluationError != "" + var yynn197 int + if yyr197 || yy2arr197 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn197 = 1 + for _, b := range yyq197 { if b { - yynn2++ + yynn197++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn197) + yynn197 = 0 } - if yyr2 || yy2arr2 { + if yyr197 || yy2arr197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym199 := z.EncBinary() + _ = yym199 if false { } else { r.EncodeBool(bool(x.Allowed)) @@ -2477,18 +2477,18 @@ func (x *SubjectAccessReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym200 := z.EncBinary() + _ = yym200 if false { } else { r.EncodeBool(bool(x.Allowed)) } } - if yyr2 || yy2arr2 { + if yyr197 || yy2arr197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq197[1] { + yym202 := z.EncBinary() + _ = yym202 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -2497,23 +2497,23 @@ func (x *SubjectAccessReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq197[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym203 := z.EncBinary() + _ = yym203 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr197 || yy2arr197 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq197[2] { + yym205 := z.EncBinary() + _ = yym205 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvaluationError)) @@ -2522,19 +2522,19 @@ func (x *SubjectAccessReviewStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq197[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evaluationError")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym206 := z.EncBinary() + _ = yym206 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvaluationError)) } } } - if yyr2 || yy2arr2 { + if yyr197 || yy2arr197 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2547,25 +2547,25 @@ func (x *SubjectAccessReviewStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym207 := z.DecBinary() + _ = yym207 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct208 := r.ContainerType() + if yyct208 == codecSelferValueTypeMap1234 { + yyl208 := r.ReadMapStart() + if yyl208 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl208, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct208 == codecSelferValueTypeArray1234 { + yyl208 := r.ReadArrayStart() + if yyl208 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl208, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2577,12 +2577,12 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys209Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys209Slc + var yyhl209 bool = l >= 0 + for yyj209 := 0; ; yyj209++ { + if yyhl209 { + if yyj209 >= l { break } } else { @@ -2591,10 +2591,10 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys209Slc = r.DecodeBytes(yys209Slc, true, true) + yys209 := string(yys209Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys209 { case "allowed": if r.TryDecodeAsNil() { x.Allowed = false @@ -2614,9 +2614,9 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromMap(l int, d *codec1978.D x.EvaluationError = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys209) + } // end switch yys209 + } // end for yyj209 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2624,16 +2624,16 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj213 int + var yyb213 bool + var yyhl213 bool = l >= 0 + yyj213++ + if yyhl213 { + yyb213 = yyj213 > l } else { - yyb7 = r.CheckBreak() + yyb213 = r.CheckBreak() } - if yyb7 { + if yyb213 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2643,13 +2643,13 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Allowed = bool(r.DecodeBool()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj213++ + if yyhl213 { + yyb213 = yyj213 > l } else { - yyb7 = r.CheckBreak() + yyb213 = r.CheckBreak() } - if yyb7 { + if yyb213 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2659,13 +2659,13 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Reason = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj213++ + if yyhl213 { + yyb213 = yyj213 > l } else { - yyb7 = r.CheckBreak() + yyb213 = r.CheckBreak() } - if yyb7 { + if yyb213 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2676,17 +2676,17 @@ func (x *SubjectAccessReviewStatus) codecDecodeSelfFromArray(l int, d *codec1978 x.EvaluationError = string(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj213++ + if yyhl213 { + yyb213 = yyj213 > l } else { - yyb7 = r.CheckBreak() + yyb213 = r.CheckBreak() } - if yyb7 { + if yyb213 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj213-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2696,19 +2696,19 @@ func (x codecSelfer1234) encMapstringExtraValue(v map[string]ExtraValue, e *code z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk1, yyv1 := range v { + for yyk217, yyv217 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym2 := z.EncBinary() - _ = yym2 + yym218 := z.EncBinary() + _ = yym218 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk1)) + r.EncodeString(codecSelferC_UTF81234, string(yyk217)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv1 == nil { + if yyv217 == nil { r.EncodeNil() } else { - yyv1.CodecEncodeSelf(e) + yyv217.CodecEncodeSelf(e) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2719,70 +2719,70 @@ func (x codecSelfer1234) decMapstringExtraValue(v *map[string]ExtraValue, d *cod z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyl1 := r.ReadMapStart() - yybh1 := z.DecBasicHandle() - if yyv1 == nil { - yyrl1, _ := z.DecInferLen(yyl1, yybh1.MaxInitLen, 40) - yyv1 = make(map[string]ExtraValue, yyrl1) - *v = yyv1 + yyv219 := *v + yyl219 := r.ReadMapStart() + yybh219 := z.DecBasicHandle() + if yyv219 == nil { + yyrl219, _ := z.DecInferLen(yyl219, yybh219.MaxInitLen, 40) + yyv219 = make(map[string]ExtraValue, yyrl219) + *v = yyv219 } - var yymk1 string - var yymv1 ExtraValue - var yymg1 bool - if yybh1.MapValueReset { - yymg1 = true + var yymk219 string + var yymv219 ExtraValue + var yymg219 bool + if yybh219.MapValueReset { + yymg219 = true } - if yyl1 > 0 { - for yyj1 := 0; yyj1 < yyl1; yyj1++ { + if yyl219 > 0 { + for yyj219 := 0; yyj219 < yyl219; yyj219++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk219 = "" } else { - yymk1 = string(r.DecodeString()) + yymk219 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg219 { + yymv219 = yyv219[yymk219] } else { - yymv1 = nil + yymv219 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = nil + yymv219 = nil } else { - yyv3 := &yymv1 - yyv3.CodecDecodeSelf(d) + yyv221 := &yymv219 + yyv221.CodecDecodeSelf(d) } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv219 != nil { + yyv219[yymk219] = yymv219 } } - } else if yyl1 < 0 { - for yyj1 := 0; !r.CheckBreak(); yyj1++ { + } else if yyl219 < 0 { + for yyj219 := 0; !r.CheckBreak(); yyj219++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk219 = "" } else { - yymk1 = string(r.DecodeString()) + yymk219 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg219 { + yymv219 = yyv219[yymk219] } else { - yymv1 = nil + yymv219 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = nil + yymv219 = nil } else { - yyv5 := &yymv1 - yyv5.CodecDecodeSelf(d) + yyv223 := &yymv219 + yyv223.CodecDecodeSelf(d) } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv219 != nil { + yyv219[yymk219] = yymv219 } } } // else len==0: TODO: Should we clear map entries? @@ -2794,13 +2794,13 @@ func (x codecSelfer1234) encExtraValue(v ExtraValue, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv224 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2 := z.EncBinary() - _ = yym2 + yym225 := z.EncBinary() + _ = yym225 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1)) + r.EncodeString(codecSelferC_UTF81234, string(yyv224)) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -2811,78 +2811,75 @@ func (x codecSelfer1234) decExtraValue(v *ExtraValue, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []string{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv226 := *v + yyh226, yyl226 := z.DecSliceHelperStart() + var yyc226 bool + if yyl226 == 0 { + if yyv226 == nil { + yyv226 = []string{} + yyc226 = true + } else if len(yyv226) != 0 { + yyv226 = yyv226[:0] + yyc226 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl226 > 0 { + var yyrr226, yyrl226 int + var yyrt226 bool + if yyl226 > cap(yyv226) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl226, yyrt226 = z.DecInferLen(yyl226, z.DecBasicHandle().MaxInitLen, 16) + if yyrt226 { + if yyrl226 <= cap(yyv226) { + yyv226 = yyv226[:yyrl226] } else { - yyv1 = make([]string, yyrl1) + yyv226 = make([]string, yyrl226) } } else { - yyv1 = make([]string, yyrl1) + yyv226 = make([]string, yyrl226) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc226 = true + yyrr226 = len(yyv226) + } else if yyl226 != len(yyv226) { + yyv226 = yyv226[:yyl226] + yyc226 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj226 := 0 + for ; yyj226 < yyrr226; yyj226++ { + yyh226.ElemContainerState(yyj226) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv226[yyj226] = "" } else { - yyv1[yyj1] = string(r.DecodeString()) + yyv226[yyj226] = string(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt226 { + for ; yyj226 < yyl226; yyj226++ { + yyv226 = append(yyv226, "") + yyh226.ElemContainerState(yyj226) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv226[yyj226] = "" } else { - yyv1[yyj1] = string(r.DecodeString()) + yyv226[yyj226] = string(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj226 := 0 + for ; !r.CheckBreak(); yyj226++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 string - yyc1 = true + if yyj226 >= len(yyv226) { + yyv226 = append(yyv226, "") // var yyz226 string + yyc226 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh226.ElemContainerState(yyj226) + if yyj226 < len(yyv226) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv226[yyj226] = "" } else { - yyv1[yyj1] = string(r.DecodeString()) + yyv226[yyj226] = string(r.DecodeString()) } } else { @@ -2890,16 +2887,16 @@ func (x codecSelfer1234) decExtraValue(v *ExtraValue, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []string{} - yyc1 = true + if yyj226 < len(yyv226) { + yyv226 = yyv226[:yyj226] + yyc226 = true + } else if yyj226 == 0 && yyv226 == nil { + yyv226 = []string{} + yyc226 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh226.End() + if yyc226 { + *v = yyv226 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/zz_generated.conversion.go index 266d88d352f..7cd68870a77 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/zz_generated.conversion.go @@ -24,10 +24,17 @@ import ( api "k8s.io/client-go/1.4/pkg/api" authorization "k8s.io/client-go/1.4/pkg/apis/authorization" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1beta1_LocalSubjectAccessReview_To_authorization_LocalSubjectAccessReview, Convert_authorization_LocalSubjectAccessReview_To_v1beta1_LocalSubjectAccessReview, Convert_v1beta1_NonResourceAttributes_To_authorization_NonResourceAttributes, @@ -44,10 +51,7 @@ func init() { Convert_authorization_SubjectAccessReviewSpec_To_v1beta1_SubjectAccessReviewSpec, Convert_v1beta1_SubjectAccessReviewStatus_To_authorization_SubjectAccessReviewStatus, Convert_authorization_SubjectAccessReviewStatus_To_v1beta1_SubjectAccessReviewStatus, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1beta1_LocalSubjectAccessReview_To_authorization_LocalSubjectAccessReview(in *LocalSubjectAccessReview, out *authorization.LocalSubjectAccessReview, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go index 9563ea5fa5e..4e352e2a332 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go @@ -21,26 +21,29 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.4/pkg/api" v1 "k8s.io/client-go/1.4/pkg/api/v1" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_LocalSubjectAccessReview, InType: reflect.TypeOf(func() *LocalSubjectAccessReview { var x *LocalSubjectAccessReview; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NonResourceAttributes, InType: reflect.TypeOf(func() *NonResourceAttributes { var x *NonResourceAttributes; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ResourceAttributes, InType: reflect.TypeOf(func() *ResourceAttributes { var x *ResourceAttributes; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SelfSubjectAccessReview, InType: reflect.TypeOf(func() *SelfSubjectAccessReview { var x *SelfSubjectAccessReview; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SelfSubjectAccessReviewSpec, InType: reflect.TypeOf(func() *SelfSubjectAccessReviewSpec { var x *SelfSubjectAccessReviewSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SubjectAccessReview, InType: reflect.TypeOf(func() *SubjectAccessReview { var x *SubjectAccessReview; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SubjectAccessReviewSpec, InType: reflect.TypeOf(func() *SubjectAccessReviewSpec { var x *SubjectAccessReviewSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SubjectAccessReviewStatus, InType: reflect.TypeOf(func() *SubjectAccessReviewStatus { var x *SubjectAccessReviewStatus; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_LocalSubjectAccessReview, InType: reflect.TypeOf(&LocalSubjectAccessReview{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NonResourceAttributes, InType: reflect.TypeOf(&NonResourceAttributes{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ResourceAttributes, InType: reflect.TypeOf(&ResourceAttributes{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SelfSubjectAccessReview, InType: reflect.TypeOf(&SelfSubjectAccessReview{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SelfSubjectAccessReviewSpec, InType: reflect.TypeOf(&SelfSubjectAccessReviewSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SubjectAccessReview, InType: reflect.TypeOf(&SubjectAccessReview{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SubjectAccessReviewSpec, InType: reflect.TypeOf(&SubjectAccessReviewSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SubjectAccessReviewStatus, InType: reflect.TypeOf(&SubjectAccessReviewStatus{})}, + ) } func DeepCopy_v1beta1_LocalSubjectAccessReview(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/zz_generated.deepcopy.go index 641405681d8..220de9005c7 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/authorization/zz_generated.deepcopy.go @@ -23,23 +23,27 @@ package authorization import ( api "k8s.io/client-go/1.4/pkg/api" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_LocalSubjectAccessReview, InType: reflect.TypeOf(func() *LocalSubjectAccessReview { var x *LocalSubjectAccessReview; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_NonResourceAttributes, InType: reflect.TypeOf(func() *NonResourceAttributes { var x *NonResourceAttributes; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_ResourceAttributes, InType: reflect.TypeOf(func() *ResourceAttributes { var x *ResourceAttributes; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_SelfSubjectAccessReview, InType: reflect.TypeOf(func() *SelfSubjectAccessReview { var x *SelfSubjectAccessReview; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_SelfSubjectAccessReviewSpec, InType: reflect.TypeOf(func() *SelfSubjectAccessReviewSpec { var x *SelfSubjectAccessReviewSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_SubjectAccessReview, InType: reflect.TypeOf(func() *SubjectAccessReview { var x *SubjectAccessReview; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_SubjectAccessReviewSpec, InType: reflect.TypeOf(func() *SubjectAccessReviewSpec { var x *SubjectAccessReviewSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_SubjectAccessReviewStatus, InType: reflect.TypeOf(func() *SubjectAccessReviewStatus { var x *SubjectAccessReviewStatus; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_LocalSubjectAccessReview, InType: reflect.TypeOf(&LocalSubjectAccessReview{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_NonResourceAttributes, InType: reflect.TypeOf(&NonResourceAttributes{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_ResourceAttributes, InType: reflect.TypeOf(&ResourceAttributes{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_SelfSubjectAccessReview, InType: reflect.TypeOf(&SelfSubjectAccessReview{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_SelfSubjectAccessReviewSpec, InType: reflect.TypeOf(&SelfSubjectAccessReviewSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_SubjectAccessReview, InType: reflect.TypeOf(&SubjectAccessReview{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_SubjectAccessReviewSpec, InType: reflect.TypeOf(&SubjectAccessReviewSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_authorization_SubjectAccessReviewStatus, InType: reflect.TypeOf(&SubjectAccessReviewStatus{})}, + ) } func DeepCopy_authorization_LocalSubjectAccessReview(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/install/install.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/install/install.go index d86016b33b2..21a7a41af2f 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/install/install.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/install/install.go @@ -114,7 +114,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - autoscaling.AddToScheme(api.Scheme) + if err := autoscaling.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -123,7 +126,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1.SchemeGroupVersion: - v1.AddToScheme(api.Scheme) + if err := v1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/register.go index dd90c6071d8..62fde796953 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/register.go @@ -38,17 +38,18 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Scale{}, &HorizontalPodAutoscaler{}, &HorizontalPodAutoscalerList{}, &api.ListOptions{}, ) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/types.generated.go index 2e746060814..8960a2120b7 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/types.generated.go @@ -88,11 +88,11 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2 [5]bool _, _, _ = yysep2, yyq2, yy2arr2 const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" + yyq2[3] = true + yyq2[4] = true var yynn2 int if yyr2 || yy2arr2 { r.EncodeArrayStart(5) @@ -106,351 +106,351 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeMapStart(yynn2) yynn2 = 0 } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *Scale) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2, d) - } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ScaleSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ScaleStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ScaleSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ScaleStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ScaleSpec) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1 := z.EncBinary() - _ = yym1 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Replicas != 0 - var yynn2 int - if yyr2 || yy2arr2 { - r.EncodeArrayStart(1) - } else { - yynn2 = 0 - for _, b := range yyq2 { - if b { - yynn2++ - } - } - r.EncodeMapStart(yynn2) - yynn2 = 0 - } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[0] { yym4 := z.EncBinary() _ = yym4 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy11 := &x.ObjectMeta + yy11.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[3] { + yy13 := &x.Spec + yy13.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy14 := &x.Spec + yy14.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[4] { + yy16 := &x.Status + yy16.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy17 := &x.Status + yy17.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *Scale) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym18 := z.DecBinary() + _ = yym18 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct19 := r.ContainerType() + if yyct19 == codecSelferValueTypeMap1234 { + yyl19 := r.ReadMapStart() + if yyl19 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl19, d) + } + } else if yyct19 == codecSelferValueTypeArray1234 { + yyl19 := r.ReadArrayStart() + if yyl19 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl19, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yys20Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys20Slc + var yyhl20 bool = l >= 0 + for yyj20 := 0; ; yyj20++ { + if yyhl20 { + if yyj20 >= l { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys20Slc = r.DecodeBytes(yys20Slc, true, true) + yys20 := string(yys20Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys20 { + case "kind": + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv23 := &x.ObjectMeta + yyv23.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ScaleSpec{} + } else { + yyv24 := &x.Spec + yyv24.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ScaleStatus{} + } else { + yyv25 := &x.Status + yyv25.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys20) + } // end switch yys20 + } // end for yyj20 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + var yyj26 int + var yyb26 bool + var yyhl26 bool = l >= 0 + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv29 := &x.ObjectMeta + yyv29.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ScaleSpec{} + } else { + yyv30 := &x.Spec + yyv30.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ScaleStatus{} + } else { + yyv31 := &x.Status + yyv31.CodecDecodeSelf(d) + } + for { + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj26-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ScaleSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym32 := z.EncBinary() + _ = yym32 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep33 := !z.EncBinary() + yy2arr33 := z.EncBasicHandle().StructToArray + var yyq33 [1]bool + _, _, _ = yysep33, yyq33, yy2arr33 + const yyr33 bool = false + yyq33[0] = x.Replicas != 0 + var yynn33 int + if yyr33 || yy2arr33 { + r.EncodeArrayStart(1) + } else { + yynn33 = 0 + for _, b := range yyq33 { + if b { + yynn33++ + } + } + r.EncodeMapStart(yynn33) + yynn33 = 0 + } + if yyr33 || yy2arr33 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq33[0] { + yym35 := z.EncBinary() + _ = yym35 + if false { } else { r.EncodeInt(int64(x.Replicas)) } @@ -458,19 +458,19 @@ func (x *ScaleSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[0] { + if yyq33[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym36 := z.EncBinary() + _ = yym36 if false { } else { r.EncodeInt(int64(x.Replicas)) } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -483,25 +483,25 @@ func (x *ScaleSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym37 := z.DecBinary() + _ = yym37 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct38 := r.ContainerType() + if yyct38 == codecSelferValueTypeMap1234 { + yyl38 := r.ReadMapStart() + if yyl38 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl38, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct38 == codecSelferValueTypeArray1234 { + yyl38 := r.ReadArrayStart() + if yyl38 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl38, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -513,12 +513,12 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys39Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys39Slc + var yyhl39 bool = l >= 0 + for yyj39 := 0; ; yyj39++ { + if yyhl39 { + if yyj39 >= l { break } } else { @@ -527,10 +527,10 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys39Slc = r.DecodeBytes(yys39Slc, true, true) + yys39 := string(yys39Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys39 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -538,9 +538,9 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Replicas = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys39) + } // end switch yys39 + } // end for yyj39 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -548,16 +548,16 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj41 int + var yyb41 bool + var yyhl41 bool = l >= 0 + yyj41++ + if yyhl41 { + yyb41 = yyj41 > l } else { - yyb5 = r.CheckBreak() + yyb41 = r.CheckBreak() } - if yyb5 { + if yyb41 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -568,17 +568,17 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Replicas = int32(r.DecodeInt(32)) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj41++ + if yyhl41 { + yyb41 = yyj41 > l } else { - yyb5 = r.CheckBreak() + yyb41 = r.CheckBreak() } - if yyb5 { + if yyb41 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj41-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -590,34 +590,34 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym43 := z.EncBinary() + _ = yym43 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Selector != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep44 := !z.EncBinary() + yy2arr44 := z.EncBasicHandle().StructToArray + var yyq44 [2]bool + _, _, _ = yysep44, yyq44, yy2arr44 + const yyr44 bool = false + yyq44[1] = x.Selector != "" + var yynn44 int + if yyr44 || yy2arr44 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn44 = 1 + for _, b := range yyq44 { if b { - yynn2++ + yynn44++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn44) + yynn44 = 0 } - if yyr2 || yy2arr2 { + if yyr44 || yy2arr44 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym46 := z.EncBinary() + _ = yym46 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -626,18 +626,18 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym47 := z.EncBinary() + _ = yym47 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2 || yy2arr2 { + if yyr44 || yy2arr44 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq44[1] { + yym49 := z.EncBinary() + _ = yym49 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Selector)) @@ -646,19 +646,19 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq44[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym50 := z.EncBinary() + _ = yym50 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Selector)) } } } - if yyr2 || yy2arr2 { + if yyr44 || yy2arr44 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -671,25 +671,25 @@ func (x *ScaleStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym51 := z.DecBinary() + _ = yym51 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct52 := r.ContainerType() + if yyct52 == codecSelferValueTypeMap1234 { + yyl52 := r.ReadMapStart() + if yyl52 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl52, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct52 == codecSelferValueTypeArray1234 { + yyl52 := r.ReadArrayStart() + if yyl52 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl52, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -701,12 +701,12 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys53Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys53Slc + var yyhl53 bool = l >= 0 + for yyj53 := 0; ; yyj53++ { + if yyhl53 { + if yyj53 >= l { break } } else { @@ -715,10 +715,10 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys53Slc = r.DecodeBytes(yys53Slc, true, true) + yys53 := string(yys53Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys53 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -732,9 +732,9 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Selector = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys53) + } // end switch yys53 + } // end for yyj53 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -742,16 +742,16 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj56 int + var yyb56 bool + var yyhl56 bool = l >= 0 + yyj56++ + if yyhl56 { + yyb56 = yyj56 > l } else { - yyb6 = r.CheckBreak() + yyb56 = r.CheckBreak() } - if yyb6 { + if yyb56 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -761,13 +761,13 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj56++ + if yyhl56 { + yyb56 = yyj56 > l } else { - yyb6 = r.CheckBreak() + yyb56 = r.CheckBreak() } - if yyb6 { + if yyb56 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -778,17 +778,17 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Selector = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj56++ + if yyhl56 { + yyb56 = yyj56 > l } else { - yyb6 = r.CheckBreak() + yyb56 = r.CheckBreak() } - if yyb6 { + if yyb56 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj56-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -800,34 +800,34 @@ func (x *CrossVersionObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym59 := z.EncBinary() + _ = yym59 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep60 := !z.EncBinary() + yy2arr60 := z.EncBasicHandle().StructToArray + var yyq60 [3]bool + _, _, _ = yysep60, yyq60, yy2arr60 + const yyr60 bool = false + yyq60[2] = x.APIVersion != "" + var yynn60 int + if yyr60 || yy2arr60 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn60 = 2 + for _, b := range yyq60 { if b { - yynn2++ + yynn60++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn60) + yynn60 = 0 } - if yyr2 || yy2arr2 { + if yyr60 || yy2arr60 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym62 := z.EncBinary() + _ = yym62 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -836,17 +836,17 @@ func (x *CrossVersionObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym63 := z.EncBinary() + _ = yym63 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } - if yyr2 || yy2arr2 { + if yyr60 || yy2arr60 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym65 := z.EncBinary() + _ = yym65 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -855,18 +855,18 @@ func (x *CrossVersionObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym66 := z.EncBinary() + _ = yym66 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr60 || yy2arr60 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq60[2] { + yym68 := z.EncBinary() + _ = yym68 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -875,19 +875,19 @@ func (x *CrossVersionObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq60[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym69 := z.EncBinary() + _ = yym69 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr60 || yy2arr60 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -900,25 +900,25 @@ func (x *CrossVersionObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym70 := z.DecBinary() + _ = yym70 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct71 := r.ContainerType() + if yyct71 == codecSelferValueTypeMap1234 { + yyl71 := r.ReadMapStart() + if yyl71 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl71, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct71 == codecSelferValueTypeArray1234 { + yyl71 := r.ReadArrayStart() + if yyl71 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl71, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -930,12 +930,12 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys72Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys72Slc + var yyhl72 bool = l >= 0 + for yyj72 := 0; ; yyj72++ { + if yyhl72 { + if yyj72 >= l { break } } else { @@ -944,10 +944,10 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys72Slc = r.DecodeBytes(yys72Slc, true, true) + yys72 := string(yys72Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys72 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -967,9 +967,9 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromMap(l int, d *codec1978 x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys72) + } // end switch yys72 + } // end for yyj72 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -977,16 +977,16 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj76 int + var yyb76 bool + var yyhl76 bool = l >= 0 + yyj76++ + if yyhl76 { + yyb76 = yyj76 > l } else { - yyb7 = r.CheckBreak() + yyb76 = r.CheckBreak() } - if yyb7 { + if yyb76 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -996,13 +996,13 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Kind = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj76++ + if yyhl76 { + yyb76 = yyj76 > l } else { - yyb7 = r.CheckBreak() + yyb76 = r.CheckBreak() } - if yyb7 { + if yyb76 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1012,13 +1012,13 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Name = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj76++ + if yyhl76 { + yyb76 = yyj76 > l } else { - yyb7 = r.CheckBreak() + yyb76 = r.CheckBreak() } - if yyb7 { + if yyb76 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1029,17 +1029,17 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromArray(l int, d *codec19 x.APIVersion = string(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj76++ + if yyhl76 { + yyb76 = yyj76 > l } else { - yyb7 = r.CheckBreak() + yyb76 = r.CheckBreak() } - if yyb7 { + if yyb76 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj76-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1051,81 +1051,81 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym80 := z.EncBinary() + _ = yym80 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.MinReplicas != nil - yyq2[3] = x.TargetCPUUtilizationPercentage != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep81 := !z.EncBinary() + yy2arr81 := z.EncBasicHandle().StructToArray + var yyq81 [4]bool + _, _, _ = yysep81, yyq81, yy2arr81 + const yyr81 bool = false + yyq81[1] = x.MinReplicas != nil + yyq81[3] = x.TargetCPUUtilizationPercentage != nil + var yynn81 int + if yyr81 || yy2arr81 { r.EncodeArrayStart(4) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn81 = 2 + for _, b := range yyq81 { if b { - yynn2++ + yynn81++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn81) + yynn81 = 0 } - if yyr2 || yy2arr2 { + if yyr81 || yy2arr81 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4 := &x.ScaleTargetRef - yy4.CodecEncodeSelf(e) + yy83 := &x.ScaleTargetRef + yy83.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scaleTargetRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ScaleTargetRef - yy6.CodecEncodeSelf(e) + yy84 := &x.ScaleTargetRef + yy84.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr81 || yy2arr81 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq81[1] { if x.MinReplicas == nil { r.EncodeNil() } else { - yy9 := *x.MinReplicas - yym10 := z.EncBinary() - _ = yym10 + yy86 := *x.MinReplicas + yym87 := z.EncBinary() + _ = yym87 if false { } else { - r.EncodeInt(int64(yy9)) + r.EncodeInt(int64(yy86)) } } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq81[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MinReplicas == nil { r.EncodeNil() } else { - yy11 := *x.MinReplicas - yym12 := z.EncBinary() - _ = yym12 + yy88 := *x.MinReplicas + yym89 := z.EncBinary() + _ = yym89 if false { } else { - r.EncodeInt(int64(yy11)) + r.EncodeInt(int64(yy88)) } } } } - if yyr2 || yy2arr2 { + if yyr81 || yy2arr81 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym14 := z.EncBinary() - _ = yym14 + yym91 := z.EncBinary() + _ = yym91 if false { } else { r.EncodeInt(int64(x.MaxReplicas)) @@ -1134,49 +1134,49 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym92 := z.EncBinary() + _ = yym92 if false { } else { r.EncodeInt(int64(x.MaxReplicas)) } } - if yyr2 || yy2arr2 { + if yyr81 || yy2arr81 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq81[3] { if x.TargetCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy17 := *x.TargetCPUUtilizationPercentage - yym18 := z.EncBinary() - _ = yym18 + yy94 := *x.TargetCPUUtilizationPercentage + yym95 := z.EncBinary() + _ = yym95 if false { } else { - r.EncodeInt(int64(yy17)) + r.EncodeInt(int64(yy94)) } } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq81[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetCPUUtilizationPercentage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TargetCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy19 := *x.TargetCPUUtilizationPercentage - yym20 := z.EncBinary() - _ = yym20 + yy96 := *x.TargetCPUUtilizationPercentage + yym97 := z.EncBinary() + _ = yym97 if false { } else { - r.EncodeInt(int64(yy19)) + r.EncodeInt(int64(yy96)) } } } } - if yyr2 || yy2arr2 { + if yyr81 || yy2arr81 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1189,25 +1189,25 @@ func (x *HorizontalPodAutoscalerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym98 := z.DecBinary() + _ = yym98 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct99 := r.ContainerType() + if yyct99 == codecSelferValueTypeMap1234 { + yyl99 := r.ReadMapStart() + if yyl99 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl99, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct99 == codecSelferValueTypeArray1234 { + yyl99 := r.ReadArrayStart() + if yyl99 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl99, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1219,12 +1219,12 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys100Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys100Slc + var yyhl100 bool = l >= 0 + for yyj100 := 0; ; yyj100++ { + if yyhl100 { + if yyj100 >= l { break } } else { @@ -1233,16 +1233,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys100Slc = r.DecodeBytes(yys100Slc, true, true) + yys100 := string(yys100Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys100 { case "scaleTargetRef": if r.TryDecodeAsNil() { x.ScaleTargetRef = CrossVersionObjectReference{} } else { - yyv4 := &x.ScaleTargetRef - yyv4.CodecDecodeSelf(d) + yyv101 := &x.ScaleTargetRef + yyv101.CodecDecodeSelf(d) } case "minReplicas": if r.TryDecodeAsNil() { @@ -1253,8 +1253,8 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 if x.MinReplicas == nil { x.MinReplicas = new(int32) } - yym6 := z.DecBinary() - _ = yym6 + yym103 := z.DecBinary() + _ = yym103 if false { } else { *((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32)) @@ -1275,17 +1275,17 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 if x.TargetCPUUtilizationPercentage == nil { x.TargetCPUUtilizationPercentage = new(int32) } - yym9 := z.DecBinary() - _ = yym9 + yym106 := z.DecBinary() + _ = yym106 if false { } else { *((*int32)(x.TargetCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys100) + } // end switch yys100 + } // end for yyj100 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1293,16 +1293,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj107 int + var yyb107 bool + var yyhl107 bool = l >= 0 + yyj107++ + if yyhl107 { + yyb107 = yyj107 > l } else { - yyb10 = r.CheckBreak() + yyb107 = r.CheckBreak() } - if yyb10 { + if yyb107 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1310,16 +1310,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.ScaleTargetRef = CrossVersionObjectReference{} } else { - yyv11 := &x.ScaleTargetRef - yyv11.CodecDecodeSelf(d) + yyv108 := &x.ScaleTargetRef + yyv108.CodecDecodeSelf(d) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj107++ + if yyhl107 { + yyb107 = yyj107 > l } else { - yyb10 = r.CheckBreak() + yyb107 = r.CheckBreak() } - if yyb10 { + if yyb107 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1332,20 +1332,20 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if x.MinReplicas == nil { x.MinReplicas = new(int32) } - yym13 := z.DecBinary() - _ = yym13 + yym110 := z.DecBinary() + _ = yym110 if false { } else { *((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32)) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj107++ + if yyhl107 { + yyb107 = yyj107 > l } else { - yyb10 = r.CheckBreak() + yyb107 = r.CheckBreak() } - if yyb10 { + if yyb107 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1355,13 +1355,13 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 } else { x.MaxReplicas = int32(r.DecodeInt(32)) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj107++ + if yyhl107 { + yyb107 = yyj107 > l } else { - yyb10 = r.CheckBreak() + yyb107 = r.CheckBreak() } - if yyb10 { + if yyb107 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1374,25 +1374,25 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if x.TargetCPUUtilizationPercentage == nil { x.TargetCPUUtilizationPercentage = new(int32) } - yym16 := z.DecBinary() - _ = yym16 + yym113 := z.DecBinary() + _ = yym113 if false { } else { *((*int32)(x.TargetCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj107++ + if yyhl107 { + yyb107 = yyj107 > l } else { - yyb10 = r.CheckBreak() + yyb107 = r.CheckBreak() } - if yyb10 { + if yyb107 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj107-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1404,80 +1404,80 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym114 := z.EncBinary() + _ = yym114 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.ObservedGeneration != nil - yyq2[1] = x.LastScaleTime != nil - yyq2[4] = x.CurrentCPUUtilizationPercentage != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep115 := !z.EncBinary() + yy2arr115 := z.EncBasicHandle().StructToArray + var yyq115 [5]bool + _, _, _ = yysep115, yyq115, yy2arr115 + const yyr115 bool = false + yyq115[0] = x.ObservedGeneration != nil + yyq115[1] = x.LastScaleTime != nil + yyq115[4] = x.CurrentCPUUtilizationPercentage != nil + var yynn115 int + if yyr115 || yy2arr115 { r.EncodeArrayStart(5) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn115 = 2 + for _, b := range yyq115 { if b { - yynn2++ + yynn115++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn115) + yynn115 = 0 } - if yyr2 || yy2arr2 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq115[0] { if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy4 := *x.ObservedGeneration - yym5 := z.EncBinary() - _ = yym5 + yy117 := *x.ObservedGeneration + yym118 := z.EncBinary() + _ = yym118 if false { } else { - r.EncodeInt(int64(yy4)) + r.EncodeInt(int64(yy117)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq115[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy6 := *x.ObservedGeneration - yym7 := z.EncBinary() - _ = yym7 + yy119 := *x.ObservedGeneration + yym120 := z.EncBinary() + _ = yym120 if false { } else { - r.EncodeInt(int64(yy6)) + r.EncodeInt(int64(yy119)) } } } } - if yyr2 || yy2arr2 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq115[1] { if x.LastScaleTime == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym122 := z.EncBinary() + _ = yym122 if false { } else if z.HasExtensions() && z.EncExt(x.LastScaleTime) { - } else if yym9 { + } else if yym122 { z.EncBinaryMarshal(x.LastScaleTime) - } else if !yym9 && z.IsJSONHandle() { + } else if !yym122 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScaleTime) } else { z.EncFallback(x.LastScaleTime) @@ -1487,20 +1487,20 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq115[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastScaleTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LastScaleTime == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym123 := z.EncBinary() + _ = yym123 if false { } else if z.HasExtensions() && z.EncExt(x.LastScaleTime) { - } else if yym10 { + } else if yym123 { z.EncBinaryMarshal(x.LastScaleTime) - } else if !yym10 && z.IsJSONHandle() { + } else if !yym123 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScaleTime) } else { z.EncFallback(x.LastScaleTime) @@ -1508,10 +1508,10 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym12 := z.EncBinary() - _ = yym12 + yym125 := z.EncBinary() + _ = yym125 if false { } else { r.EncodeInt(int64(x.CurrentReplicas)) @@ -1520,17 +1520,17 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 + yym126 := z.EncBinary() + _ = yym126 if false { } else { r.EncodeInt(int64(x.CurrentReplicas)) } } - if yyr2 || yy2arr2 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym15 := z.EncBinary() - _ = yym15 + yym128 := z.EncBinary() + _ = yym128 if false { } else { r.EncodeInt(int64(x.DesiredReplicas)) @@ -1539,49 +1539,49 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 + yym129 := z.EncBinary() + _ = yym129 if false { } else { r.EncodeInt(int64(x.DesiredReplicas)) } } - if yyr2 || yy2arr2 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq115[4] { if x.CurrentCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy18 := *x.CurrentCPUUtilizationPercentage - yym19 := z.EncBinary() - _ = yym19 + yy131 := *x.CurrentCPUUtilizationPercentage + yym132 := z.EncBinary() + _ = yym132 if false { } else { - r.EncodeInt(int64(yy18)) + r.EncodeInt(int64(yy131)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq115[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentCPUUtilizationPercentage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CurrentCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy20 := *x.CurrentCPUUtilizationPercentage - yym21 := z.EncBinary() - _ = yym21 + yy133 := *x.CurrentCPUUtilizationPercentage + yym134 := z.EncBinary() + _ = yym134 if false { } else { - r.EncodeInt(int64(yy20)) + r.EncodeInt(int64(yy133)) } } } } - if yyr2 || yy2arr2 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1594,25 +1594,25 @@ func (x *HorizontalPodAutoscalerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym135 := z.DecBinary() + _ = yym135 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct136 := r.ContainerType() + if yyct136 == codecSelferValueTypeMap1234 { + yyl136 := r.ReadMapStart() + if yyl136 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl136, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct136 == codecSelferValueTypeArray1234 { + yyl136 := r.ReadArrayStart() + if yyl136 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl136, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1624,12 +1624,12 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys137Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys137Slc + var yyhl137 bool = l >= 0 + for yyj137 := 0; ; yyj137++ { + if yyhl137 { + if yyj137 >= l { break } } else { @@ -1638,10 +1638,10 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys137Slc = r.DecodeBytes(yys137Slc, true, true) + yys137 := string(yys137Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys137 { case "observedGeneration": if r.TryDecodeAsNil() { if x.ObservedGeneration != nil { @@ -1651,8 +1651,8 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym5 := z.DecBinary() - _ = yym5 + yym139 := z.DecBinary() + _ = yym139 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) @@ -1667,13 +1667,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.LastScaleTime == nil { x.LastScaleTime = new(pkg1_unversioned.Time) } - yym7 := z.DecBinary() - _ = yym7 + yym141 := z.DecBinary() + _ = yym141 if false { } else if z.HasExtensions() && z.DecExt(x.LastScaleTime) { - } else if yym7 { + } else if yym141 { z.DecBinaryUnmarshal(x.LastScaleTime) - } else if !yym7 && z.IsJSONHandle() { + } else if !yym141 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScaleTime) } else { z.DecFallback(x.LastScaleTime, false) @@ -1700,17 +1700,17 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.CurrentCPUUtilizationPercentage == nil { x.CurrentCPUUtilizationPercentage = new(int32) } - yym11 := z.DecBinary() - _ = yym11 + yym145 := z.DecBinary() + _ = yym145 if false { } else { *((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys137) + } // end switch yys137 + } // end for yyj137 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1718,16 +1718,16 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj146 int + var yyb146 bool + var yyhl146 bool = l >= 0 + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb12 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb12 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1740,20 +1740,20 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym14 := z.DecBinary() - _ = yym14 + yym148 := z.DecBinary() + _ = yym148 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb12 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb12 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1766,25 +1766,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.LastScaleTime == nil { x.LastScaleTime = new(pkg1_unversioned.Time) } - yym16 := z.DecBinary() - _ = yym16 + yym150 := z.DecBinary() + _ = yym150 if false { } else if z.HasExtensions() && z.DecExt(x.LastScaleTime) { - } else if yym16 { + } else if yym150 { z.DecBinaryUnmarshal(x.LastScaleTime) - } else if !yym16 && z.IsJSONHandle() { + } else if !yym150 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScaleTime) } else { z.DecFallback(x.LastScaleTime, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb12 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb12 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1794,13 +1794,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec } else { x.CurrentReplicas = int32(r.DecodeInt(32)) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb12 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb12 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1810,13 +1810,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec } else { x.DesiredReplicas = int32(r.DecodeInt(32)) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb12 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb12 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1829,25 +1829,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.CurrentCPUUtilizationPercentage == nil { x.CurrentCPUUtilizationPercentage = new(int32) } - yym20 := z.DecBinary() - _ = yym20 + yym154 := z.DecBinary() + _ = yym154 if false { } else { *((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb12 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb12 { + if yyb146 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj146-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1859,90 +1859,39 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym155 := z.EncBinary() + _ = yym155 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep156 := !z.EncBinary() + yy2arr156 := z.EncBasicHandle().StructToArray + var yyq156 [5]bool + _, _, _ = yysep156, yyq156, yy2arr156 + const yyr156 bool = false + yyq156[0] = x.Kind != "" + yyq156[1] = x.APIVersion != "" + yyq156[2] = true + yyq156[3] = true + yyq156[4] = true + var yynn156 int + if yyr156 || yy2arr156 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn156 = 0 + for _, b := range yyq156 { if b { - yynn2++ + yynn156++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn156) + yynn156 = 0 } - if yyr2 || yy2arr2 { + if yyr156 || yy2arr156 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq156[0] { + yym158 := z.EncBinary() + _ = yym158 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1951,23 +1900,23 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq156[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym159 := z.EncBinary() + _ = yym159 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr156 || yy2arr156 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq156[1] { + yym161 := z.EncBinary() + _ = yym161 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1976,19 +1925,70 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq156[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym162 := z.EncBinary() + _ = yym162 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr156 || yy2arr156 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq156[2] { + yy164 := &x.ObjectMeta + yy164.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq156[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy165 := &x.ObjectMeta + yy165.CodecEncodeSelf(e) + } + } + if yyr156 || yy2arr156 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq156[3] { + yy167 := &x.Spec + yy167.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq156[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy168 := &x.Spec + yy168.CodecEncodeSelf(e) + } + } + if yyr156 || yy2arr156 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq156[4] { + yy170 := &x.Status + yy170.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq156[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy171 := &x.Status + yy171.CodecEncodeSelf(e) + } + } + if yyr156 || yy2arr156 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2001,25 +2001,25 @@ func (x *HorizontalPodAutoscaler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym172 := z.DecBinary() + _ = yym172 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct173 := r.ContainerType() + if yyct173 == codecSelferValueTypeMap1234 { + yyl173 := r.ReadMapStart() + if yyl173 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl173, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct173 == codecSelferValueTypeArray1234 { + yyl173 := r.ReadArrayStart() + if yyl173 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl173, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2031,12 +2031,12 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys174Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys174Slc + var yyhl174 bool = l >= 0 + for yyj174 := 0; ; yyj174++ { + if yyhl174 { + if yyj174 >= l { break } } else { @@ -2045,31 +2045,10 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys174Slc = r.DecodeBytes(yys174Slc, true, true) + yys174 := string(yys174Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = HorizontalPodAutoscalerSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = HorizontalPodAutoscalerStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys174 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -2082,10 +2061,31 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv177 := &x.ObjectMeta + yyv177.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = HorizontalPodAutoscalerSpec{} + } else { + yyv178 := &x.Spec + yyv178.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = HorizontalPodAutoscalerStatus{} + } else { + yyv179 := &x.Status + yyv179.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys174) + } // end switch yys174 + } // end for yyj174 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2093,67 +2093,16 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj180 int + var yyb180 bool + var yyhl180 bool = l >= 0 + yyj180++ + if yyhl180 { + yyb180 = yyj180 > l } else { - yyb9 = r.CheckBreak() + yyb180 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = HorizontalPodAutoscalerSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = HorizontalPodAutoscalerStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb180 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2163,13 +2112,13 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj180++ + if yyhl180 { + yyb180 = yyj180 > l } else { - yyb9 = r.CheckBreak() + yyb180 = r.CheckBreak() } - if yyb9 { + if yyb180 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2179,18 +2128,69 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.APIVersion = string(r.DecodeString()) } + yyj180++ + if yyhl180 { + yyb180 = yyj180 > l + } else { + yyb180 = r.CheckBreak() + } + if yyb180 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv183 := &x.ObjectMeta + yyv183.CodecDecodeSelf(d) + } + yyj180++ + if yyhl180 { + yyb180 = yyj180 > l + } else { + yyb180 = r.CheckBreak() + } + if yyb180 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = HorizontalPodAutoscalerSpec{} + } else { + yyv184 := &x.Spec + yyv184.CodecDecodeSelf(d) + } + yyj180++ + if yyhl180 { + yyb180 = yyj180 > l + } else { + yyb180 = r.CheckBreak() + } + if yyb180 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = HorizontalPodAutoscalerStatus{} + } else { + yyv185 := &x.Status + yyv185.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj180++ + if yyhl180 { + yyb180 = yyj180 > l } else { - yyb9 = r.CheckBreak() + yyb180 = r.CheckBreak() } - if yyb9 { + if yyb180 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj180-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2202,68 +2202,118 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym186 := z.EncBinary() + _ = yym186 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep187 := !z.EncBinary() + yy2arr187 := z.EncBasicHandle().StructToArray + var yyq187 [4]bool + _, _, _ = yysep187, yyq187, yy2arr187 + const yyr187 bool = false + yyq187[0] = x.Kind != "" + yyq187[1] = x.APIVersion != "" + yyq187[2] = true + var yynn187 int + if yyr187 || yy2arr187 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn187 = 1 + for _, b := range yyq187 { if b { - yynn2++ + yynn187++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn187) + yynn187 = 0 } - if yyr2 || yy2arr2 { + if yyr187 || yy2arr187 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq187[0] { + yym189 := z.EncBinary() + _ = yym189 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq187[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym190 := z.EncBinary() + _ = yym190 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr187 || yy2arr187 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq187[1] { + yym192 := z.EncBinary() + _ = yym192 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq187[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym193 := z.EncBinary() + _ = yym193 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr187 || yy2arr187 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq187[2] { + yy195 := &x.ListMeta + yym196 := z.EncBinary() + _ = yym196 + if false { + } else if z.HasExtensions() && z.EncExt(yy195) { + } else { + z.EncFallback(yy195) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq187[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy197 := &x.ListMeta + yym198 := z.EncBinary() + _ = yym198 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy197) { } else { - z.EncFallback(yy6) + z.EncFallback(yy197) } } } - if yyr2 || yy2arr2 { + if yyr187 || yy2arr187 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym200 := z.EncBinary() + _ = yym200 if false { } else { h.encSliceHorizontalPodAutoscaler(([]HorizontalPodAutoscaler)(x.Items), e) @@ -2276,65 +2326,15 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym201 := z.EncBinary() + _ = yym201 if false { } else { h.encSliceHorizontalPodAutoscaler(([]HorizontalPodAutoscaler)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr187 || yy2arr187 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2347,25 +2347,25 @@ func (x *HorizontalPodAutoscalerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym202 := z.DecBinary() + _ = yym202 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct203 := r.ContainerType() + if yyct203 == codecSelferValueTypeMap1234 { + yyl203 := r.ReadMapStart() + if yyl203 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl203, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct203 == codecSelferValueTypeArray1234 { + yyl203 := r.ReadArrayStart() + if yyl203 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl203, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2377,12 +2377,12 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys204Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys204Slc + var yyhl204 bool = l >= 0 + for yyj204 := 0; ; yyj204++ { + if yyhl204 { + if yyj204 >= l { break } } else { @@ -2391,35 +2391,10 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys204Slc = r.DecodeBytes(yys204Slc, true, true) + yys204 := string(yys204Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv6), d) - } - } + switch yys204 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -2432,10 +2407,35 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv207 := &x.ListMeta + yym208 := z.DecBinary() + _ = yym208 + if false { + } else if z.HasExtensions() && z.DecExt(yyv207) { + } else { + z.DecFallback(yyv207, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv209 := &x.Items + yym210 := z.DecBinary() + _ = yym210 + if false { + } else { + h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv209), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys204) + } // end switch yys204 + } // end for yyj204 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2443,61 +2443,16 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj211 int + var yyb211 bool + var yyhl211 bool = l >= 0 + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb10 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2507,13 +2462,13 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l } else { - yyb10 = r.CheckBreak() + yyb211 = r.CheckBreak() } - if yyb10 { + if yyb211 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2523,18 +2478,63 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l + } else { + yyb211 = r.CheckBreak() + } + if yyb211 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv214 := &x.ListMeta + yym215 := z.DecBinary() + _ = yym215 + if false { + } else if z.HasExtensions() && z.DecExt(yyv214) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv214, false) } - if yyb10 { + } + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l + } else { + yyb211 = r.CheckBreak() + } + if yyb211 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv216 := &x.Items + yym217 := z.DecBinary() + _ = yym217 + if false { + } else { + h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv216), d) + } + } + for { + yyj211++ + if yyhl211 { + yyb211 = yyj211 > l + } else { + yyb211 = r.CheckBreak() + } + if yyb211 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj211-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2544,10 +2544,10 @@ func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutosc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv218 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy219 := &yyv218 + yy219.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2557,86 +2557,83 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []HorizontalPodAutoscaler{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv220 := *v + yyh220, yyl220 := z.DecSliceHelperStart() + var yyc220 bool + if yyl220 == 0 { + if yyv220 == nil { + yyv220 = []HorizontalPodAutoscaler{} + yyc220 = true + } else if len(yyv220) != 0 { + yyv220 = yyv220[:0] + yyc220 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl220 > 0 { + var yyrr220, yyrl220 int + var yyrt220 bool + if yyl220 > cap(yyv220) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 344) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg220 := len(yyv220) > 0 + yyv2220 := yyv220 + yyrl220, yyrt220 = z.DecInferLen(yyl220, z.DecBasicHandle().MaxInitLen, 344) + if yyrt220 { + if yyrl220 <= cap(yyv220) { + yyv220 = yyv220[:yyrl220] } else { - yyv1 = make([]HorizontalPodAutoscaler, yyrl1) + yyv220 = make([]HorizontalPodAutoscaler, yyrl220) } } else { - yyv1 = make([]HorizontalPodAutoscaler, yyrl1) + yyv220 = make([]HorizontalPodAutoscaler, yyrl220) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc220 = true + yyrr220 = len(yyv220) + if yyrg220 { + copy(yyv220, yyv2220) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl220 != len(yyv220) { + yyv220 = yyv220[:yyl220] + yyc220 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj220 := 0 + for ; yyj220 < yyrr220; yyj220++ { + yyh220.ElemContainerState(yyj220) if r.TryDecodeAsNil() { - yyv1[yyj1] = HorizontalPodAutoscaler{} + yyv220[yyj220] = HorizontalPodAutoscaler{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv221 := &yyv220[yyj220] + yyv221.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, HorizontalPodAutoscaler{}) - yyh1.ElemContainerState(yyj1) + if yyrt220 { + for ; yyj220 < yyl220; yyj220++ { + yyv220 = append(yyv220, HorizontalPodAutoscaler{}) + yyh220.ElemContainerState(yyj220) if r.TryDecodeAsNil() { - yyv1[yyj1] = HorizontalPodAutoscaler{} + yyv220[yyj220] = HorizontalPodAutoscaler{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv222 := &yyv220[yyj220] + yyv222.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj220 := 0 + for ; !r.CheckBreak(); yyj220++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, HorizontalPodAutoscaler{}) // var yyz1 HorizontalPodAutoscaler - yyc1 = true + if yyj220 >= len(yyv220) { + yyv220 = append(yyv220, HorizontalPodAutoscaler{}) // var yyz220 HorizontalPodAutoscaler + yyc220 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh220.ElemContainerState(yyj220) + if yyj220 < len(yyv220) { if r.TryDecodeAsNil() { - yyv1[yyj1] = HorizontalPodAutoscaler{} + yyv220[yyj220] = HorizontalPodAutoscaler{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv223 := &yyv220[yyj220] + yyv223.CodecDecodeSelf(d) } } else { @@ -2644,16 +2641,16 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []HorizontalPodAutoscaler{} - yyc1 = true + if yyj220 < len(yyv220) { + yyv220 = yyv220[:yyj220] + yyc220 = true + } else if yyj220 == 0 && yyv220 == nil { + yyv220 = []HorizontalPodAutoscaler{} + yyc220 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh220.End() + if yyc220 { + *v = yyv220 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/defaults.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/defaults.go index 92c68c9a75e..c2f5534011f 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/defaults.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/defaults.go @@ -20,8 +20,8 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs( +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( SetDefaults_HorizontalPodAutoscaler, ) } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/generated.pb.go index d942403da6a..0367256eefc 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/generated.pb.go @@ -52,29 +52,49 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 + func (m *CrossVersionObjectReference) Reset() { *m = CrossVersionObjectReference{} } func (*CrossVersionObjectReference) ProtoMessage() {} +func (*CrossVersionObjectReference) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{0} +} -func (m *HorizontalPodAutoscaler) Reset() { *m = HorizontalPodAutoscaler{} } -func (*HorizontalPodAutoscaler) ProtoMessage() {} +func (m *HorizontalPodAutoscaler) Reset() { *m = HorizontalPodAutoscaler{} } +func (*HorizontalPodAutoscaler) ProtoMessage() {} +func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } func (m *HorizontalPodAutoscalerList) Reset() { *m = HorizontalPodAutoscalerList{} } func (*HorizontalPodAutoscalerList) ProtoMessage() {} +func (*HorizontalPodAutoscalerList) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{2} +} func (m *HorizontalPodAutoscalerSpec) Reset() { *m = HorizontalPodAutoscalerSpec{} } func (*HorizontalPodAutoscalerSpec) ProtoMessage() {} +func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{3} +} func (m *HorizontalPodAutoscalerStatus) Reset() { *m = HorizontalPodAutoscalerStatus{} } func (*HorizontalPodAutoscalerStatus) ProtoMessage() {} +func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{4} +} -func (m *Scale) Reset() { *m = Scale{} } -func (*Scale) ProtoMessage() {} +func (m *Scale) Reset() { *m = Scale{} } +func (*Scale) ProtoMessage() {} +func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } -func (m *ScaleSpec) Reset() { *m = ScaleSpec{} } -func (*ScaleSpec) ProtoMessage() {} +func (m *ScaleSpec) Reset() { *m = ScaleSpec{} } +func (*ScaleSpec) ProtoMessage() {} +func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } -func (m *ScaleStatus) Reset() { *m = ScaleStatus{} } -func (*ScaleStatus) ProtoMessage() {} +func (m *ScaleStatus) Reset() { *m = ScaleStatus{} } +func (*ScaleStatus) ProtoMessage() {} +func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } func init() { proto.RegisterType((*CrossVersionObjectReference)(nil), "k8s.io.client-go.1.4.pkg.apis.autoscaling.v1.CrossVersionObjectReference") @@ -1708,3 +1728,59 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 823 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xb4, 0x55, 0xcf, 0x4f, 0xe3, 0x46, + 0x14, 0x26, 0xbf, 0x10, 0x8c, 0x0b, 0xb4, 0x53, 0x09, 0xa2, 0x54, 0x4d, 0x90, 0xdb, 0x03, 0x55, + 0xc1, 0x56, 0xa2, 0x52, 0x95, 0x23, 0x4e, 0x45, 0x41, 0x85, 0x12, 0x0d, 0x3f, 0x54, 0x55, 0x6a, + 0x25, 0xc7, 0x1e, 0xcc, 0x90, 0xc4, 0x8e, 0x66, 0xc6, 0x51, 0xc5, 0xa9, 0xa7, 0x9e, 0x7b, 0xe9, + 0xa1, 0xff, 0x4e, 0x4f, 0xdc, 0xca, 0xb1, 0x27, 0xb4, 0xcb, 0x6a, 0xff, 0x8b, 0x3d, 0xec, 0x78, + 0x3c, 0x38, 0x4e, 0x82, 0x03, 0xd1, 0xee, 0x1e, 0x46, 0xca, 0xcc, 0x7c, 0xdf, 0xf7, 0xde, 0x7c, + 0xef, 0xf9, 0x05, 0xec, 0x74, 0xbe, 0x63, 0x06, 0x09, 0xcc, 0x4e, 0xd8, 0xc6, 0xd4, 0xc7, 0x1c, + 0x33, 0xb3, 0xdf, 0xf1, 0x4c, 0xbb, 0x4f, 0x98, 0x69, 0x87, 0x3c, 0x60, 0x8e, 0xdd, 0x25, 0xbe, + 0x67, 0x0e, 0xea, 0xa6, 0x87, 0x7d, 0x4c, 0x6d, 0x8e, 0x5d, 0xa3, 0x4f, 0x03, 0x1e, 0xc0, 0xaf, + 0x62, 0xaa, 0x31, 0xa4, 0x1a, 0x82, 0x6a, 0x44, 0x54, 0x23, 0x45, 0x35, 0x06, 0xf5, 0xca, 0x96, + 0x47, 0xf8, 0x65, 0xd8, 0x36, 0x9c, 0xa0, 0x67, 0x7a, 0x81, 0x17, 0x98, 0x52, 0xa1, 0x1d, 0x5e, + 0xc8, 0x9d, 0xdc, 0xc8, 0x5f, 0xb1, 0x72, 0xa5, 0x91, 0x99, 0x94, 0x49, 0x31, 0x0b, 0x42, 0xea, + 0xe0, 0xf1, 0x6c, 0x2a, 0xdb, 0xd9, 0x9c, 0xd0, 0x1f, 0x60, 0xca, 0x48, 0xe0, 0x63, 0x77, 0x82, + 0xb6, 0x99, 0x4d, 0x9b, 0x7c, 0x72, 0x65, 0xeb, 0x71, 0x34, 0x0d, 0x7d, 0x4e, 0x7a, 0x93, 0x39, + 0xd5, 0x1f, 0x87, 0x87, 0x9c, 0x74, 0x4d, 0xe2, 0x73, 0xc6, 0xe9, 0x38, 0x45, 0xff, 0x3b, 0x07, + 0x3e, 0x6b, 0xd2, 0x80, 0xb1, 0xf3, 0x38, 0xe5, 0xe3, 0xf6, 0x15, 0x76, 0x38, 0xc2, 0x17, 0x98, + 0x62, 0xdf, 0xc1, 0x70, 0x1d, 0x14, 0x3b, 0xc4, 0x77, 0xcb, 0xb9, 0xf5, 0xdc, 0xc6, 0xa2, 0xf5, + 0xd1, 0xcd, 0x5d, 0x6d, 0xee, 0xfe, 0xae, 0x56, 0xfc, 0x51, 0x9c, 0x21, 0x79, 0x13, 0x21, 0x7c, + 0xbb, 0x87, 0xcb, 0xf9, 0x51, 0xc4, 0x4f, 0xe2, 0x0c, 0xc9, 0x1b, 0xd8, 0x00, 0x40, 0xbc, 0x4f, + 0x05, 0x28, 0x17, 0x24, 0x0e, 0x2a, 0x1c, 0xd8, 0x6d, 0x1d, 0xa8, 0x1b, 0x94, 0x42, 0xe9, 0xff, + 0xe5, 0xc1, 0xda, 0x7e, 0x40, 0xc9, 0x75, 0xe0, 0x73, 0xbb, 0xdb, 0x0a, 0xdc, 0x5d, 0x55, 0x61, + 0x4c, 0xe1, 0xcf, 0x60, 0xa1, 0x87, 0xb9, 0xed, 0xda, 0xdc, 0x96, 0x79, 0x69, 0x8d, 0x0d, 0x23, + 0xb3, 0x37, 0x44, 0x3b, 0x18, 0xf1, 0xa3, 0x8e, 0x04, 0x67, 0x18, 0x77, 0x78, 0x86, 0x12, 0x35, + 0x78, 0x09, 0x8a, 0xac, 0x8f, 0x1d, 0xf9, 0x16, 0xad, 0xb1, 0x67, 0x3c, 0xbb, 0xe3, 0x8c, 0x8c, + 0x5c, 0x4f, 0x84, 0xda, 0xd0, 0x93, 0x68, 0x87, 0x64, 0x04, 0xd8, 0x07, 0xf3, 0x8c, 0xdb, 0x3c, + 0x64, 0xd2, 0x0f, 0xad, 0xb1, 0xff, 0x1e, 0x62, 0x49, 0x3d, 0x6b, 0x59, 0x45, 0x9b, 0x8f, 0xf7, + 0x48, 0xc5, 0xd1, 0x5f, 0x8b, 0x4a, 0x67, 0x30, 0x0f, 0x09, 0xe3, 0xf0, 0xd7, 0x09, 0x57, 0xcd, + 0x29, 0xae, 0xa6, 0x7a, 0xdc, 0x88, 0xe8, 0xd2, 0xdc, 0x8f, 0x55, 0xe8, 0x85, 0x87, 0x93, 0x94, + 0xb5, 0x1e, 0x28, 0x11, 0x8e, 0x7b, 0x4c, 0x78, 0x5b, 0x10, 0xda, 0xd6, 0xbb, 0xbf, 0xd7, 0x5a, + 0x52, 0xe1, 0x4a, 0x07, 0x91, 0x30, 0x8a, 0xf5, 0xf5, 0x37, 0xf9, 0xcc, 0x77, 0x46, 0xfe, 0xc3, + 0x3f, 0x73, 0x60, 0x59, 0x6e, 0x4f, 0x6d, 0xea, 0xe1, 0xa8, 0xd5, 0xd5, 0x73, 0x67, 0x29, 0xf7, + 0x94, 0x4f, 0xc6, 0x5a, 0x55, 0x69, 0x2d, 0x9f, 0x8c, 0x44, 0x41, 0x63, 0x51, 0x61, 0x1d, 0x68, + 0x3d, 0xe2, 0x23, 0xdc, 0xef, 0x12, 0xc7, 0x66, 0xb2, 0xe7, 0x4a, 0xd6, 0x8a, 0x20, 0x6a, 0x47, + 0xc3, 0x63, 0x94, 0xc6, 0xc0, 0x6d, 0x41, 0xb1, 0x7f, 0x4f, 0x28, 0x05, 0x49, 0xf9, 0x54, 0xc5, + 0xd3, 0x8e, 0x86, 0x57, 0x28, 0x8d, 0x83, 0x57, 0xa0, 0xca, 0x65, 0xd8, 0x66, 0xeb, 0xec, 0x4c, + 0x0c, 0x03, 0x72, 0x6d, 0x73, 0x91, 0x78, 0x0b, 0x8b, 0xc1, 0x26, 0x4c, 0xf2, 0x70, 0xb9, 0x28, + 0x95, 0x74, 0xa1, 0x52, 0x3d, 0x9d, 0x8a, 0x44, 0x4f, 0x28, 0xe9, 0xff, 0x16, 0xc0, 0xe7, 0x53, + 0x1b, 0x14, 0xee, 0x01, 0x18, 0xb4, 0x19, 0xa6, 0x03, 0xec, 0xfe, 0x10, 0x4f, 0xa3, 0x68, 0x2c, + 0x44, 0x35, 0x28, 0x58, 0xab, 0x22, 0x03, 0x78, 0x3c, 0x71, 0x8b, 0x1e, 0x61, 0x40, 0x17, 0x2c, + 0x75, 0x6d, 0xc6, 0x63, 0x97, 0x89, 0x9a, 0x40, 0x5a, 0xe3, 0xeb, 0x67, 0x76, 0x6d, 0x44, 0xb1, + 0x3e, 0x11, 0xf1, 0x96, 0x0e, 0xd3, 0x2a, 0x68, 0x54, 0x14, 0xee, 0x82, 0x15, 0x27, 0xa4, 0xa2, + 0xb2, 0x7c, 0xcc, 0xf6, 0x35, 0x65, 0xfb, 0x4a, 0x73, 0xf4, 0x1a, 0x8d, 0xe3, 0x23, 0x09, 0x17, + 0x33, 0x42, 0xb1, 0x9b, 0x48, 0x14, 0x47, 0x25, 0xbe, 0x1f, 0xbd, 0x46, 0xe3, 0x78, 0xd8, 0x03, + 0x35, 0xa5, 0x9a, 0x59, 0xc2, 0x92, 0x94, 0xfc, 0x42, 0xc8, 0xd5, 0x9a, 0xd3, 0xa1, 0xe8, 0x29, + 0x2d, 0xfd, 0x9f, 0x3c, 0x28, 0x49, 0x0b, 0x3e, 0xe0, 0xac, 0x3d, 0x1f, 0x99, 0xb5, 0xdf, 0xcc, + 0xf0, 0xf1, 0xc9, 0xcc, 0x32, 0x27, 0xeb, 0x6f, 0x63, 0x93, 0xf5, 0xdb, 0x99, 0x95, 0xa7, 0xcf, + 0xd1, 0x1d, 0xb0, 0x98, 0x24, 0x00, 0x37, 0xc1, 0x02, 0x7d, 0xa8, 0x69, 0x4e, 0x16, 0x20, 0x99, + 0x81, 0x49, 0x31, 0x13, 0x84, 0x4e, 0x80, 0x96, 0x8a, 0x30, 0x1b, 0x39, 0x42, 0x33, 0xdc, 0x15, + 0x3e, 0x06, 0x54, 0xfd, 0xd7, 0x26, 0xe8, 0x13, 0x75, 0x8e, 0x12, 0x84, 0xf5, 0xe5, 0xcd, 0xcb, + 0xea, 0xdc, 0xad, 0x58, 0xff, 0x8b, 0xf5, 0xc7, 0x7d, 0x35, 0x77, 0x23, 0xd6, 0xad, 0x58, 0x2f, + 0xc4, 0xfa, 0xeb, 0x55, 0x75, 0xee, 0x97, 0xfc, 0xa0, 0xfe, 0x36, 0x00, 0x00, 0xff, 0xff, 0x45, + 0xec, 0x9a, 0x15, 0x8e, 0x09, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/register.go index 495899b1d96..be8e4c01793 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/register.go @@ -29,13 +29,13 @@ const GroupName = "autoscaling" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - addDefaultingFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &HorizontalPodAutoscaler{}, &HorizontalPodAutoscalerList{}, @@ -44,4 +44,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &v1.DeleteOptions{}, ) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/types.generated.go index e90f8275828..14ad036e26f 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/types.generated.go @@ -178,25 +178,25 @@ func (x *CrossVersionObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym12 := z.DecBinary() + _ = yym12 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct13 := r.ContainerType() + if yyct13 == codecSelferValueTypeMap1234 { + yyl13 := r.ReadMapStart() + if yyl13 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl13, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct13 == codecSelferValueTypeArray1234 { + yyl13 := r.ReadArrayStart() + if yyl13 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl13, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -208,12 +208,12 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys14Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys14Slc + var yyhl14 bool = l >= 0 + for yyj14 := 0; ; yyj14++ { + if yyhl14 { + if yyj14 >= l { break } } else { @@ -222,10 +222,10 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys14Slc = r.DecodeBytes(yys14Slc, true, true) + yys14 := string(yys14Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys14 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -245,9 +245,9 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromMap(l int, d *codec1978 x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys14) + } // end switch yys14 + } // end for yyj14 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -255,16 +255,16 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj18 int + var yyb18 bool + var yyhl18 bool = l >= 0 + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb7 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb7 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -274,13 +274,13 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Kind = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb7 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb7 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -290,13 +290,13 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Name = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb7 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb7 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -307,17 +307,17 @@ func (x *CrossVersionObjectReference) codecDecodeSelfFromArray(l int, d *codec19 x.APIVersion = string(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb7 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb7 { + if yyb18 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj18-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -329,81 +329,81 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym22 := z.EncBinary() + _ = yym22 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.MinReplicas != nil - yyq2[3] = x.TargetCPUUtilizationPercentage != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep23 := !z.EncBinary() + yy2arr23 := z.EncBasicHandle().StructToArray + var yyq23 [4]bool + _, _, _ = yysep23, yyq23, yy2arr23 + const yyr23 bool = false + yyq23[1] = x.MinReplicas != nil + yyq23[3] = x.TargetCPUUtilizationPercentage != nil + var yynn23 int + if yyr23 || yy2arr23 { r.EncodeArrayStart(4) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn23 = 2 + for _, b := range yyq23 { if b { - yynn2++ + yynn23++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn23) + yynn23 = 0 } - if yyr2 || yy2arr2 { + if yyr23 || yy2arr23 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4 := &x.ScaleTargetRef - yy4.CodecEncodeSelf(e) + yy25 := &x.ScaleTargetRef + yy25.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scaleTargetRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ScaleTargetRef - yy6.CodecEncodeSelf(e) + yy26 := &x.ScaleTargetRef + yy26.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr23 || yy2arr23 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq23[1] { if x.MinReplicas == nil { r.EncodeNil() } else { - yy9 := *x.MinReplicas - yym10 := z.EncBinary() - _ = yym10 + yy28 := *x.MinReplicas + yym29 := z.EncBinary() + _ = yym29 if false { } else { - r.EncodeInt(int64(yy9)) + r.EncodeInt(int64(yy28)) } } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq23[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MinReplicas == nil { r.EncodeNil() } else { - yy11 := *x.MinReplicas - yym12 := z.EncBinary() - _ = yym12 + yy30 := *x.MinReplicas + yym31 := z.EncBinary() + _ = yym31 if false { } else { - r.EncodeInt(int64(yy11)) + r.EncodeInt(int64(yy30)) } } } } - if yyr2 || yy2arr2 { + if yyr23 || yy2arr23 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym14 := z.EncBinary() - _ = yym14 + yym33 := z.EncBinary() + _ = yym33 if false { } else { r.EncodeInt(int64(x.MaxReplicas)) @@ -412,49 +412,49 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym34 := z.EncBinary() + _ = yym34 if false { } else { r.EncodeInt(int64(x.MaxReplicas)) } } - if yyr2 || yy2arr2 { + if yyr23 || yy2arr23 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq23[3] { if x.TargetCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy17 := *x.TargetCPUUtilizationPercentage - yym18 := z.EncBinary() - _ = yym18 + yy36 := *x.TargetCPUUtilizationPercentage + yym37 := z.EncBinary() + _ = yym37 if false { } else { - r.EncodeInt(int64(yy17)) + r.EncodeInt(int64(yy36)) } } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq23[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetCPUUtilizationPercentage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TargetCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy19 := *x.TargetCPUUtilizationPercentage - yym20 := z.EncBinary() - _ = yym20 + yy38 := *x.TargetCPUUtilizationPercentage + yym39 := z.EncBinary() + _ = yym39 if false { } else { - r.EncodeInt(int64(yy19)) + r.EncodeInt(int64(yy38)) } } } } - if yyr2 || yy2arr2 { + if yyr23 || yy2arr23 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -467,25 +467,25 @@ func (x *HorizontalPodAutoscalerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym40 := z.DecBinary() + _ = yym40 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct41 := r.ContainerType() + if yyct41 == codecSelferValueTypeMap1234 { + yyl41 := r.ReadMapStart() + if yyl41 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl41, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct41 == codecSelferValueTypeArray1234 { + yyl41 := r.ReadArrayStart() + if yyl41 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl41, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -497,12 +497,12 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys42Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys42Slc + var yyhl42 bool = l >= 0 + for yyj42 := 0; ; yyj42++ { + if yyhl42 { + if yyj42 >= l { break } } else { @@ -511,16 +511,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys42Slc = r.DecodeBytes(yys42Slc, true, true) + yys42 := string(yys42Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys42 { case "scaleTargetRef": if r.TryDecodeAsNil() { x.ScaleTargetRef = CrossVersionObjectReference{} } else { - yyv4 := &x.ScaleTargetRef - yyv4.CodecDecodeSelf(d) + yyv43 := &x.ScaleTargetRef + yyv43.CodecDecodeSelf(d) } case "minReplicas": if r.TryDecodeAsNil() { @@ -531,8 +531,8 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 if x.MinReplicas == nil { x.MinReplicas = new(int32) } - yym6 := z.DecBinary() - _ = yym6 + yym45 := z.DecBinary() + _ = yym45 if false { } else { *((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32)) @@ -553,17 +553,17 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 if x.TargetCPUUtilizationPercentage == nil { x.TargetCPUUtilizationPercentage = new(int32) } - yym9 := z.DecBinary() - _ = yym9 + yym48 := z.DecBinary() + _ = yym48 if false { } else { *((*int32)(x.TargetCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys42) + } // end switch yys42 + } // end for yyj42 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -571,16 +571,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj49 int + var yyb49 bool + var yyhl49 bool = l >= 0 + yyj49++ + if yyhl49 { + yyb49 = yyj49 > l } else { - yyb10 = r.CheckBreak() + yyb49 = r.CheckBreak() } - if yyb10 { + if yyb49 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -588,16 +588,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.ScaleTargetRef = CrossVersionObjectReference{} } else { - yyv11 := &x.ScaleTargetRef - yyv11.CodecDecodeSelf(d) + yyv50 := &x.ScaleTargetRef + yyv50.CodecDecodeSelf(d) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj49++ + if yyhl49 { + yyb49 = yyj49 > l } else { - yyb10 = r.CheckBreak() + yyb49 = r.CheckBreak() } - if yyb10 { + if yyb49 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -610,20 +610,20 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if x.MinReplicas == nil { x.MinReplicas = new(int32) } - yym13 := z.DecBinary() - _ = yym13 + yym52 := z.DecBinary() + _ = yym52 if false { } else { *((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32)) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj49++ + if yyhl49 { + yyb49 = yyj49 > l } else { - yyb10 = r.CheckBreak() + yyb49 = r.CheckBreak() } - if yyb10 { + if yyb49 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -633,13 +633,13 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 } else { x.MaxReplicas = int32(r.DecodeInt(32)) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj49++ + if yyhl49 { + yyb49 = yyj49 > l } else { - yyb10 = r.CheckBreak() + yyb49 = r.CheckBreak() } - if yyb10 { + if yyb49 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -652,25 +652,25 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if x.TargetCPUUtilizationPercentage == nil { x.TargetCPUUtilizationPercentage = new(int32) } - yym16 := z.DecBinary() - _ = yym16 + yym55 := z.DecBinary() + _ = yym55 if false { } else { *((*int32)(x.TargetCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj49++ + if yyhl49 { + yyb49 = yyj49 > l } else { - yyb10 = r.CheckBreak() + yyb49 = r.CheckBreak() } - if yyb10 { + if yyb49 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj49-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -682,80 +682,80 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym56 := z.EncBinary() + _ = yym56 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.ObservedGeneration != nil - yyq2[1] = x.LastScaleTime != nil - yyq2[4] = x.CurrentCPUUtilizationPercentage != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep57 := !z.EncBinary() + yy2arr57 := z.EncBasicHandle().StructToArray + var yyq57 [5]bool + _, _, _ = yysep57, yyq57, yy2arr57 + const yyr57 bool = false + yyq57[0] = x.ObservedGeneration != nil + yyq57[1] = x.LastScaleTime != nil + yyq57[4] = x.CurrentCPUUtilizationPercentage != nil + var yynn57 int + if yyr57 || yy2arr57 { r.EncodeArrayStart(5) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn57 = 2 + for _, b := range yyq57 { if b { - yynn2++ + yynn57++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn57) + yynn57 = 0 } - if yyr2 || yy2arr2 { + if yyr57 || yy2arr57 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq57[0] { if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy4 := *x.ObservedGeneration - yym5 := z.EncBinary() - _ = yym5 + yy59 := *x.ObservedGeneration + yym60 := z.EncBinary() + _ = yym60 if false { } else { - r.EncodeInt(int64(yy4)) + r.EncodeInt(int64(yy59)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq57[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy6 := *x.ObservedGeneration - yym7 := z.EncBinary() - _ = yym7 + yy61 := *x.ObservedGeneration + yym62 := z.EncBinary() + _ = yym62 if false { } else { - r.EncodeInt(int64(yy6)) + r.EncodeInt(int64(yy61)) } } } } - if yyr2 || yy2arr2 { + if yyr57 || yy2arr57 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq57[1] { if x.LastScaleTime == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym64 := z.EncBinary() + _ = yym64 if false { } else if z.HasExtensions() && z.EncExt(x.LastScaleTime) { - } else if yym9 { + } else if yym64 { z.EncBinaryMarshal(x.LastScaleTime) - } else if !yym9 && z.IsJSONHandle() { + } else if !yym64 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScaleTime) } else { z.EncFallback(x.LastScaleTime) @@ -765,20 +765,20 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq57[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastScaleTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LastScaleTime == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym65 := z.EncBinary() + _ = yym65 if false { } else if z.HasExtensions() && z.EncExt(x.LastScaleTime) { - } else if yym10 { + } else if yym65 { z.EncBinaryMarshal(x.LastScaleTime) - } else if !yym10 && z.IsJSONHandle() { + } else if !yym65 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScaleTime) } else { z.EncFallback(x.LastScaleTime) @@ -786,10 +786,10 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr57 || yy2arr57 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym12 := z.EncBinary() - _ = yym12 + yym67 := z.EncBinary() + _ = yym67 if false { } else { r.EncodeInt(int64(x.CurrentReplicas)) @@ -798,17 +798,17 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 + yym68 := z.EncBinary() + _ = yym68 if false { } else { r.EncodeInt(int64(x.CurrentReplicas)) } } - if yyr2 || yy2arr2 { + if yyr57 || yy2arr57 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym15 := z.EncBinary() - _ = yym15 + yym70 := z.EncBinary() + _ = yym70 if false { } else { r.EncodeInt(int64(x.DesiredReplicas)) @@ -817,49 +817,49 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 + yym71 := z.EncBinary() + _ = yym71 if false { } else { r.EncodeInt(int64(x.DesiredReplicas)) } } - if yyr2 || yy2arr2 { + if yyr57 || yy2arr57 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq57[4] { if x.CurrentCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy18 := *x.CurrentCPUUtilizationPercentage - yym19 := z.EncBinary() - _ = yym19 + yy73 := *x.CurrentCPUUtilizationPercentage + yym74 := z.EncBinary() + _ = yym74 if false { } else { - r.EncodeInt(int64(yy18)) + r.EncodeInt(int64(yy73)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq57[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentCPUUtilizationPercentage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CurrentCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy20 := *x.CurrentCPUUtilizationPercentage - yym21 := z.EncBinary() - _ = yym21 + yy75 := *x.CurrentCPUUtilizationPercentage + yym76 := z.EncBinary() + _ = yym76 if false { } else { - r.EncodeInt(int64(yy20)) + r.EncodeInt(int64(yy75)) } } } } - if yyr2 || yy2arr2 { + if yyr57 || yy2arr57 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -872,25 +872,25 @@ func (x *HorizontalPodAutoscalerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym77 := z.DecBinary() + _ = yym77 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct78 := r.ContainerType() + if yyct78 == codecSelferValueTypeMap1234 { + yyl78 := r.ReadMapStart() + if yyl78 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl78, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct78 == codecSelferValueTypeArray1234 { + yyl78 := r.ReadArrayStart() + if yyl78 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl78, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -902,12 +902,12 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys79Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys79Slc + var yyhl79 bool = l >= 0 + for yyj79 := 0; ; yyj79++ { + if yyhl79 { + if yyj79 >= l { break } } else { @@ -916,10 +916,10 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys79Slc = r.DecodeBytes(yys79Slc, true, true) + yys79 := string(yys79Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys79 { case "observedGeneration": if r.TryDecodeAsNil() { if x.ObservedGeneration != nil { @@ -929,8 +929,8 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym5 := z.DecBinary() - _ = yym5 + yym81 := z.DecBinary() + _ = yym81 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) @@ -945,13 +945,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.LastScaleTime == nil { x.LastScaleTime = new(pkg1_unversioned.Time) } - yym7 := z.DecBinary() - _ = yym7 + yym83 := z.DecBinary() + _ = yym83 if false { } else if z.HasExtensions() && z.DecExt(x.LastScaleTime) { - } else if yym7 { + } else if yym83 { z.DecBinaryUnmarshal(x.LastScaleTime) - } else if !yym7 && z.IsJSONHandle() { + } else if !yym83 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScaleTime) } else { z.DecFallback(x.LastScaleTime, false) @@ -978,17 +978,17 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.CurrentCPUUtilizationPercentage == nil { x.CurrentCPUUtilizationPercentage = new(int32) } - yym11 := z.DecBinary() - _ = yym11 + yym87 := z.DecBinary() + _ = yym87 if false { } else { *((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys79) + } // end switch yys79 + } // end for yyj79 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -996,16 +996,16 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj88 int + var yyb88 bool + var yyhl88 bool = l >= 0 + yyj88++ + if yyhl88 { + yyb88 = yyj88 > l } else { - yyb12 = r.CheckBreak() + yyb88 = r.CheckBreak() } - if yyb12 { + if yyb88 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1018,20 +1018,20 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym14 := z.DecBinary() - _ = yym14 + yym90 := z.DecBinary() + _ = yym90 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj88++ + if yyhl88 { + yyb88 = yyj88 > l } else { - yyb12 = r.CheckBreak() + yyb88 = r.CheckBreak() } - if yyb12 { + if yyb88 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1044,25 +1044,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.LastScaleTime == nil { x.LastScaleTime = new(pkg1_unversioned.Time) } - yym16 := z.DecBinary() - _ = yym16 + yym92 := z.DecBinary() + _ = yym92 if false { } else if z.HasExtensions() && z.DecExt(x.LastScaleTime) { - } else if yym16 { + } else if yym92 { z.DecBinaryUnmarshal(x.LastScaleTime) - } else if !yym16 && z.IsJSONHandle() { + } else if !yym92 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScaleTime) } else { z.DecFallback(x.LastScaleTime, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj88++ + if yyhl88 { + yyb88 = yyj88 > l } else { - yyb12 = r.CheckBreak() + yyb88 = r.CheckBreak() } - if yyb12 { + if yyb88 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1072,13 +1072,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec } else { x.CurrentReplicas = int32(r.DecodeInt(32)) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj88++ + if yyhl88 { + yyb88 = yyj88 > l } else { - yyb12 = r.CheckBreak() + yyb88 = r.CheckBreak() } - if yyb12 { + if yyb88 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1088,13 +1088,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec } else { x.DesiredReplicas = int32(r.DecodeInt(32)) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj88++ + if yyhl88 { + yyb88 = yyj88 > l } else { - yyb12 = r.CheckBreak() + yyb88 = r.CheckBreak() } - if yyb12 { + if yyb88 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1107,25 +1107,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.CurrentCPUUtilizationPercentage == nil { x.CurrentCPUUtilizationPercentage = new(int32) } - yym20 := z.DecBinary() - _ = yym20 + yym96 := z.DecBinary() + _ = yym96 if false { } else { *((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj88++ + if yyhl88 { + yyb88 = yyj88 > l } else { - yyb12 = r.CheckBreak() + yyb88 = r.CheckBreak() } - if yyb12 { + if yyb88 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj88-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1137,90 +1137,39 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym97 := z.EncBinary() + _ = yym97 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep98 := !z.EncBinary() + yy2arr98 := z.EncBasicHandle().StructToArray + var yyq98 [5]bool + _, _, _ = yysep98, yyq98, yy2arr98 + const yyr98 bool = false + yyq98[0] = x.Kind != "" + yyq98[1] = x.APIVersion != "" + yyq98[2] = true + yyq98[3] = true + yyq98[4] = true + var yynn98 int + if yyr98 || yy2arr98 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn98 = 0 + for _, b := range yyq98 { if b { - yynn2++ + yynn98++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn98) + yynn98 = 0 } - if yyr2 || yy2arr2 { + if yyr98 || yy2arr98 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq98[0] { + yym100 := z.EncBinary() + _ = yym100 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1229,23 +1178,23 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq98[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym101 := z.EncBinary() + _ = yym101 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr98 || yy2arr98 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq98[1] { + yym103 := z.EncBinary() + _ = yym103 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1254,19 +1203,70 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq98[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym104 := z.EncBinary() + _ = yym104 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr98 || yy2arr98 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq98[2] { + yy106 := &x.ObjectMeta + yy106.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq98[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy107 := &x.ObjectMeta + yy107.CodecEncodeSelf(e) + } + } + if yyr98 || yy2arr98 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq98[3] { + yy109 := &x.Spec + yy109.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq98[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy110 := &x.Spec + yy110.CodecEncodeSelf(e) + } + } + if yyr98 || yy2arr98 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq98[4] { + yy112 := &x.Status + yy112.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq98[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy113 := &x.Status + yy113.CodecEncodeSelf(e) + } + } + if yyr98 || yy2arr98 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1279,25 +1279,25 @@ func (x *HorizontalPodAutoscaler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym114 := z.DecBinary() + _ = yym114 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct115 := r.ContainerType() + if yyct115 == codecSelferValueTypeMap1234 { + yyl115 := r.ReadMapStart() + if yyl115 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl115, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct115 == codecSelferValueTypeArray1234 { + yyl115 := r.ReadArrayStart() + if yyl115 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl115, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1309,12 +1309,12 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys116Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys116Slc + var yyhl116 bool = l >= 0 + for yyj116 := 0; ; yyj116++ { + if yyhl116 { + if yyj116 >= l { break } } else { @@ -1323,31 +1323,10 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys116Slc = r.DecodeBytes(yys116Slc, true, true) + yys116 := string(yys116Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = HorizontalPodAutoscalerSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = HorizontalPodAutoscalerStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys116 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1360,10 +1339,31 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv119 := &x.ObjectMeta + yyv119.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = HorizontalPodAutoscalerSpec{} + } else { + yyv120 := &x.Spec + yyv120.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = HorizontalPodAutoscalerStatus{} + } else { + yyv121 := &x.Status + yyv121.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys116) + } // end switch yys116 + } // end for yyj116 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1371,67 +1371,16 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj122 int + var yyb122 bool + var yyhl122 bool = l >= 0 + yyj122++ + if yyhl122 { + yyb122 = yyj122 > l } else { - yyb9 = r.CheckBreak() + yyb122 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = HorizontalPodAutoscalerSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = HorizontalPodAutoscalerStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb122 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1441,13 +1390,13 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj122++ + if yyhl122 { + yyb122 = yyj122 > l } else { - yyb9 = r.CheckBreak() + yyb122 = r.CheckBreak() } - if yyb9 { + if yyb122 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1457,18 +1406,69 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.APIVersion = string(r.DecodeString()) } + yyj122++ + if yyhl122 { + yyb122 = yyj122 > l + } else { + yyb122 = r.CheckBreak() + } + if yyb122 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv125 := &x.ObjectMeta + yyv125.CodecDecodeSelf(d) + } + yyj122++ + if yyhl122 { + yyb122 = yyj122 > l + } else { + yyb122 = r.CheckBreak() + } + if yyb122 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = HorizontalPodAutoscalerSpec{} + } else { + yyv126 := &x.Spec + yyv126.CodecDecodeSelf(d) + } + yyj122++ + if yyhl122 { + yyb122 = yyj122 > l + } else { + yyb122 = r.CheckBreak() + } + if yyb122 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = HorizontalPodAutoscalerStatus{} + } else { + yyv127 := &x.Status + yyv127.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj122++ + if yyhl122 { + yyb122 = yyj122 > l } else { - yyb9 = r.CheckBreak() + yyb122 = r.CheckBreak() } - if yyb9 { + if yyb122 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj122-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1480,68 +1480,118 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym128 := z.EncBinary() + _ = yym128 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep129 := !z.EncBinary() + yy2arr129 := z.EncBasicHandle().StructToArray + var yyq129 [4]bool + _, _, _ = yysep129, yyq129, yy2arr129 + const yyr129 bool = false + yyq129[0] = x.Kind != "" + yyq129[1] = x.APIVersion != "" + yyq129[2] = true + var yynn129 int + if yyr129 || yy2arr129 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn129 = 1 + for _, b := range yyq129 { if b { - yynn2++ + yynn129++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn129) + yynn129 = 0 } - if yyr2 || yy2arr2 { + if yyr129 || yy2arr129 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq129[0] { + yym131 := z.EncBinary() + _ = yym131 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq129[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym132 := z.EncBinary() + _ = yym132 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr129 || yy2arr129 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq129[1] { + yym134 := z.EncBinary() + _ = yym134 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq129[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym135 := z.EncBinary() + _ = yym135 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr129 || yy2arr129 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq129[2] { + yy137 := &x.ListMeta + yym138 := z.EncBinary() + _ = yym138 + if false { + } else if z.HasExtensions() && z.EncExt(yy137) { + } else { + z.EncFallback(yy137) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq129[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy139 := &x.ListMeta + yym140 := z.EncBinary() + _ = yym140 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy139) { } else { - z.EncFallback(yy6) + z.EncFallback(yy139) } } } - if yyr2 || yy2arr2 { + if yyr129 || yy2arr129 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym142 := z.EncBinary() + _ = yym142 if false { } else { h.encSliceHorizontalPodAutoscaler(([]HorizontalPodAutoscaler)(x.Items), e) @@ -1554,65 +1604,15 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym143 := z.EncBinary() + _ = yym143 if false { } else { h.encSliceHorizontalPodAutoscaler(([]HorizontalPodAutoscaler)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr129 || yy2arr129 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1625,25 +1625,25 @@ func (x *HorizontalPodAutoscalerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym144 := z.DecBinary() + _ = yym144 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct145 := r.ContainerType() + if yyct145 == codecSelferValueTypeMap1234 { + yyl145 := r.ReadMapStart() + if yyl145 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl145, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct145 == codecSelferValueTypeArray1234 { + yyl145 := r.ReadArrayStart() + if yyl145 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl145, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1655,12 +1655,12 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys146Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys146Slc + var yyhl146 bool = l >= 0 + for yyj146 := 0; ; yyj146++ { + if yyhl146 { + if yyj146 >= l { break } } else { @@ -1669,35 +1669,10 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys146Slc = r.DecodeBytes(yys146Slc, true, true) + yys146 := string(yys146Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv6), d) - } - } + switch yys146 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1710,10 +1685,35 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv149 := &x.ListMeta + yym150 := z.DecBinary() + _ = yym150 + if false { + } else if z.HasExtensions() && z.DecExt(yyv149) { + } else { + z.DecFallback(yyv149, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv151 := &x.Items + yym152 := z.DecBinary() + _ = yym152 + if false { + } else { + h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv151), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys146) + } // end switch yys146 + } // end for yyj146 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1721,61 +1721,16 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj153 int + var yyb153 bool + var yyhl153 bool = l >= 0 + yyj153++ + if yyhl153 { + yyb153 = yyj153 > l } else { - yyb10 = r.CheckBreak() + yyb153 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb153 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1785,13 +1740,13 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj153++ + if yyhl153 { + yyb153 = yyj153 > l } else { - yyb10 = r.CheckBreak() + yyb153 = r.CheckBreak() } - if yyb10 { + if yyb153 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1801,18 +1756,63 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj153++ + if yyhl153 { + yyb153 = yyj153 > l + } else { + yyb153 = r.CheckBreak() + } + if yyb153 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv156 := &x.ListMeta + yym157 := z.DecBinary() + _ = yym157 + if false { + } else if z.HasExtensions() && z.DecExt(yyv156) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv156, false) } - if yyb10 { + } + yyj153++ + if yyhl153 { + yyb153 = yyj153 > l + } else { + yyb153 = r.CheckBreak() + } + if yyb153 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv158 := &x.Items + yym159 := z.DecBinary() + _ = yym159 + if false { + } else { + h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv158), d) + } + } + for { + yyj153++ + if yyhl153 { + yyb153 = yyj153 > l + } else { + yyb153 = r.CheckBreak() + } + if yyb153 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj153-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1824,90 +1824,39 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym160 := z.EncBinary() + _ = yym160 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep161 := !z.EncBinary() + yy2arr161 := z.EncBasicHandle().StructToArray + var yyq161 [5]bool + _, _, _ = yysep161, yyq161, yy2arr161 + const yyr161 bool = false + yyq161[0] = x.Kind != "" + yyq161[1] = x.APIVersion != "" + yyq161[2] = true + yyq161[3] = true + yyq161[4] = true + var yynn161 int + if yyr161 || yy2arr161 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn161 = 0 + for _, b := range yyq161 { if b { - yynn2++ + yynn161++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn161) + yynn161 = 0 } - if yyr2 || yy2arr2 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq161[0] { + yym163 := z.EncBinary() + _ = yym163 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1916,23 +1865,23 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq161[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym164 := z.EncBinary() + _ = yym164 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq161[1] { + yym166 := z.EncBinary() + _ = yym166 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1941,19 +1890,70 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq161[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym167 := z.EncBinary() + _ = yym167 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr161 || yy2arr161 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq161[2] { + yy169 := &x.ObjectMeta + yy169.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq161[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy170 := &x.ObjectMeta + yy170.CodecEncodeSelf(e) + } + } + if yyr161 || yy2arr161 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq161[3] { + yy172 := &x.Spec + yy172.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq161[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy173 := &x.Spec + yy173.CodecEncodeSelf(e) + } + } + if yyr161 || yy2arr161 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq161[4] { + yy175 := &x.Status + yy175.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq161[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy176 := &x.Status + yy176.CodecEncodeSelf(e) + } + } + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1966,25 +1966,25 @@ func (x *Scale) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym177 := z.DecBinary() + _ = yym177 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct178 := r.ContainerType() + if yyct178 == codecSelferValueTypeMap1234 { + yyl178 := r.ReadMapStart() + if yyl178 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl178, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct178 == codecSelferValueTypeArray1234 { + yyl178 := r.ReadArrayStart() + if yyl178 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl178, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1996,12 +1996,12 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys179Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys179Slc + var yyhl179 bool = l >= 0 + for yyj179 := 0; ; yyj179++ { + if yyhl179 { + if yyj179 >= l { break } } else { @@ -2010,31 +2010,10 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys179Slc = r.DecodeBytes(yys179Slc, true, true) + yys179 := string(yys179Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ScaleSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ScaleStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys179 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -2047,10 +2026,31 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv182 := &x.ObjectMeta + yyv182.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ScaleSpec{} + } else { + yyv183 := &x.Spec + yyv183.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ScaleStatus{} + } else { + yyv184 := &x.Status + yyv184.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys179) + } // end switch yys179 + } // end for yyj179 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2058,67 +2058,16 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj185 int + var yyb185 bool + var yyhl185 bool = l >= 0 + yyj185++ + if yyhl185 { + yyb185 = yyj185 > l } else { - yyb9 = r.CheckBreak() + yyb185 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ScaleSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ScaleStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb185 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2128,13 +2077,13 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj185++ + if yyhl185 { + yyb185 = yyj185 > l } else { - yyb9 = r.CheckBreak() + yyb185 = r.CheckBreak() } - if yyb9 { + if yyb185 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2144,18 +2093,69 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj185++ + if yyhl185 { + yyb185 = yyj185 > l + } else { + yyb185 = r.CheckBreak() + } + if yyb185 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv188 := &x.ObjectMeta + yyv188.CodecDecodeSelf(d) + } + yyj185++ + if yyhl185 { + yyb185 = yyj185 > l + } else { + yyb185 = r.CheckBreak() + } + if yyb185 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ScaleSpec{} + } else { + yyv189 := &x.Spec + yyv189.CodecDecodeSelf(d) + } + yyj185++ + if yyhl185 { + yyb185 = yyj185 > l + } else { + yyb185 = r.CheckBreak() + } + if yyb185 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ScaleStatus{} + } else { + yyv190 := &x.Status + yyv190.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj185++ + if yyhl185 { + yyb185 = yyj185 > l } else { - yyb9 = r.CheckBreak() + yyb185 = r.CheckBreak() } - if yyb9 { + if yyb185 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj185-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2167,35 +2167,35 @@ func (x *ScaleSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym191 := z.EncBinary() + _ = yym191 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Replicas != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep192 := !z.EncBinary() + yy2arr192 := z.EncBasicHandle().StructToArray + var yyq192 [1]bool + _, _, _ = yysep192, yyq192, yy2arr192 + const yyr192 bool = false + yyq192[0] = x.Replicas != 0 + var yynn192 int + if yyr192 || yy2arr192 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn192 = 0 + for _, b := range yyq192 { if b { - yynn2++ + yynn192++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn192) + yynn192 = 0 } - if yyr2 || yy2arr2 { + if yyr192 || yy2arr192 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq192[0] { + yym194 := z.EncBinary() + _ = yym194 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -2204,19 +2204,19 @@ func (x *ScaleSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[0] { + if yyq192[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym195 := z.EncBinary() + _ = yym195 if false { } else { r.EncodeInt(int64(x.Replicas)) } } } - if yyr2 || yy2arr2 { + if yyr192 || yy2arr192 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2229,25 +2229,25 @@ func (x *ScaleSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym196 := z.DecBinary() + _ = yym196 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct197 := r.ContainerType() + if yyct197 == codecSelferValueTypeMap1234 { + yyl197 := r.ReadMapStart() + if yyl197 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl197, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct197 == codecSelferValueTypeArray1234 { + yyl197 := r.ReadArrayStart() + if yyl197 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl197, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2259,12 +2259,12 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys198Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys198Slc + var yyhl198 bool = l >= 0 + for yyj198 := 0; ; yyj198++ { + if yyhl198 { + if yyj198 >= l { break } } else { @@ -2273,10 +2273,10 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys198Slc = r.DecodeBytes(yys198Slc, true, true) + yys198 := string(yys198Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys198 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -2284,9 +2284,9 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Replicas = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys198) + } // end switch yys198 + } // end for yyj198 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2294,16 +2294,16 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj200 int + var yyb200 bool + var yyhl200 bool = l >= 0 + yyj200++ + if yyhl200 { + yyb200 = yyj200 > l } else { - yyb5 = r.CheckBreak() + yyb200 = r.CheckBreak() } - if yyb5 { + if yyb200 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2314,17 +2314,17 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Replicas = int32(r.DecodeInt(32)) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj200++ + if yyhl200 { + yyb200 = yyj200 > l } else { - yyb5 = r.CheckBreak() + yyb200 = r.CheckBreak() } - if yyb5 { + if yyb200 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj200-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2336,34 +2336,34 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym202 := z.EncBinary() + _ = yym202 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Selector != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep203 := !z.EncBinary() + yy2arr203 := z.EncBasicHandle().StructToArray + var yyq203 [2]bool + _, _, _ = yysep203, yyq203, yy2arr203 + const yyr203 bool = false + yyq203[1] = x.Selector != "" + var yynn203 int + if yyr203 || yy2arr203 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn203 = 1 + for _, b := range yyq203 { if b { - yynn2++ + yynn203++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn203) + yynn203 = 0 } - if yyr2 || yy2arr2 { + if yyr203 || yy2arr203 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym205 := z.EncBinary() + _ = yym205 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -2372,18 +2372,18 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym206 := z.EncBinary() + _ = yym206 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2 || yy2arr2 { + if yyr203 || yy2arr203 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq203[1] { + yym208 := z.EncBinary() + _ = yym208 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Selector)) @@ -2392,19 +2392,19 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq203[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym209 := z.EncBinary() + _ = yym209 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Selector)) } } } - if yyr2 || yy2arr2 { + if yyr203 || yy2arr203 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2417,25 +2417,25 @@ func (x *ScaleStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym210 := z.DecBinary() + _ = yym210 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct211 := r.ContainerType() + if yyct211 == codecSelferValueTypeMap1234 { + yyl211 := r.ReadMapStart() + if yyl211 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl211, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct211 == codecSelferValueTypeArray1234 { + yyl211 := r.ReadArrayStart() + if yyl211 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl211, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2447,12 +2447,12 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys212Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys212Slc + var yyhl212 bool = l >= 0 + for yyj212 := 0; ; yyj212++ { + if yyhl212 { + if yyj212 >= l { break } } else { @@ -2461,10 +2461,10 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys212Slc = r.DecodeBytes(yys212Slc, true, true) + yys212 := string(yys212Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys212 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -2478,9 +2478,9 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Selector = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys212) + } // end switch yys212 + } // end for yyj212 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2488,16 +2488,16 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj215 int + var yyb215 bool + var yyhl215 bool = l >= 0 + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb6 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb6 { + if yyb215 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2507,13 +2507,13 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb6 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb6 { + if yyb215 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2524,17 +2524,17 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Selector = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb6 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb6 { + if yyb215 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj215-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2544,10 +2544,10 @@ func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutosc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv218 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy219 := &yyv218 + yy219.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2557,86 +2557,83 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []HorizontalPodAutoscaler{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv220 := *v + yyh220, yyl220 := z.DecSliceHelperStart() + var yyc220 bool + if yyl220 == 0 { + if yyv220 == nil { + yyv220 = []HorizontalPodAutoscaler{} + yyc220 = true + } else if len(yyv220) != 0 { + yyv220 = yyv220[:0] + yyc220 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl220 > 0 { + var yyrr220, yyrl220 int + var yyrt220 bool + if yyl220 > cap(yyv220) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 344) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg220 := len(yyv220) > 0 + yyv2220 := yyv220 + yyrl220, yyrt220 = z.DecInferLen(yyl220, z.DecBasicHandle().MaxInitLen, 344) + if yyrt220 { + if yyrl220 <= cap(yyv220) { + yyv220 = yyv220[:yyrl220] } else { - yyv1 = make([]HorizontalPodAutoscaler, yyrl1) + yyv220 = make([]HorizontalPodAutoscaler, yyrl220) } } else { - yyv1 = make([]HorizontalPodAutoscaler, yyrl1) + yyv220 = make([]HorizontalPodAutoscaler, yyrl220) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc220 = true + yyrr220 = len(yyv220) + if yyrg220 { + copy(yyv220, yyv2220) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl220 != len(yyv220) { + yyv220 = yyv220[:yyl220] + yyc220 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj220 := 0 + for ; yyj220 < yyrr220; yyj220++ { + yyh220.ElemContainerState(yyj220) if r.TryDecodeAsNil() { - yyv1[yyj1] = HorizontalPodAutoscaler{} + yyv220[yyj220] = HorizontalPodAutoscaler{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv221 := &yyv220[yyj220] + yyv221.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, HorizontalPodAutoscaler{}) - yyh1.ElemContainerState(yyj1) + if yyrt220 { + for ; yyj220 < yyl220; yyj220++ { + yyv220 = append(yyv220, HorizontalPodAutoscaler{}) + yyh220.ElemContainerState(yyj220) if r.TryDecodeAsNil() { - yyv1[yyj1] = HorizontalPodAutoscaler{} + yyv220[yyj220] = HorizontalPodAutoscaler{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv222 := &yyv220[yyj220] + yyv222.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj220 := 0 + for ; !r.CheckBreak(); yyj220++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, HorizontalPodAutoscaler{}) // var yyz1 HorizontalPodAutoscaler - yyc1 = true + if yyj220 >= len(yyv220) { + yyv220 = append(yyv220, HorizontalPodAutoscaler{}) // var yyz220 HorizontalPodAutoscaler + yyc220 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh220.ElemContainerState(yyj220) + if yyj220 < len(yyv220) { if r.TryDecodeAsNil() { - yyv1[yyj1] = HorizontalPodAutoscaler{} + yyv220[yyj220] = HorizontalPodAutoscaler{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv223 := &yyv220[yyj220] + yyv223.CodecDecodeSelf(d) } } else { @@ -2644,16 +2641,16 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []HorizontalPodAutoscaler{} - yyc1 = true + if yyj220 < len(yyv220) { + yyv220 = yyv220[:yyj220] + yyc220 = true + } else if yyj220 == 0 && yyv220 == nil { + yyv220 = []HorizontalPodAutoscaler{} + yyc220 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh220.End() + if yyc220 { + *v = yyv220 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/zz_generated.conversion.go index ce957e5fd11..cfa4c1b33ad 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/zz_generated.conversion.go @@ -24,10 +24,17 @@ import ( api "k8s.io/client-go/1.4/pkg/api" autoscaling "k8s.io/client-go/1.4/pkg/apis/autoscaling" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1_CrossVersionObjectReference_To_autoscaling_CrossVersionObjectReference, Convert_autoscaling_CrossVersionObjectReference_To_v1_CrossVersionObjectReference, Convert_v1_HorizontalPodAutoscaler_To_autoscaling_HorizontalPodAutoscaler, @@ -44,10 +51,7 @@ func init() { Convert_autoscaling_ScaleSpec_To_v1_ScaleSpec, Convert_v1_ScaleStatus_To_autoscaling_ScaleStatus, Convert_autoscaling_ScaleStatus_To_v1_ScaleStatus, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1_CrossVersionObjectReference_To_autoscaling_CrossVersionObjectReference(in *CrossVersionObjectReference, out *autoscaling.CrossVersionObjectReference, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go index 7c7de2b3d23..d5c526c93d7 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go @@ -21,27 +21,30 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.4/pkg/api" unversioned "k8s.io/client-go/1.4/pkg/api/unversioned" api_v1 "k8s.io/client-go/1.4/pkg/api/v1" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_CrossVersionObjectReference, InType: reflect.TypeOf(func() *CrossVersionObjectReference { var x *CrossVersionObjectReference; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HorizontalPodAutoscaler, InType: reflect.TypeOf(func() *HorizontalPodAutoscaler { var x *HorizontalPodAutoscaler; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HorizontalPodAutoscalerList, InType: reflect.TypeOf(func() *HorizontalPodAutoscalerList { var x *HorizontalPodAutoscalerList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HorizontalPodAutoscalerSpec, InType: reflect.TypeOf(func() *HorizontalPodAutoscalerSpec { var x *HorizontalPodAutoscalerSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HorizontalPodAutoscalerStatus, InType: reflect.TypeOf(func() *HorizontalPodAutoscalerStatus { var x *HorizontalPodAutoscalerStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Scale, InType: reflect.TypeOf(func() *Scale { var x *Scale; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ScaleSpec, InType: reflect.TypeOf(func() *ScaleSpec { var x *ScaleSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ScaleStatus, InType: reflect.TypeOf(func() *ScaleStatus { var x *ScaleStatus; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_CrossVersionObjectReference, InType: reflect.TypeOf(&CrossVersionObjectReference{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HorizontalPodAutoscaler, InType: reflect.TypeOf(&HorizontalPodAutoscaler{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HorizontalPodAutoscalerList, InType: reflect.TypeOf(&HorizontalPodAutoscalerList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HorizontalPodAutoscalerSpec, InType: reflect.TypeOf(&HorizontalPodAutoscalerSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_HorizontalPodAutoscalerStatus, InType: reflect.TypeOf(&HorizontalPodAutoscalerStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Scale, InType: reflect.TypeOf(&Scale{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ScaleSpec, InType: reflect.TypeOf(&ScaleSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ScaleStatus, InType: reflect.TypeOf(&ScaleStatus{})}, + ) } func DeepCopy_v1_CrossVersionObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/zz_generated.deepcopy.go index 06df96432b2..014ec1eb66a 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/autoscaling/zz_generated.deepcopy.go @@ -24,23 +24,27 @@ import ( api "k8s.io/client-go/1.4/pkg/api" unversioned "k8s.io/client-go/1.4/pkg/api/unversioned" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_CrossVersionObjectReference, InType: reflect.TypeOf(func() *CrossVersionObjectReference { var x *CrossVersionObjectReference; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_HorizontalPodAutoscaler, InType: reflect.TypeOf(func() *HorizontalPodAutoscaler { var x *HorizontalPodAutoscaler; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_HorizontalPodAutoscalerList, InType: reflect.TypeOf(func() *HorizontalPodAutoscalerList { var x *HorizontalPodAutoscalerList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_HorizontalPodAutoscalerSpec, InType: reflect.TypeOf(func() *HorizontalPodAutoscalerSpec { var x *HorizontalPodAutoscalerSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_HorizontalPodAutoscalerStatus, InType: reflect.TypeOf(func() *HorizontalPodAutoscalerStatus { var x *HorizontalPodAutoscalerStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_Scale, InType: reflect.TypeOf(func() *Scale { var x *Scale; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_ScaleSpec, InType: reflect.TypeOf(func() *ScaleSpec { var x *ScaleSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_ScaleStatus, InType: reflect.TypeOf(func() *ScaleStatus { var x *ScaleStatus; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_CrossVersionObjectReference, InType: reflect.TypeOf(&CrossVersionObjectReference{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_HorizontalPodAutoscaler, InType: reflect.TypeOf(&HorizontalPodAutoscaler{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_HorizontalPodAutoscalerList, InType: reflect.TypeOf(&HorizontalPodAutoscalerList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_HorizontalPodAutoscalerSpec, InType: reflect.TypeOf(&HorizontalPodAutoscalerSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_HorizontalPodAutoscalerStatus, InType: reflect.TypeOf(&HorizontalPodAutoscalerStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_Scale, InType: reflect.TypeOf(&Scale{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_ScaleSpec, InType: reflect.TypeOf(&ScaleSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_autoscaling_ScaleStatus, InType: reflect.TypeOf(&ScaleStatus{})}, + ) } func DeepCopy_autoscaling_CrossVersionObjectReference(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/install/install.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/install/install.go index 3344fe9acf8..48d4a1ae693 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/install/install.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/install/install.go @@ -120,7 +120,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - batch.AddToScheme(api.Scheme) + if err := batch.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -129,9 +132,15 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1.SchemeGroupVersion: - v1.AddToScheme(api.Scheme) + if err := v1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } case v2alpha1.SchemeGroupVersion: - v2alpha1.AddToScheme(api.Scheme) + if err := v2alpha1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/register.go index 71f5ea57b78..8b84cdde1df 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/register.go @@ -38,13 +38,13 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Job{}, &JobList{}, @@ -53,4 +53,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &ScheduledJobList{}, &api.ListOptions{}, ) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/types.generated.go index 05f87d31b49..2de7c00c06f 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/types.generated.go @@ -92,11 +92,11 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2 [5]bool _, _, _ = yysep2, yyq2, yy2arr2 const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" + yyq2[3] = true + yyq2[4] = true var yynn2 int if yyr2 || yy2arr2 { r.EncodeArrayStart(5) @@ -113,102 +113,102 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, "") } } else { if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, "") } } else { if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy11 := &x.ObjectMeta yy11.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) + if yyq2[3] { + yy13 := &x.Spec + yy13.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq2[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy14 := &x.Spec + yy14.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[4] { + yy16 := &x.Status + yy16.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } + yy17 := &x.Status + yy17.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { @@ -224,25 +224,25 @@ func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym18 := z.DecBinary() + _ = yym18 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct19 := r.ContainerType() + if yyct19 == codecSelferValueTypeMap1234 { + yyl19 := r.ReadMapStart() + if yyl19 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl19, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct19 == codecSelferValueTypeArray1234 { + yyl19 := r.ReadArrayStart() + if yyl19 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl19, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -254,12 +254,12 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys20Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys20Slc + var yyhl20 bool = l >= 0 + for yyj20 := 0; ; yyj20++ { + if yyhl20 { + if yyj20 >= l { break } } else { @@ -268,31 +268,10 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys20Slc = r.DecodeBytes(yys20Slc, true, true) + yys20 := string(yys20Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = JobSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = JobStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys20 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -305,10 +284,31 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv23 := &x.ObjectMeta + yyv23.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = JobSpec{} + } else { + yyv24 := &x.Spec + yyv24.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = JobStatus{} + } else { + yyv25 := &x.Status + yyv25.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys20) + } // end switch yys20 + } // end for yyj20 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -316,67 +316,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj26 int + var yyb26 bool + var yyhl26 bool = l >= 0 + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = JobSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = JobStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -386,13 +335,13 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -402,18 +351,69 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv29 := &x.ObjectMeta + yyv29.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = JobSpec{} + } else { + yyv30 := &x.Spec + yyv30.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = JobStatus{} + } else { + yyv31 := &x.Status + yyv31.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { + if yyb26 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj26-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -425,68 +425,118 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym32 := z.EncBinary() + _ = yym32 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep33 := !z.EncBinary() + yy2arr33 := z.EncBasicHandle().StructToArray + var yyq33 [4]bool + _, _, _ = yysep33, yyq33, yy2arr33 + const yyr33 bool = false + yyq33[0] = x.Kind != "" + yyq33[1] = x.APIVersion != "" + yyq33[2] = true + var yynn33 int + if yyr33 || yy2arr33 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn33 = 1 + for _, b := range yyq33 { if b { - yynn2++ + yynn33++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn33) + yynn33 = 0 } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq33[0] { + yym35 := z.EncBinary() + _ = yym35 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq33[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym36 := z.EncBinary() + _ = yym36 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr33 || yy2arr33 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq33[1] { + yym38 := z.EncBinary() + _ = yym38 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq33[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym39 := z.EncBinary() + _ = yym39 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr33 || yy2arr33 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq33[2] { + yy41 := &x.ListMeta + yym42 := z.EncBinary() + _ = yym42 + if false { + } else if z.HasExtensions() && z.EncExt(yy41) { + } else { + z.EncFallback(yy41) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq33[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy43 := &x.ListMeta + yym44 := z.EncBinary() + _ = yym44 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy43) { } else { - z.EncFallback(yy6) + z.EncFallback(yy43) } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym46 := z.EncBinary() + _ = yym46 if false { } else { h.encSliceJob(([]Job)(x.Items), e) @@ -499,65 +549,15 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym47 := z.EncBinary() + _ = yym47 if false { } else { h.encSliceJob(([]Job)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -570,25 +570,25 @@ func (x *JobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym48 := z.DecBinary() + _ = yym48 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct49 := r.ContainerType() + if yyct49 == codecSelferValueTypeMap1234 { + yyl49 := r.ReadMapStart() + if yyl49 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl49, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct49 == codecSelferValueTypeArray1234 { + yyl49 := r.ReadArrayStart() + if yyl49 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl49, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -600,12 +600,12 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys50Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys50Slc + var yyhl50 bool = l >= 0 + for yyj50 := 0; ; yyj50++ { + if yyhl50 { + if yyj50 >= l { break } } else { @@ -614,35 +614,10 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys50Slc = r.DecodeBytes(yys50Slc, true, true) + yys50 := string(yys50Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceJob((*[]Job)(yyv6), d) - } - } + switch yys50 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -655,10 +630,35 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv53 := &x.ListMeta + yym54 := z.DecBinary() + _ = yym54 + if false { + } else if z.HasExtensions() && z.DecExt(yyv53) { + } else { + z.DecFallback(yyv53, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv55 := &x.Items + yym56 := z.DecBinary() + _ = yym56 + if false { + } else { + h.decSliceJob((*[]Job)(yyv55), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys50) + } // end switch yys50 + } // end for yyj50 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -666,61 +666,16 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj57 int + var yyb57 bool + var yyhl57 bool = l >= 0 + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l } else { - yyb10 = r.CheckBreak() + yyb57 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceJob((*[]Job)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb57 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -730,13 +685,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l } else { - yyb10 = r.CheckBreak() + yyb57 = r.CheckBreak() } - if yyb10 { + if yyb57 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -746,18 +701,63 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l + } else { + yyb57 = r.CheckBreak() + } + if yyb57 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv60 := &x.ListMeta + yym61 := z.DecBinary() + _ = yym61 + if false { + } else if z.HasExtensions() && z.DecExt(yyv60) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv60, false) } - if yyb10 { + } + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l + } else { + yyb57 = r.CheckBreak() + } + if yyb57 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv62 := &x.Items + yym63 := z.DecBinary() + _ = yym63 + if false { + } else { + h.decSliceJob((*[]Job)(yyv62), d) + } + } + for { + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l + } else { + yyb57 = r.CheckBreak() + } + if yyb57 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj57-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -769,72 +769,38 @@ func (x *JobTemplate) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym64 := z.EncBinary() + _ = yym64 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep65 := !z.EncBinary() + yy2arr65 := z.EncBasicHandle().StructToArray + var yyq65 [4]bool + _, _, _ = yysep65, yyq65, yy2arr65 + const yyr65 bool = false + yyq65[0] = x.Kind != "" + yyq65[1] = x.APIVersion != "" + yyq65[2] = true + yyq65[3] = true + var yynn65 int + if yyr65 || yy2arr65 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn65 = 0 + for _, b := range yyq65 { if b { - yynn2++ + yynn65++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn65) + yynn65 = 0 } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Template - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("template")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Template - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq65[0] { + yym67 := z.EncBinary() + _ = yym67 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -843,23 +809,23 @@ func (x *JobTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq65[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym68 := z.EncBinary() + _ = yym68 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq65[1] { + yym70 := z.EncBinary() + _ = yym70 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -868,19 +834,53 @@ func (x *JobTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq65[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym71 := z.EncBinary() + _ = yym71 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq65[2] { + yy73 := &x.ObjectMeta + yy73.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq65[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy74 := &x.ObjectMeta + yy74.CodecEncodeSelf(e) + } + } + if yyr65 || yy2arr65 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq65[3] { + yy76 := &x.Template + yy76.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq65[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("template")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy77 := &x.Template + yy77.CodecEncodeSelf(e) + } + } + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -893,25 +893,25 @@ func (x *JobTemplate) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym78 := z.DecBinary() + _ = yym78 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct79 := r.ContainerType() + if yyct79 == codecSelferValueTypeMap1234 { + yyl79 := r.ReadMapStart() + if yyl79 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl79, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct79 == codecSelferValueTypeArray1234 { + yyl79 := r.ReadArrayStart() + if yyl79 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl79, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -923,12 +923,12 @@ func (x *JobTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys80Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys80Slc + var yyhl80 bool = l >= 0 + for yyj80 := 0; ; yyj80++ { + if yyhl80 { + if yyj80 >= l { break } } else { @@ -937,24 +937,10 @@ func (x *JobTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys80Slc = r.DecodeBytes(yys80Slc, true, true) + yys80 := string(yys80Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "template": - if r.TryDecodeAsNil() { - x.Template = JobTemplateSpec{} - } else { - yyv5 := &x.Template - yyv5.CodecDecodeSelf(d) - } + switch yys80 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -967,10 +953,24 @@ func (x *JobTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv83 := &x.ObjectMeta + yyv83.CodecDecodeSelf(d) + } + case "template": + if r.TryDecodeAsNil() { + x.Template = JobTemplateSpec{} + } else { + yyv84 := &x.Template + yyv84.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys80) + } // end switch yys80 + } // end for yyj80 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -978,50 +978,16 @@ func (x *JobTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj85 int + var yyb85 bool + var yyhl85 bool = l >= 0 + yyj85++ + if yyhl85 { + yyb85 = yyj85 > l } else { - yyb8 = r.CheckBreak() + yyb85 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv9 := &x.ObjectMeta - yyv9.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Template = JobTemplateSpec{} - } else { - yyv10 := &x.Template - yyv10.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb85 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1031,13 +997,13 @@ func (x *JobTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj85++ + if yyhl85 { + yyb85 = yyj85 > l } else { - yyb8 = r.CheckBreak() + yyb85 = r.CheckBreak() } - if yyb8 { + if yyb85 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1047,18 +1013,52 @@ func (x *JobTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj85++ + if yyhl85 { + yyb85 = yyj85 > l + } else { + yyb85 = r.CheckBreak() + } + if yyb85 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv88 := &x.ObjectMeta + yyv88.CodecDecodeSelf(d) + } + yyj85++ + if yyhl85 { + yyb85 = yyj85 > l + } else { + yyb85 = r.CheckBreak() + } + if yyb85 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Template = JobTemplateSpec{} + } else { + yyv89 := &x.Template + yyv89.CodecDecodeSelf(d) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj85++ + if yyhl85 { + yyb85 = yyj85 > l } else { - yyb8 = r.CheckBreak() + yyb85 = r.CheckBreak() } - if yyb8 { + if yyb85 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj85-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1070,66 +1070,66 @@ func (x *JobTemplateSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym90 := z.EncBinary() + _ = yym90 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep91 := !z.EncBinary() + yy2arr91 := z.EncBasicHandle().StructToArray + var yyq91 [2]bool + _, _, _ = yysep91, yyq91, yy2arr91 + const yyr91 bool = false + yyq91[0] = true + yyq91[1] = true + var yynn91 int + if yyr91 || yy2arr91 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn91 = 0 + for _, b := range yyq91 { if b { - yynn2++ + yynn91++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn91) + yynn91 = 0 } - if yyr2 || yy2arr2 { + if yyr91 || yy2arr91 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq91[0] { + yy93 := &x.ObjectMeta + yy93.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq91[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy94 := &x.ObjectMeta + yy94.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr91 || yy2arr91 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) + if yyq91[1] { + yy96 := &x.Spec + yy96.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq91[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) + yy97 := &x.Spec + yy97.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr91 || yy2arr91 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1142,25 +1142,25 @@ func (x *JobTemplateSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym98 := z.DecBinary() + _ = yym98 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct99 := r.ContainerType() + if yyct99 == codecSelferValueTypeMap1234 { + yyl99 := r.ReadMapStart() + if yyl99 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl99, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct99 == codecSelferValueTypeArray1234 { + yyl99 := r.ReadArrayStart() + if yyl99 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl99, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1172,12 +1172,12 @@ func (x *JobTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys100Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys100Slc + var yyhl100 bool = l >= 0 + for yyj100 := 0; ; yyj100++ { + if yyhl100 { + if yyj100 >= l { break } } else { @@ -1186,28 +1186,28 @@ func (x *JobTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys100Slc = r.DecodeBytes(yys100Slc, true, true) + yys100 := string(yys100Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys100 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) + yyv101 := &x.ObjectMeta + yyv101.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) + yyv102 := &x.Spec + yyv102.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys100) + } // end switch yys100 + } // end for yyj100 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1215,16 +1215,16 @@ func (x *JobTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj103 int + var yyb103 bool + var yyhl103 bool = l >= 0 + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb6 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb6 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1232,16 +1232,16 @@ func (x *JobTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv7 := &x.ObjectMeta - yyv7.CodecDecodeSelf(d) + yyv104 := &x.ObjectMeta + yyv104.CodecDecodeSelf(d) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb6 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb6 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1249,21 +1249,21 @@ func (x *JobTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv8 := &x.Spec - yyv8.CodecDecodeSelf(d) + yyv105 := &x.Spec + yyv105.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb6 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb6 { + if yyb103 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj103-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1275,147 +1275,147 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym106 := z.EncBinary() + _ = yym106 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Parallelism != nil - yyq2[1] = x.Completions != nil - yyq2[2] = x.ActiveDeadlineSeconds != nil - yyq2[3] = x.Selector != nil - yyq2[4] = x.ManualSelector != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep107 := !z.EncBinary() + yy2arr107 := z.EncBasicHandle().StructToArray + var yyq107 [6]bool + _, _, _ = yysep107, yyq107, yy2arr107 + const yyr107 bool = false + yyq107[0] = x.Parallelism != nil + yyq107[1] = x.Completions != nil + yyq107[2] = x.ActiveDeadlineSeconds != nil + yyq107[3] = x.Selector != nil + yyq107[4] = x.ManualSelector != nil + var yynn107 int + if yyr107 || yy2arr107 { r.EncodeArrayStart(6) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn107 = 1 + for _, b := range yyq107 { if b { - yynn2++ + yynn107++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn107) + yynn107 = 0 } - if yyr2 || yy2arr2 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq107[0] { if x.Parallelism == nil { r.EncodeNil() } else { - yy4 := *x.Parallelism - yym5 := z.EncBinary() - _ = yym5 + yy109 := *x.Parallelism + yym110 := z.EncBinary() + _ = yym110 if false { } else { - r.EncodeInt(int64(yy4)) + r.EncodeInt(int64(yy109)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq107[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("parallelism")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Parallelism == nil { r.EncodeNil() } else { - yy6 := *x.Parallelism - yym7 := z.EncBinary() - _ = yym7 + yy111 := *x.Parallelism + yym112 := z.EncBinary() + _ = yym112 if false { } else { - r.EncodeInt(int64(yy6)) + r.EncodeInt(int64(yy111)) } } } } - if yyr2 || yy2arr2 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq107[1] { if x.Completions == nil { r.EncodeNil() } else { - yy9 := *x.Completions - yym10 := z.EncBinary() - _ = yym10 + yy114 := *x.Completions + yym115 := z.EncBinary() + _ = yym115 if false { } else { - r.EncodeInt(int64(yy9)) + r.EncodeInt(int64(yy114)) } } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq107[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Completions == nil { r.EncodeNil() } else { - yy11 := *x.Completions - yym12 := z.EncBinary() - _ = yym12 + yy116 := *x.Completions + yym117 := z.EncBinary() + _ = yym117 if false { } else { - r.EncodeInt(int64(yy11)) + r.EncodeInt(int64(yy116)) } } } } - if yyr2 || yy2arr2 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq107[2] { if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy14 := *x.ActiveDeadlineSeconds - yym15 := z.EncBinary() - _ = yym15 + yy119 := *x.ActiveDeadlineSeconds + yym120 := z.EncBinary() + _ = yym120 if false { } else { - r.EncodeInt(int64(yy14)) + r.EncodeInt(int64(yy119)) } } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq107[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy16 := *x.ActiveDeadlineSeconds - yym17 := z.EncBinary() - _ = yym17 + yy121 := *x.ActiveDeadlineSeconds + yym122 := z.EncBinary() + _ = yym122 if false { } else { - r.EncodeInt(int64(yy16)) + r.EncodeInt(int64(yy121)) } } } } - if yyr2 || yy2arr2 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq107[3] { if x.Selector == nil { r.EncodeNil() } else { - yym19 := z.EncBinary() - _ = yym19 + yym124 := z.EncBinary() + _ = yym124 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -1426,15 +1426,15 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq107[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym20 := z.EncBinary() - _ = yym20 + yym125 := z.EncBinary() + _ = yym125 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -1443,53 +1443,53 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq107[4] { if x.ManualSelector == nil { r.EncodeNil() } else { - yy22 := *x.ManualSelector - yym23 := z.EncBinary() - _ = yym23 + yy127 := *x.ManualSelector + yym128 := z.EncBinary() + _ = yym128 if false { } else { - r.EncodeBool(bool(yy22)) + r.EncodeBool(bool(yy127)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq107[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("manualSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ManualSelector == nil { r.EncodeNil() } else { - yy24 := *x.ManualSelector - yym25 := z.EncBinary() - _ = yym25 + yy129 := *x.ManualSelector + yym130 := z.EncBinary() + _ = yym130 if false { } else { - r.EncodeBool(bool(yy24)) + r.EncodeBool(bool(yy129)) } } } } - if yyr2 || yy2arr2 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy27 := &x.Template - yy27.CodecEncodeSelf(e) + yy132 := &x.Template + yy132.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy29 := &x.Template - yy29.CodecEncodeSelf(e) + yy133 := &x.Template + yy133.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1502,25 +1502,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym134 := z.DecBinary() + _ = yym134 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct135 := r.ContainerType() + if yyct135 == codecSelferValueTypeMap1234 { + yyl135 := r.ReadMapStart() + if yyl135 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl135, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct135 == codecSelferValueTypeArray1234 { + yyl135 := r.ReadArrayStart() + if yyl135 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl135, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1532,12 +1532,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys136Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys136Slc + var yyhl136 bool = l >= 0 + for yyj136 := 0; ; yyj136++ { + if yyhl136 { + if yyj136 >= l { break } } else { @@ -1546,10 +1546,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys136Slc = r.DecodeBytes(yys136Slc, true, true) + yys136 := string(yys136Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys136 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -1559,8 +1559,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym5 := z.DecBinary() - _ = yym5 + yym138 := z.DecBinary() + _ = yym138 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -1575,8 +1575,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym7 := z.DecBinary() - _ = yym7 + yym140 := z.DecBinary() + _ = yym140 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -1591,8 +1591,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym9 := z.DecBinary() - _ = yym9 + yym142 := z.DecBinary() + _ = yym142 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -1607,8 +1607,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym11 := z.DecBinary() - _ = yym11 + yym144 := z.DecBinary() + _ = yym144 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -1624,8 +1624,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym13 := z.DecBinary() - _ = yym13 + yym146 := z.DecBinary() + _ = yym146 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() @@ -1635,13 +1635,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv14 := &x.Template - yyv14.CodecDecodeSelf(d) + yyv147 := &x.Template + yyv147.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys136) + } // end switch yys136 + } // end for yyj136 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1649,16 +1649,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj15 int - var yyb15 bool - var yyhl15 bool = l >= 0 - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + var yyj148 int + var yyb148 bool + var yyhl148 bool = l >= 0 + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb15 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb15 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1671,20 +1671,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym17 := z.DecBinary() - _ = yym17 + yym150 := z.DecBinary() + _ = yym150 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb15 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb15 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1697,20 +1697,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym19 := z.DecBinary() - _ = yym19 + yym152 := z.DecBinary() + _ = yym152 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb15 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb15 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1723,20 +1723,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym21 := z.DecBinary() - _ = yym21 + yym154 := z.DecBinary() + _ = yym154 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb15 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb15 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1749,21 +1749,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym23 := z.DecBinary() - _ = yym23 + yym156 := z.DecBinary() + _ = yym156 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb15 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb15 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1776,20 +1776,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym25 := z.DecBinary() - _ = yym25 + yym158 := z.DecBinary() + _ = yym158 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() } } - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb15 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb15 { + if yyb148 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1797,21 +1797,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv26 := &x.Template - yyv26.CodecDecodeSelf(d) + yyv159 := &x.Template + yyv159.CodecDecodeSelf(d) } for { - yyj15++ - if yyhl15 { - yyb15 = yyj15 > l + yyj148++ + if yyhl148 { + yyb148 = yyj148 > l } else { - yyb15 = r.CheckBreak() + yyb148 = r.CheckBreak() } - if yyb15 { + if yyb148 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj15-1, "") + z.DecStructFieldNotFound(yyj148-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1823,43 +1823,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym160 := z.EncBinary() + _ = yym160 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Conditions) != 0 - yyq2[1] = x.StartTime != nil - yyq2[2] = x.CompletionTime != nil - yyq2[3] = x.Active != 0 - yyq2[4] = x.Succeeded != 0 - yyq2[5] = x.Failed != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep161 := !z.EncBinary() + yy2arr161 := z.EncBasicHandle().StructToArray + var yyq161 [6]bool + _, _, _ = yysep161, yyq161, yy2arr161 + const yyr161 bool = false + yyq161[0] = len(x.Conditions) != 0 + yyq161[1] = x.StartTime != nil + yyq161[2] = x.CompletionTime != nil + yyq161[3] = x.Active != 0 + yyq161[4] = x.Succeeded != 0 + yyq161[5] = x.Failed != 0 + var yynn161 int + if yyr161 || yy2arr161 { r.EncodeArrayStart(6) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn161 = 0 + for _, b := range yyq161 { if b { - yynn2++ + yynn161++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn161) + yynn161 = 0 } - if yyr2 || yy2arr2 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq161[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym163 := z.EncBinary() + _ = yym163 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1869,15 +1869,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq161[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym164 := z.EncBinary() + _ = yym164 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1885,19 +1885,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq161[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym166 := z.EncBinary() + _ = yym166 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym7 { + } else if yym166 { z.EncBinaryMarshal(x.StartTime) - } else if !yym7 && z.IsJSONHandle() { + } else if !yym166 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1907,20 +1907,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq161[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym167 := z.EncBinary() + _ = yym167 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym8 { + } else if yym167 { z.EncBinaryMarshal(x.StartTime) - } else if !yym8 && z.IsJSONHandle() { + } else if !yym167 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1928,19 +1928,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq161[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym169 := z.EncBinary() + _ = yym169 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym10 { + } else if yym169 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym10 && z.IsJSONHandle() { + } else if !yym169 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1950,20 +1950,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq161[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym170 := z.EncBinary() + _ = yym170 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym11 { + } else if yym170 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym11 && z.IsJSONHandle() { + } else if !yym170 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1971,11 +1971,11 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq161[3] { + yym172 := z.EncBinary() + _ = yym172 if false { } else { r.EncodeInt(int64(x.Active)) @@ -1984,23 +1984,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[3] { + if yyq161[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym173 := z.EncBinary() + _ = yym173 if false { } else { r.EncodeInt(int64(x.Active)) } } } - if yyr2 || yy2arr2 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq161[4] { + yym175 := z.EncBinary() + _ = yym175 if false { } else { r.EncodeInt(int64(x.Succeeded)) @@ -2009,23 +2009,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[4] { + if yyq161[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("succeeded")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym176 := z.EncBinary() + _ = yym176 if false { } else { r.EncodeInt(int64(x.Succeeded)) } } } - if yyr2 || yy2arr2 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq161[5] { + yym178 := z.EncBinary() + _ = yym178 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -2034,19 +2034,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[5] { + if yyq161[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym179 := z.EncBinary() + _ = yym179 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr2 || yy2arr2 { + if yyr161 || yy2arr161 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2059,25 +2059,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym180 := z.DecBinary() + _ = yym180 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct181 := r.ContainerType() + if yyct181 == codecSelferValueTypeMap1234 { + yyl181 := r.ReadMapStart() + if yyl181 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl181, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct181 == codecSelferValueTypeArray1234 { + yyl181 := r.ReadArrayStart() + if yyl181 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl181, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2089,12 +2089,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys182Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys182Slc + var yyhl182 bool = l >= 0 + for yyj182 := 0; ; yyj182++ { + if yyhl182 { + if yyj182 >= l { break } } else { @@ -2103,20 +2103,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys182Slc = r.DecodeBytes(yys182Slc, true, true) + yys182 := string(yys182Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys182 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4 := &x.Conditions - yym5 := z.DecBinary() - _ = yym5 + yyv183 := &x.Conditions + yym184 := z.DecBinary() + _ = yym184 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv4), d) + h.decSliceJobCondition((*[]JobCondition)(yyv183), d) } } case "startTime": @@ -2128,13 +2128,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym7 := z.DecBinary() - _ = yym7 + yym186 := z.DecBinary() + _ = yym186 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym7 { + } else if yym186 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym7 && z.IsJSONHandle() { + } else if !yym186 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -2149,13 +2149,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym9 := z.DecBinary() - _ = yym9 + yym188 := z.DecBinary() + _ = yym188 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym9 { + } else if yym188 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym9 && z.IsJSONHandle() { + } else if !yym188 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -2180,9 +2180,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys182) + } // end switch yys182 + } // end for yyj182 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2190,16 +2190,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj13 int - var yyb13 bool - var yyhl13 bool = l >= 0 - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + var yyj192 int + var yyb192 bool + var yyhl192 bool = l >= 0 + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb13 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb13 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2207,21 +2207,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv14 := &x.Conditions - yym15 := z.DecBinary() - _ = yym15 + yyv193 := &x.Conditions + yym194 := z.DecBinary() + _ = yym194 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv14), d) + h.decSliceJobCondition((*[]JobCondition)(yyv193), d) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb13 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb13 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2234,25 +2234,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym17 := z.DecBinary() - _ = yym17 + yym196 := z.DecBinary() + _ = yym196 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym17 { + } else if yym196 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym17 && z.IsJSONHandle() { + } else if !yym196 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb13 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb13 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2265,25 +2265,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym19 := z.DecBinary() - _ = yym19 + yym198 := z.DecBinary() + _ = yym198 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym19 { + } else if yym198 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym19 && z.IsJSONHandle() { + } else if !yym198 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb13 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb13 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2293,13 +2293,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb13 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb13 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2309,13 +2309,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb13 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb13 { + if yyb192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2326,17 +2326,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj192++ + if yyhl192 { + yyb192 = yyj192 > l } else { - yyb13 = r.CheckBreak() + yyb192 = r.CheckBreak() } - if yyb13 { + if yyb192 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj13-1, "") + z.DecStructFieldNotFound(yyj192-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2345,8 +2345,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym202 := z.EncBinary() + _ = yym202 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -2358,8 +2358,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym203 := z.DecBinary() + _ = yym203 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -2374,34 +2374,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym204 := z.EncBinary() + _ = yym204 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = true - yyq2[3] = true - yyq2[4] = x.Reason != "" - yyq2[5] = x.Message != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep205 := !z.EncBinary() + yy2arr205 := z.EncBasicHandle().StructToArray + var yyq205 [6]bool + _, _, _ = yysep205, yyq205, yy2arr205 + const yyr205 bool = false + yyq205[2] = true + yyq205[3] = true + yyq205[4] = x.Reason != "" + yyq205[5] = x.Message != "" + var yynn205 int + if yyr205 || yy2arr205 { r.EncodeArrayStart(6) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn205 = 2 + for _, b := range yyq205 { if b { - yynn2++ + yynn205++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn205) + yynn205 = 0 } - if yyr2 || yy2arr2 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -2410,96 +2410,106 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yysf7 := &x.Status - yysf7.CodecEncodeSelf(e) + yym208 := z.EncBinary() + _ = yym208 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yysf8 := &x.Status - yysf8.CodecEncodeSelf(e) + yym209 := z.EncBinary() + _ = yym209 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } } - if yyr2 || yy2arr2 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy10 := &x.LastProbeTime - yym11 := z.EncBinary() - _ = yym11 + if yyq205[2] { + yy211 := &x.LastProbeTime + yym212 := z.EncBinary() + _ = yym212 if false { - } else if z.HasExtensions() && z.EncExt(yy10) { - } else if yym11 { - z.EncBinaryMarshal(yy10) - } else if !yym11 && z.IsJSONHandle() { - z.EncJSONMarshal(yy10) + } else if z.HasExtensions() && z.EncExt(yy211) { + } else if yym212 { + z.EncBinaryMarshal(yy211) + } else if !yym212 && z.IsJSONHandle() { + z.EncJSONMarshal(yy211) } else { - z.EncFallback(yy10) + z.EncFallback(yy211) } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq205[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.LastProbeTime - yym13 := z.EncBinary() - _ = yym13 + yy213 := &x.LastProbeTime + yym214 := z.EncBinary() + _ = yym214 if false { - } else if z.HasExtensions() && z.EncExt(yy12) { - } else if yym13 { - z.EncBinaryMarshal(yy12) - } else if !yym13 && z.IsJSONHandle() { - z.EncJSONMarshal(yy12) + } else if z.HasExtensions() && z.EncExt(yy213) { + } else if yym214 { + z.EncBinaryMarshal(yy213) + } else if !yym214 && z.IsJSONHandle() { + z.EncJSONMarshal(yy213) } else { - z.EncFallback(yy12) + z.EncFallback(yy213) } } } - if yyr2 || yy2arr2 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yy15 := &x.LastTransitionTime - yym16 := z.EncBinary() - _ = yym16 + if yyq205[3] { + yy216 := &x.LastTransitionTime + yym217 := z.EncBinary() + _ = yym217 if false { - } else if z.HasExtensions() && z.EncExt(yy15) { - } else if yym16 { - z.EncBinaryMarshal(yy15) - } else if !yym16 && z.IsJSONHandle() { - z.EncJSONMarshal(yy15) + } else if z.HasExtensions() && z.EncExt(yy216) { + } else if yym217 { + z.EncBinaryMarshal(yy216) + } else if !yym217 && z.IsJSONHandle() { + z.EncJSONMarshal(yy216) } else { - z.EncFallback(yy15) + z.EncFallback(yy216) } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq205[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.LastTransitionTime - yym18 := z.EncBinary() - _ = yym18 + yy218 := &x.LastTransitionTime + yym219 := z.EncBinary() + _ = yym219 if false { - } else if z.HasExtensions() && z.EncExt(yy17) { - } else if yym18 { - z.EncBinaryMarshal(yy17) - } else if !yym18 && z.IsJSONHandle() { - z.EncJSONMarshal(yy17) + } else if z.HasExtensions() && z.EncExt(yy218) { + } else if yym219 { + z.EncBinaryMarshal(yy218) + } else if !yym219 && z.IsJSONHandle() { + z.EncJSONMarshal(yy218) } else { - z.EncFallback(yy17) + z.EncFallback(yy218) } } } - if yyr2 || yy2arr2 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 + if yyq205[4] { + yym221 := z.EncBinary() + _ = yym221 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -2508,23 +2518,23 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq205[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym222 := z.EncBinary() + _ = yym222 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym23 := z.EncBinary() - _ = yym23 + if yyq205[5] { + yym224 := z.EncBinary() + _ = yym224 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -2533,19 +2543,19 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq205[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 + yym225 := z.EncBinary() + _ = yym225 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr205 || yy2arr205 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2558,25 +2568,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym226 := z.DecBinary() + _ = yym226 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct227 := r.ContainerType() + if yyct227 == codecSelferValueTypeMap1234 { + yyl227 := r.ReadMapStart() + if yyl227 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl227, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct227 == codecSelferValueTypeArray1234 { + yyl227 := r.ReadArrayStart() + if yyl227 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl227, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2588,12 +2598,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys228Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys228Slc + var yyhl228 bool = l >= 0 + for yyj228 := 0; ; yyj228++ { + if yyhl228 { + if yyj228 >= l { break } } else { @@ -2602,10 +2612,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys228Slc = r.DecodeBytes(yys228Slc, true, true) + yys228 := string(yys228Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys228 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -2622,34 +2632,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv6 := &x.LastProbeTime - yym7 := z.DecBinary() - _ = yym7 + yyv231 := &x.LastProbeTime + yym232 := z.DecBinary() + _ = yym232 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if yym7 { - z.DecBinaryUnmarshal(yyv6) - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv231) { + } else if yym232 { + z.DecBinaryUnmarshal(yyv231) + } else if !yym232 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv231) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv231, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv8 := &x.LastTransitionTime - yym9 := z.DecBinary() - _ = yym9 + yyv233 := &x.LastTransitionTime + yym234 := z.DecBinary() + _ = yym234 if false { - } else if z.HasExtensions() && z.DecExt(yyv8) { - } else if yym9 { - z.DecBinaryUnmarshal(yyv8) - } else if !yym9 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv8) + } else if z.HasExtensions() && z.DecExt(yyv233) { + } else if yym234 { + z.DecBinaryUnmarshal(yyv233) + } else if !yym234 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv233) } else { - z.DecFallback(yyv8, false) + z.DecFallback(yyv233, false) } } case "reason": @@ -2665,9 +2675,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys228) + } // end switch yys228 + } // end for yyj228 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2675,16 +2685,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj237 int + var yyb237 bool + var yyhl237 bool = l >= 0 + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb12 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb12 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2694,13 +2704,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb12 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb12 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2710,13 +2720,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_api.ConditionStatus(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb12 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb12 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2724,26 +2734,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv15 := &x.LastProbeTime - yym16 := z.DecBinary() - _ = yym16 + yyv240 := &x.LastProbeTime + yym241 := z.DecBinary() + _ = yym241 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { - } else if yym16 { - z.DecBinaryUnmarshal(yyv15) - } else if !yym16 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv15) + } else if z.HasExtensions() && z.DecExt(yyv240) { + } else if yym241 { + z.DecBinaryUnmarshal(yyv240) + } else if !yym241 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv240) } else { - z.DecFallback(yyv15, false) + z.DecFallback(yyv240, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb12 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb12 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2751,26 +2761,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv17 := &x.LastTransitionTime - yym18 := z.DecBinary() - _ = yym18 + yyv242 := &x.LastTransitionTime + yym243 := z.DecBinary() + _ = yym243 if false { - } else if z.HasExtensions() && z.DecExt(yyv17) { - } else if yym18 { - z.DecBinaryUnmarshal(yyv17) - } else if !yym18 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv17) + } else if z.HasExtensions() && z.DecExt(yyv242) { + } else if yym243 { + z.DecBinaryUnmarshal(yyv242) + } else if !yym243 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv242) } else { - z.DecFallback(yyv17, false) + z.DecFallback(yyv242, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb12 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb12 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2780,13 +2790,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb12 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb12 { + if yyb237 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2797,17 +2807,17 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj237++ + if yyhl237 { + yyb237 = yyj237 > l } else { - yyb12 = r.CheckBreak() + yyb237 = r.CheckBreak() } - if yyb12 { + if yyb237 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj237-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2819,90 +2829,39 @@ func (x *ScheduledJob) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym246 := z.EncBinary() + _ = yym246 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep247 := !z.EncBinary() + yy2arr247 := z.EncBasicHandle().StructToArray + var yyq247 [5]bool + _, _, _ = yysep247, yyq247, yy2arr247 + const yyr247 bool = false + yyq247[0] = x.Kind != "" + yyq247[1] = x.APIVersion != "" + yyq247[2] = true + yyq247[3] = true + yyq247[4] = true + var yynn247 int + if yyr247 || yy2arr247 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn247 = 0 + for _, b := range yyq247 { if b { - yynn2++ + yynn247++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn247) + yynn247 = 0 } - if yyr2 || yy2arr2 { + if yyr247 || yy2arr247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq247[0] { + yym249 := z.EncBinary() + _ = yym249 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -2911,23 +2870,23 @@ func (x *ScheduledJob) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq247[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym250 := z.EncBinary() + _ = yym250 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr247 || yy2arr247 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq247[1] { + yym252 := z.EncBinary() + _ = yym252 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -2936,19 +2895,70 @@ func (x *ScheduledJob) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq247[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym253 := z.EncBinary() + _ = yym253 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr247 || yy2arr247 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq247[2] { + yy255 := &x.ObjectMeta + yy255.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq247[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy256 := &x.ObjectMeta + yy256.CodecEncodeSelf(e) + } + } + if yyr247 || yy2arr247 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq247[3] { + yy258 := &x.Spec + yy258.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq247[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy259 := &x.Spec + yy259.CodecEncodeSelf(e) + } + } + if yyr247 || yy2arr247 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq247[4] { + yy261 := &x.Status + yy261.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq247[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy262 := &x.Status + yy262.CodecEncodeSelf(e) + } + } + if yyr247 || yy2arr247 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2961,25 +2971,25 @@ func (x *ScheduledJob) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym263 := z.DecBinary() + _ = yym263 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct264 := r.ContainerType() + if yyct264 == codecSelferValueTypeMap1234 { + yyl264 := r.ReadMapStart() + if yyl264 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl264, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct264 == codecSelferValueTypeArray1234 { + yyl264 := r.ReadArrayStart() + if yyl264 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl264, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2991,12 +3001,12 @@ func (x *ScheduledJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys265Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys265Slc + var yyhl265 bool = l >= 0 + for yyj265 := 0; ; yyj265++ { + if yyhl265 { + if yyj265 >= l { break } } else { @@ -3005,31 +3015,10 @@ func (x *ScheduledJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys265Slc = r.DecodeBytes(yys265Slc, true, true) + yys265 := string(yys265Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ScheduledJobSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ScheduledJobStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys265 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3042,10 +3031,31 @@ func (x *ScheduledJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv268 := &x.ObjectMeta + yyv268.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ScheduledJobSpec{} + } else { + yyv269 := &x.Spec + yyv269.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ScheduledJobStatus{} + } else { + yyv270 := &x.Status + yyv270.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys265) + } // end switch yys265 + } // end for yyj265 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3053,67 +3063,16 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj271 int + var yyb271 bool + var yyhl271 bool = l >= 0 + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l } else { - yyb9 = r.CheckBreak() + yyb271 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ScheduledJobSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ScheduledJobStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3123,13 +3082,13 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l } else { - yyb9 = r.CheckBreak() + yyb271 = r.CheckBreak() } - if yyb9 { + if yyb271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3139,18 +3098,69 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l + } else { + yyb271 = r.CheckBreak() + } + if yyb271 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv274 := &x.ObjectMeta + yyv274.CodecDecodeSelf(d) + } + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l + } else { + yyb271 = r.CheckBreak() + } + if yyb271 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ScheduledJobSpec{} + } else { + yyv275 := &x.Spec + yyv275.CodecDecodeSelf(d) + } + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l + } else { + yyb271 = r.CheckBreak() + } + if yyb271 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ScheduledJobStatus{} + } else { + yyv276 := &x.Status + yyv276.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj271++ + if yyhl271 { + yyb271 = yyj271 > l } else { - yyb9 = r.CheckBreak() + yyb271 = r.CheckBreak() } - if yyb9 { + if yyb271 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj271-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3162,68 +3172,118 @@ func (x *ScheduledJobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym277 := z.EncBinary() + _ = yym277 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep278 := !z.EncBinary() + yy2arr278 := z.EncBasicHandle().StructToArray + var yyq278 [4]bool + _, _, _ = yysep278, yyq278, yy2arr278 + const yyr278 bool = false + yyq278[0] = x.Kind != "" + yyq278[1] = x.APIVersion != "" + yyq278[2] = true + var yynn278 int + if yyr278 || yy2arr278 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn278 = 1 + for _, b := range yyq278 { if b { - yynn2++ + yynn278++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn278) + yynn278 = 0 } - if yyr2 || yy2arr2 { + if yyr278 || yy2arr278 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq278[0] { + yym280 := z.EncBinary() + _ = yym280 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq278[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym281 := z.EncBinary() + _ = yym281 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr278 || yy2arr278 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq278[1] { + yym283 := z.EncBinary() + _ = yym283 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq278[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym284 := z.EncBinary() + _ = yym284 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr278 || yy2arr278 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq278[2] { + yy286 := &x.ListMeta + yym287 := z.EncBinary() + _ = yym287 + if false { + } else if z.HasExtensions() && z.EncExt(yy286) { + } else { + z.EncFallback(yy286) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq278[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy288 := &x.ListMeta + yym289 := z.EncBinary() + _ = yym289 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy288) { } else { - z.EncFallback(yy6) + z.EncFallback(yy288) } } } - if yyr2 || yy2arr2 { + if yyr278 || yy2arr278 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym291 := z.EncBinary() + _ = yym291 if false { } else { h.encSliceScheduledJob(([]ScheduledJob)(x.Items), e) @@ -3236,65 +3296,15 @@ func (x *ScheduledJobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym292 := z.EncBinary() + _ = yym292 if false { } else { h.encSliceScheduledJob(([]ScheduledJob)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr278 || yy2arr278 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3307,25 +3317,25 @@ func (x *ScheduledJobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym293 := z.DecBinary() + _ = yym293 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct294 := r.ContainerType() + if yyct294 == codecSelferValueTypeMap1234 { + yyl294 := r.ReadMapStart() + if yyl294 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl294, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct294 == codecSelferValueTypeArray1234 { + yyl294 := r.ReadArrayStart() + if yyl294 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl294, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3337,12 +3347,12 @@ func (x *ScheduledJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys295Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys295Slc + var yyhl295 bool = l >= 0 + for yyj295 := 0; ; yyj295++ { + if yyhl295 { + if yyj295 >= l { break } } else { @@ -3351,35 +3361,10 @@ func (x *ScheduledJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys295Slc = r.DecodeBytes(yys295Slc, true, true) + yys295 := string(yys295Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceScheduledJob((*[]ScheduledJob)(yyv6), d) - } - } + switch yys295 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3392,10 +3377,35 @@ func (x *ScheduledJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv298 := &x.ListMeta + yym299 := z.DecBinary() + _ = yym299 + if false { + } else if z.HasExtensions() && z.DecExt(yyv298) { + } else { + z.DecFallback(yyv298, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv300 := &x.Items + yym301 := z.DecBinary() + _ = yym301 + if false { + } else { + h.decSliceScheduledJob((*[]ScheduledJob)(yyv300), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys295) + } // end switch yys295 + } // end for yyj295 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3403,61 +3413,16 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj302 int + var yyb302 bool + var yyhl302 bool = l >= 0 + yyj302++ + if yyhl302 { + yyb302 = yyj302 > l } else { - yyb10 = r.CheckBreak() + yyb302 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceScheduledJob((*[]ScheduledJob)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb302 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3467,13 +3432,13 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj302++ + if yyhl302 { + yyb302 = yyj302 > l } else { - yyb10 = r.CheckBreak() + yyb302 = r.CheckBreak() } - if yyb10 { + if yyb302 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3483,18 +3448,63 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj302++ + if yyhl302 { + yyb302 = yyj302 > l + } else { + yyb302 = r.CheckBreak() + } + if yyb302 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv305 := &x.ListMeta + yym306 := z.DecBinary() + _ = yym306 + if false { + } else if z.HasExtensions() && z.DecExt(yyv305) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv305, false) } - if yyb10 { + } + yyj302++ + if yyhl302 { + yyb302 = yyj302 > l + } else { + yyb302 = r.CheckBreak() + } + if yyb302 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv307 := &x.Items + yym308 := z.DecBinary() + _ = yym308 + if false { + } else { + h.decSliceScheduledJob((*[]ScheduledJob)(yyv307), d) + } + } + for { + yyj302++ + if yyhl302 { + yyb302 = yyj302 > l + } else { + yyb302 = r.CheckBreak() + } + if yyb302 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj302-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3506,36 +3516,36 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym309 := z.EncBinary() + _ = yym309 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.StartingDeadlineSeconds != nil - yyq2[2] = x.ConcurrencyPolicy != "" - yyq2[3] = x.Suspend != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep310 := !z.EncBinary() + yy2arr310 := z.EncBasicHandle().StructToArray + var yyq310 [5]bool + _, _, _ = yysep310, yyq310, yy2arr310 + const yyr310 bool = false + yyq310[1] = x.StartingDeadlineSeconds != nil + yyq310[2] = x.ConcurrencyPolicy != "" + yyq310[3] = x.Suspend != nil + var yynn310 int + if yyr310 || yy2arr310 { r.EncodeArrayStart(5) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn310 = 2 + for _, b := range yyq310 { if b { - yynn2++ + yynn310++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn310) + yynn310 = 0 } - if yyr2 || yy2arr2 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym312 := z.EncBinary() + _ = yym312 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Schedule)) @@ -3544,110 +3554,110 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("schedule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym313 := z.EncBinary() + _ = yym313 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Schedule)) } } - if yyr2 || yy2arr2 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq310[1] { if x.StartingDeadlineSeconds == nil { r.EncodeNil() } else { - yy7 := *x.StartingDeadlineSeconds - yym8 := z.EncBinary() - _ = yym8 + yy315 := *x.StartingDeadlineSeconds + yym316 := z.EncBinary() + _ = yym316 if false { } else { - r.EncodeInt(int64(yy7)) + r.EncodeInt(int64(yy315)) } } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq310[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startingDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartingDeadlineSeconds == nil { r.EncodeNil() } else { - yy9 := *x.StartingDeadlineSeconds - yym10 := z.EncBinary() - _ = yym10 + yy317 := *x.StartingDeadlineSeconds + yym318 := z.EncBinary() + _ = yym318 if false { } else { - r.EncodeInt(int64(yy9)) + r.EncodeInt(int64(yy317)) } } } } - if yyr2 || yy2arr2 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq310[2] { x.ConcurrencyPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq310[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrencyPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.ConcurrencyPolicy.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq310[3] { if x.Suspend == nil { r.EncodeNil() } else { - yy15 := *x.Suspend - yym16 := z.EncBinary() - _ = yym16 + yy321 := *x.Suspend + yym322 := z.EncBinary() + _ = yym322 if false { } else { - r.EncodeBool(bool(yy15)) + r.EncodeBool(bool(yy321)) } } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq310[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("suspend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Suspend == nil { r.EncodeNil() } else { - yy17 := *x.Suspend - yym18 := z.EncBinary() - _ = yym18 + yy323 := *x.Suspend + yym324 := z.EncBinary() + _ = yym324 if false { } else { - r.EncodeBool(bool(yy17)) + r.EncodeBool(bool(yy323)) } } } } - if yyr2 || yy2arr2 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy20 := &x.JobTemplate - yy20.CodecEncodeSelf(e) + yy326 := &x.JobTemplate + yy326.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("jobTemplate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy22 := &x.JobTemplate - yy22.CodecEncodeSelf(e) + yy327 := &x.JobTemplate + yy327.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr310 || yy2arr310 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3660,25 +3670,25 @@ func (x *ScheduledJobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym328 := z.DecBinary() + _ = yym328 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct329 := r.ContainerType() + if yyct329 == codecSelferValueTypeMap1234 { + yyl329 := r.ReadMapStart() + if yyl329 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl329, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct329 == codecSelferValueTypeArray1234 { + yyl329 := r.ReadArrayStart() + if yyl329 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl329, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3690,12 +3700,12 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys330Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys330Slc + var yyhl330 bool = l >= 0 + for yyj330 := 0; ; yyj330++ { + if yyhl330 { + if yyj330 >= l { break } } else { @@ -3704,10 +3714,10 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys330Slc = r.DecodeBytes(yys330Slc, true, true) + yys330 := string(yys330Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys330 { case "schedule": if r.TryDecodeAsNil() { x.Schedule = "" @@ -3723,8 +3733,8 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartingDeadlineSeconds == nil { x.StartingDeadlineSeconds = new(int64) } - yym6 := z.DecBinary() - _ = yym6 + yym333 := z.DecBinary() + _ = yym333 if false { } else { *((*int64)(x.StartingDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -3745,8 +3755,8 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Suspend == nil { x.Suspend = new(bool) } - yym9 := z.DecBinary() - _ = yym9 + yym336 := z.DecBinary() + _ = yym336 if false { } else { *((*bool)(x.Suspend)) = r.DecodeBool() @@ -3756,13 +3766,13 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.JobTemplate = JobTemplateSpec{} } else { - yyv10 := &x.JobTemplate - yyv10.CodecDecodeSelf(d) + yyv337 := &x.JobTemplate + yyv337.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys330) + } // end switch yys330 + } // end for yyj330 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3770,16 +3780,16 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj338 int + var yyb338 bool + var yyhl338 bool = l >= 0 + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb11 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb11 { + if yyb338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3789,13 +3799,13 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Schedule = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb11 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb11 { + if yyb338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3808,20 +3818,20 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.StartingDeadlineSeconds == nil { x.StartingDeadlineSeconds = new(int64) } - yym14 := z.DecBinary() - _ = yym14 + yym341 := z.DecBinary() + _ = yym341 if false { } else { *((*int64)(x.StartingDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb11 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb11 { + if yyb338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3831,13 +3841,13 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ConcurrencyPolicy = ConcurrencyPolicy(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb11 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb11 { + if yyb338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3850,20 +3860,20 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Suspend == nil { x.Suspend = new(bool) } - yym17 := z.DecBinary() - _ = yym17 + yym344 := z.DecBinary() + _ = yym344 if false { } else { *((*bool)(x.Suspend)) = r.DecodeBool() } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb11 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb11 { + if yyb338 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3871,21 +3881,21 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.JobTemplate = JobTemplateSpec{} } else { - yyv18 := &x.JobTemplate - yyv18.CodecDecodeSelf(d) + yyv345 := &x.JobTemplate + yyv345.CodecDecodeSelf(d) } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj338++ + if yyhl338 { + yyb338 = yyj338 > l } else { - yyb11 = r.CheckBreak() + yyb338 = r.CheckBreak() } - if yyb11 { + if yyb338 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj338-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3894,8 +3904,8 @@ func (x ConcurrencyPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym346 := z.EncBinary() + _ = yym346 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -3907,8 +3917,8 @@ func (x *ConcurrencyPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym347 := z.DecBinary() + _ = yym347 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -3923,39 +3933,39 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym348 := z.EncBinary() + _ = yym348 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Active) != 0 - yyq2[1] = x.LastScheduleTime != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep349 := !z.EncBinary() + yy2arr349 := z.EncBasicHandle().StructToArray + var yyq349 [2]bool + _, _, _ = yysep349, yyq349, yy2arr349 + const yyr349 bool = false + yyq349[0] = len(x.Active) != 0 + yyq349[1] = x.LastScheduleTime != nil + var yynn349 int + if yyr349 || yy2arr349 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn349 = 0 + for _, b := range yyq349 { if b { - yynn2++ + yynn349++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn349) + yynn349 = 0 } - if yyr2 || yy2arr2 { + if yyr349 || yy2arr349 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq349[0] { if x.Active == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym351 := z.EncBinary() + _ = yym351 if false { } else { h.encSliceapi_ObjectReference(([]pkg2_api.ObjectReference)(x.Active), e) @@ -3965,15 +3975,15 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq349[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Active == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym352 := z.EncBinary() + _ = yym352 if false { } else { h.encSliceapi_ObjectReference(([]pkg2_api.ObjectReference)(x.Active), e) @@ -3981,19 +3991,19 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr349 || yy2arr349 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq349[1] { if x.LastScheduleTime == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym354 := z.EncBinary() + _ = yym354 if false { } else if z.HasExtensions() && z.EncExt(x.LastScheduleTime) { - } else if yym7 { + } else if yym354 { z.EncBinaryMarshal(x.LastScheduleTime) - } else if !yym7 && z.IsJSONHandle() { + } else if !yym354 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScheduleTime) } else { z.EncFallback(x.LastScheduleTime) @@ -4003,20 +4013,20 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq349[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastScheduleTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LastScheduleTime == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym355 := z.EncBinary() + _ = yym355 if false { } else if z.HasExtensions() && z.EncExt(x.LastScheduleTime) { - } else if yym8 { + } else if yym355 { z.EncBinaryMarshal(x.LastScheduleTime) - } else if !yym8 && z.IsJSONHandle() { + } else if !yym355 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScheduleTime) } else { z.EncFallback(x.LastScheduleTime) @@ -4024,7 +4034,7 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr349 || yy2arr349 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4037,25 +4047,25 @@ func (x *ScheduledJobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym356 := z.DecBinary() + _ = yym356 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct357 := r.ContainerType() + if yyct357 == codecSelferValueTypeMap1234 { + yyl357 := r.ReadMapStart() + if yyl357 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl357, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct357 == codecSelferValueTypeArray1234 { + yyl357 := r.ReadArrayStart() + if yyl357 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl357, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4067,12 +4077,12 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys358Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys358Slc + var yyhl358 bool = l >= 0 + for yyj358 := 0; ; yyj358++ { + if yyhl358 { + if yyj358 >= l { break } } else { @@ -4081,20 +4091,20 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys358Slc = r.DecodeBytes(yys358Slc, true, true) + yys358 := string(yys358Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys358 { case "active": if r.TryDecodeAsNil() { x.Active = nil } else { - yyv4 := &x.Active - yym5 := z.DecBinary() - _ = yym5 + yyv359 := &x.Active + yym360 := z.DecBinary() + _ = yym360 if false { } else { - h.decSliceapi_ObjectReference((*[]pkg2_api.ObjectReference)(yyv4), d) + h.decSliceapi_ObjectReference((*[]pkg2_api.ObjectReference)(yyv359), d) } } case "lastScheduleTime": @@ -4106,22 +4116,22 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.LastScheduleTime == nil { x.LastScheduleTime = new(pkg1_unversioned.Time) } - yym7 := z.DecBinary() - _ = yym7 + yym362 := z.DecBinary() + _ = yym362 if false { } else if z.HasExtensions() && z.DecExt(x.LastScheduleTime) { - } else if yym7 { + } else if yym362 { z.DecBinaryUnmarshal(x.LastScheduleTime) - } else if !yym7 && z.IsJSONHandle() { + } else if !yym362 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScheduleTime) } else { z.DecFallback(x.LastScheduleTime, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys358) + } // end switch yys358 + } // end for yyj358 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4129,16 +4139,16 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj363 int + var yyb363 bool + var yyhl363 bool = l >= 0 + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb8 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb8 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4146,21 +4156,21 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Active = nil } else { - yyv9 := &x.Active - yym10 := z.DecBinary() - _ = yym10 + yyv364 := &x.Active + yym365 := z.DecBinary() + _ = yym365 if false { } else { - h.decSliceapi_ObjectReference((*[]pkg2_api.ObjectReference)(yyv9), d) + h.decSliceapi_ObjectReference((*[]pkg2_api.ObjectReference)(yyv364), d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb8 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb8 { + if yyb363 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4173,30 +4183,30 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.LastScheduleTime == nil { x.LastScheduleTime = new(pkg1_unversioned.Time) } - yym12 := z.DecBinary() - _ = yym12 + yym367 := z.DecBinary() + _ = yym367 if false { } else if z.HasExtensions() && z.DecExt(x.LastScheduleTime) { - } else if yym12 { + } else if yym367 { z.DecBinaryUnmarshal(x.LastScheduleTime) - } else if !yym12 && z.IsJSONHandle() { + } else if !yym367 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScheduleTime) } else { z.DecFallback(x.LastScheduleTime, false) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj363++ + if yyhl363 { + yyb363 = yyj363 > l } else { - yyb8 = r.CheckBreak() + yyb363 = r.CheckBreak() } - if yyb8 { + if yyb363 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj363-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4206,10 +4216,10 @@ func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv368 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy369 := &yyv368 + yy369.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4219,86 +4229,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Job{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv370 := *v + yyh370, yyl370 := z.DecSliceHelperStart() + var yyc370 bool + if yyl370 == 0 { + if yyv370 == nil { + yyv370 = []Job{} + yyc370 = true + } else if len(yyv370) != 0 { + yyv370 = yyv370[:0] + yyc370 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl370 > 0 { + var yyrr370, yyrl370 int + var yyrt370 bool + if yyl370 > cap(yyv370) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 768) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg370 := len(yyv370) > 0 + yyv2370 := yyv370 + yyrl370, yyrt370 = z.DecInferLen(yyl370, z.DecBasicHandle().MaxInitLen, 768) + if yyrt370 { + if yyrl370 <= cap(yyv370) { + yyv370 = yyv370[:yyrl370] } else { - yyv1 = make([]Job, yyrl1) + yyv370 = make([]Job, yyrl370) } } else { - yyv1 = make([]Job, yyrl1) + yyv370 = make([]Job, yyrl370) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc370 = true + yyrr370 = len(yyv370) + if yyrg370 { + copy(yyv370, yyv2370) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl370 != len(yyv370) { + yyv370 = yyv370[:yyl370] + yyc370 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj370 := 0 + for ; yyj370 < yyrr370; yyj370++ { + yyh370.ElemContainerState(yyj370) if r.TryDecodeAsNil() { - yyv1[yyj1] = Job{} + yyv370[yyj370] = Job{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv371 := &yyv370[yyj370] + yyv371.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Job{}) - yyh1.ElemContainerState(yyj1) + if yyrt370 { + for ; yyj370 < yyl370; yyj370++ { + yyv370 = append(yyv370, Job{}) + yyh370.ElemContainerState(yyj370) if r.TryDecodeAsNil() { - yyv1[yyj1] = Job{} + yyv370[yyj370] = Job{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv372 := &yyv370[yyj370] + yyv372.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj370 := 0 + for ; !r.CheckBreak(); yyj370++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Job{}) // var yyz1 Job - yyc1 = true + if yyj370 >= len(yyv370) { + yyv370 = append(yyv370, Job{}) // var yyz370 Job + yyc370 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh370.ElemContainerState(yyj370) + if yyj370 < len(yyv370) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Job{} + yyv370[yyj370] = Job{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv373 := &yyv370[yyj370] + yyv373.CodecDecodeSelf(d) } } else { @@ -4306,17 +4313,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Job{} - yyc1 = true + if yyj370 < len(yyv370) { + yyv370 = yyv370[:yyj370] + yyc370 = true + } else if yyj370 == 0 && yyv370 == nil { + yyv370 = []Job{} + yyc370 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh370.End() + if yyc370 { + *v = yyv370 } } @@ -4325,10 +4332,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv374 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy375 := &yyv374 + yy375.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4338,86 +4345,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []JobCondition{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv376 := *v + yyh376, yyl376 := z.DecSliceHelperStart() + var yyc376 bool + if yyl376 == 0 { + if yyv376 == nil { + yyv376 = []JobCondition{} + yyc376 = true + } else if len(yyv376) != 0 { + yyv376 = yyv376[:0] + yyc376 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl376 > 0 { + var yyrr376, yyrl376 int + var yyrt376 bool + if yyl376 > cap(yyv376) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg376 := len(yyv376) > 0 + yyv2376 := yyv376 + yyrl376, yyrt376 = z.DecInferLen(yyl376, z.DecBasicHandle().MaxInitLen, 112) + if yyrt376 { + if yyrl376 <= cap(yyv376) { + yyv376 = yyv376[:yyrl376] } else { - yyv1 = make([]JobCondition, yyrl1) + yyv376 = make([]JobCondition, yyrl376) } } else { - yyv1 = make([]JobCondition, yyrl1) + yyv376 = make([]JobCondition, yyrl376) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc376 = true + yyrr376 = len(yyv376) + if yyrg376 { + copy(yyv376, yyv2376) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl376 != len(yyv376) { + yyv376 = yyv376[:yyl376] + yyc376 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj376 := 0 + for ; yyj376 < yyrr376; yyj376++ { + yyh376.ElemContainerState(yyj376) if r.TryDecodeAsNil() { - yyv1[yyj1] = JobCondition{} + yyv376[yyj376] = JobCondition{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv377 := &yyv376[yyj376] + yyv377.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, JobCondition{}) - yyh1.ElemContainerState(yyj1) + if yyrt376 { + for ; yyj376 < yyl376; yyj376++ { + yyv376 = append(yyv376, JobCondition{}) + yyh376.ElemContainerState(yyj376) if r.TryDecodeAsNil() { - yyv1[yyj1] = JobCondition{} + yyv376[yyj376] = JobCondition{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv378 := &yyv376[yyj376] + yyv378.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj376 := 0 + for ; !r.CheckBreak(); yyj376++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, JobCondition{}) // var yyz1 JobCondition - yyc1 = true + if yyj376 >= len(yyv376) { + yyv376 = append(yyv376, JobCondition{}) // var yyz376 JobCondition + yyc376 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh376.ElemContainerState(yyj376) + if yyj376 < len(yyv376) { if r.TryDecodeAsNil() { - yyv1[yyj1] = JobCondition{} + yyv376[yyj376] = JobCondition{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv379 := &yyv376[yyj376] + yyv379.CodecDecodeSelf(d) } } else { @@ -4425,17 +4429,17 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []JobCondition{} - yyc1 = true + if yyj376 < len(yyv376) { + yyv376 = yyv376[:yyj376] + yyc376 = true + } else if yyj376 == 0 && yyv376 == nil { + yyv376 = []JobCondition{} + yyc376 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh376.End() + if yyc376 { + *v = yyv376 } } @@ -4444,10 +4448,10 @@ func (x codecSelfer1234) encSliceScheduledJob(v []ScheduledJob, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv380 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy381 := &yyv380 + yy381.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4457,86 +4461,83 @@ func (x codecSelfer1234) decSliceScheduledJob(v *[]ScheduledJob, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ScheduledJob{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv382 := *v + yyh382, yyl382 := z.DecSliceHelperStart() + var yyc382 bool + if yyl382 == 0 { + if yyv382 == nil { + yyv382 = []ScheduledJob{} + yyc382 = true + } else if len(yyv382) != 0 { + yyv382 = yyv382[:0] + yyc382 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl382 > 0 { + var yyrr382, yyrl382 int + var yyrt382 bool + if yyl382 > cap(yyv382) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 1000) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg382 := len(yyv382) > 0 + yyv2382 := yyv382 + yyrl382, yyrt382 = z.DecInferLen(yyl382, z.DecBasicHandle().MaxInitLen, 1000) + if yyrt382 { + if yyrl382 <= cap(yyv382) { + yyv382 = yyv382[:yyrl382] } else { - yyv1 = make([]ScheduledJob, yyrl1) + yyv382 = make([]ScheduledJob, yyrl382) } } else { - yyv1 = make([]ScheduledJob, yyrl1) + yyv382 = make([]ScheduledJob, yyrl382) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc382 = true + yyrr382 = len(yyv382) + if yyrg382 { + copy(yyv382, yyv2382) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl382 != len(yyv382) { + yyv382 = yyv382[:yyl382] + yyc382 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj382 := 0 + for ; yyj382 < yyrr382; yyj382++ { + yyh382.ElemContainerState(yyj382) if r.TryDecodeAsNil() { - yyv1[yyj1] = ScheduledJob{} + yyv382[yyj382] = ScheduledJob{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv383 := &yyv382[yyj382] + yyv383.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ScheduledJob{}) - yyh1.ElemContainerState(yyj1) + if yyrt382 { + for ; yyj382 < yyl382; yyj382++ { + yyv382 = append(yyv382, ScheduledJob{}) + yyh382.ElemContainerState(yyj382) if r.TryDecodeAsNil() { - yyv1[yyj1] = ScheduledJob{} + yyv382[yyj382] = ScheduledJob{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv384 := &yyv382[yyj382] + yyv384.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj382 := 0 + for ; !r.CheckBreak(); yyj382++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ScheduledJob{}) // var yyz1 ScheduledJob - yyc1 = true + if yyj382 >= len(yyv382) { + yyv382 = append(yyv382, ScheduledJob{}) // var yyz382 ScheduledJob + yyc382 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh382.ElemContainerState(yyj382) + if yyj382 < len(yyv382) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ScheduledJob{} + yyv382[yyj382] = ScheduledJob{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv385 := &yyv382[yyj382] + yyv385.CodecDecodeSelf(d) } } else { @@ -4544,17 +4545,17 @@ func (x codecSelfer1234) decSliceScheduledJob(v *[]ScheduledJob, d *codec1978.De } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ScheduledJob{} - yyc1 = true + if yyj382 < len(yyv382) { + yyv382 = yyv382[:yyj382] + yyc382 = true + } else if yyj382 == 0 && yyv382 == nil { + yyv382 = []ScheduledJob{} + yyc382 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh382.End() + if yyc382 { + *v = yyv382 } } @@ -4563,10 +4564,10 @@ func (x codecSelfer1234) encSliceapi_ObjectReference(v []pkg2_api.ObjectReferenc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv386 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy387 := &yyv386 + yy387.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4576,86 +4577,83 @@ func (x codecSelfer1234) decSliceapi_ObjectReference(v *[]pkg2_api.ObjectReferen z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []pkg2_api.ObjectReference{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv388 := *v + yyh388, yyl388 := z.DecSliceHelperStart() + var yyc388 bool + if yyl388 == 0 { + if yyv388 == nil { + yyv388 = []pkg2_api.ObjectReference{} + yyc388 = true + } else if len(yyv388) != 0 { + yyv388 = yyv388[:0] + yyc388 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl388 > 0 { + var yyrr388, yyrl388 int + var yyrt388 bool + if yyl388 > cap(yyv388) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg388 := len(yyv388) > 0 + yyv2388 := yyv388 + yyrl388, yyrt388 = z.DecInferLen(yyl388, z.DecBasicHandle().MaxInitLen, 112) + if yyrt388 { + if yyrl388 <= cap(yyv388) { + yyv388 = yyv388[:yyrl388] } else { - yyv1 = make([]pkg2_api.ObjectReference, yyrl1) + yyv388 = make([]pkg2_api.ObjectReference, yyrl388) } } else { - yyv1 = make([]pkg2_api.ObjectReference, yyrl1) + yyv388 = make([]pkg2_api.ObjectReference, yyrl388) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc388 = true + yyrr388 = len(yyv388) + if yyrg388 { + copy(yyv388, yyv2388) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl388 != len(yyv388) { + yyv388 = yyv388[:yyl388] + yyc388 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj388 := 0 + for ; yyj388 < yyrr388; yyj388++ { + yyh388.ElemContainerState(yyj388) if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_api.ObjectReference{} + yyv388[yyj388] = pkg2_api.ObjectReference{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv389 := &yyv388[yyj388] + yyv389.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, pkg2_api.ObjectReference{}) - yyh1.ElemContainerState(yyj1) + if yyrt388 { + for ; yyj388 < yyl388; yyj388++ { + yyv388 = append(yyv388, pkg2_api.ObjectReference{}) + yyh388.ElemContainerState(yyj388) if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_api.ObjectReference{} + yyv388[yyj388] = pkg2_api.ObjectReference{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv390 := &yyv388[yyj388] + yyv390.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj388 := 0 + for ; !r.CheckBreak(); yyj388++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, pkg2_api.ObjectReference{}) // var yyz1 pkg2_api.ObjectReference - yyc1 = true + if yyj388 >= len(yyv388) { + yyv388 = append(yyv388, pkg2_api.ObjectReference{}) // var yyz388 pkg2_api.ObjectReference + yyc388 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh388.ElemContainerState(yyj388) + if yyj388 < len(yyv388) { if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_api.ObjectReference{} + yyv388[yyj388] = pkg2_api.ObjectReference{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv391 := &yyv388[yyj388] + yyv391.CodecDecodeSelf(d) } } else { @@ -4663,16 +4661,16 @@ func (x codecSelfer1234) decSliceapi_ObjectReference(v *[]pkg2_api.ObjectReferen } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []pkg2_api.ObjectReference{} - yyc1 = true + if yyj388 < len(yyv388) { + yyv388 = yyv388[:yyj388] + yyc388 = true + } else if yyj388 == 0 && yyv388 == nil { + yyv388 = []pkg2_api.ObjectReference{} + yyc388 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh388.End() + if yyc388 { + *v = yyv388 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/conversion.go index f2c7467bbd7..c1afd8e127b 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/conversion.go @@ -27,18 +27,17 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions err := scheme.AddConversionFuncs( Convert_batch_JobSpec_To_v1_JobSpec, Convert_v1_JobSpec_To_batch_JobSpec, ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } - err = api.Scheme.AddFieldLabelConversionFunc("batch/v1", "Job", + return api.Scheme.AddFieldLabelConversionFunc("batch/v1", "Job", func(label, value string) (string, string, error) { switch label { case "metadata.name", "metadata.namespace", "status.successful": @@ -46,11 +45,8 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } + }, + ) } func Convert_batch_JobSpec_To_v1_JobSpec(in *batch.JobSpec, out *JobSpec, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/defaults.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/defaults.go index 39582fcd0a9..a68b33d7cc5 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/defaults.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/defaults.go @@ -20,8 +20,8 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs( +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( SetDefaults_Job, ) } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/generated.pb.go index 0de63cc5793..5c5e3ade0fc 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/generated.pb.go @@ -53,26 +53,39 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf -func (m *Job) Reset() { *m = Job{} } -func (*Job) ProtoMessage() {} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 -func (m *JobCondition) Reset() { *m = JobCondition{} } -func (*JobCondition) ProtoMessage() {} +func (m *Job) Reset() { *m = Job{} } +func (*Job) ProtoMessage() {} +func (*Job) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } -func (m *JobList) Reset() { *m = JobList{} } -func (*JobList) ProtoMessage() {} +func (m *JobCondition) Reset() { *m = JobCondition{} } +func (*JobCondition) ProtoMessage() {} +func (*JobCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } -func (m *JobSpec) Reset() { *m = JobSpec{} } -func (*JobSpec) ProtoMessage() {} +func (m *JobList) Reset() { *m = JobList{} } +func (*JobList) ProtoMessage() {} +func (*JobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } -func (m *JobStatus) Reset() { *m = JobStatus{} } -func (*JobStatus) ProtoMessage() {} +func (m *JobSpec) Reset() { *m = JobSpec{} } +func (*JobSpec) ProtoMessage() {} +func (*JobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } -func (m *LabelSelector) Reset() { *m = LabelSelector{} } -func (*LabelSelector) ProtoMessage() {} +func (m *JobStatus) Reset() { *m = JobStatus{} } +func (*JobStatus) ProtoMessage() {} +func (*JobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } + +func (m *LabelSelector) Reset() { *m = LabelSelector{} } +func (*LabelSelector) ProtoMessage() {} +func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } func (*LabelSelectorRequirement) ProtoMessage() {} +func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{6} +} func init() { proto.RegisterType((*Job)(nil), "k8s.io.client-go.1.4.pkg.apis.batch.v1.Job") @@ -2005,3 +2018,72 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 1027 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x56, 0xcd, 0x6e, 0x23, 0x45, + 0x10, 0x8e, 0x3d, 0xb1, 0x63, 0xb7, 0x93, 0xac, 0x69, 0x88, 0x64, 0x2c, 0x91, 0xac, 0x0c, 0x42, + 0xbb, 0x62, 0x33, 0x23, 0x07, 0x90, 0x56, 0x2b, 0xb1, 0x12, 0x13, 0x82, 0x04, 0xc4, 0x24, 0x6a, + 0x47, 0x2b, 0xc4, 0xcf, 0xa1, 0x3d, 0xae, 0x75, 0x86, 0x8c, 0x67, 0x86, 0xe9, 0x1e, 0x43, 0x38, + 0x21, 0x71, 0xe0, 0xca, 0x43, 0xf0, 0x0c, 0xec, 0x2b, 0xe4, 0xb8, 0x70, 0xe2, 0x14, 0xc1, 0xf2, + 0x16, 0x9c, 0xe8, 0xee, 0xe9, 0xf9, 0xf1, 0x5f, 0xe4, 0xec, 0xa1, 0x25, 0x77, 0x75, 0x7d, 0x5f, + 0x55, 0x77, 0x7d, 0x55, 0x63, 0xf4, 0xee, 0xc5, 0x43, 0x66, 0xba, 0x81, 0x75, 0x11, 0x0f, 0x20, + 0xf2, 0x81, 0x03, 0xb3, 0xc2, 0x8b, 0x91, 0x45, 0x43, 0x97, 0x59, 0x03, 0xca, 0x9d, 0x73, 0x6b, + 0xd2, 0xb5, 0x46, 0xe0, 0x43, 0x44, 0x39, 0x0c, 0xcd, 0x30, 0x0a, 0x78, 0x80, 0xdf, 0x4c, 0x40, + 0x66, 0x0e, 0x32, 0x05, 0xc8, 0x94, 0x20, 0x53, 0x81, 0xcc, 0x49, 0xb7, 0xbd, 0x3f, 0x72, 0xf9, + 0x79, 0x3c, 0x30, 0x9d, 0x60, 0x6c, 0x8d, 0x82, 0x51, 0x60, 0x29, 0xec, 0x20, 0x7e, 0xaa, 0x76, + 0x6a, 0xa3, 0x7e, 0x25, 0x9c, 0xed, 0x83, 0xa5, 0x89, 0x58, 0x11, 0xb0, 0x20, 0x8e, 0x1c, 0x98, + 0xcd, 0xa3, 0xfd, 0xfe, 0x72, 0x4c, 0xec, 0x4f, 0x20, 0x62, 0x6e, 0xe0, 0xc3, 0x70, 0x0e, 0xf6, + 0x60, 0x39, 0x6c, 0xfe, 0xb2, 0xed, 0xfd, 0xc5, 0xde, 0x51, 0xec, 0x73, 0x77, 0x3c, 0x9f, 0x53, + 0x77, 0xb1, 0x7b, 0xcc, 0x5d, 0xcf, 0x72, 0x7d, 0xce, 0x78, 0x34, 0x0b, 0xe9, 0xfc, 0x52, 0x46, + 0xc6, 0xa7, 0xc1, 0x00, 0x7f, 0x81, 0x6a, 0x63, 0xe0, 0x74, 0x48, 0x39, 0x6d, 0x95, 0xee, 0x96, + 0xee, 0x35, 0x0e, 0xee, 0x99, 0x4b, 0x5f, 0x5a, 0x3c, 0xb1, 0x79, 0x32, 0xf8, 0x16, 0x1c, 0xde, + 0x13, 0x18, 0x1b, 0x5f, 0x5d, 0xef, 0xad, 0xbd, 0xb8, 0xde, 0x43, 0xb9, 0x8d, 0x64, 0x6c, 0xf8, + 0x73, 0xb4, 0xce, 0x42, 0x70, 0x5a, 0x65, 0xc5, 0xfa, 0xc0, 0x5c, 0xa1, 0x7e, 0xa6, 0xc8, 0xa8, + 0x2f, 0x30, 0xf6, 0xa6, 0x66, 0x5e, 0x97, 0x3b, 0xa2, 0x78, 0xf0, 0x13, 0x54, 0x65, 0x9c, 0xf2, + 0x98, 0xb5, 0x0c, 0xc5, 0x68, 0xae, 0xcc, 0xa8, 0x50, 0xf6, 0xb6, 0xe6, 0xac, 0x26, 0x7b, 0xa2, + 0xd9, 0x3a, 0x7f, 0x1a, 0x68, 0x53, 0x78, 0x1d, 0x06, 0xfe, 0xd0, 0xe5, 0xa2, 0x78, 0xf8, 0x3d, + 0xb4, 0xce, 0x2f, 0x43, 0x50, 0xcf, 0x51, 0xb7, 0xef, 0xa6, 0xa9, 0x9c, 0x09, 0xdb, 0x7f, 0xd7, + 0x7b, 0xcd, 0xa2, 0xaf, 0xb4, 0x11, 0xe5, 0x5d, 0x48, 0xaf, 0xac, 0x70, 0x8f, 0xa7, 0xc3, 0x09, + 0xe4, 0x8d, 0x12, 0x30, 0x33, 0xce, 0xe9, 0xf4, 0xf0, 0x39, 0xda, 0xf2, 0x28, 0xe3, 0xa7, 0x51, + 0x30, 0x80, 0x33, 0x51, 0x7c, 0x7d, 0xfb, 0x77, 0x6e, 0xa8, 0x52, 0x41, 0x87, 0xa6, 0x84, 0xd8, + 0x3b, 0x3a, 0x97, 0xad, 0xe3, 0x22, 0x13, 0x99, 0x26, 0xc6, 0xdf, 0x23, 0x2c, 0x0d, 0x67, 0x11, + 0xf5, 0x59, 0x72, 0x3b, 0x19, 0x6e, 0xfd, 0xf6, 0xe1, 0xda, 0x3a, 0x1c, 0x3e, 0x9e, 0xa3, 0x23, + 0x0b, 0x42, 0xe0, 0xb7, 0x51, 0x35, 0x02, 0xca, 0x02, 0xbf, 0x55, 0x51, 0x4f, 0x97, 0x55, 0x8a, + 0x28, 0x2b, 0xd1, 0xa7, 0xf8, 0x3e, 0xda, 0x18, 0x03, 0x63, 0x74, 0x04, 0xad, 0xaa, 0x72, 0xbc, + 0xa3, 0x1d, 0x37, 0x7a, 0x89, 0x99, 0xa4, 0xe7, 0x9d, 0x67, 0x25, 0xb4, 0x21, 0x0a, 0x75, 0xec, + 0x32, 0x8e, 0xbf, 0x99, 0x93, 0xb8, 0xb5, 0xe2, 0x6d, 0x24, 0x5c, 0x29, 0xbd, 0xa9, 0x03, 0xd5, + 0x52, 0x4b, 0x41, 0xe7, 0x3d, 0x54, 0x71, 0x39, 0x8c, 0x65, 0xdd, 0x8d, 0x9b, 0xdb, 0x67, 0x5a, + 0x96, 0xf6, 0x96, 0x26, 0xad, 0x7c, 0x22, 0xe1, 0x24, 0x61, 0xe9, 0x3c, 0x33, 0x54, 0xe6, 0x52, + 0xf8, 0xb8, 0x8b, 0x1a, 0x21, 0x8d, 0xa8, 0xe7, 0x81, 0xe7, 0xb2, 0xb1, 0x4a, 0xbe, 0x62, 0xdf, + 0x11, 0x90, 0xc6, 0x69, 0x6e, 0x26, 0x45, 0x1f, 0x09, 0x11, 0xc3, 0x2f, 0xf4, 0x40, 0xbe, 0x6e, + 0xa2, 0x45, 0x0d, 0x39, 0xcc, 0xcd, 0xa4, 0xe8, 0x83, 0x4f, 0xd0, 0x0e, 0x75, 0xb8, 0x3b, 0x81, + 0x8f, 0x80, 0x0e, 0x3d, 0xd7, 0x87, 0x3e, 0x38, 0x42, 0x8c, 0x49, 0x9f, 0x19, 0xf6, 0xeb, 0x02, + 0xbc, 0xf3, 0xe1, 0x22, 0x07, 0xb2, 0x18, 0x87, 0xbf, 0x46, 0x35, 0x06, 0x9e, 0x98, 0x08, 0x41, + 0xa4, 0xe5, 0x73, 0xb0, 0xd2, 0xa3, 0x1c, 0xd3, 0x01, 0x78, 0x7d, 0x8d, 0xb4, 0x37, 0xe5, 0x7b, + 0xa7, 0x3b, 0x92, 0x31, 0xe2, 0x47, 0x68, 0x7b, 0x4c, 0xfd, 0x98, 0x66, 0x9e, 0x4a, 0x35, 0x35, + 0x1b, 0x0b, 0xff, 0xed, 0xde, 0xd4, 0x09, 0x99, 0xf1, 0xc4, 0x5f, 0xa1, 0x9a, 0x78, 0xe4, 0xd0, + 0x13, 0x83, 0x50, 0x49, 0xa8, 0x71, 0xb0, 0x7f, 0xf3, 0xb4, 0x3b, 0x0d, 0x86, 0x67, 0x1a, 0xa0, + 0x06, 0x53, 0x26, 0x84, 0xd4, 0x4a, 0x32, 0xc2, 0xce, 0xef, 0x06, 0xaa, 0x67, 0xe3, 0x06, 0x03, + 0x42, 0x4e, 0xda, 0xd2, 0x4c, 0x94, 0x4e, 0x6a, 0xa3, 0xbb, 0xaa, 0x36, 0xb2, 0x61, 0x90, 0xcf, + 0xd8, 0xcc, 0xc4, 0x48, 0x81, 0x58, 0xcc, 0xef, 0xba, 0x18, 0x14, 0x11, 0x57, 0xbd, 0x5a, 0xbe, + 0x7d, 0xaf, 0x6e, 0x09, 0xee, 0x7a, 0x3f, 0x65, 0x20, 0x39, 0x19, 0x1e, 0xa1, 0xed, 0x5c, 0x25, + 0x2f, 0x3b, 0x79, 0x54, 0x51, 0x0e, 0xa7, 0x68, 0xc8, 0x0c, 0xad, 0x6c, 0xff, 0x44, 0x47, 0x4a, + 0x2c, 0x95, 0xbc, 0xfd, 0x13, 0xd1, 0x11, 0x7d, 0x8a, 0x2d, 0x71, 0xd5, 0xd8, 0x71, 0x00, 0x86, + 0x30, 0x54, 0x35, 0xaf, 0xd8, 0xaf, 0x68, 0xd7, 0x7a, 0x3f, 0x3d, 0x20, 0xb9, 0x8f, 0x24, 0x7e, + 0x4a, 0x5d, 0x4f, 0x78, 0x57, 0xa7, 0x89, 0x3f, 0x56, 0x56, 0xa2, 0x4f, 0x3b, 0x7f, 0x94, 0xd1, + 0xd6, 0x94, 0xf6, 0xf0, 0x8f, 0xa8, 0x31, 0x96, 0xe5, 0x50, 0xd6, 0xb4, 0x7a, 0x87, 0xb7, 0x17, + 0xb1, 0xd9, 0xcb, 0x59, 0x8e, 0x7c, 0x1e, 0x5d, 0xda, 0xaf, 0xea, 0x1c, 0x1a, 0x85, 0x13, 0x52, + 0x0c, 0x86, 0x7f, 0x2e, 0xa1, 0xa6, 0xda, 0x1f, 0xfd, 0x10, 0x8a, 0x7f, 0x21, 0x4c, 0xf7, 0xb1, + 0xcc, 0xe0, 0x83, 0xdb, 0x67, 0x40, 0xe0, 0xbb, 0xd8, 0x8d, 0x60, 0x0c, 0x3e, 0xb7, 0x5b, 0x3a, + 0x76, 0xb3, 0x37, 0x43, 0x4f, 0xe6, 0x02, 0xb6, 0x1f, 0xa3, 0xe6, 0x6c, 0xee, 0xb8, 0x89, 0x8c, + 0x0b, 0xb8, 0x4c, 0xbe, 0x8b, 0x44, 0xfe, 0xc4, 0xaf, 0xa1, 0xca, 0x84, 0x7a, 0x71, 0xa2, 0xbc, + 0x3a, 0x49, 0x36, 0x8f, 0xca, 0x0f, 0x4b, 0x9d, 0xdf, 0x4a, 0xa8, 0xb5, 0x2c, 0x11, 0xfc, 0x46, + 0x81, 0xc8, 0x6e, 0xe8, 0xac, 0x8c, 0xcf, 0xe0, 0x32, 0x61, 0x3d, 0x42, 0xb5, 0x20, 0x94, 0xff, + 0x56, 0x44, 0x6f, 0x27, 0x1f, 0xd3, 0xfb, 0x69, 0xdb, 0x9d, 0x68, 0xbb, 0xf8, 0x9c, 0xee, 0x4c, + 0xd1, 0xa7, 0x07, 0x24, 0x83, 0xe2, 0x0e, 0xaa, 0xaa, 0x7c, 0xe4, 0x20, 0x33, 0x04, 0x09, 0x92, + 0xa5, 0x7f, 0xa2, 0x2c, 0x44, 0x9f, 0xd8, 0x6f, 0x5d, 0xfd, 0xb3, 0xbb, 0xf6, 0x5c, 0xac, 0xbf, + 0xc4, 0xfa, 0xe9, 0xc5, 0x6e, 0xe9, 0x4a, 0xac, 0xe7, 0x62, 0xfd, 0x2d, 0xd6, 0xaf, 0xff, 0xee, + 0xae, 0x7d, 0x59, 0x9e, 0x74, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xd1, 0x8b, 0x10, 0xf1, 0xb1, + 0x0a, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/register.go index e4901514fce..e35b2a72ebb 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/register.go @@ -29,14 +29,13 @@ const GroupName = "batch" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Job{}, &JobList{}, @@ -44,4 +43,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &v1.DeleteOptions{}, ) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/types.generated.go index 6f22896b517..c766863ddf1 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/types.generated.go @@ -92,11 +92,11 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2 [5]bool _, _, _ = yysep2, yyq2, yy2arr2 const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" + yyq2[3] = true + yyq2[4] = true var yynn2 int if yyr2 || yy2arr2 { r.EncodeArrayStart(5) @@ -113,102 +113,102 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, "") } } else { if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, "") } } else { if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy11 := &x.ObjectMeta yy11.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) + if yyq2[3] { + yy13 := &x.Spec + yy13.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq2[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy14 := &x.Spec + yy14.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[4] { + yy16 := &x.Status + yy16.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } + yy17 := &x.Status + yy17.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { @@ -224,25 +224,25 @@ func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym18 := z.DecBinary() + _ = yym18 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct19 := r.ContainerType() + if yyct19 == codecSelferValueTypeMap1234 { + yyl19 := r.ReadMapStart() + if yyl19 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl19, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct19 == codecSelferValueTypeArray1234 { + yyl19 := r.ReadArrayStart() + if yyl19 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl19, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -254,12 +254,12 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys20Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys20Slc + var yyhl20 bool = l >= 0 + for yyj20 := 0; ; yyj20++ { + if yyhl20 { + if yyj20 >= l { break } } else { @@ -268,31 +268,10 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys20Slc = r.DecodeBytes(yys20Slc, true, true) + yys20 := string(yys20Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = JobSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = JobStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys20 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -305,10 +284,31 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv23 := &x.ObjectMeta + yyv23.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = JobSpec{} + } else { + yyv24 := &x.Spec + yyv24.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = JobStatus{} + } else { + yyv25 := &x.Status + yyv25.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys20) + } // end switch yys20 + } // end for yyj20 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -316,67 +316,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj26 int + var yyb26 bool + var yyhl26 bool = l >= 0 + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = JobSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = JobStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -386,13 +335,13 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -402,18 +351,69 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv29 := &x.ObjectMeta + yyv29.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = JobSpec{} + } else { + yyv30 := &x.Spec + yyv30.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = JobStatus{} + } else { + yyv31 := &x.Status + yyv31.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { + if yyb26 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj26-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -425,68 +425,118 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym32 := z.EncBinary() + _ = yym32 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep33 := !z.EncBinary() + yy2arr33 := z.EncBasicHandle().StructToArray + var yyq33 [4]bool + _, _, _ = yysep33, yyq33, yy2arr33 + const yyr33 bool = false + yyq33[0] = x.Kind != "" + yyq33[1] = x.APIVersion != "" + yyq33[2] = true + var yynn33 int + if yyr33 || yy2arr33 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn33 = 1 + for _, b := range yyq33 { if b { - yynn2++ + yynn33++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn33) + yynn33 = 0 } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq33[0] { + yym35 := z.EncBinary() + _ = yym35 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq33[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym36 := z.EncBinary() + _ = yym36 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr33 || yy2arr33 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq33[1] { + yym38 := z.EncBinary() + _ = yym38 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq33[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym39 := z.EncBinary() + _ = yym39 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr33 || yy2arr33 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq33[2] { + yy41 := &x.ListMeta + yym42 := z.EncBinary() + _ = yym42 + if false { + } else if z.HasExtensions() && z.EncExt(yy41) { + } else { + z.EncFallback(yy41) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq33[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy43 := &x.ListMeta + yym44 := z.EncBinary() + _ = yym44 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy43) { } else { - z.EncFallback(yy6) + z.EncFallback(yy43) } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym46 := z.EncBinary() + _ = yym46 if false { } else { h.encSliceJob(([]Job)(x.Items), e) @@ -499,65 +549,15 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym47 := z.EncBinary() + _ = yym47 if false { } else { h.encSliceJob(([]Job)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -570,25 +570,25 @@ func (x *JobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym48 := z.DecBinary() + _ = yym48 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct49 := r.ContainerType() + if yyct49 == codecSelferValueTypeMap1234 { + yyl49 := r.ReadMapStart() + if yyl49 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl49, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct49 == codecSelferValueTypeArray1234 { + yyl49 := r.ReadArrayStart() + if yyl49 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl49, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -600,12 +600,12 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys50Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys50Slc + var yyhl50 bool = l >= 0 + for yyj50 := 0; ; yyj50++ { + if yyhl50 { + if yyj50 >= l { break } } else { @@ -614,35 +614,10 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys50Slc = r.DecodeBytes(yys50Slc, true, true) + yys50 := string(yys50Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceJob((*[]Job)(yyv6), d) - } - } + switch yys50 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -655,10 +630,35 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv53 := &x.ListMeta + yym54 := z.DecBinary() + _ = yym54 + if false { + } else if z.HasExtensions() && z.DecExt(yyv53) { + } else { + z.DecFallback(yyv53, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv55 := &x.Items + yym56 := z.DecBinary() + _ = yym56 + if false { + } else { + h.decSliceJob((*[]Job)(yyv55), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys50) + } // end switch yys50 + } // end for yyj50 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -666,61 +666,16 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj57 int + var yyb57 bool + var yyhl57 bool = l >= 0 + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l } else { - yyb10 = r.CheckBreak() + yyb57 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceJob((*[]Job)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb57 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -730,13 +685,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l } else { - yyb10 = r.CheckBreak() + yyb57 = r.CheckBreak() } - if yyb10 { + if yyb57 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -746,18 +701,63 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l + } else { + yyb57 = r.CheckBreak() + } + if yyb57 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv60 := &x.ListMeta + yym61 := z.DecBinary() + _ = yym61 + if false { + } else if z.HasExtensions() && z.DecExt(yyv60) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv60, false) } - if yyb10 { + } + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l + } else { + yyb57 = r.CheckBreak() + } + if yyb57 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv62 := &x.Items + yym63 := z.DecBinary() + _ = yym63 + if false { + } else { + h.decSliceJob((*[]Job)(yyv62), d) + } + } + for { + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l + } else { + yyb57 = r.CheckBreak() + } + if yyb57 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj57-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -769,142 +769,142 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym64 := z.EncBinary() + _ = yym64 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Parallelism != nil - yyq2[1] = x.Completions != nil - yyq2[2] = x.ActiveDeadlineSeconds != nil - yyq2[3] = x.Selector != nil - yyq2[4] = x.ManualSelector != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep65 := !z.EncBinary() + yy2arr65 := z.EncBasicHandle().StructToArray + var yyq65 [6]bool + _, _, _ = yysep65, yyq65, yy2arr65 + const yyr65 bool = false + yyq65[0] = x.Parallelism != nil + yyq65[1] = x.Completions != nil + yyq65[2] = x.ActiveDeadlineSeconds != nil + yyq65[3] = x.Selector != nil + yyq65[4] = x.ManualSelector != nil + var yynn65 int + if yyr65 || yy2arr65 { r.EncodeArrayStart(6) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn65 = 1 + for _, b := range yyq65 { if b { - yynn2++ + yynn65++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn65) + yynn65 = 0 } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq65[0] { if x.Parallelism == nil { r.EncodeNil() } else { - yy4 := *x.Parallelism - yym5 := z.EncBinary() - _ = yym5 + yy67 := *x.Parallelism + yym68 := z.EncBinary() + _ = yym68 if false { } else { - r.EncodeInt(int64(yy4)) + r.EncodeInt(int64(yy67)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq65[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("parallelism")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Parallelism == nil { r.EncodeNil() } else { - yy6 := *x.Parallelism - yym7 := z.EncBinary() - _ = yym7 + yy69 := *x.Parallelism + yym70 := z.EncBinary() + _ = yym70 if false { } else { - r.EncodeInt(int64(yy6)) + r.EncodeInt(int64(yy69)) } } } } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq65[1] { if x.Completions == nil { r.EncodeNil() } else { - yy9 := *x.Completions - yym10 := z.EncBinary() - _ = yym10 + yy72 := *x.Completions + yym73 := z.EncBinary() + _ = yym73 if false { } else { - r.EncodeInt(int64(yy9)) + r.EncodeInt(int64(yy72)) } } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq65[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Completions == nil { r.EncodeNil() } else { - yy11 := *x.Completions - yym12 := z.EncBinary() - _ = yym12 + yy74 := *x.Completions + yym75 := z.EncBinary() + _ = yym75 if false { } else { - r.EncodeInt(int64(yy11)) + r.EncodeInt(int64(yy74)) } } } } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq65[2] { if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy14 := *x.ActiveDeadlineSeconds - yym15 := z.EncBinary() - _ = yym15 + yy77 := *x.ActiveDeadlineSeconds + yym78 := z.EncBinary() + _ = yym78 if false { } else { - r.EncodeInt(int64(yy14)) + r.EncodeInt(int64(yy77)) } } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq65[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy16 := *x.ActiveDeadlineSeconds - yym17 := z.EncBinary() - _ = yym17 + yy79 := *x.ActiveDeadlineSeconds + yym80 := z.EncBinary() + _ = yym80 if false { } else { - r.EncodeInt(int64(yy16)) + r.EncodeInt(int64(yy79)) } } } } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq65[3] { if x.Selector == nil { r.EncodeNil() } else { @@ -914,7 +914,7 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq65[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -925,53 +925,53 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq65[4] { if x.ManualSelector == nil { r.EncodeNil() } else { - yy22 := *x.ManualSelector - yym23 := z.EncBinary() - _ = yym23 + yy83 := *x.ManualSelector + yym84 := z.EncBinary() + _ = yym84 if false { } else { - r.EncodeBool(bool(yy22)) + r.EncodeBool(bool(yy83)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq65[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("manualSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ManualSelector == nil { r.EncodeNil() } else { - yy24 := *x.ManualSelector - yym25 := z.EncBinary() - _ = yym25 + yy85 := *x.ManualSelector + yym86 := z.EncBinary() + _ = yym86 if false { } else { - r.EncodeBool(bool(yy24)) + r.EncodeBool(bool(yy85)) } } } } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy27 := &x.Template - yy27.CodecEncodeSelf(e) + yy88 := &x.Template + yy88.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy29 := &x.Template - yy29.CodecEncodeSelf(e) + yy89 := &x.Template + yy89.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -984,25 +984,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym90 := z.DecBinary() + _ = yym90 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct91 := r.ContainerType() + if yyct91 == codecSelferValueTypeMap1234 { + yyl91 := r.ReadMapStart() + if yyl91 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl91, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct91 == codecSelferValueTypeArray1234 { + yyl91 := r.ReadArrayStart() + if yyl91 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl91, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1014,12 +1014,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys92Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys92Slc + var yyhl92 bool = l >= 0 + for yyj92 := 0; ; yyj92++ { + if yyhl92 { + if yyj92 >= l { break } } else { @@ -1028,10 +1028,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys92Slc = r.DecodeBytes(yys92Slc, true, true) + yys92 := string(yys92Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys92 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -1041,8 +1041,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym5 := z.DecBinary() - _ = yym5 + yym94 := z.DecBinary() + _ = yym94 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -1057,8 +1057,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym7 := z.DecBinary() - _ = yym7 + yym96 := z.DecBinary() + _ = yym96 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -1073,8 +1073,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym9 := z.DecBinary() - _ = yym9 + yym98 := z.DecBinary() + _ = yym98 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -1100,8 +1100,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym12 := z.DecBinary() - _ = yym12 + yym101 := z.DecBinary() + _ = yym101 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() @@ -1111,13 +1111,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv13 := &x.Template - yyv13.CodecDecodeSelf(d) + yyv102 := &x.Template + yyv102.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys92) + } // end switch yys92 + } // end for yyj92 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1125,16 +1125,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj14 int - var yyb14 bool - var yyhl14 bool = l >= 0 - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + var yyj103 int + var yyb103 bool + var yyhl103 bool = l >= 0 + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb14 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb14 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1147,20 +1147,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym16 := z.DecBinary() - _ = yym16 + yym105 := z.DecBinary() + _ = yym105 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb14 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb14 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1173,20 +1173,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym18 := z.DecBinary() - _ = yym18 + yym107 := z.DecBinary() + _ = yym107 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb14 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb14 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1199,20 +1199,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym20 := z.DecBinary() - _ = yym20 + yym109 := z.DecBinary() + _ = yym109 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb14 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb14 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1227,13 +1227,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Selector.CodecDecodeSelf(d) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb14 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb14 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1246,20 +1246,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym23 := z.DecBinary() - _ = yym23 + yym112 := z.DecBinary() + _ = yym112 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb14 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb14 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1267,21 +1267,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv24 := &x.Template - yyv24.CodecDecodeSelf(d) + yyv113 := &x.Template + yyv113.CodecDecodeSelf(d) } for { - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb14 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb14 { + if yyb103 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj14-1, "") + z.DecStructFieldNotFound(yyj103-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1293,43 +1293,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym114 := z.EncBinary() + _ = yym114 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Conditions) != 0 - yyq2[1] = x.StartTime != nil - yyq2[2] = x.CompletionTime != nil - yyq2[3] = x.Active != 0 - yyq2[4] = x.Succeeded != 0 - yyq2[5] = x.Failed != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep115 := !z.EncBinary() + yy2arr115 := z.EncBasicHandle().StructToArray + var yyq115 [6]bool + _, _, _ = yysep115, yyq115, yy2arr115 + const yyr115 bool = false + yyq115[0] = len(x.Conditions) != 0 + yyq115[1] = x.StartTime != nil + yyq115[2] = x.CompletionTime != nil + yyq115[3] = x.Active != 0 + yyq115[4] = x.Succeeded != 0 + yyq115[5] = x.Failed != 0 + var yynn115 int + if yyr115 || yy2arr115 { r.EncodeArrayStart(6) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn115 = 0 + for _, b := range yyq115 { if b { - yynn2++ + yynn115++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn115) + yynn115 = 0 } - if yyr2 || yy2arr2 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq115[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym117 := z.EncBinary() + _ = yym117 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1339,15 +1339,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq115[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym118 := z.EncBinary() + _ = yym118 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1355,19 +1355,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq115[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym120 := z.EncBinary() + _ = yym120 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym7 { + } else if yym120 { z.EncBinaryMarshal(x.StartTime) - } else if !yym7 && z.IsJSONHandle() { + } else if !yym120 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1377,20 +1377,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq115[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym121 := z.EncBinary() + _ = yym121 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym8 { + } else if yym121 { z.EncBinaryMarshal(x.StartTime) - } else if !yym8 && z.IsJSONHandle() { + } else if !yym121 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1398,19 +1398,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq115[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym123 := z.EncBinary() + _ = yym123 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym10 { + } else if yym123 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym10 && z.IsJSONHandle() { + } else if !yym123 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1420,20 +1420,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq115[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym124 := z.EncBinary() + _ = yym124 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym11 { + } else if yym124 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym11 && z.IsJSONHandle() { + } else if !yym124 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1441,11 +1441,11 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq115[3] { + yym126 := z.EncBinary() + _ = yym126 if false { } else { r.EncodeInt(int64(x.Active)) @@ -1454,23 +1454,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[3] { + if yyq115[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym127 := z.EncBinary() + _ = yym127 if false { } else { r.EncodeInt(int64(x.Active)) } } } - if yyr2 || yy2arr2 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq115[4] { + yym129 := z.EncBinary() + _ = yym129 if false { } else { r.EncodeInt(int64(x.Succeeded)) @@ -1479,23 +1479,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[4] { + if yyq115[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("succeeded")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym130 := z.EncBinary() + _ = yym130 if false { } else { r.EncodeInt(int64(x.Succeeded)) } } } - if yyr2 || yy2arr2 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq115[5] { + yym132 := z.EncBinary() + _ = yym132 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -1504,19 +1504,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[5] { + if yyq115[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym133 := z.EncBinary() + _ = yym133 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr2 || yy2arr2 { + if yyr115 || yy2arr115 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1529,25 +1529,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym134 := z.DecBinary() + _ = yym134 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct135 := r.ContainerType() + if yyct135 == codecSelferValueTypeMap1234 { + yyl135 := r.ReadMapStart() + if yyl135 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl135, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct135 == codecSelferValueTypeArray1234 { + yyl135 := r.ReadArrayStart() + if yyl135 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl135, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1559,12 +1559,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys136Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys136Slc + var yyhl136 bool = l >= 0 + for yyj136 := 0; ; yyj136++ { + if yyhl136 { + if yyj136 >= l { break } } else { @@ -1573,20 +1573,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys136Slc = r.DecodeBytes(yys136Slc, true, true) + yys136 := string(yys136Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys136 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4 := &x.Conditions - yym5 := z.DecBinary() - _ = yym5 + yyv137 := &x.Conditions + yym138 := z.DecBinary() + _ = yym138 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv4), d) + h.decSliceJobCondition((*[]JobCondition)(yyv137), d) } } case "startTime": @@ -1598,13 +1598,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym7 := z.DecBinary() - _ = yym7 + yym140 := z.DecBinary() + _ = yym140 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym7 { + } else if yym140 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym7 && z.IsJSONHandle() { + } else if !yym140 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -1619,13 +1619,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym9 := z.DecBinary() - _ = yym9 + yym142 := z.DecBinary() + _ = yym142 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym9 { + } else if yym142 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym9 && z.IsJSONHandle() { + } else if !yym142 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -1650,9 +1650,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys136) + } // end switch yys136 + } // end for yyj136 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1660,16 +1660,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj13 int - var yyb13 bool - var yyhl13 bool = l >= 0 - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + var yyj146 int + var yyb146 bool + var yyhl146 bool = l >= 0 + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb13 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb13 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1677,21 +1677,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv14 := &x.Conditions - yym15 := z.DecBinary() - _ = yym15 + yyv147 := &x.Conditions + yym148 := z.DecBinary() + _ = yym148 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv14), d) + h.decSliceJobCondition((*[]JobCondition)(yyv147), d) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb13 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb13 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1704,25 +1704,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym17 := z.DecBinary() - _ = yym17 + yym150 := z.DecBinary() + _ = yym150 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym17 { + } else if yym150 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym17 && z.IsJSONHandle() { + } else if !yym150 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb13 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb13 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1735,25 +1735,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym19 := z.DecBinary() - _ = yym19 + yym152 := z.DecBinary() + _ = yym152 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym19 { + } else if yym152 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym19 && z.IsJSONHandle() { + } else if !yym152 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb13 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb13 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1763,13 +1763,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb13 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb13 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1779,13 +1779,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb13 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb13 { + if yyb146 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1796,17 +1796,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj146++ + if yyhl146 { + yyb146 = yyj146 > l } else { - yyb13 = r.CheckBreak() + yyb146 = r.CheckBreak() } - if yyb13 { + if yyb146 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj13-1, "") + z.DecStructFieldNotFound(yyj146-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1815,8 +1815,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym156 := z.EncBinary() + _ = yym156 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -1828,8 +1828,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym157 := z.DecBinary() + _ = yym157 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -1844,34 +1844,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym158 := z.EncBinary() + _ = yym158 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = true - yyq2[3] = true - yyq2[4] = x.Reason != "" - yyq2[5] = x.Message != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep159 := !z.EncBinary() + yy2arr159 := z.EncBasicHandle().StructToArray + var yyq159 [6]bool + _, _, _ = yysep159, yyq159, yy2arr159 + const yyr159 bool = false + yyq159[2] = true + yyq159[3] = true + yyq159[4] = x.Reason != "" + yyq159[5] = x.Message != "" + var yynn159 int + if yyr159 || yy2arr159 { r.EncodeArrayStart(6) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn159 = 2 + for _, b := range yyq159 { if b { - yynn2++ + yynn159++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn159) + yynn159 = 0 } - if yyr2 || yy2arr2 { + if yyr159 || yy2arr159 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -1880,96 +1880,106 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr159 || yy2arr159 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yysf7 := &x.Status - yysf7.CodecEncodeSelf(e) + yym162 := z.EncBinary() + _ = yym162 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yysf8 := &x.Status - yysf8.CodecEncodeSelf(e) + yym163 := z.EncBinary() + _ = yym163 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } } - if yyr2 || yy2arr2 { + if yyr159 || yy2arr159 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy10 := &x.LastProbeTime - yym11 := z.EncBinary() - _ = yym11 + if yyq159[2] { + yy165 := &x.LastProbeTime + yym166 := z.EncBinary() + _ = yym166 if false { - } else if z.HasExtensions() && z.EncExt(yy10) { - } else if yym11 { - z.EncBinaryMarshal(yy10) - } else if !yym11 && z.IsJSONHandle() { - z.EncJSONMarshal(yy10) + } else if z.HasExtensions() && z.EncExt(yy165) { + } else if yym166 { + z.EncBinaryMarshal(yy165) + } else if !yym166 && z.IsJSONHandle() { + z.EncJSONMarshal(yy165) } else { - z.EncFallback(yy10) + z.EncFallback(yy165) } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq159[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.LastProbeTime - yym13 := z.EncBinary() - _ = yym13 + yy167 := &x.LastProbeTime + yym168 := z.EncBinary() + _ = yym168 if false { - } else if z.HasExtensions() && z.EncExt(yy12) { - } else if yym13 { - z.EncBinaryMarshal(yy12) - } else if !yym13 && z.IsJSONHandle() { - z.EncJSONMarshal(yy12) + } else if z.HasExtensions() && z.EncExt(yy167) { + } else if yym168 { + z.EncBinaryMarshal(yy167) + } else if !yym168 && z.IsJSONHandle() { + z.EncJSONMarshal(yy167) } else { - z.EncFallback(yy12) + z.EncFallback(yy167) } } } - if yyr2 || yy2arr2 { + if yyr159 || yy2arr159 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yy15 := &x.LastTransitionTime - yym16 := z.EncBinary() - _ = yym16 + if yyq159[3] { + yy170 := &x.LastTransitionTime + yym171 := z.EncBinary() + _ = yym171 if false { - } else if z.HasExtensions() && z.EncExt(yy15) { - } else if yym16 { - z.EncBinaryMarshal(yy15) - } else if !yym16 && z.IsJSONHandle() { - z.EncJSONMarshal(yy15) + } else if z.HasExtensions() && z.EncExt(yy170) { + } else if yym171 { + z.EncBinaryMarshal(yy170) + } else if !yym171 && z.IsJSONHandle() { + z.EncJSONMarshal(yy170) } else { - z.EncFallback(yy15) + z.EncFallback(yy170) } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq159[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.LastTransitionTime - yym18 := z.EncBinary() - _ = yym18 + yy172 := &x.LastTransitionTime + yym173 := z.EncBinary() + _ = yym173 if false { - } else if z.HasExtensions() && z.EncExt(yy17) { - } else if yym18 { - z.EncBinaryMarshal(yy17) - } else if !yym18 && z.IsJSONHandle() { - z.EncJSONMarshal(yy17) + } else if z.HasExtensions() && z.EncExt(yy172) { + } else if yym173 { + z.EncBinaryMarshal(yy172) + } else if !yym173 && z.IsJSONHandle() { + z.EncJSONMarshal(yy172) } else { - z.EncFallback(yy17) + z.EncFallback(yy172) } } } - if yyr2 || yy2arr2 { + if yyr159 || yy2arr159 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 + if yyq159[4] { + yym175 := z.EncBinary() + _ = yym175 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -1978,23 +1988,23 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq159[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym176 := z.EncBinary() + _ = yym176 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr159 || yy2arr159 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym23 := z.EncBinary() - _ = yym23 + if yyq159[5] { + yym178 := z.EncBinary() + _ = yym178 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -2003,19 +2013,19 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq159[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 + yym179 := z.EncBinary() + _ = yym179 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr159 || yy2arr159 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2028,25 +2038,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym180 := z.DecBinary() + _ = yym180 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct181 := r.ContainerType() + if yyct181 == codecSelferValueTypeMap1234 { + yyl181 := r.ReadMapStart() + if yyl181 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl181, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct181 == codecSelferValueTypeArray1234 { + yyl181 := r.ReadArrayStart() + if yyl181 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl181, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2058,12 +2068,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys182Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys182Slc + var yyhl182 bool = l >= 0 + for yyj182 := 0; ; yyj182++ { + if yyhl182 { + if yyj182 >= l { break } } else { @@ -2072,10 +2082,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys182Slc = r.DecodeBytes(yys182Slc, true, true) + yys182 := string(yys182Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys182 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -2092,34 +2102,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv6 := &x.LastProbeTime - yym7 := z.DecBinary() - _ = yym7 + yyv185 := &x.LastProbeTime + yym186 := z.DecBinary() + _ = yym186 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if yym7 { - z.DecBinaryUnmarshal(yyv6) - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv185) { + } else if yym186 { + z.DecBinaryUnmarshal(yyv185) + } else if !yym186 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv185) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv185, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv8 := &x.LastTransitionTime - yym9 := z.DecBinary() - _ = yym9 + yyv187 := &x.LastTransitionTime + yym188 := z.DecBinary() + _ = yym188 if false { - } else if z.HasExtensions() && z.DecExt(yyv8) { - } else if yym9 { - z.DecBinaryUnmarshal(yyv8) - } else if !yym9 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv8) + } else if z.HasExtensions() && z.DecExt(yyv187) { + } else if yym188 { + z.DecBinaryUnmarshal(yyv187) + } else if !yym188 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv187) } else { - z.DecFallback(yyv8, false) + z.DecFallback(yyv187, false) } } case "reason": @@ -2135,9 +2145,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys182) + } // end switch yys182 + } // end for yyj182 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2145,16 +2155,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj191 int + var yyb191 bool + var yyhl191 bool = l >= 0 + yyj191++ + if yyhl191 { + yyb191 = yyj191 > l } else { - yyb12 = r.CheckBreak() + yyb191 = r.CheckBreak() } - if yyb12 { + if yyb191 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2164,13 +2174,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj191++ + if yyhl191 { + yyb191 = yyj191 > l } else { - yyb12 = r.CheckBreak() + yyb191 = r.CheckBreak() } - if yyb12 { + if yyb191 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2180,13 +2190,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj191++ + if yyhl191 { + yyb191 = yyj191 > l } else { - yyb12 = r.CheckBreak() + yyb191 = r.CheckBreak() } - if yyb12 { + if yyb191 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2194,26 +2204,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv15 := &x.LastProbeTime - yym16 := z.DecBinary() - _ = yym16 + yyv194 := &x.LastProbeTime + yym195 := z.DecBinary() + _ = yym195 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { - } else if yym16 { - z.DecBinaryUnmarshal(yyv15) - } else if !yym16 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv15) + } else if z.HasExtensions() && z.DecExt(yyv194) { + } else if yym195 { + z.DecBinaryUnmarshal(yyv194) + } else if !yym195 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv194) } else { - z.DecFallback(yyv15, false) + z.DecFallback(yyv194, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj191++ + if yyhl191 { + yyb191 = yyj191 > l } else { - yyb12 = r.CheckBreak() + yyb191 = r.CheckBreak() } - if yyb12 { + if yyb191 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2221,26 +2231,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv17 := &x.LastTransitionTime - yym18 := z.DecBinary() - _ = yym18 + yyv196 := &x.LastTransitionTime + yym197 := z.DecBinary() + _ = yym197 if false { - } else if z.HasExtensions() && z.DecExt(yyv17) { - } else if yym18 { - z.DecBinaryUnmarshal(yyv17) - } else if !yym18 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv17) + } else if z.HasExtensions() && z.DecExt(yyv196) { + } else if yym197 { + z.DecBinaryUnmarshal(yyv196) + } else if !yym197 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv196) } else { - z.DecFallback(yyv17, false) + z.DecFallback(yyv196, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj191++ + if yyhl191 { + yyb191 = yyj191 > l } else { - yyb12 = r.CheckBreak() + yyb191 = r.CheckBreak() } - if yyb12 { + if yyb191 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2250,13 +2260,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj191++ + if yyhl191 { + yyb191 = yyj191 > l } else { - yyb12 = r.CheckBreak() + yyb191 = r.CheckBreak() } - if yyb12 { + if yyb191 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2267,17 +2277,17 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj191++ + if yyhl191 { + yyb191 = yyj191 > l } else { - yyb12 = r.CheckBreak() + yyb191 = r.CheckBreak() } - if yyb12 { + if yyb191 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj191-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2289,39 +2299,39 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym200 := z.EncBinary() + _ = yym200 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.MatchLabels) != 0 - yyq2[1] = len(x.MatchExpressions) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep201 := !z.EncBinary() + yy2arr201 := z.EncBasicHandle().StructToArray + var yyq201 [2]bool + _, _, _ = yysep201, yyq201, yy2arr201 + const yyr201 bool = false + yyq201[0] = len(x.MatchLabels) != 0 + yyq201[1] = len(x.MatchExpressions) != 0 + var yynn201 int + if yyr201 || yy2arr201 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn201 = 0 + for _, b := range yyq201 { if b { - yynn2++ + yynn201++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn201) + yynn201 = 0 } - if yyr2 || yy2arr2 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq201[0] { if x.MatchLabels == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym203 := z.EncBinary() + _ = yym203 if false { } else { z.F.EncMapStringStringV(x.MatchLabels, false, e) @@ -2331,15 +2341,15 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq201[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("matchLabels")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MatchLabels == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym204 := z.EncBinary() + _ = yym204 if false { } else { z.F.EncMapStringStringV(x.MatchLabels, false, e) @@ -2347,14 +2357,14 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq201[1] { if x.MatchExpressions == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym206 := z.EncBinary() + _ = yym206 if false { } else { h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) @@ -2364,15 +2374,15 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq201[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("matchExpressions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MatchExpressions == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym207 := z.EncBinary() + _ = yym207 if false { } else { h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) @@ -2380,7 +2390,7 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2393,25 +2403,25 @@ func (x *LabelSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym208 := z.DecBinary() + _ = yym208 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct209 := r.ContainerType() + if yyct209 == codecSelferValueTypeMap1234 { + yyl209 := r.ReadMapStart() + if yyl209 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl209, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct209 == codecSelferValueTypeArray1234 { + yyl209 := r.ReadArrayStart() + if yyl209 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl209, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2423,12 +2433,12 @@ func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -2437,38 +2447,38 @@ func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys210Slc = r.DecodeBytes(yys210Slc, true, true) + yys210 := string(yys210Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys210 { case "matchLabels": if r.TryDecodeAsNil() { x.MatchLabels = nil } else { - yyv4 := &x.MatchLabels - yym5 := z.DecBinary() - _ = yym5 + yyv211 := &x.MatchLabels + yym212 := z.DecBinary() + _ = yym212 if false { } else { - z.F.DecMapStringStringX(yyv4, false, d) + z.F.DecMapStringStringX(yyv211, false, d) } } case "matchExpressions": if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv6 := &x.MatchExpressions - yym7 := z.DecBinary() - _ = yym7 + yyv213 := &x.MatchExpressions + yym214 := z.DecBinary() + _ = yym214 if false { } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv6), d) + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv213), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys210) + } // end switch yys210 + } // end for yyj210 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2476,16 +2486,16 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj215 int + var yyb215 bool + var yyhl215 bool = l >= 0 + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb8 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb8 { + if yyb215 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2493,21 +2503,21 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MatchLabels = nil } else { - yyv9 := &x.MatchLabels - yym10 := z.DecBinary() - _ = yym10 + yyv216 := &x.MatchLabels + yym217 := z.DecBinary() + _ = yym217 if false { } else { - z.F.DecMapStringStringX(yyv9, false, d) + z.F.DecMapStringStringX(yyv216, false, d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb8 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb8 { + if yyb215 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2515,26 +2525,26 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv11 := &x.MatchExpressions - yym12 := z.DecBinary() - _ = yym12 + yyv218 := &x.MatchExpressions + yym219 := z.DecBinary() + _ = yym219 if false { } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv11), d) + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv218), d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj215++ + if yyhl215 { + yyb215 = yyj215 > l } else { - yyb8 = r.CheckBreak() + yyb215 = r.CheckBreak() } - if yyb8 { + if yyb215 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj215-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2546,34 +2556,34 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym220 := z.EncBinary() + _ = yym220 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = len(x.Values) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep221 := !z.EncBinary() + yy2arr221 := z.EncBasicHandle().StructToArray + var yyq221 [3]bool + _, _, _ = yysep221, yyq221, yy2arr221 + const yyr221 bool = false + yyq221[2] = len(x.Values) != 0 + var yynn221 int + if yyr221 || yy2arr221 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn221 = 2 + for _, b := range yyq221 { if b { - yynn2++ + yynn221++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn221) + yynn221 = 0 } - if yyr2 || yy2arr2 { + if yyr221 || yy2arr221 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym223 := z.EncBinary() + _ = yym223 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -2582,14 +2592,14 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym224 := z.EncBinary() + _ = yym224 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr2 || yy2arr2 { + if yyr221 || yy2arr221 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Operator.CodecEncodeSelf(e) } else { @@ -2598,14 +2608,14 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr221 || yy2arr221 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq221[2] { if x.Values == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym227 := z.EncBinary() + _ = yym227 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -2615,15 +2625,15 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq221[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("values")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Values == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym228 := z.EncBinary() + _ = yym228 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -2631,7 +2641,7 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr221 || yy2arr221 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2644,25 +2654,25 @@ func (x *LabelSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym229 := z.DecBinary() + _ = yym229 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct230 := r.ContainerType() + if yyct230 == codecSelferValueTypeMap1234 { + yyl230 := r.ReadMapStart() + if yyl230 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl230, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct230 == codecSelferValueTypeArray1234 { + yyl230 := r.ReadArrayStart() + if yyl230 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl230, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2674,12 +2684,12 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys231Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys231Slc + var yyhl231 bool = l >= 0 + for yyj231 := 0; ; yyj231++ { + if yyhl231 { + if yyj231 >= l { break } } else { @@ -2688,10 +2698,10 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys231Slc = r.DecodeBytes(yys231Slc, true, true) + yys231 := string(yys231Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys231 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -2708,18 +2718,18 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Values = nil } else { - yyv6 := &x.Values - yym7 := z.DecBinary() - _ = yym7 + yyv234 := &x.Values + yym235 := z.DecBinary() + _ = yym235 if false { } else { - z.F.DecSliceStringX(yyv6, false, d) + z.F.DecSliceStringX(yyv234, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys231) + } // end switch yys231 + } // end for yyj231 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2727,16 +2737,16 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj236 int + var yyb236 bool + var yyhl236 bool = l >= 0 + yyj236++ + if yyhl236 { + yyb236 = yyj236 > l } else { - yyb8 = r.CheckBreak() + yyb236 = r.CheckBreak() } - if yyb8 { + if yyb236 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2746,13 +2756,13 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Key = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj236++ + if yyhl236 { + yyb236 = yyj236 > l } else { - yyb8 = r.CheckBreak() + yyb236 = r.CheckBreak() } - if yyb8 { + if yyb236 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2762,13 +2772,13 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Operator = LabelSelectorOperator(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj236++ + if yyhl236 { + yyb236 = yyj236 > l } else { - yyb8 = r.CheckBreak() + yyb236 = r.CheckBreak() } - if yyb8 { + if yyb236 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2776,26 +2786,26 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Values = nil } else { - yyv11 := &x.Values - yym12 := z.DecBinary() - _ = yym12 + yyv239 := &x.Values + yym240 := z.DecBinary() + _ = yym240 if false { } else { - z.F.DecSliceStringX(yyv11, false, d) + z.F.DecSliceStringX(yyv239, false, d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj236++ + if yyhl236 { + yyb236 = yyj236 > l } else { - yyb8 = r.CheckBreak() + yyb236 = r.CheckBreak() } - if yyb8 { + if yyb236 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj236-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2804,8 +2814,8 @@ func (x LabelSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym241 := z.EncBinary() + _ = yym241 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -2817,8 +2827,8 @@ func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym242 := z.DecBinary() + _ = yym242 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -2831,10 +2841,10 @@ func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv243 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy244 := &yyv243 + yy244.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2844,86 +2854,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Job{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv245 := *v + yyh245, yyl245 := z.DecSliceHelperStart() + var yyc245 bool + if yyl245 == 0 { + if yyv245 == nil { + yyv245 = []Job{} + yyc245 = true + } else if len(yyv245) != 0 { + yyv245 = yyv245[:0] + yyc245 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl245 > 0 { + var yyrr245, yyrl245 int + var yyrt245 bool + if yyl245 > cap(yyv245) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 792) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg245 := len(yyv245) > 0 + yyv2245 := yyv245 + yyrl245, yyrt245 = z.DecInferLen(yyl245, z.DecBasicHandle().MaxInitLen, 792) + if yyrt245 { + if yyrl245 <= cap(yyv245) { + yyv245 = yyv245[:yyrl245] } else { - yyv1 = make([]Job, yyrl1) + yyv245 = make([]Job, yyrl245) } } else { - yyv1 = make([]Job, yyrl1) + yyv245 = make([]Job, yyrl245) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc245 = true + yyrr245 = len(yyv245) + if yyrg245 { + copy(yyv245, yyv2245) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl245 != len(yyv245) { + yyv245 = yyv245[:yyl245] + yyc245 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj245 := 0 + for ; yyj245 < yyrr245; yyj245++ { + yyh245.ElemContainerState(yyj245) if r.TryDecodeAsNil() { - yyv1[yyj1] = Job{} + yyv245[yyj245] = Job{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv246 := &yyv245[yyj245] + yyv246.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Job{}) - yyh1.ElemContainerState(yyj1) + if yyrt245 { + for ; yyj245 < yyl245; yyj245++ { + yyv245 = append(yyv245, Job{}) + yyh245.ElemContainerState(yyj245) if r.TryDecodeAsNil() { - yyv1[yyj1] = Job{} + yyv245[yyj245] = Job{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv247 := &yyv245[yyj245] + yyv247.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj245 := 0 + for ; !r.CheckBreak(); yyj245++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Job{}) // var yyz1 Job - yyc1 = true + if yyj245 >= len(yyv245) { + yyv245 = append(yyv245, Job{}) // var yyz245 Job + yyc245 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh245.ElemContainerState(yyj245) + if yyj245 < len(yyv245) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Job{} + yyv245[yyj245] = Job{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv248 := &yyv245[yyj245] + yyv248.CodecDecodeSelf(d) } } else { @@ -2931,17 +2938,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Job{} - yyc1 = true + if yyj245 < len(yyv245) { + yyv245 = yyv245[:yyj245] + yyc245 = true + } else if yyj245 == 0 && yyv245 == nil { + yyv245 = []Job{} + yyc245 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh245.End() + if yyc245 { + *v = yyv245 } } @@ -2950,10 +2957,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv249 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy250 := &yyv249 + yy250.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2963,86 +2970,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []JobCondition{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv251 := *v + yyh251, yyl251 := z.DecSliceHelperStart() + var yyc251 bool + if yyl251 == 0 { + if yyv251 == nil { + yyv251 = []JobCondition{} + yyc251 = true + } else if len(yyv251) != 0 { + yyv251 = yyv251[:0] + yyc251 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl251 > 0 { + var yyrr251, yyrl251 int + var yyrt251 bool + if yyl251 > cap(yyv251) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg251 := len(yyv251) > 0 + yyv2251 := yyv251 + yyrl251, yyrt251 = z.DecInferLen(yyl251, z.DecBasicHandle().MaxInitLen, 112) + if yyrt251 { + if yyrl251 <= cap(yyv251) { + yyv251 = yyv251[:yyrl251] } else { - yyv1 = make([]JobCondition, yyrl1) + yyv251 = make([]JobCondition, yyrl251) } } else { - yyv1 = make([]JobCondition, yyrl1) + yyv251 = make([]JobCondition, yyrl251) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc251 = true + yyrr251 = len(yyv251) + if yyrg251 { + copy(yyv251, yyv2251) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl251 != len(yyv251) { + yyv251 = yyv251[:yyl251] + yyc251 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj251 := 0 + for ; yyj251 < yyrr251; yyj251++ { + yyh251.ElemContainerState(yyj251) if r.TryDecodeAsNil() { - yyv1[yyj1] = JobCondition{} + yyv251[yyj251] = JobCondition{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv252 := &yyv251[yyj251] + yyv252.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, JobCondition{}) - yyh1.ElemContainerState(yyj1) + if yyrt251 { + for ; yyj251 < yyl251; yyj251++ { + yyv251 = append(yyv251, JobCondition{}) + yyh251.ElemContainerState(yyj251) if r.TryDecodeAsNil() { - yyv1[yyj1] = JobCondition{} + yyv251[yyj251] = JobCondition{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv253 := &yyv251[yyj251] + yyv253.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj251 := 0 + for ; !r.CheckBreak(); yyj251++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, JobCondition{}) // var yyz1 JobCondition - yyc1 = true + if yyj251 >= len(yyv251) { + yyv251 = append(yyv251, JobCondition{}) // var yyz251 JobCondition + yyc251 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh251.ElemContainerState(yyj251) + if yyj251 < len(yyv251) { if r.TryDecodeAsNil() { - yyv1[yyj1] = JobCondition{} + yyv251[yyj251] = JobCondition{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv254 := &yyv251[yyj251] + yyv254.CodecDecodeSelf(d) } } else { @@ -3050,17 +3054,17 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []JobCondition{} - yyc1 = true + if yyj251 < len(yyv251) { + yyv251 = yyv251[:yyj251] + yyc251 = true + } else if yyj251 == 0 && yyv251 == nil { + yyv251 = []JobCondition{} + yyc251 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh251.End() + if yyc251 { + *v = yyv251 } } @@ -3069,10 +3073,10 @@ func (x codecSelfer1234) encSliceLabelSelectorRequirement(v []LabelSelectorRequi z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv255 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy256 := &yyv255 + yy256.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3082,86 +3086,83 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []LabelSelectorRequirement{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv257 := *v + yyh257, yyl257 := z.DecSliceHelperStart() + var yyc257 bool + if yyl257 == 0 { + if yyv257 == nil { + yyv257 = []LabelSelectorRequirement{} + yyc257 = true + } else if len(yyv257) != 0 { + yyv257 = yyv257[:0] + yyc257 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl257 > 0 { + var yyrr257, yyrl257 int + var yyrt257 bool + if yyl257 > cap(yyv257) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg257 := len(yyv257) > 0 + yyv2257 := yyv257 + yyrl257, yyrt257 = z.DecInferLen(yyl257, z.DecBasicHandle().MaxInitLen, 56) + if yyrt257 { + if yyrl257 <= cap(yyv257) { + yyv257 = yyv257[:yyrl257] } else { - yyv1 = make([]LabelSelectorRequirement, yyrl1) + yyv257 = make([]LabelSelectorRequirement, yyrl257) } } else { - yyv1 = make([]LabelSelectorRequirement, yyrl1) + yyv257 = make([]LabelSelectorRequirement, yyrl257) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc257 = true + yyrr257 = len(yyv257) + if yyrg257 { + copy(yyv257, yyv2257) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl257 != len(yyv257) { + yyv257 = yyv257[:yyl257] + yyc257 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj257 := 0 + for ; yyj257 < yyrr257; yyj257++ { + yyh257.ElemContainerState(yyj257) if r.TryDecodeAsNil() { - yyv1[yyj1] = LabelSelectorRequirement{} + yyv257[yyj257] = LabelSelectorRequirement{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv258 := &yyv257[yyj257] + yyv258.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, LabelSelectorRequirement{}) - yyh1.ElemContainerState(yyj1) + if yyrt257 { + for ; yyj257 < yyl257; yyj257++ { + yyv257 = append(yyv257, LabelSelectorRequirement{}) + yyh257.ElemContainerState(yyj257) if r.TryDecodeAsNil() { - yyv1[yyj1] = LabelSelectorRequirement{} + yyv257[yyj257] = LabelSelectorRequirement{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv259 := &yyv257[yyj257] + yyv259.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj257 := 0 + for ; !r.CheckBreak(); yyj257++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, LabelSelectorRequirement{}) // var yyz1 LabelSelectorRequirement - yyc1 = true + if yyj257 >= len(yyv257) { + yyv257 = append(yyv257, LabelSelectorRequirement{}) // var yyz257 LabelSelectorRequirement + yyc257 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh257.ElemContainerState(yyj257) + if yyj257 < len(yyv257) { if r.TryDecodeAsNil() { - yyv1[yyj1] = LabelSelectorRequirement{} + yyv257[yyj257] = LabelSelectorRequirement{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv260 := &yyv257[yyj257] + yyv260.CodecDecodeSelf(d) } } else { @@ -3169,16 +3170,16 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []LabelSelectorRequirement{} - yyc1 = true + if yyj257 < len(yyv257) { + yyv257 = yyv257[:yyj257] + yyc257 = true + } else if yyj257 == 0 && yyv257 == nil { + yyv257 = []LabelSelectorRequirement{} + yyc257 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh257.End() + if yyc257 { + *v = yyv257 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/zz_generated.conversion.go index cc94d3d07ea..360d02106d1 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/zz_generated.conversion.go @@ -26,10 +26,17 @@ import ( api_v1 "k8s.io/client-go/1.4/pkg/api/v1" batch "k8s.io/client-go/1.4/pkg/apis/batch" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1_Job_To_batch_Job, Convert_batch_Job_To_v1_Job, Convert_v1_JobCondition_To_batch_JobCondition, @@ -44,10 +51,7 @@ func init() { Convert_unversioned_LabelSelector_To_v1_LabelSelector, Convert_v1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement, Convert_unversioned_LabelSelectorRequirement_To_v1_LabelSelectorRequirement, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1_Job_To_batch_Job(in *Job, out *batch.Job, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/zz_generated.deepcopy.go index c235f8e0a4b..b0c1aee06a5 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v1/zz_generated.deepcopy.go @@ -21,26 +21,29 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.4/pkg/api" unversioned "k8s.io/client-go/1.4/pkg/api/unversioned" api_v1 "k8s.io/client-go/1.4/pkg/api/v1" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Job, InType: reflect.TypeOf(func() *Job { var x *Job; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobCondition, InType: reflect.TypeOf(func() *JobCondition { var x *JobCondition; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobList, InType: reflect.TypeOf(func() *JobList { var x *JobList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobSpec, InType: reflect.TypeOf(func() *JobSpec { var x *JobSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobStatus, InType: reflect.TypeOf(func() *JobStatus { var x *JobStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LabelSelector, InType: reflect.TypeOf(func() *LabelSelector { var x *LabelSelector; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LabelSelectorRequirement, InType: reflect.TypeOf(func() *LabelSelectorRequirement { var x *LabelSelectorRequirement; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_Job, InType: reflect.TypeOf(&Job{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobCondition, InType: reflect.TypeOf(&JobCondition{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobList, InType: reflect.TypeOf(&JobList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobSpec, InType: reflect.TypeOf(&JobSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_JobStatus, InType: reflect.TypeOf(&JobStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LabelSelector, InType: reflect.TypeOf(&LabelSelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_LabelSelectorRequirement, InType: reflect.TypeOf(&LabelSelectorRequirement{})}, + ) } func DeepCopy_v1_Job(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/conversion.go index a197bf0ff77..1f8f53d7fa8 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/conversion.go @@ -28,15 +28,14 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions err := scheme.AddConversionFuncs( Convert_batch_JobSpec_To_v2alpha1_JobSpec, Convert_v2alpha1_JobSpec_To_batch_JobSpec, ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } // Add field label conversions for kinds having selectable nothing but ObjectMeta fields. @@ -50,11 +49,11 @@ func addConversionFuncs(scheme *runtime.Scheme) { return "", "", fmt.Errorf("field label not supported: %s", label) } }) + if err != nil { + return err + } } - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } + return nil } func Convert_batch_JobSpec_To_v2alpha1_JobSpec(in *batch.JobSpec, out *JobSpec, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/defaults.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/defaults.go index 447a95758ec..4315203e8a2 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/defaults.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/defaults.go @@ -20,8 +20,8 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs( +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( SetDefaults_Job, SetDefaults_ScheduledJob, ) diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/generated.pb.go index 521b2ccd32e..33b4bdf3187 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/generated.pb.go @@ -59,44 +59,63 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf -func (m *Job) Reset() { *m = Job{} } -func (*Job) ProtoMessage() {} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 -func (m *JobCondition) Reset() { *m = JobCondition{} } -func (*JobCondition) ProtoMessage() {} +func (m *Job) Reset() { *m = Job{} } +func (*Job) ProtoMessage() {} +func (*Job) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } -func (m *JobList) Reset() { *m = JobList{} } -func (*JobList) ProtoMessage() {} +func (m *JobCondition) Reset() { *m = JobCondition{} } +func (*JobCondition) ProtoMessage() {} +func (*JobCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } -func (m *JobSpec) Reset() { *m = JobSpec{} } -func (*JobSpec) ProtoMessage() {} +func (m *JobList) Reset() { *m = JobList{} } +func (*JobList) ProtoMessage() {} +func (*JobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } -func (m *JobStatus) Reset() { *m = JobStatus{} } -func (*JobStatus) ProtoMessage() {} +func (m *JobSpec) Reset() { *m = JobSpec{} } +func (*JobSpec) ProtoMessage() {} +func (*JobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } -func (m *JobTemplate) Reset() { *m = JobTemplate{} } -func (*JobTemplate) ProtoMessage() {} +func (m *JobStatus) Reset() { *m = JobStatus{} } +func (*JobStatus) ProtoMessage() {} +func (*JobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } -func (m *JobTemplateSpec) Reset() { *m = JobTemplateSpec{} } -func (*JobTemplateSpec) ProtoMessage() {} +func (m *JobTemplate) Reset() { *m = JobTemplate{} } +func (*JobTemplate) ProtoMessage() {} +func (*JobTemplate) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } -func (m *LabelSelector) Reset() { *m = LabelSelector{} } -func (*LabelSelector) ProtoMessage() {} +func (m *JobTemplateSpec) Reset() { *m = JobTemplateSpec{} } +func (*JobTemplateSpec) ProtoMessage() {} +func (*JobTemplateSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } + +func (m *LabelSelector) Reset() { *m = LabelSelector{} } +func (*LabelSelector) ProtoMessage() {} +func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } func (*LabelSelectorRequirement) ProtoMessage() {} +func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{8} +} -func (m *ScheduledJob) Reset() { *m = ScheduledJob{} } -func (*ScheduledJob) ProtoMessage() {} +func (m *ScheduledJob) Reset() { *m = ScheduledJob{} } +func (*ScheduledJob) ProtoMessage() {} +func (*ScheduledJob) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } -func (m *ScheduledJobList) Reset() { *m = ScheduledJobList{} } -func (*ScheduledJobList) ProtoMessage() {} +func (m *ScheduledJobList) Reset() { *m = ScheduledJobList{} } +func (*ScheduledJobList) ProtoMessage() {} +func (*ScheduledJobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } -func (m *ScheduledJobSpec) Reset() { *m = ScheduledJobSpec{} } -func (*ScheduledJobSpec) ProtoMessage() {} +func (m *ScheduledJobSpec) Reset() { *m = ScheduledJobSpec{} } +func (*ScheduledJobSpec) ProtoMessage() {} +func (*ScheduledJobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } -func (m *ScheduledJobStatus) Reset() { *m = ScheduledJobStatus{} } -func (*ScheduledJobStatus) ProtoMessage() {} +func (m *ScheduledJobStatus) Reset() { *m = ScheduledJobStatus{} } +func (*ScheduledJobStatus) ProtoMessage() {} +func (*ScheduledJobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } func init() { proto.RegisterType((*Job)(nil), "k8s.io.client-go.1.4.pkg.apis.batch.v2alpha1.Job") @@ -3186,3 +3205,89 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 1300 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x57, 0xcf, 0x6f, 0x1b, 0xc5, + 0x17, 0xaf, 0xed, 0xd8, 0xb1, 0xc7, 0xf9, 0xe1, 0xcc, 0xb7, 0x51, 0xfd, 0x35, 0x22, 0xa9, 0x2c, + 0x81, 0x1a, 0x68, 0x76, 0x95, 0xa8, 0xa8, 0x21, 0x88, 0x4a, 0x6c, 0x08, 0x52, 0x21, 0x51, 0xa2, + 0x71, 0xa8, 0x10, 0xb4, 0x87, 0xf1, 0x7a, 0x62, 0x6f, 0xb3, 0xde, 0x75, 0x77, 0x67, 0x0d, 0xbe, + 0xf5, 0xca, 0x09, 0x24, 0xfe, 0x05, 0xce, 0xfc, 0x05, 0xf4, 0xc0, 0x2d, 0x37, 0x0a, 0x27, 0xc4, + 0x21, 0x82, 0xf2, 0x5f, 0xf4, 0xc4, 0x9b, 0xd9, 0xd9, 0xf5, 0xfa, 0x57, 0x14, 0x1b, 0x15, 0x89, + 0xc3, 0x4a, 0x9e, 0x37, 0xef, 0xf3, 0x99, 0x37, 0xf3, 0x3e, 0xf3, 0xe6, 0x19, 0xbd, 0x7b, 0xb6, + 0xe3, 0x6b, 0x96, 0xab, 0x9f, 0x05, 0x75, 0xe6, 0x39, 0x8c, 0x33, 0x5f, 0xef, 0x9c, 0x35, 0x75, + 0xda, 0xb1, 0x7c, 0xbd, 0x4e, 0xb9, 0xd9, 0xd2, 0xbb, 0xdb, 0xd4, 0xee, 0xb4, 0xe8, 0x96, 0xde, + 0x64, 0x0e, 0xf3, 0x28, 0x67, 0x0d, 0xad, 0xe3, 0xb9, 0xdc, 0xc5, 0x1b, 0x21, 0x54, 0xeb, 0x43, + 0x35, 0x80, 0x6a, 0x02, 0xaa, 0x49, 0xa8, 0x16, 0x41, 0x2b, 0x9b, 0x4d, 0x8b, 0xb7, 0x82, 0xba, + 0x66, 0xba, 0x6d, 0xbd, 0xe9, 0x36, 0x5d, 0x5d, 0x32, 0xd4, 0x83, 0x53, 0x39, 0x92, 0x03, 0xf9, + 0x2b, 0x64, 0xae, 0x6c, 0x4f, 0x0c, 0x4a, 0xf7, 0x98, 0xef, 0x06, 0x9e, 0xc9, 0x86, 0xa3, 0xa9, + 0xbc, 0x33, 0x19, 0x13, 0x38, 0x5d, 0xe6, 0xf9, 0x96, 0xeb, 0xb0, 0xc6, 0x08, 0xec, 0xf6, 0x64, + 0x58, 0x77, 0x64, 0xcb, 0x95, 0xcd, 0xf1, 0xde, 0x5e, 0xe0, 0x70, 0xab, 0x3d, 0x1a, 0xd3, 0xd6, + 0x78, 0xf7, 0x80, 0x5b, 0xb6, 0x6e, 0x39, 0xdc, 0xe7, 0xde, 0x30, 0xa4, 0xfa, 0x5d, 0x1a, 0x65, + 0x3e, 0x76, 0xeb, 0xf8, 0x33, 0x94, 0x6f, 0x33, 0x4e, 0x1b, 0x94, 0xd3, 0x72, 0xea, 0x66, 0xea, + 0x56, 0x71, 0xfb, 0x96, 0x36, 0xf1, 0xbc, 0xb5, 0xee, 0x96, 0x76, 0x54, 0x7f, 0xcc, 0x4c, 0x7e, + 0x08, 0x18, 0x03, 0x9f, 0x5f, 0xac, 0x5f, 0x7b, 0x71, 0xb1, 0x8e, 0xfa, 0x36, 0x12, 0xb3, 0xe1, + 0x13, 0x34, 0xe7, 0x77, 0x98, 0x59, 0x4e, 0x4b, 0xd6, 0x6d, 0xed, 0xca, 0x59, 0xd4, 0x20, 0xae, + 0x1a, 0x20, 0x8d, 0x05, 0xc5, 0x3f, 0x27, 0x46, 0x44, 0xb2, 0xe1, 0x87, 0x28, 0xe7, 0x73, 0xca, + 0x03, 0xbf, 0x9c, 0x91, 0xbc, 0x77, 0xa6, 0xe4, 0x95, 0x58, 0x63, 0x49, 0x31, 0xe7, 0xc2, 0x31, + 0x51, 0x9c, 0xd5, 0x5f, 0x33, 0x68, 0x01, 0xbc, 0xf6, 0x5c, 0xa7, 0x61, 0x71, 0x48, 0x24, 0xbe, + 0x83, 0xe6, 0x78, 0xaf, 0xc3, 0xe4, 0xd1, 0x14, 0x8c, 0x9b, 0x51, 0x40, 0x27, 0x60, 0x7b, 0x79, + 0xb1, 0x5e, 0x4a, 0xfa, 0x0a, 0x1b, 0x91, 0xde, 0xf8, 0x41, 0x1c, 0x64, 0x5a, 0xe2, 0xee, 0x0d, + 0x2e, 0x07, 0xc8, 0x4b, 0xe5, 0xa0, 0xc5, 0x9c, 0x83, 0xe1, 0xe1, 0x16, 0x5a, 0xb4, 0xa9, 0xcf, + 0x8f, 0x3d, 0xb7, 0xce, 0x4e, 0x40, 0x08, 0xea, 0x0c, 0xde, 0xbe, 0x24, 0x63, 0x09, 0x4d, 0x6a, + 0x02, 0x62, 0xac, 0xaa, 0x58, 0x16, 0x0f, 0x92, 0x4c, 0x64, 0x90, 0x18, 0x7f, 0x89, 0xb0, 0x30, + 0x9c, 0x78, 0xd4, 0xf1, 0xc3, 0xdd, 0x89, 0xe5, 0xe6, 0xa6, 0x5f, 0xae, 0xa2, 0x96, 0xc3, 0x07, + 0x23, 0x74, 0x64, 0xcc, 0x12, 0xf8, 0x4d, 0x94, 0xf3, 0x18, 0xf5, 0x5d, 0xa7, 0x9c, 0x95, 0x47, + 0x17, 0x67, 0x8a, 0x48, 0x2b, 0x51, 0xb3, 0x78, 0x03, 0xcd, 0xb7, 0x99, 0xef, 0xd3, 0x26, 0x2b, + 0xe7, 0xa4, 0xe3, 0xb2, 0x72, 0x9c, 0x3f, 0x0c, 0xcd, 0x24, 0x9a, 0xaf, 0x3e, 0x4b, 0xa1, 0x79, + 0x48, 0xd4, 0x81, 0xe5, 0x73, 0xfc, 0x68, 0x44, 0xee, 0xfa, 0x15, 0x77, 0x23, 0xe0, 0x52, 0xf5, + 0x25, 0xb5, 0x50, 0x3e, 0xb2, 0x24, 0x34, 0x5f, 0x43, 0x59, 0x8b, 0xb3, 0xb6, 0xc8, 0x7b, 0x06, + 0xb8, 0xb5, 0xe9, 0xc4, 0x69, 0x2c, 0x2a, 0xea, 0xec, 0x7d, 0x41, 0x42, 0x42, 0xae, 0xea, 0xb3, + 0x8c, 0x8c, 0x5f, 0x5c, 0x02, 0xbc, 0x85, 0x8a, 0x1d, 0xea, 0x51, 0xdb, 0x66, 0xb6, 0xe5, 0xb7, + 0xe5, 0x16, 0xb2, 0xc6, 0x32, 0x40, 0x8a, 0xc7, 0x7d, 0x33, 0x49, 0xfa, 0x08, 0x08, 0x94, 0xc3, + 0x8e, 0xcd, 0xc4, 0x19, 0x87, 0x8a, 0x54, 0x90, 0xbd, 0xbe, 0x99, 0x24, 0x7d, 0xf0, 0x11, 0x5a, + 0xa5, 0x26, 0xb7, 0xba, 0xec, 0x43, 0x46, 0x1b, 0xb6, 0xe5, 0xb0, 0x1a, 0x33, 0x41, 0x92, 0xe1, + 0x9d, 0xcb, 0x18, 0xff, 0x07, 0xf0, 0xea, 0x07, 0xe3, 0x1c, 0xc8, 0x78, 0x1c, 0xae, 0xa3, 0xbc, + 0xcf, 0x6c, 0xa8, 0x11, 0xae, 0xa7, 0x44, 0xb4, 0x33, 0xc5, 0xd1, 0x1c, 0xd0, 0x3a, 0xb3, 0x6b, + 0x0a, 0x6f, 0x2c, 0x88, 0xb3, 0x8f, 0x46, 0x24, 0xe6, 0xc5, 0xbb, 0x68, 0xa9, 0x4d, 0x9d, 0x80, + 0xc6, 0x9e, 0x52, 0x41, 0x79, 0x03, 0x83, 0xff, 0xd2, 0xe1, 0xc0, 0x0c, 0x19, 0xf2, 0xc4, 0x5f, + 0xa0, 0x3c, 0x1c, 0x75, 0xc7, 0x86, 0x02, 0x29, 0xe5, 0x54, 0xdc, 0xde, 0xbc, 0xbc, 0x0a, 0x1e, + 0xbb, 0x8d, 0x13, 0x05, 0x90, 0xa5, 0x2a, 0x16, 0x45, 0x64, 0x25, 0x31, 0x61, 0xf5, 0xc7, 0x0c, + 0x2a, 0xc4, 0xa5, 0x07, 0x9f, 0x21, 0x64, 0x46, 0xd7, 0xdb, 0x87, 0x04, 0x0a, 0x9d, 0xdc, 0x9d, + 0x4e, 0x27, 0x71, 0x79, 0xe8, 0x57, 0xe0, 0xd8, 0xe4, 0x93, 0x04, 0x3d, 0x54, 0xf7, 0x02, 0x94, + 0x0e, 0x8f, 0xcb, 0xdb, 0x9b, 0x9e, 0xfe, 0xf6, 0x2e, 0x02, 0x77, 0xa1, 0x16, 0x31, 0x90, 0x3e, + 0x19, 0x6e, 0xa2, 0xa5, 0xbe, 0x62, 0x66, 0xad, 0x45, 0x32, 0x35, 0x7b, 0x03, 0x34, 0x64, 0x88, + 0x56, 0x14, 0x84, 0x50, 0x53, 0x52, 0x38, 0xd9, 0x7e, 0x41, 0x08, 0x05, 0x48, 0xd4, 0x2c, 0xd6, + 0x61, 0xab, 0x81, 0x69, 0x32, 0xd6, 0x60, 0x0d, 0x99, 0xf9, 0xac, 0xb1, 0xa2, 0x5c, 0x0b, 0xb5, + 0x68, 0x82, 0xf4, 0x7d, 0x04, 0xf1, 0x29, 0xb5, 0x6c, 0xf0, 0xce, 0x0d, 0x12, 0x7f, 0x24, 0xad, + 0x44, 0xcd, 0x56, 0x7f, 0x49, 0xa1, 0x22, 0x1c, 0x7a, 0x94, 0xd8, 0x57, 0xf8, 0x62, 0xb6, 0x12, + 0x2a, 0x0c, 0x93, 0xb5, 0x3b, 0x9d, 0x30, 0xae, 0x2c, 0xc9, 0x9f, 0x52, 0x68, 0x79, 0xc8, 0xff, + 0xbf, 0xd6, 0x09, 0x54, 0x2f, 0xd2, 0x68, 0x71, 0xa0, 0x32, 0xe0, 0xa7, 0x90, 0xa9, 0xb6, 0x20, + 0x90, 0xe6, 0xe8, 0x72, 0xdd, 0x9f, 0xb5, 0xd2, 0x68, 0x87, 0x7d, 0xae, 0x7d, 0x87, 0x7b, 0x3d, + 0xe3, 0x7f, 0x2a, 0x8c, 0x62, 0x62, 0x86, 0x24, 0x97, 0xc4, 0x5f, 0xa7, 0x50, 0x49, 0x8e, 0xf7, + 0xbf, 0xea, 0x40, 0x0b, 0xe9, 0xab, 0x92, 0x2b, 0xe2, 0xd8, 0x9b, 0x35, 0x0e, 0xc2, 0x9e, 0x04, + 0x96, 0xc7, 0xda, 0xcc, 0xe1, 0x46, 0x59, 0x45, 0x50, 0x3a, 0x1c, 0x5a, 0x84, 0x8c, 0x2c, 0x5b, + 0xb9, 0x87, 0x4a, 0xc3, 0x3b, 0xc0, 0x25, 0x94, 0x39, 0x63, 0xbd, 0xb0, 0x9d, 0x21, 0xe2, 0x27, + 0xbe, 0x8e, 0xb2, 0x5d, 0x6a, 0x07, 0xa1, 0xe2, 0x0a, 0x24, 0x1c, 0xec, 0xa6, 0x77, 0x52, 0xd5, + 0xef, 0x53, 0xa8, 0x3c, 0x29, 0x10, 0xfc, 0x7a, 0x82, 0xc8, 0x28, 0xaa, 0xa8, 0x32, 0x9f, 0xb0, + 0x5e, 0xc8, 0xba, 0x8f, 0xf2, 0x6e, 0x47, 0x34, 0x9c, 0x50, 0x86, 0xc3, 0x1e, 0x68, 0x23, 0x92, + 0xe3, 0x91, 0xb2, 0x43, 0x17, 0xb4, 0x3a, 0x40, 0x1f, 0x4d, 0x90, 0x18, 0x8a, 0xab, 0x28, 0x27, + 0xe3, 0x11, 0x2f, 0x4f, 0x06, 0x48, 0x90, 0xb8, 0x9f, 0x0f, 0xa4, 0x85, 0xa8, 0x99, 0xea, 0x0f, + 0x69, 0xb4, 0x50, 0x33, 0x5b, 0xac, 0x11, 0xc0, 0x6d, 0x7d, 0xb5, 0x2d, 0xed, 0xa3, 0x01, 0x21, + 0xbf, 0x37, 0x45, 0x42, 0x93, 0x01, 0x4e, 0xec, 0x6d, 0xd9, 0x50, 0x6f, 0xfb, 0xfe, 0xac, 0x0b, + 0x5c, 0xde, 0xe4, 0xfe, 0x0c, 0x1a, 0x4d, 0xba, 0xff, 0x1b, 0x8d, 0xd1, 0xc3, 0xc1, 0xc6, 0xe8, + 0xee, 0x8c, 0x3b, 0x9b, 0xd0, 0x21, 0x7d, 0x93, 0x19, 0xdc, 0x91, 0xac, 0x67, 0xb7, 0xa1, 0xe7, + 0x50, 0x36, 0x25, 0xd3, 0x38, 0xc0, 0xc8, 0x97, 0xc4, 0x1e, 0xf8, 0x53, 0x74, 0x43, 0x3e, 0x6e, + 0x96, 0xd3, 0x1c, 0x6e, 0x7a, 0xd2, 0xb2, 0xe9, 0x79, 0x0d, 0x80, 0x37, 0x6a, 0xe3, 0x5d, 0xc8, + 0x24, 0x2c, 0xec, 0x7b, 0x05, 0x7e, 0x98, 0x81, 0xe7, 0x31, 0xc7, 0xec, 0x1d, 0xbb, 0xb6, 0x65, + 0xf6, 0x64, 0x76, 0x0b, 0x86, 0xa6, 0xa2, 0x59, 0xd9, 0x1b, 0x76, 0x78, 0x39, 0xce, 0x48, 0x46, + 0x89, 0xf0, 0x1b, 0x68, 0xde, 0x0f, 0x40, 0x3a, 0x4e, 0x43, 0x3e, 0x8e, 0x79, 0xa3, 0x28, 0x1a, + 0xe0, 0x5a, 0x68, 0x22, 0xd1, 0x1c, 0x7e, 0x82, 0x8a, 0x8f, 0xfb, 0xc5, 0x5e, 0x3e, 0x8e, 0xff, + 0xec, 0x69, 0x89, 0xeb, 0x60, 0x62, 0x82, 0x24, 0xd7, 0xa8, 0xfe, 0x9e, 0x42, 0x78, 0x54, 0x92, + 0x70, 0xca, 0xd1, 0x63, 0x1e, 0xd6, 0xe6, 0xcd, 0xab, 0x5c, 0x4c, 0xc2, 0x4e, 0x99, 0xd8, 0x35, + 0x9b, 0xf8, 0xf6, 0xb7, 0x51, 0x49, 0xfc, 0x95, 0x88, 0x16, 0x9c, 0xf5, 0xbf, 0xca, 0x75, 0x51, + 0x58, 0x0f, 0x86, 0x88, 0xc8, 0x08, 0xb5, 0xf1, 0xd6, 0xf9, 0x9f, 0x6b, 0xd7, 0x9e, 0xc3, 0xf7, + 0x1b, 0x7c, 0x4f, 0x5f, 0xac, 0xa5, 0xce, 0xe1, 0x7b, 0x0e, 0xdf, 0x1f, 0xf0, 0x7d, 0xfb, 0xd7, + 0xda, 0xb5, 0xcf, 0xf3, 0xd1, 0xd1, 0xfd, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x67, 0x5d, 0xb9, 0x32, + 0xf8, 0x10, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/register.go index 4309e0ae40b..7dbcf01ee47 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/register.go @@ -29,14 +29,13 @@ const GroupName = "batch" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v2alpha1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Job{}, &JobList{}, @@ -47,4 +46,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &v1.DeleteOptions{}, ) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/types.generated.go index 07588a534c8..7172a7a96a3 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/types.generated.go @@ -92,11 +92,11 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2 [5]bool _, _, _ = yysep2, yyq2, yy2arr2 const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" + yyq2[3] = true + yyq2[4] = true var yynn2 int if yyr2 || yy2arr2 { r.EncodeArrayStart(5) @@ -113,102 +113,102 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, "") } } else { if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, "") } } else { if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy11 := &x.ObjectMeta yy11.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) + if yyq2[3] { + yy13 := &x.Spec + yy13.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq2[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy14 := &x.Spec + yy14.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[4] { + yy16 := &x.Status + yy16.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } + yy17 := &x.Status + yy17.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { @@ -224,25 +224,25 @@ func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym18 := z.DecBinary() + _ = yym18 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct19 := r.ContainerType() + if yyct19 == codecSelferValueTypeMap1234 { + yyl19 := r.ReadMapStart() + if yyl19 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl19, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct19 == codecSelferValueTypeArray1234 { + yyl19 := r.ReadArrayStart() + if yyl19 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl19, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -254,12 +254,12 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys20Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys20Slc + var yyhl20 bool = l >= 0 + for yyj20 := 0; ; yyj20++ { + if yyhl20 { + if yyj20 >= l { break } } else { @@ -268,31 +268,10 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys20Slc = r.DecodeBytes(yys20Slc, true, true) + yys20 := string(yys20Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = JobSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = JobStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys20 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -305,10 +284,31 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv23 := &x.ObjectMeta + yyv23.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = JobSpec{} + } else { + yyv24 := &x.Spec + yyv24.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = JobStatus{} + } else { + yyv25 := &x.Status + yyv25.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys20) + } // end switch yys20 + } // end for yyj20 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -316,67 +316,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj26 int + var yyb26 bool + var yyhl26 bool = l >= 0 + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = JobSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = JobStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -386,13 +335,13 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -402,18 +351,69 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv29 := &x.ObjectMeta + yyv29.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = JobSpec{} + } else { + yyv30 := &x.Spec + yyv30.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = JobStatus{} + } else { + yyv31 := &x.Status + yyv31.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { + if yyb26 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj26-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -425,68 +425,118 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym32 := z.EncBinary() + _ = yym32 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep33 := !z.EncBinary() + yy2arr33 := z.EncBasicHandle().StructToArray + var yyq33 [4]bool + _, _, _ = yysep33, yyq33, yy2arr33 + const yyr33 bool = false + yyq33[0] = x.Kind != "" + yyq33[1] = x.APIVersion != "" + yyq33[2] = true + var yynn33 int + if yyr33 || yy2arr33 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn33 = 1 + for _, b := range yyq33 { if b { - yynn2++ + yynn33++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn33) + yynn33 = 0 } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq33[0] { + yym35 := z.EncBinary() + _ = yym35 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq33[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym36 := z.EncBinary() + _ = yym36 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr33 || yy2arr33 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq33[1] { + yym38 := z.EncBinary() + _ = yym38 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq33[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym39 := z.EncBinary() + _ = yym39 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr33 || yy2arr33 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq33[2] { + yy41 := &x.ListMeta + yym42 := z.EncBinary() + _ = yym42 + if false { + } else if z.HasExtensions() && z.EncExt(yy41) { + } else { + z.EncFallback(yy41) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq33[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy43 := &x.ListMeta + yym44 := z.EncBinary() + _ = yym44 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy43) { } else { - z.EncFallback(yy6) + z.EncFallback(yy43) } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym46 := z.EncBinary() + _ = yym46 if false { } else { h.encSliceJob(([]Job)(x.Items), e) @@ -499,65 +549,15 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym47 := z.EncBinary() + _ = yym47 if false { } else { h.encSliceJob(([]Job)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -570,25 +570,25 @@ func (x *JobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym48 := z.DecBinary() + _ = yym48 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct49 := r.ContainerType() + if yyct49 == codecSelferValueTypeMap1234 { + yyl49 := r.ReadMapStart() + if yyl49 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl49, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct49 == codecSelferValueTypeArray1234 { + yyl49 := r.ReadArrayStart() + if yyl49 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl49, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -600,12 +600,12 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys50Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys50Slc + var yyhl50 bool = l >= 0 + for yyj50 := 0; ; yyj50++ { + if yyhl50 { + if yyj50 >= l { break } } else { @@ -614,35 +614,10 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys50Slc = r.DecodeBytes(yys50Slc, true, true) + yys50 := string(yys50Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceJob((*[]Job)(yyv6), d) - } - } + switch yys50 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -655,10 +630,35 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv53 := &x.ListMeta + yym54 := z.DecBinary() + _ = yym54 + if false { + } else if z.HasExtensions() && z.DecExt(yyv53) { + } else { + z.DecFallback(yyv53, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv55 := &x.Items + yym56 := z.DecBinary() + _ = yym56 + if false { + } else { + h.decSliceJob((*[]Job)(yyv55), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys50) + } // end switch yys50 + } // end for yyj50 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -666,61 +666,16 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj57 int + var yyb57 bool + var yyhl57 bool = l >= 0 + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l } else { - yyb10 = r.CheckBreak() + yyb57 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceJob((*[]Job)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb57 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -730,13 +685,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l } else { - yyb10 = r.CheckBreak() + yyb57 = r.CheckBreak() } - if yyb10 { + if yyb57 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -746,18 +701,63 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l + } else { + yyb57 = r.CheckBreak() + } + if yyb57 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv60 := &x.ListMeta + yym61 := z.DecBinary() + _ = yym61 + if false { + } else if z.HasExtensions() && z.DecExt(yyv60) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv60, false) } - if yyb10 { + } + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l + } else { + yyb57 = r.CheckBreak() + } + if yyb57 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv62 := &x.Items + yym63 := z.DecBinary() + _ = yym63 + if false { + } else { + h.decSliceJob((*[]Job)(yyv62), d) + } + } + for { + yyj57++ + if yyhl57 { + yyb57 = yyj57 > l + } else { + yyb57 = r.CheckBreak() + } + if yyb57 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj57-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -769,72 +769,38 @@ func (x *JobTemplate) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym64 := z.EncBinary() + _ = yym64 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep65 := !z.EncBinary() + yy2arr65 := z.EncBasicHandle().StructToArray + var yyq65 [4]bool + _, _, _ = yysep65, yyq65, yy2arr65 + const yyr65 bool = false + yyq65[0] = x.Kind != "" + yyq65[1] = x.APIVersion != "" + yyq65[2] = true + yyq65[3] = true + var yynn65 int + if yyr65 || yy2arr65 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn65 = 0 + for _, b := range yyq65 { if b { - yynn2++ + yynn65++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn65) + yynn65 = 0 } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Template - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("template")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Template - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq65[0] { + yym67 := z.EncBinary() + _ = yym67 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -843,23 +809,23 @@ func (x *JobTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq65[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym68 := z.EncBinary() + _ = yym68 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq65[1] { + yym70 := z.EncBinary() + _ = yym70 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -868,19 +834,53 @@ func (x *JobTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq65[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym71 := z.EncBinary() + _ = yym71 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr65 || yy2arr65 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq65[2] { + yy73 := &x.ObjectMeta + yy73.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq65[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy74 := &x.ObjectMeta + yy74.CodecEncodeSelf(e) + } + } + if yyr65 || yy2arr65 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq65[3] { + yy76 := &x.Template + yy76.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq65[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("template")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy77 := &x.Template + yy77.CodecEncodeSelf(e) + } + } + if yyr65 || yy2arr65 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -893,25 +893,25 @@ func (x *JobTemplate) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym78 := z.DecBinary() + _ = yym78 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct79 := r.ContainerType() + if yyct79 == codecSelferValueTypeMap1234 { + yyl79 := r.ReadMapStart() + if yyl79 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl79, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct79 == codecSelferValueTypeArray1234 { + yyl79 := r.ReadArrayStart() + if yyl79 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl79, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -923,12 +923,12 @@ func (x *JobTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys80Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys80Slc + var yyhl80 bool = l >= 0 + for yyj80 := 0; ; yyj80++ { + if yyhl80 { + if yyj80 >= l { break } } else { @@ -937,24 +937,10 @@ func (x *JobTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys80Slc = r.DecodeBytes(yys80Slc, true, true) + yys80 := string(yys80Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "template": - if r.TryDecodeAsNil() { - x.Template = JobTemplateSpec{} - } else { - yyv5 := &x.Template - yyv5.CodecDecodeSelf(d) - } + switch yys80 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -967,10 +953,24 @@ func (x *JobTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv83 := &x.ObjectMeta + yyv83.CodecDecodeSelf(d) + } + case "template": + if r.TryDecodeAsNil() { + x.Template = JobTemplateSpec{} + } else { + yyv84 := &x.Template + yyv84.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys80) + } // end switch yys80 + } // end for yyj80 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -978,50 +978,16 @@ func (x *JobTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj85 int + var yyb85 bool + var yyhl85 bool = l >= 0 + yyj85++ + if yyhl85 { + yyb85 = yyj85 > l } else { - yyb8 = r.CheckBreak() + yyb85 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv9 := &x.ObjectMeta - yyv9.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Template = JobTemplateSpec{} - } else { - yyv10 := &x.Template - yyv10.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb85 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1031,13 +997,13 @@ func (x *JobTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj85++ + if yyhl85 { + yyb85 = yyj85 > l } else { - yyb8 = r.CheckBreak() + yyb85 = r.CheckBreak() } - if yyb8 { + if yyb85 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1047,18 +1013,52 @@ func (x *JobTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj85++ + if yyhl85 { + yyb85 = yyj85 > l + } else { + yyb85 = r.CheckBreak() + } + if yyb85 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv88 := &x.ObjectMeta + yyv88.CodecDecodeSelf(d) + } + yyj85++ + if yyhl85 { + yyb85 = yyj85 > l + } else { + yyb85 = r.CheckBreak() + } + if yyb85 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Template = JobTemplateSpec{} + } else { + yyv89 := &x.Template + yyv89.CodecDecodeSelf(d) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj85++ + if yyhl85 { + yyb85 = yyj85 > l } else { - yyb8 = r.CheckBreak() + yyb85 = r.CheckBreak() } - if yyb8 { + if yyb85 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj85-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1070,66 +1070,66 @@ func (x *JobTemplateSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym90 := z.EncBinary() + _ = yym90 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep91 := !z.EncBinary() + yy2arr91 := z.EncBasicHandle().StructToArray + var yyq91 [2]bool + _, _, _ = yysep91, yyq91, yy2arr91 + const yyr91 bool = false + yyq91[0] = true + yyq91[1] = true + var yynn91 int + if yyr91 || yy2arr91 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn91 = 0 + for _, b := range yyq91 { if b { - yynn2++ + yynn91++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn91) + yynn91 = 0 } - if yyr2 || yy2arr2 { + if yyr91 || yy2arr91 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq91[0] { + yy93 := &x.ObjectMeta + yy93.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq91[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy94 := &x.ObjectMeta + yy94.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr91 || yy2arr91 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) + if yyq91[1] { + yy96 := &x.Spec + yy96.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq91[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) + yy97 := &x.Spec + yy97.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr91 || yy2arr91 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1142,25 +1142,25 @@ func (x *JobTemplateSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym98 := z.DecBinary() + _ = yym98 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct99 := r.ContainerType() + if yyct99 == codecSelferValueTypeMap1234 { + yyl99 := r.ReadMapStart() + if yyl99 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl99, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct99 == codecSelferValueTypeArray1234 { + yyl99 := r.ReadArrayStart() + if yyl99 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl99, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1172,12 +1172,12 @@ func (x *JobTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys100Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys100Slc + var yyhl100 bool = l >= 0 + for yyj100 := 0; ; yyj100++ { + if yyhl100 { + if yyj100 >= l { break } } else { @@ -1186,28 +1186,28 @@ func (x *JobTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys100Slc = r.DecodeBytes(yys100Slc, true, true) + yys100 := string(yys100Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys100 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) + yyv101 := &x.ObjectMeta + yyv101.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) + yyv102 := &x.Spec + yyv102.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys100) + } // end switch yys100 + } // end for yyj100 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1215,16 +1215,16 @@ func (x *JobTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj103 int + var yyb103 bool + var yyhl103 bool = l >= 0 + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb6 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb6 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1232,16 +1232,16 @@ func (x *JobTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv7 := &x.ObjectMeta - yyv7.CodecDecodeSelf(d) + yyv104 := &x.ObjectMeta + yyv104.CodecDecodeSelf(d) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb6 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb6 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1249,21 +1249,21 @@ func (x *JobTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv8 := &x.Spec - yyv8.CodecDecodeSelf(d) + yyv105 := &x.Spec + yyv105.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb6 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb6 { + if yyb103 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj103-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1275,142 +1275,142 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym106 := z.EncBinary() + _ = yym106 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Parallelism != nil - yyq2[1] = x.Completions != nil - yyq2[2] = x.ActiveDeadlineSeconds != nil - yyq2[3] = x.Selector != nil - yyq2[4] = x.ManualSelector != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep107 := !z.EncBinary() + yy2arr107 := z.EncBasicHandle().StructToArray + var yyq107 [6]bool + _, _, _ = yysep107, yyq107, yy2arr107 + const yyr107 bool = false + yyq107[0] = x.Parallelism != nil + yyq107[1] = x.Completions != nil + yyq107[2] = x.ActiveDeadlineSeconds != nil + yyq107[3] = x.Selector != nil + yyq107[4] = x.ManualSelector != nil + var yynn107 int + if yyr107 || yy2arr107 { r.EncodeArrayStart(6) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn107 = 1 + for _, b := range yyq107 { if b { - yynn2++ + yynn107++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn107) + yynn107 = 0 } - if yyr2 || yy2arr2 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq107[0] { if x.Parallelism == nil { r.EncodeNil() } else { - yy4 := *x.Parallelism - yym5 := z.EncBinary() - _ = yym5 + yy109 := *x.Parallelism + yym110 := z.EncBinary() + _ = yym110 if false { } else { - r.EncodeInt(int64(yy4)) + r.EncodeInt(int64(yy109)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq107[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("parallelism")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Parallelism == nil { r.EncodeNil() } else { - yy6 := *x.Parallelism - yym7 := z.EncBinary() - _ = yym7 + yy111 := *x.Parallelism + yym112 := z.EncBinary() + _ = yym112 if false { } else { - r.EncodeInt(int64(yy6)) + r.EncodeInt(int64(yy111)) } } } } - if yyr2 || yy2arr2 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq107[1] { if x.Completions == nil { r.EncodeNil() } else { - yy9 := *x.Completions - yym10 := z.EncBinary() - _ = yym10 + yy114 := *x.Completions + yym115 := z.EncBinary() + _ = yym115 if false { } else { - r.EncodeInt(int64(yy9)) + r.EncodeInt(int64(yy114)) } } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq107[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Completions == nil { r.EncodeNil() } else { - yy11 := *x.Completions - yym12 := z.EncBinary() - _ = yym12 + yy116 := *x.Completions + yym117 := z.EncBinary() + _ = yym117 if false { } else { - r.EncodeInt(int64(yy11)) + r.EncodeInt(int64(yy116)) } } } } - if yyr2 || yy2arr2 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq107[2] { if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy14 := *x.ActiveDeadlineSeconds - yym15 := z.EncBinary() - _ = yym15 + yy119 := *x.ActiveDeadlineSeconds + yym120 := z.EncBinary() + _ = yym120 if false { } else { - r.EncodeInt(int64(yy14)) + r.EncodeInt(int64(yy119)) } } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq107[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy16 := *x.ActiveDeadlineSeconds - yym17 := z.EncBinary() - _ = yym17 + yy121 := *x.ActiveDeadlineSeconds + yym122 := z.EncBinary() + _ = yym122 if false { } else { - r.EncodeInt(int64(yy16)) + r.EncodeInt(int64(yy121)) } } } } - if yyr2 || yy2arr2 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq107[3] { if x.Selector == nil { r.EncodeNil() } else { @@ -1420,7 +1420,7 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq107[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -1431,53 +1431,53 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq107[4] { if x.ManualSelector == nil { r.EncodeNil() } else { - yy22 := *x.ManualSelector - yym23 := z.EncBinary() - _ = yym23 + yy125 := *x.ManualSelector + yym126 := z.EncBinary() + _ = yym126 if false { } else { - r.EncodeBool(bool(yy22)) + r.EncodeBool(bool(yy125)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq107[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("manualSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ManualSelector == nil { r.EncodeNil() } else { - yy24 := *x.ManualSelector - yym25 := z.EncBinary() - _ = yym25 + yy127 := *x.ManualSelector + yym128 := z.EncBinary() + _ = yym128 if false { } else { - r.EncodeBool(bool(yy24)) + r.EncodeBool(bool(yy127)) } } } } - if yyr2 || yy2arr2 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy27 := &x.Template - yy27.CodecEncodeSelf(e) + yy130 := &x.Template + yy130.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy29 := &x.Template - yy29.CodecEncodeSelf(e) + yy131 := &x.Template + yy131.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr107 || yy2arr107 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1490,25 +1490,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym132 := z.DecBinary() + _ = yym132 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct133 := r.ContainerType() + if yyct133 == codecSelferValueTypeMap1234 { + yyl133 := r.ReadMapStart() + if yyl133 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl133, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct133 == codecSelferValueTypeArray1234 { + yyl133 := r.ReadArrayStart() + if yyl133 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl133, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1520,12 +1520,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys134Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys134Slc + var yyhl134 bool = l >= 0 + for yyj134 := 0; ; yyj134++ { + if yyhl134 { + if yyj134 >= l { break } } else { @@ -1534,10 +1534,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys134Slc = r.DecodeBytes(yys134Slc, true, true) + yys134 := string(yys134Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys134 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -1547,8 +1547,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym5 := z.DecBinary() - _ = yym5 + yym136 := z.DecBinary() + _ = yym136 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -1563,8 +1563,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym7 := z.DecBinary() - _ = yym7 + yym138 := z.DecBinary() + _ = yym138 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -1579,8 +1579,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym9 := z.DecBinary() - _ = yym9 + yym140 := z.DecBinary() + _ = yym140 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -1606,8 +1606,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym12 := z.DecBinary() - _ = yym12 + yym143 := z.DecBinary() + _ = yym143 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() @@ -1617,13 +1617,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv13 := &x.Template - yyv13.CodecDecodeSelf(d) + yyv144 := &x.Template + yyv144.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys134) + } // end switch yys134 + } // end for yyj134 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1631,16 +1631,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj14 int - var yyb14 bool - var yyhl14 bool = l >= 0 - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + var yyj145 int + var yyb145 bool + var yyhl145 bool = l >= 0 + yyj145++ + if yyhl145 { + yyb145 = yyj145 > l } else { - yyb14 = r.CheckBreak() + yyb145 = r.CheckBreak() } - if yyb14 { + if yyb145 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1653,20 +1653,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym16 := z.DecBinary() - _ = yym16 + yym147 := z.DecBinary() + _ = yym147 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj145++ + if yyhl145 { + yyb145 = yyj145 > l } else { - yyb14 = r.CheckBreak() + yyb145 = r.CheckBreak() } - if yyb14 { + if yyb145 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1679,20 +1679,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym18 := z.DecBinary() - _ = yym18 + yym149 := z.DecBinary() + _ = yym149 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj145++ + if yyhl145 { + yyb145 = yyj145 > l } else { - yyb14 = r.CheckBreak() + yyb145 = r.CheckBreak() } - if yyb14 { + if yyb145 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1705,20 +1705,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym20 := z.DecBinary() - _ = yym20 + yym151 := z.DecBinary() + _ = yym151 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj145++ + if yyhl145 { + yyb145 = yyj145 > l } else { - yyb14 = r.CheckBreak() + yyb145 = r.CheckBreak() } - if yyb14 { + if yyb145 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1733,13 +1733,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Selector.CodecDecodeSelf(d) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj145++ + if yyhl145 { + yyb145 = yyj145 > l } else { - yyb14 = r.CheckBreak() + yyb145 = r.CheckBreak() } - if yyb14 { + if yyb145 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1752,20 +1752,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ManualSelector == nil { x.ManualSelector = new(bool) } - yym23 := z.DecBinary() - _ = yym23 + yym154 := z.DecBinary() + _ = yym154 if false { } else { *((*bool)(x.ManualSelector)) = r.DecodeBool() } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj145++ + if yyhl145 { + yyb145 = yyj145 > l } else { - yyb14 = r.CheckBreak() + yyb145 = r.CheckBreak() } - if yyb14 { + if yyb145 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1773,21 +1773,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv24 := &x.Template - yyv24.CodecDecodeSelf(d) + yyv155 := &x.Template + yyv155.CodecDecodeSelf(d) } for { - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj145++ + if yyhl145 { + yyb145 = yyj145 > l } else { - yyb14 = r.CheckBreak() + yyb145 = r.CheckBreak() } - if yyb14 { + if yyb145 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj14-1, "") + z.DecStructFieldNotFound(yyj145-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1799,43 +1799,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym156 := z.EncBinary() + _ = yym156 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Conditions) != 0 - yyq2[1] = x.StartTime != nil - yyq2[2] = x.CompletionTime != nil - yyq2[3] = x.Active != 0 - yyq2[4] = x.Succeeded != 0 - yyq2[5] = x.Failed != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep157 := !z.EncBinary() + yy2arr157 := z.EncBasicHandle().StructToArray + var yyq157 [6]bool + _, _, _ = yysep157, yyq157, yy2arr157 + const yyr157 bool = false + yyq157[0] = len(x.Conditions) != 0 + yyq157[1] = x.StartTime != nil + yyq157[2] = x.CompletionTime != nil + yyq157[3] = x.Active != 0 + yyq157[4] = x.Succeeded != 0 + yyq157[5] = x.Failed != 0 + var yynn157 int + if yyr157 || yy2arr157 { r.EncodeArrayStart(6) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn157 = 0 + for _, b := range yyq157 { if b { - yynn2++ + yynn157++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn157) + yynn157 = 0 } - if yyr2 || yy2arr2 { + if yyr157 || yy2arr157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq157[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym159 := z.EncBinary() + _ = yym159 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1845,15 +1845,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq157[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym160 := z.EncBinary() + _ = yym160 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -1861,19 +1861,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr157 || yy2arr157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq157[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym162 := z.EncBinary() + _ = yym162 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym7 { + } else if yym162 { z.EncBinaryMarshal(x.StartTime) - } else if !yym7 && z.IsJSONHandle() { + } else if !yym162 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1883,20 +1883,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq157[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym163 := z.EncBinary() + _ = yym163 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym8 { + } else if yym163 { z.EncBinaryMarshal(x.StartTime) - } else if !yym8 && z.IsJSONHandle() { + } else if !yym163 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -1904,19 +1904,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr157 || yy2arr157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq157[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym165 := z.EncBinary() + _ = yym165 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym10 { + } else if yym165 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym10 && z.IsJSONHandle() { + } else if !yym165 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1926,20 +1926,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq157[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym166 := z.EncBinary() + _ = yym166 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym11 { + } else if yym166 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym11 && z.IsJSONHandle() { + } else if !yym166 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -1947,11 +1947,11 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr157 || yy2arr157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq157[3] { + yym168 := z.EncBinary() + _ = yym168 if false { } else { r.EncodeInt(int64(x.Active)) @@ -1960,23 +1960,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[3] { + if yyq157[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym169 := z.EncBinary() + _ = yym169 if false { } else { r.EncodeInt(int64(x.Active)) } } } - if yyr2 || yy2arr2 { + if yyr157 || yy2arr157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq157[4] { + yym171 := z.EncBinary() + _ = yym171 if false { } else { r.EncodeInt(int64(x.Succeeded)) @@ -1985,23 +1985,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[4] { + if yyq157[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("succeeded")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym172 := z.EncBinary() + _ = yym172 if false { } else { r.EncodeInt(int64(x.Succeeded)) } } } - if yyr2 || yy2arr2 { + if yyr157 || yy2arr157 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq157[5] { + yym174 := z.EncBinary() + _ = yym174 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -2010,19 +2010,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[5] { + if yyq157[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym175 := z.EncBinary() + _ = yym175 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr2 || yy2arr2 { + if yyr157 || yy2arr157 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2035,25 +2035,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym176 := z.DecBinary() + _ = yym176 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct177 := r.ContainerType() + if yyct177 == codecSelferValueTypeMap1234 { + yyl177 := r.ReadMapStart() + if yyl177 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl177, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct177 == codecSelferValueTypeArray1234 { + yyl177 := r.ReadArrayStart() + if yyl177 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl177, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2065,12 +2065,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys178Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys178Slc + var yyhl178 bool = l >= 0 + for yyj178 := 0; ; yyj178++ { + if yyhl178 { + if yyj178 >= l { break } } else { @@ -2079,20 +2079,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys178Slc = r.DecodeBytes(yys178Slc, true, true) + yys178 := string(yys178Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys178 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4 := &x.Conditions - yym5 := z.DecBinary() - _ = yym5 + yyv179 := &x.Conditions + yym180 := z.DecBinary() + _ = yym180 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv4), d) + h.decSliceJobCondition((*[]JobCondition)(yyv179), d) } } case "startTime": @@ -2104,13 +2104,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym7 := z.DecBinary() - _ = yym7 + yym182 := z.DecBinary() + _ = yym182 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym7 { + } else if yym182 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym7 && z.IsJSONHandle() { + } else if !yym182 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -2125,13 +2125,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym9 := z.DecBinary() - _ = yym9 + yym184 := z.DecBinary() + _ = yym184 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym9 { + } else if yym184 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym9 && z.IsJSONHandle() { + } else if !yym184 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -2156,9 +2156,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys178) + } // end switch yys178 + } // end for yyj178 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2166,16 +2166,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj13 int - var yyb13 bool - var yyhl13 bool = l >= 0 - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + var yyj188 int + var yyb188 bool + var yyhl188 bool = l >= 0 + yyj188++ + if yyhl188 { + yyb188 = yyj188 > l } else { - yyb13 = r.CheckBreak() + yyb188 = r.CheckBreak() } - if yyb13 { + if yyb188 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2183,21 +2183,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv14 := &x.Conditions - yym15 := z.DecBinary() - _ = yym15 + yyv189 := &x.Conditions + yym190 := z.DecBinary() + _ = yym190 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv14), d) + h.decSliceJobCondition((*[]JobCondition)(yyv189), d) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj188++ + if yyhl188 { + yyb188 = yyj188 > l } else { - yyb13 = r.CheckBreak() + yyb188 = r.CheckBreak() } - if yyb13 { + if yyb188 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2210,25 +2210,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym17 := z.DecBinary() - _ = yym17 + yym192 := z.DecBinary() + _ = yym192 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym17 { + } else if yym192 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym17 && z.IsJSONHandle() { + } else if !yym192 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj188++ + if yyhl188 { + yyb188 = yyj188 > l } else { - yyb13 = r.CheckBreak() + yyb188 = r.CheckBreak() } - if yyb13 { + if yyb188 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2241,25 +2241,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym19 := z.DecBinary() - _ = yym19 + yym194 := z.DecBinary() + _ = yym194 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym19 { + } else if yym194 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym19 && z.IsJSONHandle() { + } else if !yym194 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj188++ + if yyhl188 { + yyb188 = yyj188 > l } else { - yyb13 = r.CheckBreak() + yyb188 = r.CheckBreak() } - if yyb13 { + if yyb188 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2269,13 +2269,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj188++ + if yyhl188 { + yyb188 = yyj188 > l } else { - yyb13 = r.CheckBreak() + yyb188 = r.CheckBreak() } - if yyb13 { + if yyb188 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2285,13 +2285,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj188++ + if yyhl188 { + yyb188 = yyj188 > l } else { - yyb13 = r.CheckBreak() + yyb188 = r.CheckBreak() } - if yyb13 { + if yyb188 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2302,17 +2302,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj188++ + if yyhl188 { + yyb188 = yyj188 > l } else { - yyb13 = r.CheckBreak() + yyb188 = r.CheckBreak() } - if yyb13 { + if yyb188 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj13-1, "") + z.DecStructFieldNotFound(yyj188-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2321,8 +2321,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym198 := z.EncBinary() + _ = yym198 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -2334,8 +2334,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym199 := z.DecBinary() + _ = yym199 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -2350,34 +2350,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym200 := z.EncBinary() + _ = yym200 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = true - yyq2[3] = true - yyq2[4] = x.Reason != "" - yyq2[5] = x.Message != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep201 := !z.EncBinary() + yy2arr201 := z.EncBasicHandle().StructToArray + var yyq201 [6]bool + _, _, _ = yysep201, yyq201, yy2arr201 + const yyr201 bool = false + yyq201[2] = true + yyq201[3] = true + yyq201[4] = x.Reason != "" + yyq201[5] = x.Message != "" + var yynn201 int + if yyr201 || yy2arr201 { r.EncodeArrayStart(6) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn201 = 2 + for _, b := range yyq201 { if b { - yynn2++ + yynn201++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn201) + yynn201 = 0 } - if yyr2 || yy2arr2 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -2386,96 +2386,106 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yysf7 := &x.Status - yysf7.CodecEncodeSelf(e) + yym204 := z.EncBinary() + _ = yym204 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yysf8 := &x.Status - yysf8.CodecEncodeSelf(e) + yym205 := z.EncBinary() + _ = yym205 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } } - if yyr2 || yy2arr2 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy10 := &x.LastProbeTime - yym11 := z.EncBinary() - _ = yym11 + if yyq201[2] { + yy207 := &x.LastProbeTime + yym208 := z.EncBinary() + _ = yym208 if false { - } else if z.HasExtensions() && z.EncExt(yy10) { - } else if yym11 { - z.EncBinaryMarshal(yy10) - } else if !yym11 && z.IsJSONHandle() { - z.EncJSONMarshal(yy10) + } else if z.HasExtensions() && z.EncExt(yy207) { + } else if yym208 { + z.EncBinaryMarshal(yy207) + } else if !yym208 && z.IsJSONHandle() { + z.EncJSONMarshal(yy207) } else { - z.EncFallback(yy10) + z.EncFallback(yy207) } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq201[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.LastProbeTime - yym13 := z.EncBinary() - _ = yym13 + yy209 := &x.LastProbeTime + yym210 := z.EncBinary() + _ = yym210 if false { - } else if z.HasExtensions() && z.EncExt(yy12) { - } else if yym13 { - z.EncBinaryMarshal(yy12) - } else if !yym13 && z.IsJSONHandle() { - z.EncJSONMarshal(yy12) + } else if z.HasExtensions() && z.EncExt(yy209) { + } else if yym210 { + z.EncBinaryMarshal(yy209) + } else if !yym210 && z.IsJSONHandle() { + z.EncJSONMarshal(yy209) } else { - z.EncFallback(yy12) + z.EncFallback(yy209) } } } - if yyr2 || yy2arr2 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yy15 := &x.LastTransitionTime - yym16 := z.EncBinary() - _ = yym16 + if yyq201[3] { + yy212 := &x.LastTransitionTime + yym213 := z.EncBinary() + _ = yym213 if false { - } else if z.HasExtensions() && z.EncExt(yy15) { - } else if yym16 { - z.EncBinaryMarshal(yy15) - } else if !yym16 && z.IsJSONHandle() { - z.EncJSONMarshal(yy15) + } else if z.HasExtensions() && z.EncExt(yy212) { + } else if yym213 { + z.EncBinaryMarshal(yy212) + } else if !yym213 && z.IsJSONHandle() { + z.EncJSONMarshal(yy212) } else { - z.EncFallback(yy15) + z.EncFallback(yy212) } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq201[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.LastTransitionTime - yym18 := z.EncBinary() - _ = yym18 + yy214 := &x.LastTransitionTime + yym215 := z.EncBinary() + _ = yym215 if false { - } else if z.HasExtensions() && z.EncExt(yy17) { - } else if yym18 { - z.EncBinaryMarshal(yy17) - } else if !yym18 && z.IsJSONHandle() { - z.EncJSONMarshal(yy17) + } else if z.HasExtensions() && z.EncExt(yy214) { + } else if yym215 { + z.EncBinaryMarshal(yy214) + } else if !yym215 && z.IsJSONHandle() { + z.EncJSONMarshal(yy214) } else { - z.EncFallback(yy17) + z.EncFallback(yy214) } } } - if yyr2 || yy2arr2 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 + if yyq201[4] { + yym217 := z.EncBinary() + _ = yym217 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -2484,23 +2494,23 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq201[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym218 := z.EncBinary() + _ = yym218 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym23 := z.EncBinary() - _ = yym23 + if yyq201[5] { + yym220 := z.EncBinary() + _ = yym220 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -2509,19 +2519,19 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq201[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 + yym221 := z.EncBinary() + _ = yym221 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr201 || yy2arr201 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2534,25 +2544,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym222 := z.DecBinary() + _ = yym222 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct223 := r.ContainerType() + if yyct223 == codecSelferValueTypeMap1234 { + yyl223 := r.ReadMapStart() + if yyl223 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl223, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct223 == codecSelferValueTypeArray1234 { + yyl223 := r.ReadArrayStart() + if yyl223 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl223, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2564,12 +2574,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys224Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys224Slc + var yyhl224 bool = l >= 0 + for yyj224 := 0; ; yyj224++ { + if yyhl224 { + if yyj224 >= l { break } } else { @@ -2578,10 +2588,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys224Slc = r.DecodeBytes(yys224Slc, true, true) + yys224 := string(yys224Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys224 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -2598,34 +2608,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv6 := &x.LastProbeTime - yym7 := z.DecBinary() - _ = yym7 + yyv227 := &x.LastProbeTime + yym228 := z.DecBinary() + _ = yym228 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if yym7 { - z.DecBinaryUnmarshal(yyv6) - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv227) { + } else if yym228 { + z.DecBinaryUnmarshal(yyv227) + } else if !yym228 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv227) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv227, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv8 := &x.LastTransitionTime - yym9 := z.DecBinary() - _ = yym9 + yyv229 := &x.LastTransitionTime + yym230 := z.DecBinary() + _ = yym230 if false { - } else if z.HasExtensions() && z.DecExt(yyv8) { - } else if yym9 { - z.DecBinaryUnmarshal(yyv8) - } else if !yym9 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv8) + } else if z.HasExtensions() && z.DecExt(yyv229) { + } else if yym230 { + z.DecBinaryUnmarshal(yyv229) + } else if !yym230 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv229) } else { - z.DecFallback(yyv8, false) + z.DecFallback(yyv229, false) } } case "reason": @@ -2641,9 +2651,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys224) + } // end switch yys224 + } // end for yyj224 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2651,16 +2661,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj233 int + var yyb233 bool + var yyhl233 bool = l >= 0 + yyj233++ + if yyhl233 { + yyb233 = yyj233 > l } else { - yyb12 = r.CheckBreak() + yyb233 = r.CheckBreak() } - if yyb12 { + if yyb233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2670,13 +2680,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj233++ + if yyhl233 { + yyb233 = yyj233 > l } else { - yyb12 = r.CheckBreak() + yyb233 = r.CheckBreak() } - if yyb12 { + if yyb233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2686,13 +2696,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj233++ + if yyhl233 { + yyb233 = yyj233 > l } else { - yyb12 = r.CheckBreak() + yyb233 = r.CheckBreak() } - if yyb12 { + if yyb233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2700,26 +2710,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv15 := &x.LastProbeTime - yym16 := z.DecBinary() - _ = yym16 + yyv236 := &x.LastProbeTime + yym237 := z.DecBinary() + _ = yym237 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { - } else if yym16 { - z.DecBinaryUnmarshal(yyv15) - } else if !yym16 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv15) + } else if z.HasExtensions() && z.DecExt(yyv236) { + } else if yym237 { + z.DecBinaryUnmarshal(yyv236) + } else if !yym237 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv236) } else { - z.DecFallback(yyv15, false) + z.DecFallback(yyv236, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj233++ + if yyhl233 { + yyb233 = yyj233 > l } else { - yyb12 = r.CheckBreak() + yyb233 = r.CheckBreak() } - if yyb12 { + if yyb233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2727,26 +2737,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv17 := &x.LastTransitionTime - yym18 := z.DecBinary() - _ = yym18 + yyv238 := &x.LastTransitionTime + yym239 := z.DecBinary() + _ = yym239 if false { - } else if z.HasExtensions() && z.DecExt(yyv17) { - } else if yym18 { - z.DecBinaryUnmarshal(yyv17) - } else if !yym18 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv17) + } else if z.HasExtensions() && z.DecExt(yyv238) { + } else if yym239 { + z.DecBinaryUnmarshal(yyv238) + } else if !yym239 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv238) } else { - z.DecFallback(yyv17, false) + z.DecFallback(yyv238, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj233++ + if yyhl233 { + yyb233 = yyj233 > l } else { - yyb12 = r.CheckBreak() + yyb233 = r.CheckBreak() } - if yyb12 { + if yyb233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2756,13 +2766,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj233++ + if yyhl233 { + yyb233 = yyj233 > l } else { - yyb12 = r.CheckBreak() + yyb233 = r.CheckBreak() } - if yyb12 { + if yyb233 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2773,17 +2783,17 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj233++ + if yyhl233 { + yyb233 = yyj233 > l } else { - yyb12 = r.CheckBreak() + yyb233 = r.CheckBreak() } - if yyb12 { + if yyb233 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj233-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2795,90 +2805,39 @@ func (x *ScheduledJob) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym242 := z.EncBinary() + _ = yym242 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep243 := !z.EncBinary() + yy2arr243 := z.EncBasicHandle().StructToArray + var yyq243 [5]bool + _, _, _ = yysep243, yyq243, yy2arr243 + const yyr243 bool = false + yyq243[0] = x.Kind != "" + yyq243[1] = x.APIVersion != "" + yyq243[2] = true + yyq243[3] = true + yyq243[4] = true + var yynn243 int + if yyr243 || yy2arr243 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn243 = 0 + for _, b := range yyq243 { if b { - yynn2++ + yynn243++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn243) + yynn243 = 0 } - if yyr2 || yy2arr2 { + if yyr243 || yy2arr243 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq243[0] { + yym245 := z.EncBinary() + _ = yym245 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -2887,23 +2846,23 @@ func (x *ScheduledJob) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq243[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym246 := z.EncBinary() + _ = yym246 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr243 || yy2arr243 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq243[1] { + yym248 := z.EncBinary() + _ = yym248 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -2912,19 +2871,70 @@ func (x *ScheduledJob) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq243[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym249 := z.EncBinary() + _ = yym249 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr243 || yy2arr243 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq243[2] { + yy251 := &x.ObjectMeta + yy251.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq243[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy252 := &x.ObjectMeta + yy252.CodecEncodeSelf(e) + } + } + if yyr243 || yy2arr243 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq243[3] { + yy254 := &x.Spec + yy254.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq243[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy255 := &x.Spec + yy255.CodecEncodeSelf(e) + } + } + if yyr243 || yy2arr243 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq243[4] { + yy257 := &x.Status + yy257.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq243[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy258 := &x.Status + yy258.CodecEncodeSelf(e) + } + } + if yyr243 || yy2arr243 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2937,25 +2947,25 @@ func (x *ScheduledJob) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym259 := z.DecBinary() + _ = yym259 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct260 := r.ContainerType() + if yyct260 == codecSelferValueTypeMap1234 { + yyl260 := r.ReadMapStart() + if yyl260 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl260, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct260 == codecSelferValueTypeArray1234 { + yyl260 := r.ReadArrayStart() + if yyl260 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl260, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2967,12 +2977,12 @@ func (x *ScheduledJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys261Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys261Slc + var yyhl261 bool = l >= 0 + for yyj261 := 0; ; yyj261++ { + if yyhl261 { + if yyj261 >= l { break } } else { @@ -2981,31 +2991,10 @@ func (x *ScheduledJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys261Slc = r.DecodeBytes(yys261Slc, true, true) + yys261 := string(yys261Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ScheduledJobSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ScheduledJobStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys261 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3018,10 +3007,31 @@ func (x *ScheduledJob) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv264 := &x.ObjectMeta + yyv264.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ScheduledJobSpec{} + } else { + yyv265 := &x.Spec + yyv265.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ScheduledJobStatus{} + } else { + yyv266 := &x.Status + yyv266.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys261) + } // end switch yys261 + } // end for yyj261 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3029,67 +3039,16 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj267 int + var yyb267 bool + var yyhl267 bool = l >= 0 + yyj267++ + if yyhl267 { + yyb267 = yyj267 > l } else { - yyb9 = r.CheckBreak() + yyb267 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ScheduledJobSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ScheduledJobStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3099,13 +3058,13 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj267++ + if yyhl267 { + yyb267 = yyj267 > l } else { - yyb9 = r.CheckBreak() + yyb267 = r.CheckBreak() } - if yyb9 { + if yyb267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3115,18 +3074,69 @@ func (x *ScheduledJob) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj267++ + if yyhl267 { + yyb267 = yyj267 > l + } else { + yyb267 = r.CheckBreak() + } + if yyb267 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv270 := &x.ObjectMeta + yyv270.CodecDecodeSelf(d) + } + yyj267++ + if yyhl267 { + yyb267 = yyj267 > l + } else { + yyb267 = r.CheckBreak() + } + if yyb267 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ScheduledJobSpec{} + } else { + yyv271 := &x.Spec + yyv271.CodecDecodeSelf(d) + } + yyj267++ + if yyhl267 { + yyb267 = yyj267 > l + } else { + yyb267 = r.CheckBreak() + } + if yyb267 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ScheduledJobStatus{} + } else { + yyv272 := &x.Status + yyv272.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj267++ + if yyhl267 { + yyb267 = yyj267 > l } else { - yyb9 = r.CheckBreak() + yyb267 = r.CheckBreak() } - if yyb9 { + if yyb267 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj267-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3138,68 +3148,118 @@ func (x *ScheduledJobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym273 := z.EncBinary() + _ = yym273 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep274 := !z.EncBinary() + yy2arr274 := z.EncBasicHandle().StructToArray + var yyq274 [4]bool + _, _, _ = yysep274, yyq274, yy2arr274 + const yyr274 bool = false + yyq274[0] = x.Kind != "" + yyq274[1] = x.APIVersion != "" + yyq274[2] = true + var yynn274 int + if yyr274 || yy2arr274 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn274 = 1 + for _, b := range yyq274 { if b { - yynn2++ + yynn274++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn274) + yynn274 = 0 } - if yyr2 || yy2arr2 { + if yyr274 || yy2arr274 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq274[0] { + yym276 := z.EncBinary() + _ = yym276 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq274[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym277 := z.EncBinary() + _ = yym277 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr274 || yy2arr274 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq274[1] { + yym279 := z.EncBinary() + _ = yym279 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq274[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym280 := z.EncBinary() + _ = yym280 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr274 || yy2arr274 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq274[2] { + yy282 := &x.ListMeta + yym283 := z.EncBinary() + _ = yym283 + if false { + } else if z.HasExtensions() && z.EncExt(yy282) { + } else { + z.EncFallback(yy282) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq274[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy284 := &x.ListMeta + yym285 := z.EncBinary() + _ = yym285 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy284) { } else { - z.EncFallback(yy6) + z.EncFallback(yy284) } } } - if yyr2 || yy2arr2 { + if yyr274 || yy2arr274 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym287 := z.EncBinary() + _ = yym287 if false { } else { h.encSliceScheduledJob(([]ScheduledJob)(x.Items), e) @@ -3212,65 +3272,15 @@ func (x *ScheduledJobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym288 := z.EncBinary() + _ = yym288 if false { } else { h.encSliceScheduledJob(([]ScheduledJob)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr274 || yy2arr274 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3283,25 +3293,25 @@ func (x *ScheduledJobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym289 := z.DecBinary() + _ = yym289 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct290 := r.ContainerType() + if yyct290 == codecSelferValueTypeMap1234 { + yyl290 := r.ReadMapStart() + if yyl290 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl290, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct290 == codecSelferValueTypeArray1234 { + yyl290 := r.ReadArrayStart() + if yyl290 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl290, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3313,12 +3323,12 @@ func (x *ScheduledJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys291Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys291Slc + var yyhl291 bool = l >= 0 + for yyj291 := 0; ; yyj291++ { + if yyhl291 { + if yyj291 >= l { break } } else { @@ -3327,35 +3337,10 @@ func (x *ScheduledJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys291Slc = r.DecodeBytes(yys291Slc, true, true) + yys291 := string(yys291Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceScheduledJob((*[]ScheduledJob)(yyv6), d) - } - } + switch yys291 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3368,10 +3353,35 @@ func (x *ScheduledJobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv294 := &x.ListMeta + yym295 := z.DecBinary() + _ = yym295 + if false { + } else if z.HasExtensions() && z.DecExt(yyv294) { + } else { + z.DecFallback(yyv294, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv296 := &x.Items + yym297 := z.DecBinary() + _ = yym297 + if false { + } else { + h.decSliceScheduledJob((*[]ScheduledJob)(yyv296), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys291) + } // end switch yys291 + } // end for yyj291 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3379,61 +3389,16 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj298 int + var yyb298 bool + var yyhl298 bool = l >= 0 + yyj298++ + if yyhl298 { + yyb298 = yyj298 > l } else { - yyb10 = r.CheckBreak() + yyb298 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceScheduledJob((*[]ScheduledJob)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb298 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3443,13 +3408,13 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj298++ + if yyhl298 { + yyb298 = yyj298 > l } else { - yyb10 = r.CheckBreak() + yyb298 = r.CheckBreak() } - if yyb10 { + if yyb298 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3459,18 +3424,63 @@ func (x *ScheduledJobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj298++ + if yyhl298 { + yyb298 = yyj298 > l + } else { + yyb298 = r.CheckBreak() + } + if yyb298 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv301 := &x.ListMeta + yym302 := z.DecBinary() + _ = yym302 + if false { + } else if z.HasExtensions() && z.DecExt(yyv301) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv301, false) } - if yyb10 { + } + yyj298++ + if yyhl298 { + yyb298 = yyj298 > l + } else { + yyb298 = r.CheckBreak() + } + if yyb298 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv303 := &x.Items + yym304 := z.DecBinary() + _ = yym304 + if false { + } else { + h.decSliceScheduledJob((*[]ScheduledJob)(yyv303), d) + } + } + for { + yyj298++ + if yyhl298 { + yyb298 = yyj298 > l + } else { + yyb298 = r.CheckBreak() + } + if yyb298 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj298-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3482,36 +3492,36 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym305 := z.EncBinary() + _ = yym305 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.StartingDeadlineSeconds != nil - yyq2[2] = x.ConcurrencyPolicy != "" - yyq2[3] = x.Suspend != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep306 := !z.EncBinary() + yy2arr306 := z.EncBasicHandle().StructToArray + var yyq306 [5]bool + _, _, _ = yysep306, yyq306, yy2arr306 + const yyr306 bool = false + yyq306[1] = x.StartingDeadlineSeconds != nil + yyq306[2] = x.ConcurrencyPolicy != "" + yyq306[3] = x.Suspend != nil + var yynn306 int + if yyr306 || yy2arr306 { r.EncodeArrayStart(5) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn306 = 2 + for _, b := range yyq306 { if b { - yynn2++ + yynn306++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn306) + yynn306 = 0 } - if yyr2 || yy2arr2 { + if yyr306 || yy2arr306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym308 := z.EncBinary() + _ = yym308 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Schedule)) @@ -3520,110 +3530,110 @@ func (x *ScheduledJobSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("schedule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym309 := z.EncBinary() + _ = yym309 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Schedule)) } } - if yyr2 || yy2arr2 { + if yyr306 || yy2arr306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq306[1] { if x.StartingDeadlineSeconds == nil { r.EncodeNil() } else { - yy7 := *x.StartingDeadlineSeconds - yym8 := z.EncBinary() - _ = yym8 + yy311 := *x.StartingDeadlineSeconds + yym312 := z.EncBinary() + _ = yym312 if false { } else { - r.EncodeInt(int64(yy7)) + r.EncodeInt(int64(yy311)) } } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq306[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startingDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartingDeadlineSeconds == nil { r.EncodeNil() } else { - yy9 := *x.StartingDeadlineSeconds - yym10 := z.EncBinary() - _ = yym10 + yy313 := *x.StartingDeadlineSeconds + yym314 := z.EncBinary() + _ = yym314 if false { } else { - r.EncodeInt(int64(yy9)) + r.EncodeInt(int64(yy313)) } } } } - if yyr2 || yy2arr2 { + if yyr306 || yy2arr306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq306[2] { x.ConcurrencyPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq306[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrencyPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.ConcurrencyPolicy.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr306 || yy2arr306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq306[3] { if x.Suspend == nil { r.EncodeNil() } else { - yy15 := *x.Suspend - yym16 := z.EncBinary() - _ = yym16 + yy317 := *x.Suspend + yym318 := z.EncBinary() + _ = yym318 if false { } else { - r.EncodeBool(bool(yy15)) + r.EncodeBool(bool(yy317)) } } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq306[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("suspend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Suspend == nil { r.EncodeNil() } else { - yy17 := *x.Suspend - yym18 := z.EncBinary() - _ = yym18 + yy319 := *x.Suspend + yym320 := z.EncBinary() + _ = yym320 if false { } else { - r.EncodeBool(bool(yy17)) + r.EncodeBool(bool(yy319)) } } } } - if yyr2 || yy2arr2 { + if yyr306 || yy2arr306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy20 := &x.JobTemplate - yy20.CodecEncodeSelf(e) + yy322 := &x.JobTemplate + yy322.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("jobTemplate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy22 := &x.JobTemplate - yy22.CodecEncodeSelf(e) + yy323 := &x.JobTemplate + yy323.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr306 || yy2arr306 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3636,25 +3646,25 @@ func (x *ScheduledJobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym324 := z.DecBinary() + _ = yym324 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct325 := r.ContainerType() + if yyct325 == codecSelferValueTypeMap1234 { + yyl325 := r.ReadMapStart() + if yyl325 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl325, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct325 == codecSelferValueTypeArray1234 { + yyl325 := r.ReadArrayStart() + if yyl325 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl325, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3666,12 +3676,12 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys326Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys326Slc + var yyhl326 bool = l >= 0 + for yyj326 := 0; ; yyj326++ { + if yyhl326 { + if yyj326 >= l { break } } else { @@ -3680,10 +3690,10 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys326Slc = r.DecodeBytes(yys326Slc, true, true) + yys326 := string(yys326Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys326 { case "schedule": if r.TryDecodeAsNil() { x.Schedule = "" @@ -3699,8 +3709,8 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartingDeadlineSeconds == nil { x.StartingDeadlineSeconds = new(int64) } - yym6 := z.DecBinary() - _ = yym6 + yym329 := z.DecBinary() + _ = yym329 if false { } else { *((*int64)(x.StartingDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -3721,8 +3731,8 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Suspend == nil { x.Suspend = new(bool) } - yym9 := z.DecBinary() - _ = yym9 + yym332 := z.DecBinary() + _ = yym332 if false { } else { *((*bool)(x.Suspend)) = r.DecodeBool() @@ -3732,13 +3742,13 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.JobTemplate = JobTemplateSpec{} } else { - yyv10 := &x.JobTemplate - yyv10.CodecDecodeSelf(d) + yyv333 := &x.JobTemplate + yyv333.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys326) + } // end switch yys326 + } // end for yyj326 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3746,16 +3756,16 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj334 int + var yyb334 bool + var yyhl334 bool = l >= 0 + yyj334++ + if yyhl334 { + yyb334 = yyj334 > l } else { - yyb11 = r.CheckBreak() + yyb334 = r.CheckBreak() } - if yyb11 { + if yyb334 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3765,13 +3775,13 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Schedule = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj334++ + if yyhl334 { + yyb334 = yyj334 > l } else { - yyb11 = r.CheckBreak() + yyb334 = r.CheckBreak() } - if yyb11 { + if yyb334 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3784,20 +3794,20 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.StartingDeadlineSeconds == nil { x.StartingDeadlineSeconds = new(int64) } - yym14 := z.DecBinary() - _ = yym14 + yym337 := z.DecBinary() + _ = yym337 if false { } else { *((*int64)(x.StartingDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj334++ + if yyhl334 { + yyb334 = yyj334 > l } else { - yyb11 = r.CheckBreak() + yyb334 = r.CheckBreak() } - if yyb11 { + if yyb334 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3807,13 +3817,13 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ConcurrencyPolicy = ConcurrencyPolicy(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj334++ + if yyhl334 { + yyb334 = yyj334 > l } else { - yyb11 = r.CheckBreak() + yyb334 = r.CheckBreak() } - if yyb11 { + if yyb334 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3826,20 +3836,20 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Suspend == nil { x.Suspend = new(bool) } - yym17 := z.DecBinary() - _ = yym17 + yym340 := z.DecBinary() + _ = yym340 if false { } else { *((*bool)(x.Suspend)) = r.DecodeBool() } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj334++ + if yyhl334 { + yyb334 = yyj334 > l } else { - yyb11 = r.CheckBreak() + yyb334 = r.CheckBreak() } - if yyb11 { + if yyb334 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3847,21 +3857,21 @@ func (x *ScheduledJobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.JobTemplate = JobTemplateSpec{} } else { - yyv18 := &x.JobTemplate - yyv18.CodecDecodeSelf(d) + yyv341 := &x.JobTemplate + yyv341.CodecDecodeSelf(d) } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj334++ + if yyhl334 { + yyb334 = yyj334 > l } else { - yyb11 = r.CheckBreak() + yyb334 = r.CheckBreak() } - if yyb11 { + if yyb334 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj334-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3870,8 +3880,8 @@ func (x ConcurrencyPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym342 := z.EncBinary() + _ = yym342 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -3883,8 +3893,8 @@ func (x *ConcurrencyPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym343 := z.DecBinary() + _ = yym343 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -3899,39 +3909,39 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym344 := z.EncBinary() + _ = yym344 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Active) != 0 - yyq2[1] = x.LastScheduleTime != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep345 := !z.EncBinary() + yy2arr345 := z.EncBasicHandle().StructToArray + var yyq345 [2]bool + _, _, _ = yysep345, yyq345, yy2arr345 + const yyr345 bool = false + yyq345[0] = len(x.Active) != 0 + yyq345[1] = x.LastScheduleTime != nil + var yynn345 int + if yyr345 || yy2arr345 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn345 = 0 + for _, b := range yyq345 { if b { - yynn2++ + yynn345++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn345) + yynn345 = 0 } - if yyr2 || yy2arr2 { + if yyr345 || yy2arr345 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq345[0] { if x.Active == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym347 := z.EncBinary() + _ = yym347 if false { } else { h.encSlicev1_ObjectReference(([]pkg2_v1.ObjectReference)(x.Active), e) @@ -3941,15 +3951,15 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq345[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Active == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym348 := z.EncBinary() + _ = yym348 if false { } else { h.encSlicev1_ObjectReference(([]pkg2_v1.ObjectReference)(x.Active), e) @@ -3957,19 +3967,19 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr345 || yy2arr345 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq345[1] { if x.LastScheduleTime == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym350 := z.EncBinary() + _ = yym350 if false { } else if z.HasExtensions() && z.EncExt(x.LastScheduleTime) { - } else if yym7 { + } else if yym350 { z.EncBinaryMarshal(x.LastScheduleTime) - } else if !yym7 && z.IsJSONHandle() { + } else if !yym350 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScheduleTime) } else { z.EncFallback(x.LastScheduleTime) @@ -3979,20 +3989,20 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq345[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastScheduleTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LastScheduleTime == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym351 := z.EncBinary() + _ = yym351 if false { } else if z.HasExtensions() && z.EncExt(x.LastScheduleTime) { - } else if yym8 { + } else if yym351 { z.EncBinaryMarshal(x.LastScheduleTime) - } else if !yym8 && z.IsJSONHandle() { + } else if !yym351 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScheduleTime) } else { z.EncFallback(x.LastScheduleTime) @@ -4000,7 +4010,7 @@ func (x *ScheduledJobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr345 || yy2arr345 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4013,25 +4023,25 @@ func (x *ScheduledJobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym352 := z.DecBinary() + _ = yym352 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct353 := r.ContainerType() + if yyct353 == codecSelferValueTypeMap1234 { + yyl353 := r.ReadMapStart() + if yyl353 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl353, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct353 == codecSelferValueTypeArray1234 { + yyl353 := r.ReadArrayStart() + if yyl353 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl353, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4043,12 +4053,12 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys354Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys354Slc + var yyhl354 bool = l >= 0 + for yyj354 := 0; ; yyj354++ { + if yyhl354 { + if yyj354 >= l { break } } else { @@ -4057,20 +4067,20 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys354Slc = r.DecodeBytes(yys354Slc, true, true) + yys354 := string(yys354Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys354 { case "active": if r.TryDecodeAsNil() { x.Active = nil } else { - yyv4 := &x.Active - yym5 := z.DecBinary() - _ = yym5 + yyv355 := &x.Active + yym356 := z.DecBinary() + _ = yym356 if false { } else { - h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv4), d) + h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv355), d) } } case "lastScheduleTime": @@ -4082,22 +4092,22 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.LastScheduleTime == nil { x.LastScheduleTime = new(pkg1_unversioned.Time) } - yym7 := z.DecBinary() - _ = yym7 + yym358 := z.DecBinary() + _ = yym358 if false { } else if z.HasExtensions() && z.DecExt(x.LastScheduleTime) { - } else if yym7 { + } else if yym358 { z.DecBinaryUnmarshal(x.LastScheduleTime) - } else if !yym7 && z.IsJSONHandle() { + } else if !yym358 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScheduleTime) } else { z.DecFallback(x.LastScheduleTime, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys354) + } // end switch yys354 + } // end for yyj354 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4105,16 +4115,16 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj359 int + var yyb359 bool + var yyhl359 bool = l >= 0 + yyj359++ + if yyhl359 { + yyb359 = yyj359 > l } else { - yyb8 = r.CheckBreak() + yyb359 = r.CheckBreak() } - if yyb8 { + if yyb359 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4122,21 +4132,21 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Active = nil } else { - yyv9 := &x.Active - yym10 := z.DecBinary() - _ = yym10 + yyv360 := &x.Active + yym361 := z.DecBinary() + _ = yym361 if false { } else { - h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv9), d) + h.decSlicev1_ObjectReference((*[]pkg2_v1.ObjectReference)(yyv360), d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj359++ + if yyhl359 { + yyb359 = yyj359 > l } else { - yyb8 = r.CheckBreak() + yyb359 = r.CheckBreak() } - if yyb8 { + if yyb359 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4149,30 +4159,30 @@ func (x *ScheduledJobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.LastScheduleTime == nil { x.LastScheduleTime = new(pkg1_unversioned.Time) } - yym12 := z.DecBinary() - _ = yym12 + yym363 := z.DecBinary() + _ = yym363 if false { } else if z.HasExtensions() && z.DecExt(x.LastScheduleTime) { - } else if yym12 { + } else if yym363 { z.DecBinaryUnmarshal(x.LastScheduleTime) - } else if !yym12 && z.IsJSONHandle() { + } else if !yym363 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScheduleTime) } else { z.DecFallback(x.LastScheduleTime, false) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj359++ + if yyhl359 { + yyb359 = yyj359 > l } else { - yyb8 = r.CheckBreak() + yyb359 = r.CheckBreak() } - if yyb8 { + if yyb359 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj359-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4184,39 +4194,39 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym364 := z.EncBinary() + _ = yym364 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.MatchLabels) != 0 - yyq2[1] = len(x.MatchExpressions) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep365 := !z.EncBinary() + yy2arr365 := z.EncBasicHandle().StructToArray + var yyq365 [2]bool + _, _, _ = yysep365, yyq365, yy2arr365 + const yyr365 bool = false + yyq365[0] = len(x.MatchLabels) != 0 + yyq365[1] = len(x.MatchExpressions) != 0 + var yynn365 int + if yyr365 || yy2arr365 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn365 = 0 + for _, b := range yyq365 { if b { - yynn2++ + yynn365++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn365) + yynn365 = 0 } - if yyr2 || yy2arr2 { + if yyr365 || yy2arr365 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq365[0] { if x.MatchLabels == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym367 := z.EncBinary() + _ = yym367 if false { } else { z.F.EncMapStringStringV(x.MatchLabels, false, e) @@ -4226,15 +4236,15 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq365[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("matchLabels")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MatchLabels == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym368 := z.EncBinary() + _ = yym368 if false { } else { z.F.EncMapStringStringV(x.MatchLabels, false, e) @@ -4242,14 +4252,14 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr365 || yy2arr365 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq365[1] { if x.MatchExpressions == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym370 := z.EncBinary() + _ = yym370 if false { } else { h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) @@ -4259,15 +4269,15 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq365[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("matchExpressions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MatchExpressions == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym371 := z.EncBinary() + _ = yym371 if false { } else { h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) @@ -4275,7 +4285,7 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr365 || yy2arr365 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4288,25 +4298,25 @@ func (x *LabelSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym372 := z.DecBinary() + _ = yym372 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct373 := r.ContainerType() + if yyct373 == codecSelferValueTypeMap1234 { + yyl373 := r.ReadMapStart() + if yyl373 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl373, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct373 == codecSelferValueTypeArray1234 { + yyl373 := r.ReadArrayStart() + if yyl373 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl373, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4318,12 +4328,12 @@ func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys374Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys374Slc + var yyhl374 bool = l >= 0 + for yyj374 := 0; ; yyj374++ { + if yyhl374 { + if yyj374 >= l { break } } else { @@ -4332,38 +4342,38 @@ func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys374Slc = r.DecodeBytes(yys374Slc, true, true) + yys374 := string(yys374Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys374 { case "matchLabels": if r.TryDecodeAsNil() { x.MatchLabels = nil } else { - yyv4 := &x.MatchLabels - yym5 := z.DecBinary() - _ = yym5 + yyv375 := &x.MatchLabels + yym376 := z.DecBinary() + _ = yym376 if false { } else { - z.F.DecMapStringStringX(yyv4, false, d) + z.F.DecMapStringStringX(yyv375, false, d) } } case "matchExpressions": if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv6 := &x.MatchExpressions - yym7 := z.DecBinary() - _ = yym7 + yyv377 := &x.MatchExpressions + yym378 := z.DecBinary() + _ = yym378 if false { } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv6), d) + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv377), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys374) + } // end switch yys374 + } // end for yyj374 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4371,16 +4381,16 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj379 int + var yyb379 bool + var yyhl379 bool = l >= 0 + yyj379++ + if yyhl379 { + yyb379 = yyj379 > l } else { - yyb8 = r.CheckBreak() + yyb379 = r.CheckBreak() } - if yyb8 { + if yyb379 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4388,21 +4398,21 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MatchLabels = nil } else { - yyv9 := &x.MatchLabels - yym10 := z.DecBinary() - _ = yym10 + yyv380 := &x.MatchLabels + yym381 := z.DecBinary() + _ = yym381 if false { } else { - z.F.DecMapStringStringX(yyv9, false, d) + z.F.DecMapStringStringX(yyv380, false, d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj379++ + if yyhl379 { + yyb379 = yyj379 > l } else { - yyb8 = r.CheckBreak() + yyb379 = r.CheckBreak() } - if yyb8 { + if yyb379 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4410,26 +4420,26 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv11 := &x.MatchExpressions - yym12 := z.DecBinary() - _ = yym12 + yyv382 := &x.MatchExpressions + yym383 := z.DecBinary() + _ = yym383 if false { } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv11), d) + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv382), d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj379++ + if yyhl379 { + yyb379 = yyj379 > l } else { - yyb8 = r.CheckBreak() + yyb379 = r.CheckBreak() } - if yyb8 { + if yyb379 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj379-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4441,34 +4451,34 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym384 := z.EncBinary() + _ = yym384 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = len(x.Values) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep385 := !z.EncBinary() + yy2arr385 := z.EncBasicHandle().StructToArray + var yyq385 [3]bool + _, _, _ = yysep385, yyq385, yy2arr385 + const yyr385 bool = false + yyq385[2] = len(x.Values) != 0 + var yynn385 int + if yyr385 || yy2arr385 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn385 = 2 + for _, b := range yyq385 { if b { - yynn2++ + yynn385++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn385) + yynn385 = 0 } - if yyr2 || yy2arr2 { + if yyr385 || yy2arr385 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym387 := z.EncBinary() + _ = yym387 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -4477,14 +4487,14 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym388 := z.EncBinary() + _ = yym388 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr2 || yy2arr2 { + if yyr385 || yy2arr385 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Operator.CodecEncodeSelf(e) } else { @@ -4493,14 +4503,14 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr385 || yy2arr385 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq385[2] { if x.Values == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym391 := z.EncBinary() + _ = yym391 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -4510,15 +4520,15 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq385[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("values")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Values == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym392 := z.EncBinary() + _ = yym392 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -4526,7 +4536,7 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr385 || yy2arr385 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4539,25 +4549,25 @@ func (x *LabelSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym393 := z.DecBinary() + _ = yym393 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct394 := r.ContainerType() + if yyct394 == codecSelferValueTypeMap1234 { + yyl394 := r.ReadMapStart() + if yyl394 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl394, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct394 == codecSelferValueTypeArray1234 { + yyl394 := r.ReadArrayStart() + if yyl394 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl394, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4569,12 +4579,12 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys395Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys395Slc + var yyhl395 bool = l >= 0 + for yyj395 := 0; ; yyj395++ { + if yyhl395 { + if yyj395 >= l { break } } else { @@ -4583,10 +4593,10 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys395Slc = r.DecodeBytes(yys395Slc, true, true) + yys395 := string(yys395Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys395 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -4603,18 +4613,18 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Values = nil } else { - yyv6 := &x.Values - yym7 := z.DecBinary() - _ = yym7 + yyv398 := &x.Values + yym399 := z.DecBinary() + _ = yym399 if false { } else { - z.F.DecSliceStringX(yyv6, false, d) + z.F.DecSliceStringX(yyv398, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys395) + } // end switch yys395 + } // end for yyj395 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4622,16 +4632,16 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj400 int + var yyb400 bool + var yyhl400 bool = l >= 0 + yyj400++ + if yyhl400 { + yyb400 = yyj400 > l } else { - yyb8 = r.CheckBreak() + yyb400 = r.CheckBreak() } - if yyb8 { + if yyb400 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4641,13 +4651,13 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Key = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj400++ + if yyhl400 { + yyb400 = yyj400 > l } else { - yyb8 = r.CheckBreak() + yyb400 = r.CheckBreak() } - if yyb8 { + if yyb400 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4657,13 +4667,13 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Operator = LabelSelectorOperator(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj400++ + if yyhl400 { + yyb400 = yyj400 > l } else { - yyb8 = r.CheckBreak() + yyb400 = r.CheckBreak() } - if yyb8 { + if yyb400 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4671,26 +4681,26 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Values = nil } else { - yyv11 := &x.Values - yym12 := z.DecBinary() - _ = yym12 + yyv403 := &x.Values + yym404 := z.DecBinary() + _ = yym404 if false { } else { - z.F.DecSliceStringX(yyv11, false, d) + z.F.DecSliceStringX(yyv403, false, d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj400++ + if yyhl400 { + yyb400 = yyj400 > l } else { - yyb8 = r.CheckBreak() + yyb400 = r.CheckBreak() } - if yyb8 { + if yyb400 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj400-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4699,8 +4709,8 @@ func (x LabelSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym405 := z.EncBinary() + _ = yym405 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -4712,8 +4722,8 @@ func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym406 := z.DecBinary() + _ = yym406 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -4726,10 +4736,10 @@ func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv407 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy408 := &yyv407 + yy408.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4739,86 +4749,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Job{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv409 := *v + yyh409, yyl409 := z.DecSliceHelperStart() + var yyc409 bool + if yyl409 == 0 { + if yyv409 == nil { + yyv409 = []Job{} + yyc409 = true + } else if len(yyv409) != 0 { + yyv409 = yyv409[:0] + yyc409 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl409 > 0 { + var yyrr409, yyrl409 int + var yyrt409 bool + if yyl409 > cap(yyv409) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 792) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg409 := len(yyv409) > 0 + yyv2409 := yyv409 + yyrl409, yyrt409 = z.DecInferLen(yyl409, z.DecBasicHandle().MaxInitLen, 792) + if yyrt409 { + if yyrl409 <= cap(yyv409) { + yyv409 = yyv409[:yyrl409] } else { - yyv1 = make([]Job, yyrl1) + yyv409 = make([]Job, yyrl409) } } else { - yyv1 = make([]Job, yyrl1) + yyv409 = make([]Job, yyrl409) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc409 = true + yyrr409 = len(yyv409) + if yyrg409 { + copy(yyv409, yyv2409) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl409 != len(yyv409) { + yyv409 = yyv409[:yyl409] + yyc409 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj409 := 0 + for ; yyj409 < yyrr409; yyj409++ { + yyh409.ElemContainerState(yyj409) if r.TryDecodeAsNil() { - yyv1[yyj1] = Job{} + yyv409[yyj409] = Job{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv410 := &yyv409[yyj409] + yyv410.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Job{}) - yyh1.ElemContainerState(yyj1) + if yyrt409 { + for ; yyj409 < yyl409; yyj409++ { + yyv409 = append(yyv409, Job{}) + yyh409.ElemContainerState(yyj409) if r.TryDecodeAsNil() { - yyv1[yyj1] = Job{} + yyv409[yyj409] = Job{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv411 := &yyv409[yyj409] + yyv411.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj409 := 0 + for ; !r.CheckBreak(); yyj409++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Job{}) // var yyz1 Job - yyc1 = true + if yyj409 >= len(yyv409) { + yyv409 = append(yyv409, Job{}) // var yyz409 Job + yyc409 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh409.ElemContainerState(yyj409) + if yyj409 < len(yyv409) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Job{} + yyv409[yyj409] = Job{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv412 := &yyv409[yyj409] + yyv412.CodecDecodeSelf(d) } } else { @@ -4826,17 +4833,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Job{} - yyc1 = true + if yyj409 < len(yyv409) { + yyv409 = yyv409[:yyj409] + yyc409 = true + } else if yyj409 == 0 && yyv409 == nil { + yyv409 = []Job{} + yyc409 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh409.End() + if yyc409 { + *v = yyv409 } } @@ -4845,10 +4852,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv413 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy414 := &yyv413 + yy414.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4858,86 +4865,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []JobCondition{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv415 := *v + yyh415, yyl415 := z.DecSliceHelperStart() + var yyc415 bool + if yyl415 == 0 { + if yyv415 == nil { + yyv415 = []JobCondition{} + yyc415 = true + } else if len(yyv415) != 0 { + yyv415 = yyv415[:0] + yyc415 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl415 > 0 { + var yyrr415, yyrl415 int + var yyrt415 bool + if yyl415 > cap(yyv415) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg415 := len(yyv415) > 0 + yyv2415 := yyv415 + yyrl415, yyrt415 = z.DecInferLen(yyl415, z.DecBasicHandle().MaxInitLen, 112) + if yyrt415 { + if yyrl415 <= cap(yyv415) { + yyv415 = yyv415[:yyrl415] } else { - yyv1 = make([]JobCondition, yyrl1) + yyv415 = make([]JobCondition, yyrl415) } } else { - yyv1 = make([]JobCondition, yyrl1) + yyv415 = make([]JobCondition, yyrl415) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc415 = true + yyrr415 = len(yyv415) + if yyrg415 { + copy(yyv415, yyv2415) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl415 != len(yyv415) { + yyv415 = yyv415[:yyl415] + yyc415 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj415 := 0 + for ; yyj415 < yyrr415; yyj415++ { + yyh415.ElemContainerState(yyj415) if r.TryDecodeAsNil() { - yyv1[yyj1] = JobCondition{} + yyv415[yyj415] = JobCondition{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv416 := &yyv415[yyj415] + yyv416.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, JobCondition{}) - yyh1.ElemContainerState(yyj1) + if yyrt415 { + for ; yyj415 < yyl415; yyj415++ { + yyv415 = append(yyv415, JobCondition{}) + yyh415.ElemContainerState(yyj415) if r.TryDecodeAsNil() { - yyv1[yyj1] = JobCondition{} + yyv415[yyj415] = JobCondition{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv417 := &yyv415[yyj415] + yyv417.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj415 := 0 + for ; !r.CheckBreak(); yyj415++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, JobCondition{}) // var yyz1 JobCondition - yyc1 = true + if yyj415 >= len(yyv415) { + yyv415 = append(yyv415, JobCondition{}) // var yyz415 JobCondition + yyc415 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh415.ElemContainerState(yyj415) + if yyj415 < len(yyv415) { if r.TryDecodeAsNil() { - yyv1[yyj1] = JobCondition{} + yyv415[yyj415] = JobCondition{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv418 := &yyv415[yyj415] + yyv418.CodecDecodeSelf(d) } } else { @@ -4945,17 +4949,17 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []JobCondition{} - yyc1 = true + if yyj415 < len(yyv415) { + yyv415 = yyv415[:yyj415] + yyc415 = true + } else if yyj415 == 0 && yyv415 == nil { + yyv415 = []JobCondition{} + yyc415 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh415.End() + if yyc415 { + *v = yyv415 } } @@ -4964,10 +4968,10 @@ func (x codecSelfer1234) encSliceScheduledJob(v []ScheduledJob, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv419 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy420 := &yyv419 + yy420.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4977,86 +4981,83 @@ func (x codecSelfer1234) decSliceScheduledJob(v *[]ScheduledJob, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ScheduledJob{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv421 := *v + yyh421, yyl421 := z.DecSliceHelperStart() + var yyc421 bool + if yyl421 == 0 { + if yyv421 == nil { + yyv421 = []ScheduledJob{} + yyc421 = true + } else if len(yyv421) != 0 { + yyv421 = yyv421[:0] + yyc421 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl421 > 0 { + var yyrr421, yyrl421 int + var yyrt421 bool + if yyl421 > cap(yyv421) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 1024) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg421 := len(yyv421) > 0 + yyv2421 := yyv421 + yyrl421, yyrt421 = z.DecInferLen(yyl421, z.DecBasicHandle().MaxInitLen, 1024) + if yyrt421 { + if yyrl421 <= cap(yyv421) { + yyv421 = yyv421[:yyrl421] } else { - yyv1 = make([]ScheduledJob, yyrl1) + yyv421 = make([]ScheduledJob, yyrl421) } } else { - yyv1 = make([]ScheduledJob, yyrl1) + yyv421 = make([]ScheduledJob, yyrl421) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc421 = true + yyrr421 = len(yyv421) + if yyrg421 { + copy(yyv421, yyv2421) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl421 != len(yyv421) { + yyv421 = yyv421[:yyl421] + yyc421 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj421 := 0 + for ; yyj421 < yyrr421; yyj421++ { + yyh421.ElemContainerState(yyj421) if r.TryDecodeAsNil() { - yyv1[yyj1] = ScheduledJob{} + yyv421[yyj421] = ScheduledJob{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv422 := &yyv421[yyj421] + yyv422.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ScheduledJob{}) - yyh1.ElemContainerState(yyj1) + if yyrt421 { + for ; yyj421 < yyl421; yyj421++ { + yyv421 = append(yyv421, ScheduledJob{}) + yyh421.ElemContainerState(yyj421) if r.TryDecodeAsNil() { - yyv1[yyj1] = ScheduledJob{} + yyv421[yyj421] = ScheduledJob{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv423 := &yyv421[yyj421] + yyv423.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj421 := 0 + for ; !r.CheckBreak(); yyj421++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ScheduledJob{}) // var yyz1 ScheduledJob - yyc1 = true + if yyj421 >= len(yyv421) { + yyv421 = append(yyv421, ScheduledJob{}) // var yyz421 ScheduledJob + yyc421 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh421.ElemContainerState(yyj421) + if yyj421 < len(yyv421) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ScheduledJob{} + yyv421[yyj421] = ScheduledJob{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv424 := &yyv421[yyj421] + yyv424.CodecDecodeSelf(d) } } else { @@ -5064,17 +5065,17 @@ func (x codecSelfer1234) decSliceScheduledJob(v *[]ScheduledJob, d *codec1978.De } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ScheduledJob{} - yyc1 = true + if yyj421 < len(yyv421) { + yyv421 = yyv421[:yyj421] + yyc421 = true + } else if yyj421 == 0 && yyv421 == nil { + yyv421 = []ScheduledJob{} + yyc421 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh421.End() + if yyc421 { + *v = yyv421 } } @@ -5083,10 +5084,10 @@ func (x codecSelfer1234) encSlicev1_ObjectReference(v []pkg2_v1.ObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv425 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy426 := &yyv425 + yy426.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5096,86 +5097,83 @@ func (x codecSelfer1234) decSlicev1_ObjectReference(v *[]pkg2_v1.ObjectReference z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []pkg2_v1.ObjectReference{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv427 := *v + yyh427, yyl427 := z.DecSliceHelperStart() + var yyc427 bool + if yyl427 == 0 { + if yyv427 == nil { + yyv427 = []pkg2_v1.ObjectReference{} + yyc427 = true + } else if len(yyv427) != 0 { + yyv427 = yyv427[:0] + yyc427 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl427 > 0 { + var yyrr427, yyrl427 int + var yyrt427 bool + if yyl427 > cap(yyv427) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg427 := len(yyv427) > 0 + yyv2427 := yyv427 + yyrl427, yyrt427 = z.DecInferLen(yyl427, z.DecBasicHandle().MaxInitLen, 112) + if yyrt427 { + if yyrl427 <= cap(yyv427) { + yyv427 = yyv427[:yyrl427] } else { - yyv1 = make([]pkg2_v1.ObjectReference, yyrl1) + yyv427 = make([]pkg2_v1.ObjectReference, yyrl427) } } else { - yyv1 = make([]pkg2_v1.ObjectReference, yyrl1) + yyv427 = make([]pkg2_v1.ObjectReference, yyrl427) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc427 = true + yyrr427 = len(yyv427) + if yyrg427 { + copy(yyv427, yyv2427) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl427 != len(yyv427) { + yyv427 = yyv427[:yyl427] + yyc427 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj427 := 0 + for ; yyj427 < yyrr427; yyj427++ { + yyh427.ElemContainerState(yyj427) if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_v1.ObjectReference{} + yyv427[yyj427] = pkg2_v1.ObjectReference{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv428 := &yyv427[yyj427] + yyv428.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, pkg2_v1.ObjectReference{}) - yyh1.ElemContainerState(yyj1) + if yyrt427 { + for ; yyj427 < yyl427; yyj427++ { + yyv427 = append(yyv427, pkg2_v1.ObjectReference{}) + yyh427.ElemContainerState(yyj427) if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_v1.ObjectReference{} + yyv427[yyj427] = pkg2_v1.ObjectReference{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv429 := &yyv427[yyj427] + yyv429.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj427 := 0 + for ; !r.CheckBreak(); yyj427++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, pkg2_v1.ObjectReference{}) // var yyz1 pkg2_v1.ObjectReference - yyc1 = true + if yyj427 >= len(yyv427) { + yyv427 = append(yyv427, pkg2_v1.ObjectReference{}) // var yyz427 pkg2_v1.ObjectReference + yyc427 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh427.ElemContainerState(yyj427) + if yyj427 < len(yyv427) { if r.TryDecodeAsNil() { - yyv1[yyj1] = pkg2_v1.ObjectReference{} + yyv427[yyj427] = pkg2_v1.ObjectReference{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv430 := &yyv427[yyj427] + yyv430.CodecDecodeSelf(d) } } else { @@ -5183,17 +5181,17 @@ func (x codecSelfer1234) decSlicev1_ObjectReference(v *[]pkg2_v1.ObjectReference } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []pkg2_v1.ObjectReference{} - yyc1 = true + if yyj427 < len(yyv427) { + yyv427 = yyv427[:yyj427] + yyc427 = true + } else if yyj427 == 0 && yyv427 == nil { + yyv427 = []pkg2_v1.ObjectReference{} + yyc427 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh427.End() + if yyc427 { + *v = yyv427 } } @@ -5202,10 +5200,10 @@ func (x codecSelfer1234) encSliceLabelSelectorRequirement(v []LabelSelectorRequi z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv431 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy432 := &yyv431 + yy432.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5215,86 +5213,83 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []LabelSelectorRequirement{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv433 := *v + yyh433, yyl433 := z.DecSliceHelperStart() + var yyc433 bool + if yyl433 == 0 { + if yyv433 == nil { + yyv433 = []LabelSelectorRequirement{} + yyc433 = true + } else if len(yyv433) != 0 { + yyv433 = yyv433[:0] + yyc433 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl433 > 0 { + var yyrr433, yyrl433 int + var yyrt433 bool + if yyl433 > cap(yyv433) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg433 := len(yyv433) > 0 + yyv2433 := yyv433 + yyrl433, yyrt433 = z.DecInferLen(yyl433, z.DecBasicHandle().MaxInitLen, 56) + if yyrt433 { + if yyrl433 <= cap(yyv433) { + yyv433 = yyv433[:yyrl433] } else { - yyv1 = make([]LabelSelectorRequirement, yyrl1) + yyv433 = make([]LabelSelectorRequirement, yyrl433) } } else { - yyv1 = make([]LabelSelectorRequirement, yyrl1) + yyv433 = make([]LabelSelectorRequirement, yyrl433) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc433 = true + yyrr433 = len(yyv433) + if yyrg433 { + copy(yyv433, yyv2433) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl433 != len(yyv433) { + yyv433 = yyv433[:yyl433] + yyc433 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj433 := 0 + for ; yyj433 < yyrr433; yyj433++ { + yyh433.ElemContainerState(yyj433) if r.TryDecodeAsNil() { - yyv1[yyj1] = LabelSelectorRequirement{} + yyv433[yyj433] = LabelSelectorRequirement{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv434 := &yyv433[yyj433] + yyv434.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, LabelSelectorRequirement{}) - yyh1.ElemContainerState(yyj1) + if yyrt433 { + for ; yyj433 < yyl433; yyj433++ { + yyv433 = append(yyv433, LabelSelectorRequirement{}) + yyh433.ElemContainerState(yyj433) if r.TryDecodeAsNil() { - yyv1[yyj1] = LabelSelectorRequirement{} + yyv433[yyj433] = LabelSelectorRequirement{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv435 := &yyv433[yyj433] + yyv435.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj433 := 0 + for ; !r.CheckBreak(); yyj433++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, LabelSelectorRequirement{}) // var yyz1 LabelSelectorRequirement - yyc1 = true + if yyj433 >= len(yyv433) { + yyv433 = append(yyv433, LabelSelectorRequirement{}) // var yyz433 LabelSelectorRequirement + yyc433 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh433.ElemContainerState(yyj433) + if yyj433 < len(yyv433) { if r.TryDecodeAsNil() { - yyv1[yyj1] = LabelSelectorRequirement{} + yyv433[yyj433] = LabelSelectorRequirement{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv436 := &yyv433[yyj433] + yyv436.CodecDecodeSelf(d) } } else { @@ -5302,16 +5297,16 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []LabelSelectorRequirement{} - yyc1 = true + if yyj433 < len(yyv433) { + yyv433 = yyv433[:yyj433] + yyc433 = true + } else if yyj433 == 0 && yyv433 == nil { + yyv433 = []LabelSelectorRequirement{} + yyc433 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh433.End() + if yyc433 { + *v = yyv433 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/zz_generated.conversion.go index ef3489d2b73..0c06395fede 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/zz_generated.conversion.go @@ -26,10 +26,17 @@ import ( v1 "k8s.io/client-go/1.4/pkg/api/v1" batch "k8s.io/client-go/1.4/pkg/apis/batch" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v2alpha1_Job_To_batch_Job, Convert_batch_Job_To_v2alpha1_Job, Convert_v2alpha1_JobCondition_To_batch_JobCondition, @@ -56,10 +63,7 @@ func init() { Convert_batch_ScheduledJobSpec_To_v2alpha1_ScheduledJobSpec, Convert_v2alpha1_ScheduledJobStatus_To_batch_ScheduledJobStatus, Convert_batch_ScheduledJobStatus_To_v2alpha1_ScheduledJobStatus, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v2alpha1_Job_To_batch_Job(in *Job, out *batch.Job, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go index 6abf11f0a55..04b66b305da 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go @@ -21,32 +21,35 @@ limitations under the License. package v2alpha1 import ( - api "k8s.io/client-go/1.4/pkg/api" unversioned "k8s.io/client-go/1.4/pkg/api/unversioned" v1 "k8s.io/client-go/1.4/pkg/api/v1" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_Job, InType: reflect.TypeOf(func() *Job { var x *Job; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobCondition, InType: reflect.TypeOf(func() *JobCondition { var x *JobCondition; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobList, InType: reflect.TypeOf(func() *JobList { var x *JobList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobSpec, InType: reflect.TypeOf(func() *JobSpec { var x *JobSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobStatus, InType: reflect.TypeOf(func() *JobStatus { var x *JobStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobTemplate, InType: reflect.TypeOf(func() *JobTemplate { var x *JobTemplate; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobTemplateSpec, InType: reflect.TypeOf(func() *JobTemplateSpec { var x *JobTemplateSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_LabelSelector, InType: reflect.TypeOf(func() *LabelSelector { var x *LabelSelector; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_LabelSelectorRequirement, InType: reflect.TypeOf(func() *LabelSelectorRequirement { var x *LabelSelectorRequirement; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJob, InType: reflect.TypeOf(func() *ScheduledJob { var x *ScheduledJob; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJobList, InType: reflect.TypeOf(func() *ScheduledJobList { var x *ScheduledJobList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJobSpec, InType: reflect.TypeOf(func() *ScheduledJobSpec { var x *ScheduledJobSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJobStatus, InType: reflect.TypeOf(func() *ScheduledJobStatus { var x *ScheduledJobStatus; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_Job, InType: reflect.TypeOf(&Job{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobCondition, InType: reflect.TypeOf(&JobCondition{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobList, InType: reflect.TypeOf(&JobList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobSpec, InType: reflect.TypeOf(&JobSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobStatus, InType: reflect.TypeOf(&JobStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobTemplate, InType: reflect.TypeOf(&JobTemplate{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_JobTemplateSpec, InType: reflect.TypeOf(&JobTemplateSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_LabelSelector, InType: reflect.TypeOf(&LabelSelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_LabelSelectorRequirement, InType: reflect.TypeOf(&LabelSelectorRequirement{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJob, InType: reflect.TypeOf(&ScheduledJob{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJobList, InType: reflect.TypeOf(&ScheduledJobList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJobSpec, InType: reflect.TypeOf(&ScheduledJobSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v2alpha1_ScheduledJobStatus, InType: reflect.TypeOf(&ScheduledJobStatus{})}, + ) } func DeepCopy_v2alpha1_Job(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/zz_generated.deepcopy.go index 2276314a04f..c5dfb802251 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/batch/zz_generated.deepcopy.go @@ -24,26 +24,30 @@ import ( api "k8s.io/client-go/1.4/pkg/api" unversioned "k8s.io/client-go/1.4/pkg/api/unversioned" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_Job, InType: reflect.TypeOf(func() *Job { var x *Job; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_JobCondition, InType: reflect.TypeOf(func() *JobCondition { var x *JobCondition; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_JobList, InType: reflect.TypeOf(func() *JobList { var x *JobList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_JobSpec, InType: reflect.TypeOf(func() *JobSpec { var x *JobSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_JobStatus, InType: reflect.TypeOf(func() *JobStatus { var x *JobStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_JobTemplate, InType: reflect.TypeOf(func() *JobTemplate { var x *JobTemplate; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_JobTemplateSpec, InType: reflect.TypeOf(func() *JobTemplateSpec { var x *JobTemplateSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_ScheduledJob, InType: reflect.TypeOf(func() *ScheduledJob { var x *ScheduledJob; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_ScheduledJobList, InType: reflect.TypeOf(func() *ScheduledJobList { var x *ScheduledJobList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_ScheduledJobSpec, InType: reflect.TypeOf(func() *ScheduledJobSpec { var x *ScheduledJobSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_ScheduledJobStatus, InType: reflect.TypeOf(func() *ScheduledJobStatus { var x *ScheduledJobStatus; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_Job, InType: reflect.TypeOf(&Job{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_JobCondition, InType: reflect.TypeOf(&JobCondition{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_JobList, InType: reflect.TypeOf(&JobList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_JobSpec, InType: reflect.TypeOf(&JobSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_JobStatus, InType: reflect.TypeOf(&JobStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_JobTemplate, InType: reflect.TypeOf(&JobTemplate{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_JobTemplateSpec, InType: reflect.TypeOf(&JobTemplateSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_ScheduledJob, InType: reflect.TypeOf(&ScheduledJob{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_ScheduledJobList, InType: reflect.TypeOf(&ScheduledJobList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_ScheduledJobSpec, InType: reflect.TypeOf(&ScheduledJobSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_batch_ScheduledJobStatus, InType: reflect.TypeOf(&ScheduledJobStatus{})}, + ) } func DeepCopy_batch_Job(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/install/install.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/install/install.go index f7313933520..1699fca89dc 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/install/install.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/install/install.go @@ -116,7 +116,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - certificates.AddToScheme(api.Scheme) + if err := certificates.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -125,7 +128,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1alpha1.SchemeGroupVersion: - v1alpha1.AddToScheme(api.Scheme) + if err := v1alpha1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/register.go index fce1b467dd6..bfdceef00db 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/register.go @@ -22,6 +22,11 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) + // GroupName is the group name use in this package const GroupName = "certificates" @@ -38,19 +43,15 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} - // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &CertificateSigningRequest{}, &CertificateSigningRequestList{}, &api.ListOptions{}, &api.DeleteOptions{}, ) + return nil } func (obj *CertificateSigningRequest) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/types.generated.go index 002f8883514..e4df1b2ec8f 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/types.generated.go @@ -88,11 +88,11 @@ func (x *CertificateSigningRequest) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2 [5]bool _, _, _ = yysep2, yyq2, yy2arr2 const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" + yyq2[3] = true + yyq2[4] = true var yynn2 int if yyr2 || yy2arr2 { r.EncodeArrayStart(5) @@ -109,102 +109,102 @@ func (x *CertificateSigningRequest) CodecEncodeSelf(e *codec1978.Encoder) { if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, "") } } else { if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, "") } } else { if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy11 := &x.ObjectMeta yy11.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) + if yyq2[3] { + yy13 := &x.Spec + yy13.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq2[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy14 := &x.Spec + yy14.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[4] { + yy16 := &x.Status + yy16.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } + yy17 := &x.Status + yy17.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { @@ -220,25 +220,25 @@ func (x *CertificateSigningRequest) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym18 := z.DecBinary() + _ = yym18 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct19 := r.ContainerType() + if yyct19 == codecSelferValueTypeMap1234 { + yyl19 := r.ReadMapStart() + if yyl19 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl19, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct19 == codecSelferValueTypeArray1234 { + yyl19 := r.ReadArrayStart() + if yyl19 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl19, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -250,12 +250,12 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys20Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys20Slc + var yyhl20 bool = l >= 0 + for yyj20 := 0; ; yyj20++ { + if yyhl20 { + if yyj20 >= l { break } } else { @@ -264,31 +264,10 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys20Slc = r.DecodeBytes(yys20Slc, true, true) + yys20 := string(yys20Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = CertificateSigningRequestSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = CertificateSigningRequestStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys20 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -301,10 +280,31 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromMap(l int, d *codec1978.D } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv23 := &x.ObjectMeta + yyv23.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = CertificateSigningRequestSpec{} + } else { + yyv24 := &x.Spec + yyv24.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = CertificateSigningRequestStatus{} + } else { + yyv25 := &x.Status + yyv25.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys20) + } // end switch yys20 + } // end for yyj20 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -312,67 +312,16 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj26 int + var yyb26 bool + var yyhl26 bool = l >= 0 + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = CertificateSigningRequestSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = CertificateSigningRequestStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -382,13 +331,13 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -398,18 +347,69 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv29 := &x.ObjectMeta + yyv29.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = CertificateSigningRequestSpec{} + } else { + yyv30 := &x.Spec + yyv30.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = CertificateSigningRequestStatus{} + } else { + yyv31 := &x.Status + yyv31.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { + if yyb26 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj26-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -421,39 +421,39 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym32 := z.EncBinary() + _ = yym32 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Username != "" - yyq2[2] = x.UID != "" - yyq2[3] = len(x.Groups) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep33 := !z.EncBinary() + yy2arr33 := z.EncBasicHandle().StructToArray + var yyq33 [4]bool + _, _, _ = yysep33, yyq33, yy2arr33 + const yyr33 bool = false + yyq33[1] = x.Username != "" + yyq33[2] = x.UID != "" + yyq33[3] = len(x.Groups) != 0 + var yynn33 int + if yyr33 || yy2arr33 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn33 = 1 + for _, b := range yyq33 { if b { - yynn2++ + yynn33++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn33) + yynn33 = 0 } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Request == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym35 := z.EncBinary() + _ = yym35 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Request)) @@ -466,19 +466,19 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Request == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym36 := z.EncBinary() + _ = yym36 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Request)) } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq33[1] { + yym38 := z.EncBinary() + _ = yym38 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Username)) @@ -487,23 +487,23 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq33[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("username")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym39 := z.EncBinary() + _ = yym39 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Username)) } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq33[2] { + yym41 := z.EncBinary() + _ = yym41 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) @@ -512,26 +512,26 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq33[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym42 := z.EncBinary() + _ = yym42 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq33[3] { if x.Groups == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym44 := z.EncBinary() + _ = yym44 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -541,15 +541,15 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq33[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("groups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Groups == nil { r.EncodeNil() } else { - yym14 := z.EncBinary() - _ = yym14 + yym45 := z.EncBinary() + _ = yym45 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -557,7 +557,7 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -570,25 +570,25 @@ func (x *CertificateSigningRequestSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym46 := z.DecBinary() + _ = yym46 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct47 := r.ContainerType() + if yyct47 == codecSelferValueTypeMap1234 { + yyl47 := r.ReadMapStart() + if yyl47 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl47, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct47 == codecSelferValueTypeArray1234 { + yyl47 := r.ReadArrayStart() + if yyl47 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl47, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -600,12 +600,12 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys48Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys48Slc + var yyhl48 bool = l >= 0 + for yyj48 := 0; ; yyj48++ { + if yyhl48 { + if yyj48 >= l { break } } else { @@ -614,20 +614,20 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys48Slc = r.DecodeBytes(yys48Slc, true, true) + yys48 := string(yys48Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys48 { case "request": if r.TryDecodeAsNil() { x.Request = nil } else { - yyv4 := &x.Request - yym5 := z.DecBinary() - _ = yym5 + yyv49 := &x.Request + yym50 := z.DecBinary() + _ = yym50 if false { } else { - *yyv4 = r.DecodeBytes(*(*[]byte)(yyv4), false, false) + *yyv49 = r.DecodeBytes(*(*[]byte)(yyv49), false, false) } } case "username": @@ -646,18 +646,18 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromMap(l int, d *codec19 if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv8 := &x.Groups - yym9 := z.DecBinary() - _ = yym9 + yyv53 := &x.Groups + yym54 := z.DecBinary() + _ = yym54 if false { } else { - z.F.DecSliceStringX(yyv8, false, d) + z.F.DecSliceStringX(yyv53, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys48) + } // end switch yys48 + } // end for yyj48 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -665,16 +665,16 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj55 int + var yyb55 bool + var yyhl55 bool = l >= 0 + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l } else { - yyb10 = r.CheckBreak() + yyb55 = r.CheckBreak() } - if yyb10 { + if yyb55 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -682,21 +682,21 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.Request = nil } else { - yyv11 := &x.Request - yym12 := z.DecBinary() - _ = yym12 + yyv56 := &x.Request + yym57 := z.DecBinary() + _ = yym57 if false { } else { - *yyv11 = r.DecodeBytes(*(*[]byte)(yyv11), false, false) + *yyv56 = r.DecodeBytes(*(*[]byte)(yyv56), false, false) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l } else { - yyb10 = r.CheckBreak() + yyb55 = r.CheckBreak() } - if yyb10 { + if yyb55 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -706,13 +706,13 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromArray(l int, d *codec } else { x.Username = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l } else { - yyb10 = r.CheckBreak() + yyb55 = r.CheckBreak() } - if yyb10 { + if yyb55 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -722,13 +722,13 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromArray(l int, d *codec } else { x.UID = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l } else { - yyb10 = r.CheckBreak() + yyb55 = r.CheckBreak() } - if yyb10 { + if yyb55 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -736,26 +736,26 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv15 := &x.Groups - yym16 := z.DecBinary() - _ = yym16 + yyv60 := &x.Groups + yym61 := z.DecBinary() + _ = yym61 if false { } else { - z.F.DecSliceStringX(yyv15, false, d) + z.F.DecSliceStringX(yyv60, false, d) } } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l } else { - yyb10 = r.CheckBreak() + yyb55 = r.CheckBreak() } - if yyb10 { + if yyb55 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj55-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -767,39 +767,39 @@ func (x *CertificateSigningRequestStatus) CodecEncodeSelf(e *codec1978.Encoder) if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym62 := z.EncBinary() + _ = yym62 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Conditions) != 0 - yyq2[1] = len(x.Certificate) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep63 := !z.EncBinary() + yy2arr63 := z.EncBasicHandle().StructToArray + var yyq63 [2]bool + _, _, _ = yysep63, yyq63, yy2arr63 + const yyr63 bool = false + yyq63[0] = len(x.Conditions) != 0 + yyq63[1] = len(x.Certificate) != 0 + var yynn63 int + if yyr63 || yy2arr63 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn63 = 0 + for _, b := range yyq63 { if b { - yynn2++ + yynn63++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn63) + yynn63 = 0 } - if yyr2 || yy2arr2 { + if yyr63 || yy2arr63 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq63[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym65 := z.EncBinary() + _ = yym65 if false { } else { h.encSliceCertificateSigningRequestCondition(([]CertificateSigningRequestCondition)(x.Conditions), e) @@ -809,15 +809,15 @@ func (x *CertificateSigningRequestStatus) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeNil() } } else { - if yyq2[0] { + if yyq63[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym66 := z.EncBinary() + _ = yym66 if false { } else { h.encSliceCertificateSigningRequestCondition(([]CertificateSigningRequestCondition)(x.Conditions), e) @@ -825,14 +825,14 @@ func (x *CertificateSigningRequestStatus) CodecEncodeSelf(e *codec1978.Encoder) } } } - if yyr2 || yy2arr2 { + if yyr63 || yy2arr63 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq63[1] { if x.Certificate == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym68 := z.EncBinary() + _ = yym68 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Certificate)) @@ -842,15 +842,15 @@ func (x *CertificateSigningRequestStatus) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeNil() } } else { - if yyq2[1] { + if yyq63[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("certificate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Certificate == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym69 := z.EncBinary() + _ = yym69 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Certificate)) @@ -858,7 +858,7 @@ func (x *CertificateSigningRequestStatus) CodecEncodeSelf(e *codec1978.Encoder) } } } - if yyr2 || yy2arr2 { + if yyr63 || yy2arr63 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -871,25 +871,25 @@ func (x *CertificateSigningRequestStatus) CodecDecodeSelf(d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym70 := z.DecBinary() + _ = yym70 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct71 := r.ContainerType() + if yyct71 == codecSelferValueTypeMap1234 { + yyl71 := r.ReadMapStart() + if yyl71 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl71, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct71 == codecSelferValueTypeArray1234 { + yyl71 := r.ReadArrayStart() + if yyl71 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl71, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -901,12 +901,12 @@ func (x *CertificateSigningRequestStatus) codecDecodeSelfFromMap(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys72Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys72Slc + var yyhl72 bool = l >= 0 + for yyj72 := 0; ; yyj72++ { + if yyhl72 { + if yyj72 >= l { break } } else { @@ -915,38 +915,38 @@ func (x *CertificateSigningRequestStatus) codecDecodeSelfFromMap(l int, d *codec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys72Slc = r.DecodeBytes(yys72Slc, true, true) + yys72 := string(yys72Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys72 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4 := &x.Conditions - yym5 := z.DecBinary() - _ = yym5 + yyv73 := &x.Conditions + yym74 := z.DecBinary() + _ = yym74 if false { } else { - h.decSliceCertificateSigningRequestCondition((*[]CertificateSigningRequestCondition)(yyv4), d) + h.decSliceCertificateSigningRequestCondition((*[]CertificateSigningRequestCondition)(yyv73), d) } } case "certificate": if r.TryDecodeAsNil() { x.Certificate = nil } else { - yyv6 := &x.Certificate - yym7 := z.DecBinary() - _ = yym7 + yyv75 := &x.Certificate + yym76 := z.DecBinary() + _ = yym76 if false { } else { - *yyv6 = r.DecodeBytes(*(*[]byte)(yyv6), false, false) + *yyv75 = r.DecodeBytes(*(*[]byte)(yyv75), false, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys72) + } // end switch yys72 + } // end for yyj72 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -954,16 +954,16 @@ func (x *CertificateSigningRequestStatus) codecDecodeSelfFromArray(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj77 int + var yyb77 bool + var yyhl77 bool = l >= 0 + yyj77++ + if yyhl77 { + yyb77 = yyj77 > l } else { - yyb8 = r.CheckBreak() + yyb77 = r.CheckBreak() } - if yyb8 { + if yyb77 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -971,21 +971,21 @@ func (x *CertificateSigningRequestStatus) codecDecodeSelfFromArray(l int, d *cod if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv9 := &x.Conditions - yym10 := z.DecBinary() - _ = yym10 + yyv78 := &x.Conditions + yym79 := z.DecBinary() + _ = yym79 if false { } else { - h.decSliceCertificateSigningRequestCondition((*[]CertificateSigningRequestCondition)(yyv9), d) + h.decSliceCertificateSigningRequestCondition((*[]CertificateSigningRequestCondition)(yyv78), d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj77++ + if yyhl77 { + yyb77 = yyj77 > l } else { - yyb8 = r.CheckBreak() + yyb77 = r.CheckBreak() } - if yyb8 { + if yyb77 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -993,26 +993,26 @@ func (x *CertificateSigningRequestStatus) codecDecodeSelfFromArray(l int, d *cod if r.TryDecodeAsNil() { x.Certificate = nil } else { - yyv11 := &x.Certificate - yym12 := z.DecBinary() - _ = yym12 + yyv80 := &x.Certificate + yym81 := z.DecBinary() + _ = yym81 if false { } else { - *yyv11 = r.DecodeBytes(*(*[]byte)(yyv11), false, false) + *yyv80 = r.DecodeBytes(*(*[]byte)(yyv80), false, false) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj77++ + if yyhl77 { + yyb77 = yyj77 > l } else { - yyb8 = r.CheckBreak() + yyb77 = r.CheckBreak() } - if yyb8 { + if yyb77 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj77-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1021,8 +1021,8 @@ func (x RequestConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym82 := z.EncBinary() + _ = yym82 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -1034,8 +1034,8 @@ func (x *RequestConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym83 := z.DecBinary() + _ = yym83 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -1050,33 +1050,33 @@ func (x *CertificateSigningRequestCondition) CodecEncodeSelf(e *codec1978.Encode if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym84 := z.EncBinary() + _ = yym84 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Reason != "" - yyq2[2] = x.Message != "" - yyq2[3] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep85 := !z.EncBinary() + yy2arr85 := z.EncBasicHandle().StructToArray + var yyq85 [4]bool + _, _, _ = yysep85, yyq85, yy2arr85 + const yyr85 bool = false + yyq85[1] = x.Reason != "" + yyq85[2] = x.Message != "" + yyq85[3] = true + var yynn85 int + if yyr85 || yy2arr85 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn85 = 1 + for _, b := range yyq85 { if b { - yynn2++ + yynn85++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn85) + yynn85 = 0 } - if yyr2 || yy2arr2 { + if yyr85 || yy2arr85 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -1085,11 +1085,11 @@ func (x *CertificateSigningRequestCondition) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr85 || yy2arr85 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq85[1] { + yym88 := z.EncBinary() + _ = yym88 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -1098,23 +1098,23 @@ func (x *CertificateSigningRequestCondition) CodecEncodeSelf(e *codec1978.Encode r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq85[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym89 := z.EncBinary() + _ = yym89 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr85 || yy2arr85 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq85[2] { + yym91 := z.EncBinary() + _ = yym91 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -1123,56 +1123,56 @@ func (x *CertificateSigningRequestCondition) CodecEncodeSelf(e *codec1978.Encode r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq85[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym92 := z.EncBinary() + _ = yym92 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr85 || yy2arr85 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yy13 := &x.LastUpdateTime - yym14 := z.EncBinary() - _ = yym14 + if yyq85[3] { + yy94 := &x.LastUpdateTime + yym95 := z.EncBinary() + _ = yym95 if false { - } else if z.HasExtensions() && z.EncExt(yy13) { - } else if yym14 { - z.EncBinaryMarshal(yy13) - } else if !yym14 && z.IsJSONHandle() { - z.EncJSONMarshal(yy13) + } else if z.HasExtensions() && z.EncExt(yy94) { + } else if yym95 { + z.EncBinaryMarshal(yy94) + } else if !yym95 && z.IsJSONHandle() { + z.EncJSONMarshal(yy94) } else { - z.EncFallback(yy13) + z.EncFallback(yy94) } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq85[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastUpdateTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy15 := &x.LastUpdateTime - yym16 := z.EncBinary() - _ = yym16 + yy96 := &x.LastUpdateTime + yym97 := z.EncBinary() + _ = yym97 if false { - } else if z.HasExtensions() && z.EncExt(yy15) { - } else if yym16 { - z.EncBinaryMarshal(yy15) - } else if !yym16 && z.IsJSONHandle() { - z.EncJSONMarshal(yy15) + } else if z.HasExtensions() && z.EncExt(yy96) { + } else if yym97 { + z.EncBinaryMarshal(yy96) + } else if !yym97 && z.IsJSONHandle() { + z.EncJSONMarshal(yy96) } else { - z.EncFallback(yy15) + z.EncFallback(yy96) } } } - if yyr2 || yy2arr2 { + if yyr85 || yy2arr85 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1185,25 +1185,25 @@ func (x *CertificateSigningRequestCondition) CodecDecodeSelf(d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym98 := z.DecBinary() + _ = yym98 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct99 := r.ContainerType() + if yyct99 == codecSelferValueTypeMap1234 { + yyl99 := r.ReadMapStart() + if yyl99 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl99, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct99 == codecSelferValueTypeArray1234 { + yyl99 := r.ReadArrayStart() + if yyl99 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl99, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1215,12 +1215,12 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromMap(l int, d *co var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys100Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys100Slc + var yyhl100 bool = l >= 0 + for yyj100 := 0; ; yyj100++ { + if yyhl100 { + if yyj100 >= l { break } } else { @@ -1229,10 +1229,10 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromMap(l int, d *co } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys100Slc = r.DecodeBytes(yys100Slc, true, true) + yys100 := string(yys100Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys100 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -1255,23 +1255,23 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.LastUpdateTime = pkg1_unversioned.Time{} } else { - yyv7 := &x.LastUpdateTime - yym8 := z.DecBinary() - _ = yym8 + yyv104 := &x.LastUpdateTime + yym105 := z.DecBinary() + _ = yym105 if false { - } else if z.HasExtensions() && z.DecExt(yyv7) { - } else if yym8 { - z.DecBinaryUnmarshal(yyv7) - } else if !yym8 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv7) + } else if z.HasExtensions() && z.DecExt(yyv104) { + } else if yym105 { + z.DecBinaryUnmarshal(yyv104) + } else if !yym105 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv104) } else { - z.DecFallback(yyv7, false) + z.DecFallback(yyv104, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys100) + } // end switch yys100 + } // end for yyj100 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1279,16 +1279,16 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromArray(l int, d * var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj106 int + var yyb106 bool + var yyhl106 bool = l >= 0 + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb9 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb9 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1298,13 +1298,13 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromArray(l int, d * } else { x.Type = RequestConditionType(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb9 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb9 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1314,13 +1314,13 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromArray(l int, d * } else { x.Reason = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb9 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb9 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1330,13 +1330,13 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromArray(l int, d * } else { x.Message = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb9 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb9 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1344,31 +1344,31 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.LastUpdateTime = pkg1_unversioned.Time{} } else { - yyv13 := &x.LastUpdateTime - yym14 := z.DecBinary() - _ = yym14 + yyv110 := &x.LastUpdateTime + yym111 := z.DecBinary() + _ = yym111 if false { - } else if z.HasExtensions() && z.DecExt(yyv13) { - } else if yym14 { - z.DecBinaryUnmarshal(yyv13) - } else if !yym14 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv13) + } else if z.HasExtensions() && z.DecExt(yyv110) { + } else if yym111 { + z.DecBinaryUnmarshal(yyv110) + } else if !yym111 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv110) } else { - z.DecFallback(yyv13, false) + z.DecFallback(yyv110, false) } } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb9 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb9 { + if yyb106 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj106-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1380,70 +1380,120 @@ func (x *CertificateSigningRequestList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym112 := z.EncBinary() + _ = yym112 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = len(x.Items) != 0 - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep113 := !z.EncBinary() + yy2arr113 := z.EncBasicHandle().StructToArray + var yyq113 [4]bool + _, _, _ = yysep113, yyq113, yy2arr113 + const yyr113 bool = false + yyq113[0] = x.Kind != "" + yyq113[1] = x.APIVersion != "" + yyq113[2] = true + yyq113[3] = len(x.Items) != 0 + var yynn113 int + if yyr113 || yy2arr113 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn113 = 0 + for _, b := range yyq113 { if b { - yynn2++ + yynn113++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn113) + yynn113 = 0 } - if yyr2 || yy2arr2 { + if yyr113 || yy2arr113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq113[0] { + yym115 := z.EncBinary() + _ = yym115 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq113[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym116 := z.EncBinary() + _ = yym116 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr113 || yy2arr113 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq113[1] { + yym118 := z.EncBinary() + _ = yym118 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq113[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym119 := z.EncBinary() + _ = yym119 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr113 || yy2arr113 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq113[2] { + yy121 := &x.ListMeta + yym122 := z.EncBinary() + _ = yym122 + if false { + } else if z.HasExtensions() && z.EncExt(yy121) { + } else { + z.EncFallback(yy121) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq113[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy123 := &x.ListMeta + yym124 := z.EncBinary() + _ = yym124 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy123) { } else { - z.EncFallback(yy6) + z.EncFallback(yy123) } } } - if yyr2 || yy2arr2 { + if yyr113 || yy2arr113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq113[3] { if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym126 := z.EncBinary() + _ = yym126 if false { } else { h.encSliceCertificateSigningRequest(([]CertificateSigningRequest)(x.Items), e) @@ -1453,15 +1503,15 @@ func (x *CertificateSigningRequestList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq113[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym127 := z.EncBinary() + _ = yym127 if false { } else { h.encSliceCertificateSigningRequest(([]CertificateSigningRequest)(x.Items), e) @@ -1469,57 +1519,7 @@ func (x *CertificateSigningRequestList) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr113 || yy2arr113 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1532,25 +1532,25 @@ func (x *CertificateSigningRequestList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym128 := z.DecBinary() + _ = yym128 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct129 := r.ContainerType() + if yyct129 == codecSelferValueTypeMap1234 { + yyl129 := r.ReadMapStart() + if yyl129 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl129, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct129 == codecSelferValueTypeArray1234 { + yyl129 := r.ReadArrayStart() + if yyl129 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl129, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1562,12 +1562,12 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys130Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys130Slc + var yyhl130 bool = l >= 0 + for yyj130 := 0; ; yyj130++ { + if yyhl130 { + if yyj130 >= l { break } } else { @@ -1576,35 +1576,10 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys130Slc = r.DecodeBytes(yys130Slc, true, true) + yys130 := string(yys130Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceCertificateSigningRequest((*[]CertificateSigningRequest)(yyv6), d) - } - } + switch yys130 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1617,10 +1592,35 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromMap(l int, d *codec19 } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv133 := &x.ListMeta + yym134 := z.DecBinary() + _ = yym134 + if false { + } else if z.HasExtensions() && z.DecExt(yyv133) { + } else { + z.DecFallback(yyv133, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv135 := &x.Items + yym136 := z.DecBinary() + _ = yym136 + if false { + } else { + h.decSliceCertificateSigningRequest((*[]CertificateSigningRequest)(yyv135), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys130) + } // end switch yys130 + } // end for yyj130 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1628,61 +1628,16 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj137 int + var yyb137 bool + var yyhl137 bool = l >= 0 + yyj137++ + if yyhl137 { + yyb137 = yyj137 > l } else { - yyb10 = r.CheckBreak() + yyb137 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceCertificateSigningRequest((*[]CertificateSigningRequest)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb137 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1692,13 +1647,13 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromArray(l int, d *codec } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj137++ + if yyhl137 { + yyb137 = yyj137 > l } else { - yyb10 = r.CheckBreak() + yyb137 = r.CheckBreak() } - if yyb10 { + if yyb137 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1708,18 +1663,63 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromArray(l int, d *codec } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj137++ + if yyhl137 { + yyb137 = yyj137 > l + } else { + yyb137 = r.CheckBreak() + } + if yyb137 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv140 := &x.ListMeta + yym141 := z.DecBinary() + _ = yym141 + if false { + } else if z.HasExtensions() && z.DecExt(yyv140) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv140, false) } - if yyb10 { + } + yyj137++ + if yyhl137 { + yyb137 = yyj137 > l + } else { + yyb137 = r.CheckBreak() + } + if yyb137 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv142 := &x.Items + yym143 := z.DecBinary() + _ = yym143 + if false { + } else { + h.decSliceCertificateSigningRequest((*[]CertificateSigningRequest)(yyv142), d) + } + } + for { + yyj137++ + if yyhl137 { + yyb137 = yyj137 > l + } else { + yyb137 = r.CheckBreak() + } + if yyb137 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj137-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1729,10 +1729,10 @@ func (x codecSelfer1234) encSliceCertificateSigningRequestCondition(v []Certific z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv144 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy145 := &yyv144 + yy145.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1742,86 +1742,83 @@ func (x codecSelfer1234) decSliceCertificateSigningRequestCondition(v *[]Certifi z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []CertificateSigningRequestCondition{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv146 := *v + yyh146, yyl146 := z.DecSliceHelperStart() + var yyc146 bool + if yyl146 == 0 { + if yyv146 == nil { + yyv146 = []CertificateSigningRequestCondition{} + yyc146 = true + } else if len(yyv146) != 0 { + yyv146 = yyv146[:0] + yyc146 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl146 > 0 { + var yyrr146, yyrl146 int + var yyrt146 bool + if yyl146 > cap(yyv146) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg146 := len(yyv146) > 0 + yyv2146 := yyv146 + yyrl146, yyrt146 = z.DecInferLen(yyl146, z.DecBasicHandle().MaxInitLen, 72) + if yyrt146 { + if yyrl146 <= cap(yyv146) { + yyv146 = yyv146[:yyrl146] } else { - yyv1 = make([]CertificateSigningRequestCondition, yyrl1) + yyv146 = make([]CertificateSigningRequestCondition, yyrl146) } } else { - yyv1 = make([]CertificateSigningRequestCondition, yyrl1) + yyv146 = make([]CertificateSigningRequestCondition, yyrl146) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc146 = true + yyrr146 = len(yyv146) + if yyrg146 { + copy(yyv146, yyv2146) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl146 != len(yyv146) { + yyv146 = yyv146[:yyl146] + yyc146 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj146 := 0 + for ; yyj146 < yyrr146; yyj146++ { + yyh146.ElemContainerState(yyj146) if r.TryDecodeAsNil() { - yyv1[yyj1] = CertificateSigningRequestCondition{} + yyv146[yyj146] = CertificateSigningRequestCondition{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv147 := &yyv146[yyj146] + yyv147.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, CertificateSigningRequestCondition{}) - yyh1.ElemContainerState(yyj1) + if yyrt146 { + for ; yyj146 < yyl146; yyj146++ { + yyv146 = append(yyv146, CertificateSigningRequestCondition{}) + yyh146.ElemContainerState(yyj146) if r.TryDecodeAsNil() { - yyv1[yyj1] = CertificateSigningRequestCondition{} + yyv146[yyj146] = CertificateSigningRequestCondition{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv148 := &yyv146[yyj146] + yyv148.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj146 := 0 + for ; !r.CheckBreak(); yyj146++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, CertificateSigningRequestCondition{}) // var yyz1 CertificateSigningRequestCondition - yyc1 = true + if yyj146 >= len(yyv146) { + yyv146 = append(yyv146, CertificateSigningRequestCondition{}) // var yyz146 CertificateSigningRequestCondition + yyc146 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh146.ElemContainerState(yyj146) + if yyj146 < len(yyv146) { if r.TryDecodeAsNil() { - yyv1[yyj1] = CertificateSigningRequestCondition{} + yyv146[yyj146] = CertificateSigningRequestCondition{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv149 := &yyv146[yyj146] + yyv149.CodecDecodeSelf(d) } } else { @@ -1829,17 +1826,17 @@ func (x codecSelfer1234) decSliceCertificateSigningRequestCondition(v *[]Certifi } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []CertificateSigningRequestCondition{} - yyc1 = true + if yyj146 < len(yyv146) { + yyv146 = yyv146[:yyj146] + yyc146 = true + } else if yyj146 == 0 && yyv146 == nil { + yyv146 = []CertificateSigningRequestCondition{} + yyc146 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh146.End() + if yyc146 { + *v = yyv146 } } @@ -1848,10 +1845,10 @@ func (x codecSelfer1234) encSliceCertificateSigningRequest(v []CertificateSignin z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv150 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy151 := &yyv150 + yy151.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1861,86 +1858,83 @@ func (x codecSelfer1234) decSliceCertificateSigningRequest(v *[]CertificateSigni z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []CertificateSigningRequest{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv152 := *v + yyh152, yyl152 := z.DecSliceHelperStart() + var yyc152 bool + if yyl152 == 0 { + if yyv152 == nil { + yyv152 = []CertificateSigningRequest{} + yyc152 = true + } else if len(yyv152) != 0 { + yyv152 = yyv152[:0] + yyc152 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl152 > 0 { + var yyrr152, yyrl152 int + var yyrt152 bool + if yyl152 > cap(yyv152) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 368) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg152 := len(yyv152) > 0 + yyv2152 := yyv152 + yyrl152, yyrt152 = z.DecInferLen(yyl152, z.DecBasicHandle().MaxInitLen, 368) + if yyrt152 { + if yyrl152 <= cap(yyv152) { + yyv152 = yyv152[:yyrl152] } else { - yyv1 = make([]CertificateSigningRequest, yyrl1) + yyv152 = make([]CertificateSigningRequest, yyrl152) } } else { - yyv1 = make([]CertificateSigningRequest, yyrl1) + yyv152 = make([]CertificateSigningRequest, yyrl152) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc152 = true + yyrr152 = len(yyv152) + if yyrg152 { + copy(yyv152, yyv2152) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl152 != len(yyv152) { + yyv152 = yyv152[:yyl152] + yyc152 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj152 := 0 + for ; yyj152 < yyrr152; yyj152++ { + yyh152.ElemContainerState(yyj152) if r.TryDecodeAsNil() { - yyv1[yyj1] = CertificateSigningRequest{} + yyv152[yyj152] = CertificateSigningRequest{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv153 := &yyv152[yyj152] + yyv153.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, CertificateSigningRequest{}) - yyh1.ElemContainerState(yyj1) + if yyrt152 { + for ; yyj152 < yyl152; yyj152++ { + yyv152 = append(yyv152, CertificateSigningRequest{}) + yyh152.ElemContainerState(yyj152) if r.TryDecodeAsNil() { - yyv1[yyj1] = CertificateSigningRequest{} + yyv152[yyj152] = CertificateSigningRequest{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv154 := &yyv152[yyj152] + yyv154.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj152 := 0 + for ; !r.CheckBreak(); yyj152++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, CertificateSigningRequest{}) // var yyz1 CertificateSigningRequest - yyc1 = true + if yyj152 >= len(yyv152) { + yyv152 = append(yyv152, CertificateSigningRequest{}) // var yyz152 CertificateSigningRequest + yyc152 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh152.ElemContainerState(yyj152) + if yyj152 < len(yyv152) { if r.TryDecodeAsNil() { - yyv1[yyj1] = CertificateSigningRequest{} + yyv152[yyj152] = CertificateSigningRequest{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv155 := &yyv152[yyj152] + yyv155.CodecDecodeSelf(d) } } else { @@ -1948,16 +1942,16 @@ func (x codecSelfer1234) decSliceCertificateSigningRequest(v *[]CertificateSigni } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []CertificateSigningRequest{} - yyc1 = true + if yyj152 < len(yyv152) { + yyv152 = yyv152[:yyj152] + yyc152 = true + } else if yyj152 == 0 && yyv152 == nil { + yyv152 = []CertificateSigningRequest{} + yyc152 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh152.End() + if yyc152 { + *v = yyv152 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/conversion.go index 164811f9bab..afbbfac5a65 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/conversion.go @@ -18,6 +18,7 @@ package v1alpha1 import "k8s.io/client-go/1.4/pkg/runtime" -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions here. Currently there are none. + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/generated.pb.go index 2b249c8620f..d8a217c8543 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/generated.pb.go @@ -47,20 +47,39 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 + func (m *CertificateSigningRequest) Reset() { *m = CertificateSigningRequest{} } func (*CertificateSigningRequest) ProtoMessage() {} +func (*CertificateSigningRequest) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{0} +} func (m *CertificateSigningRequestCondition) Reset() { *m = CertificateSigningRequestCondition{} } func (*CertificateSigningRequestCondition) ProtoMessage() {} +func (*CertificateSigningRequestCondition) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{1} +} func (m *CertificateSigningRequestList) Reset() { *m = CertificateSigningRequestList{} } func (*CertificateSigningRequestList) ProtoMessage() {} +func (*CertificateSigningRequestList) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{2} +} func (m *CertificateSigningRequestSpec) Reset() { *m = CertificateSigningRequestSpec{} } func (*CertificateSigningRequestSpec) ProtoMessage() {} +func (*CertificateSigningRequestSpec) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{3} +} func (m *CertificateSigningRequestStatus) Reset() { *m = CertificateSigningRequestStatus{} } func (*CertificateSigningRequestStatus) ProtoMessage() {} +func (*CertificateSigningRequestStatus) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{4} +} func init() { proto.RegisterType((*CertificateSigningRequest)(nil), "k8s.io.client-go.1.4.pkg.apis.certificates.v1alpha1.CertificateSigningRequest") @@ -1256,3 +1275,50 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 681 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x54, 0x4f, 0x4f, 0x13, 0x4f, + 0x18, 0xa6, 0xb4, 0x94, 0x32, 0xe5, 0x07, 0xbf, 0x4c, 0x8c, 0xa9, 0x4d, 0xa0, 0x66, 0xa3, 0x06, + 0x15, 0x66, 0x2d, 0x89, 0x09, 0x47, 0xb3, 0x98, 0x18, 0x22, 0x84, 0x38, 0x40, 0x62, 0x4c, 0x3c, + 0x6c, 0xb7, 0xc3, 0x32, 0x96, 0xee, 0x2e, 0xf3, 0x87, 0x84, 0x9b, 0x47, 0x8f, 0x7e, 0x02, 0xbf, + 0x86, 0x5f, 0x81, 0x23, 0x47, 0x4f, 0xa8, 0xf0, 0x05, 0x3c, 0x7b, 0x72, 0x66, 0x76, 0xb6, 0x5d, + 0x5b, 0x16, 0x35, 0xe1, 0x30, 0x49, 0xe7, 0x99, 0xf7, 0x7d, 0xde, 0xf7, 0x7d, 0xde, 0x67, 0x0b, + 0x9e, 0xf5, 0xd6, 0x38, 0xa2, 0xb1, 0xdb, 0x93, 0x1d, 0xc2, 0x22, 0x22, 0x08, 0x77, 0x93, 0x5e, + 0xe8, 0xfa, 0x09, 0xe5, 0x6e, 0x40, 0x98, 0xa0, 0xfb, 0x34, 0xf0, 0x35, 0x7a, 0xdc, 0xf6, 0x0f, + 0x93, 0x03, 0xbf, 0xed, 0x86, 0x24, 0x22, 0x4c, 0x41, 0x5d, 0x94, 0xb0, 0x58, 0xc4, 0xf0, 0x49, + 0xca, 0x80, 0x86, 0x0c, 0x48, 0x31, 0x20, 0xcd, 0x80, 0xf2, 0x0c, 0x28, 0x63, 0x68, 0xae, 0x84, + 0x54, 0x1c, 0xc8, 0x0e, 0x0a, 0xe2, 0xbe, 0x1b, 0xc6, 0x61, 0xec, 0x1a, 0xa2, 0x8e, 0xdc, 0x37, + 0x37, 0x73, 0x31, 0xbf, 0xd2, 0x02, 0xcd, 0xd5, 0xc2, 0x16, 0x5d, 0x46, 0x78, 0x2c, 0x59, 0x40, + 0x46, 0x9b, 0x6a, 0x3e, 0x2d, 0xce, 0x91, 0xd1, 0x31, 0x61, 0x9c, 0xc6, 0x11, 0xe9, 0x8e, 0xa5, + 0x2d, 0x17, 0xa7, 0x1d, 0x8f, 0x4d, 0xde, 0x5c, 0xb9, 0x3a, 0x9a, 0xc9, 0x48, 0xd0, 0xfe, 0x78, + 0x4f, 0xed, 0xab, 0xc3, 0xa5, 0xa0, 0x87, 0x2e, 0x8d, 0x04, 0x17, 0x6c, 0x34, 0xc5, 0xb9, 0x9c, + 0x04, 0x77, 0xd6, 0x87, 0x1a, 0xee, 0xd0, 0x30, 0xa2, 0x51, 0x88, 0xc9, 0x91, 0x24, 0x5c, 0xc0, + 0xd7, 0xa0, 0xd6, 0x27, 0xc2, 0xef, 0xfa, 0xc2, 0x6f, 0x94, 0xee, 0x96, 0x96, 0xea, 0xab, 0x4b, + 0xa8, 0x70, 0x19, 0x4a, 0x7e, 0xb4, 0xdd, 0x79, 0x47, 0x02, 0xb1, 0xa5, 0x72, 0x3c, 0x78, 0x7a, + 0xde, 0x9a, 0xb8, 0x38, 0x6f, 0x81, 0x21, 0x86, 0x07, 0x6c, 0xf0, 0x08, 0x54, 0x78, 0x42, 0x82, + 0xc6, 0xa4, 0x61, 0xdd, 0x46, 0xff, 0xba, 0x62, 0x54, 0xd8, 0xf4, 0x8e, 0xa2, 0xf5, 0x66, 0x6d, + 0xf1, 0x8a, 0xbe, 0x61, 0x53, 0x0a, 0x9e, 0x80, 0x2a, 0x17, 0xbe, 0x90, 0xbc, 0x51, 0x36, 0x45, + 0x5f, 0xdd, 0x64, 0x51, 0x43, 0xec, 0xcd, 0xd9, 0xb2, 0xd5, 0xf4, 0x8e, 0x6d, 0x41, 0xe7, 0xd3, + 0x24, 0x70, 0x0a, 0x73, 0xd7, 0xe3, 0xa8, 0x4b, 0x85, 0xb2, 0x0b, 0x5c, 0x03, 0x15, 0x71, 0x92, + 0x10, 0x23, 0xf5, 0x8c, 0x77, 0x2f, 0x9b, 0x61, 0x57, 0x61, 0x3f, 0xcf, 0x5b, 0xb7, 0x46, 0xe3, + 0x35, 0x8e, 0x4d, 0x06, 0x7c, 0x00, 0xaa, 0x8c, 0xf8, 0x3c, 0x8e, 0x8c, 0xa0, 0x33, 0xc3, 0x46, + 0xb0, 0x41, 0xb1, 0x7d, 0x85, 0x0f, 0xc1, 0x74, 0x9f, 0x70, 0xee, 0x87, 0xc4, 0x88, 0x30, 0xe3, + 0xcd, 0xdb, 0xc0, 0xe9, 0xad, 0x14, 0xc6, 0xd9, 0x3b, 0xec, 0x81, 0xb9, 0x43, 0x9f, 0x8b, 0xbd, + 0x44, 0xed, 0x8b, 0xec, 0x2a, 0xbb, 0x35, 0x2a, 0x46, 0xb6, 0xc7, 0xd7, 0x38, 0x20, 0xe7, 0x7c, + 0xa4, 0x53, 0xbc, 0xdb, 0x96, 0x7e, 0x6e, 0xf3, 0x37, 0x2a, 0x3c, 0x42, 0xed, 0xfc, 0x28, 0x81, + 0x85, 0x42, 0x81, 0x36, 0xa9, 0xb2, 0xe2, 0xdb, 0x31, 0x2b, 0xba, 0x7f, 0xd9, 0x88, 0x4e, 0x37, + 0x8e, 0xfc, 0xdf, 0x36, 0x53, 0xcb, 0x90, 0x9c, 0x1f, 0x13, 0x30, 0x45, 0x05, 0xe9, 0x73, 0xa5, + 0x5f, 0x59, 0x71, 0xbf, 0xbc, 0x41, 0x6f, 0x78, 0xff, 0xd9, 0xba, 0x53, 0x1b, 0xba, 0x02, 0x4e, + 0x0b, 0x39, 0x9f, 0xaf, 0x1b, 0x59, 0xdb, 0x16, 0xde, 0x07, 0xd3, 0x2c, 0xbd, 0x9a, 0x89, 0x67, + 0xbd, 0xba, 0x5e, 0x94, 0x8d, 0xc0, 0xd9, 0x1b, 0x5c, 0x06, 0x35, 0xc9, 0x55, 0x93, 0xbe, 0x5a, + 0x51, 0xba, 0xfd, 0xc1, 0xa0, 0x7b, 0x16, 0xc7, 0x83, 0x08, 0xb8, 0x00, 0xca, 0x92, 0x76, 0xed, + 0xf6, 0xeb, 0x36, 0xb0, 0xbc, 0xb7, 0xf1, 0x1c, 0x6b, 0x1c, 0x3a, 0xa0, 0x1a, 0xb2, 0x58, 0x26, + 0x5c, 0x6d, 0xbb, 0xac, 0x22, 0x80, 0x36, 0xd1, 0x0b, 0x83, 0x60, 0xfb, 0xe2, 0x7c, 0x2d, 0x81, + 0xd6, 0x1f, 0xbe, 0x04, 0xf8, 0xa1, 0x04, 0x40, 0x90, 0x19, 0x95, 0xab, 0xfe, 0xb5, 0xaa, 0xbb, + 0x37, 0xa8, 0xea, 0xe0, 0x2b, 0x18, 0xfe, 0xd1, 0x0c, 0x20, 0x8e, 0x73, 0xb5, 0x61, 0x1b, 0xd4, + 0x73, 0xdc, 0x46, 0xa2, 0x59, 0x6f, 0x5e, 0x25, 0xd4, 0x73, 0xe4, 0x38, 0x1f, 0xe3, 0x3d, 0x3a, + 0xfd, 0xbe, 0x38, 0x71, 0xa6, 0xce, 0x17, 0x75, 0xde, 0x5f, 0x2c, 0x96, 0x4e, 0xd5, 0x39, 0x53, + 0xe7, 0x9b, 0x3a, 0x1f, 0x2f, 0x17, 0x27, 0xde, 0xd4, 0xb2, 0x0e, 0x7f, 0x05, 0x00, 0x00, 0xff, + 0xff, 0x29, 0x0b, 0xef, 0x6d, 0xe0, 0x06, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/register.go index 7869129791a..67bedd56676 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/register.go @@ -39,14 +39,13 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - // addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &CertificateSigningRequest{}, &CertificateSigningRequestList{}, @@ -56,6 +55,7 @@ func addKnownTypes(scheme *runtime.Scheme) { // Add the watch version that applies versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } func (obj *CertificateSigningRequest) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/types.generated.go index 173e183324a..e9ffc869ee8 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/types.generated.go @@ -88,11 +88,11 @@ func (x *CertificateSigningRequest) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2 [5]bool _, _, _ = yysep2, yyq2, yy2arr2 const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" + yyq2[3] = true + yyq2[4] = true var yynn2 int if yyr2 || yy2arr2 { r.EncodeArrayStart(5) @@ -109,102 +109,102 @@ func (x *CertificateSigningRequest) CodecEncodeSelf(e *codec1978.Encoder) { if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, "") } } else { if yyq2[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } } else { - r.EncodeNil() + r.EncodeString(codecSelferC_UTF81234, "") } } else { if yyq2[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[2] { + yy10 := &x.ObjectMeta + yy10.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy11 := &x.ObjectMeta yy11.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) + if yyq2[3] { + yy13 := &x.Spec + yy13.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq2[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy14 := &x.Spec + yy14.CodecEncodeSelf(e) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2[4] { + yy16 := &x.Status + yy16.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } + yy17 := &x.Status + yy17.CodecEncodeSelf(e) } } if yyr2 || yy2arr2 { @@ -220,25 +220,25 @@ func (x *CertificateSigningRequest) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym18 := z.DecBinary() + _ = yym18 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct19 := r.ContainerType() + if yyct19 == codecSelferValueTypeMap1234 { + yyl19 := r.ReadMapStart() + if yyl19 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl19, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct19 == codecSelferValueTypeArray1234 { + yyl19 := r.ReadArrayStart() + if yyl19 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl19, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -250,12 +250,12 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys20Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys20Slc + var yyhl20 bool = l >= 0 + for yyj20 := 0; ; yyj20++ { + if yyhl20 { + if yyj20 >= l { break } } else { @@ -264,31 +264,10 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys20Slc = r.DecodeBytes(yys20Slc, true, true) + yys20 := string(yys20Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = CertificateSigningRequestSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = CertificateSigningRequestStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys20 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -301,10 +280,31 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromMap(l int, d *codec1978.D } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv23 := &x.ObjectMeta + yyv23.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = CertificateSigningRequestSpec{} + } else { + yyv24 := &x.Spec + yyv24.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = CertificateSigningRequestStatus{} + } else { + yyv25 := &x.Status + yyv25.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys20) + } // end switch yys20 + } // end for yyj20 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -312,67 +312,16 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj26 int + var yyb26 bool + var yyhl26 bool = l >= 0 + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = CertificateSigningRequestSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = CertificateSigningRequestStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -382,13 +331,13 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -398,18 +347,69 @@ func (x *CertificateSigningRequest) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv29 := &x.ObjectMeta + yyv29.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = CertificateSigningRequestSpec{} + } else { + yyv30 := &x.Spec + yyv30.CodecDecodeSelf(d) + } + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l + } else { + yyb26 = r.CheckBreak() + } + if yyb26 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = CertificateSigningRequestStatus{} + } else { + yyv31 := &x.Status + yyv31.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb9 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb9 { + if yyb26 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj26-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -421,39 +421,39 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym32 := z.EncBinary() + _ = yym32 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Username != "" - yyq2[2] = x.UID != "" - yyq2[3] = len(x.Groups) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep33 := !z.EncBinary() + yy2arr33 := z.EncBasicHandle().StructToArray + var yyq33 [4]bool + _, _, _ = yysep33, yyq33, yy2arr33 + const yyr33 bool = false + yyq33[1] = x.Username != "" + yyq33[2] = x.UID != "" + yyq33[3] = len(x.Groups) != 0 + var yynn33 int + if yyr33 || yy2arr33 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn33 = 1 + for _, b := range yyq33 { if b { - yynn2++ + yynn33++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn33) + yynn33 = 0 } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Request == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym35 := z.EncBinary() + _ = yym35 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Request)) @@ -466,19 +466,19 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Request == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym36 := z.EncBinary() + _ = yym36 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Request)) } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq33[1] { + yym38 := z.EncBinary() + _ = yym38 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Username)) @@ -487,23 +487,23 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq33[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("username")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym39 := z.EncBinary() + _ = yym39 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Username)) } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq33[2] { + yym41 := z.EncBinary() + _ = yym41 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) @@ -512,26 +512,26 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq33[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym42 := z.EncBinary() + _ = yym42 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq33[3] { if x.Groups == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym44 := z.EncBinary() + _ = yym44 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -541,15 +541,15 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq33[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("groups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Groups == nil { r.EncodeNil() } else { - yym14 := z.EncBinary() - _ = yym14 + yym45 := z.EncBinary() + _ = yym45 if false { } else { z.F.EncSliceStringV(x.Groups, false, e) @@ -557,7 +557,7 @@ func (x *CertificateSigningRequestSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr33 || yy2arr33 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -570,25 +570,25 @@ func (x *CertificateSigningRequestSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym46 := z.DecBinary() + _ = yym46 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct47 := r.ContainerType() + if yyct47 == codecSelferValueTypeMap1234 { + yyl47 := r.ReadMapStart() + if yyl47 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl47, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct47 == codecSelferValueTypeArray1234 { + yyl47 := r.ReadArrayStart() + if yyl47 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl47, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -600,12 +600,12 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys48Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys48Slc + var yyhl48 bool = l >= 0 + for yyj48 := 0; ; yyj48++ { + if yyhl48 { + if yyj48 >= l { break } } else { @@ -614,20 +614,20 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys48Slc = r.DecodeBytes(yys48Slc, true, true) + yys48 := string(yys48Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys48 { case "request": if r.TryDecodeAsNil() { x.Request = nil } else { - yyv4 := &x.Request - yym5 := z.DecBinary() - _ = yym5 + yyv49 := &x.Request + yym50 := z.DecBinary() + _ = yym50 if false { } else { - *yyv4 = r.DecodeBytes(*(*[]byte)(yyv4), false, false) + *yyv49 = r.DecodeBytes(*(*[]byte)(yyv49), false, false) } } case "username": @@ -646,18 +646,18 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromMap(l int, d *codec19 if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv8 := &x.Groups - yym9 := z.DecBinary() - _ = yym9 + yyv53 := &x.Groups + yym54 := z.DecBinary() + _ = yym54 if false { } else { - z.F.DecSliceStringX(yyv8, false, d) + z.F.DecSliceStringX(yyv53, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys48) + } // end switch yys48 + } // end for yyj48 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -665,16 +665,16 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj55 int + var yyb55 bool + var yyhl55 bool = l >= 0 + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l } else { - yyb10 = r.CheckBreak() + yyb55 = r.CheckBreak() } - if yyb10 { + if yyb55 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -682,21 +682,21 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.Request = nil } else { - yyv11 := &x.Request - yym12 := z.DecBinary() - _ = yym12 + yyv56 := &x.Request + yym57 := z.DecBinary() + _ = yym57 if false { } else { - *yyv11 = r.DecodeBytes(*(*[]byte)(yyv11), false, false) + *yyv56 = r.DecodeBytes(*(*[]byte)(yyv56), false, false) } } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l } else { - yyb10 = r.CheckBreak() + yyb55 = r.CheckBreak() } - if yyb10 { + if yyb55 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -706,13 +706,13 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromArray(l int, d *codec } else { x.Username = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l } else { - yyb10 = r.CheckBreak() + yyb55 = r.CheckBreak() } - if yyb10 { + if yyb55 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -722,13 +722,13 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromArray(l int, d *codec } else { x.UID = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l } else { - yyb10 = r.CheckBreak() + yyb55 = r.CheckBreak() } - if yyb10 { + if yyb55 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -736,26 +736,26 @@ func (x *CertificateSigningRequestSpec) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.Groups = nil } else { - yyv15 := &x.Groups - yym16 := z.DecBinary() - _ = yym16 + yyv60 := &x.Groups + yym61 := z.DecBinary() + _ = yym61 if false { } else { - z.F.DecSliceStringX(yyv15, false, d) + z.F.DecSliceStringX(yyv60, false, d) } } for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l } else { - yyb10 = r.CheckBreak() + yyb55 = r.CheckBreak() } - if yyb10 { + if yyb55 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj55-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -767,39 +767,39 @@ func (x *CertificateSigningRequestStatus) CodecEncodeSelf(e *codec1978.Encoder) if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym62 := z.EncBinary() + _ = yym62 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Conditions) != 0 - yyq2[1] = len(x.Certificate) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep63 := !z.EncBinary() + yy2arr63 := z.EncBasicHandle().StructToArray + var yyq63 [2]bool + _, _, _ = yysep63, yyq63, yy2arr63 + const yyr63 bool = false + yyq63[0] = len(x.Conditions) != 0 + yyq63[1] = len(x.Certificate) != 0 + var yynn63 int + if yyr63 || yy2arr63 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn63 = 0 + for _, b := range yyq63 { if b { - yynn2++ + yynn63++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn63) + yynn63 = 0 } - if yyr2 || yy2arr2 { + if yyr63 || yy2arr63 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq63[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym65 := z.EncBinary() + _ = yym65 if false { } else { h.encSliceCertificateSigningRequestCondition(([]CertificateSigningRequestCondition)(x.Conditions), e) @@ -809,15 +809,15 @@ func (x *CertificateSigningRequestStatus) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeNil() } } else { - if yyq2[0] { + if yyq63[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym66 := z.EncBinary() + _ = yym66 if false { } else { h.encSliceCertificateSigningRequestCondition(([]CertificateSigningRequestCondition)(x.Conditions), e) @@ -825,14 +825,14 @@ func (x *CertificateSigningRequestStatus) CodecEncodeSelf(e *codec1978.Encoder) } } } - if yyr2 || yy2arr2 { + if yyr63 || yy2arr63 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq63[1] { if x.Certificate == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym68 := z.EncBinary() + _ = yym68 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Certificate)) @@ -842,15 +842,15 @@ func (x *CertificateSigningRequestStatus) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeNil() } } else { - if yyq2[1] { + if yyq63[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("certificate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Certificate == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym69 := z.EncBinary() + _ = yym69 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Certificate)) @@ -858,7 +858,7 @@ func (x *CertificateSigningRequestStatus) CodecEncodeSelf(e *codec1978.Encoder) } } } - if yyr2 || yy2arr2 { + if yyr63 || yy2arr63 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -871,25 +871,25 @@ func (x *CertificateSigningRequestStatus) CodecDecodeSelf(d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym70 := z.DecBinary() + _ = yym70 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct71 := r.ContainerType() + if yyct71 == codecSelferValueTypeMap1234 { + yyl71 := r.ReadMapStart() + if yyl71 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl71, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct71 == codecSelferValueTypeArray1234 { + yyl71 := r.ReadArrayStart() + if yyl71 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl71, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -901,12 +901,12 @@ func (x *CertificateSigningRequestStatus) codecDecodeSelfFromMap(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys72Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys72Slc + var yyhl72 bool = l >= 0 + for yyj72 := 0; ; yyj72++ { + if yyhl72 { + if yyj72 >= l { break } } else { @@ -915,38 +915,38 @@ func (x *CertificateSigningRequestStatus) codecDecodeSelfFromMap(l int, d *codec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys72Slc = r.DecodeBytes(yys72Slc, true, true) + yys72 := string(yys72Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys72 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4 := &x.Conditions - yym5 := z.DecBinary() - _ = yym5 + yyv73 := &x.Conditions + yym74 := z.DecBinary() + _ = yym74 if false { } else { - h.decSliceCertificateSigningRequestCondition((*[]CertificateSigningRequestCondition)(yyv4), d) + h.decSliceCertificateSigningRequestCondition((*[]CertificateSigningRequestCondition)(yyv73), d) } } case "certificate": if r.TryDecodeAsNil() { x.Certificate = nil } else { - yyv6 := &x.Certificate - yym7 := z.DecBinary() - _ = yym7 + yyv75 := &x.Certificate + yym76 := z.DecBinary() + _ = yym76 if false { } else { - *yyv6 = r.DecodeBytes(*(*[]byte)(yyv6), false, false) + *yyv75 = r.DecodeBytes(*(*[]byte)(yyv75), false, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys72) + } // end switch yys72 + } // end for yyj72 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -954,16 +954,16 @@ func (x *CertificateSigningRequestStatus) codecDecodeSelfFromArray(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj77 int + var yyb77 bool + var yyhl77 bool = l >= 0 + yyj77++ + if yyhl77 { + yyb77 = yyj77 > l } else { - yyb8 = r.CheckBreak() + yyb77 = r.CheckBreak() } - if yyb8 { + if yyb77 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -971,21 +971,21 @@ func (x *CertificateSigningRequestStatus) codecDecodeSelfFromArray(l int, d *cod if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv9 := &x.Conditions - yym10 := z.DecBinary() - _ = yym10 + yyv78 := &x.Conditions + yym79 := z.DecBinary() + _ = yym79 if false { } else { - h.decSliceCertificateSigningRequestCondition((*[]CertificateSigningRequestCondition)(yyv9), d) + h.decSliceCertificateSigningRequestCondition((*[]CertificateSigningRequestCondition)(yyv78), d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj77++ + if yyhl77 { + yyb77 = yyj77 > l } else { - yyb8 = r.CheckBreak() + yyb77 = r.CheckBreak() } - if yyb8 { + if yyb77 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -993,26 +993,26 @@ func (x *CertificateSigningRequestStatus) codecDecodeSelfFromArray(l int, d *cod if r.TryDecodeAsNil() { x.Certificate = nil } else { - yyv11 := &x.Certificate - yym12 := z.DecBinary() - _ = yym12 + yyv80 := &x.Certificate + yym81 := z.DecBinary() + _ = yym81 if false { } else { - *yyv11 = r.DecodeBytes(*(*[]byte)(yyv11), false, false) + *yyv80 = r.DecodeBytes(*(*[]byte)(yyv80), false, false) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj77++ + if yyhl77 { + yyb77 = yyj77 > l } else { - yyb8 = r.CheckBreak() + yyb77 = r.CheckBreak() } - if yyb8 { + if yyb77 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj77-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1021,8 +1021,8 @@ func (x RequestConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym82 := z.EncBinary() + _ = yym82 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -1034,8 +1034,8 @@ func (x *RequestConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym83 := z.DecBinary() + _ = yym83 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -1050,33 +1050,33 @@ func (x *CertificateSigningRequestCondition) CodecEncodeSelf(e *codec1978.Encode if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym84 := z.EncBinary() + _ = yym84 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Reason != "" - yyq2[2] = x.Message != "" - yyq2[3] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep85 := !z.EncBinary() + yy2arr85 := z.EncBasicHandle().StructToArray + var yyq85 [4]bool + _, _, _ = yysep85, yyq85, yy2arr85 + const yyr85 bool = false + yyq85[1] = x.Reason != "" + yyq85[2] = x.Message != "" + yyq85[3] = true + var yynn85 int + if yyr85 || yy2arr85 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn85 = 1 + for _, b := range yyq85 { if b { - yynn2++ + yynn85++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn85) + yynn85 = 0 } - if yyr2 || yy2arr2 { + if yyr85 || yy2arr85 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -1085,11 +1085,11 @@ func (x *CertificateSigningRequestCondition) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr85 || yy2arr85 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq85[1] { + yym88 := z.EncBinary() + _ = yym88 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -1098,23 +1098,23 @@ func (x *CertificateSigningRequestCondition) CodecEncodeSelf(e *codec1978.Encode r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq85[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym89 := z.EncBinary() + _ = yym89 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr85 || yy2arr85 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq85[2] { + yym91 := z.EncBinary() + _ = yym91 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -1123,56 +1123,56 @@ func (x *CertificateSigningRequestCondition) CodecEncodeSelf(e *codec1978.Encode r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq85[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym92 := z.EncBinary() + _ = yym92 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr85 || yy2arr85 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yy13 := &x.LastUpdateTime - yym14 := z.EncBinary() - _ = yym14 + if yyq85[3] { + yy94 := &x.LastUpdateTime + yym95 := z.EncBinary() + _ = yym95 if false { - } else if z.HasExtensions() && z.EncExt(yy13) { - } else if yym14 { - z.EncBinaryMarshal(yy13) - } else if !yym14 && z.IsJSONHandle() { - z.EncJSONMarshal(yy13) + } else if z.HasExtensions() && z.EncExt(yy94) { + } else if yym95 { + z.EncBinaryMarshal(yy94) + } else if !yym95 && z.IsJSONHandle() { + z.EncJSONMarshal(yy94) } else { - z.EncFallback(yy13) + z.EncFallback(yy94) } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq85[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastUpdateTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy15 := &x.LastUpdateTime - yym16 := z.EncBinary() - _ = yym16 + yy96 := &x.LastUpdateTime + yym97 := z.EncBinary() + _ = yym97 if false { - } else if z.HasExtensions() && z.EncExt(yy15) { - } else if yym16 { - z.EncBinaryMarshal(yy15) - } else if !yym16 && z.IsJSONHandle() { - z.EncJSONMarshal(yy15) + } else if z.HasExtensions() && z.EncExt(yy96) { + } else if yym97 { + z.EncBinaryMarshal(yy96) + } else if !yym97 && z.IsJSONHandle() { + z.EncJSONMarshal(yy96) } else { - z.EncFallback(yy15) + z.EncFallback(yy96) } } } - if yyr2 || yy2arr2 { + if yyr85 || yy2arr85 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1185,25 +1185,25 @@ func (x *CertificateSigningRequestCondition) CodecDecodeSelf(d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym98 := z.DecBinary() + _ = yym98 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct99 := r.ContainerType() + if yyct99 == codecSelferValueTypeMap1234 { + yyl99 := r.ReadMapStart() + if yyl99 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl99, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct99 == codecSelferValueTypeArray1234 { + yyl99 := r.ReadArrayStart() + if yyl99 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl99, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1215,12 +1215,12 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromMap(l int, d *co var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys100Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys100Slc + var yyhl100 bool = l >= 0 + for yyj100 := 0; ; yyj100++ { + if yyhl100 { + if yyj100 >= l { break } } else { @@ -1229,10 +1229,10 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromMap(l int, d *co } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys100Slc = r.DecodeBytes(yys100Slc, true, true) + yys100 := string(yys100Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys100 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -1255,23 +1255,23 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.LastUpdateTime = pkg1_unversioned.Time{} } else { - yyv7 := &x.LastUpdateTime - yym8 := z.DecBinary() - _ = yym8 + yyv104 := &x.LastUpdateTime + yym105 := z.DecBinary() + _ = yym105 if false { - } else if z.HasExtensions() && z.DecExt(yyv7) { - } else if yym8 { - z.DecBinaryUnmarshal(yyv7) - } else if !yym8 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv7) + } else if z.HasExtensions() && z.DecExt(yyv104) { + } else if yym105 { + z.DecBinaryUnmarshal(yyv104) + } else if !yym105 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv104) } else { - z.DecFallback(yyv7, false) + z.DecFallback(yyv104, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys100) + } // end switch yys100 + } // end for yyj100 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1279,16 +1279,16 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromArray(l int, d * var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj106 int + var yyb106 bool + var yyhl106 bool = l >= 0 + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb9 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb9 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1298,13 +1298,13 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromArray(l int, d * } else { x.Type = RequestConditionType(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb9 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb9 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1314,13 +1314,13 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromArray(l int, d * } else { x.Reason = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb9 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb9 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1330,13 +1330,13 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromArray(l int, d * } else { x.Message = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb9 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb9 { + if yyb106 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1344,31 +1344,31 @@ func (x *CertificateSigningRequestCondition) codecDecodeSelfFromArray(l int, d * if r.TryDecodeAsNil() { x.LastUpdateTime = pkg1_unversioned.Time{} } else { - yyv13 := &x.LastUpdateTime - yym14 := z.DecBinary() - _ = yym14 + yyv110 := &x.LastUpdateTime + yym111 := z.DecBinary() + _ = yym111 if false { - } else if z.HasExtensions() && z.DecExt(yyv13) { - } else if yym14 { - z.DecBinaryUnmarshal(yyv13) - } else if !yym14 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv13) + } else if z.HasExtensions() && z.DecExt(yyv110) { + } else if yym111 { + z.DecBinaryUnmarshal(yyv110) + } else if !yym111 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv110) } else { - z.DecFallback(yyv13, false) + z.DecFallback(yyv110, false) } } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj106++ + if yyhl106 { + yyb106 = yyj106 > l } else { - yyb9 = r.CheckBreak() + yyb106 = r.CheckBreak() } - if yyb9 { + if yyb106 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj106-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1380,68 +1380,118 @@ func (x *CertificateSigningRequestList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym112 := z.EncBinary() + _ = yym112 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep113 := !z.EncBinary() + yy2arr113 := z.EncBasicHandle().StructToArray + var yyq113 [4]bool + _, _, _ = yysep113, yyq113, yy2arr113 + const yyr113 bool = false + yyq113[0] = x.Kind != "" + yyq113[1] = x.APIVersion != "" + yyq113[2] = true + var yynn113 int + if yyr113 || yy2arr113 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn113 = 1 + for _, b := range yyq113 { if b { - yynn2++ + yynn113++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn113) + yynn113 = 0 } - if yyr2 || yy2arr2 { + if yyr113 || yy2arr113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq113[0] { + yym115 := z.EncBinary() + _ = yym115 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq113[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym116 := z.EncBinary() + _ = yym116 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr113 || yy2arr113 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq113[1] { + yym118 := z.EncBinary() + _ = yym118 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq113[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym119 := z.EncBinary() + _ = yym119 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr113 || yy2arr113 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq113[2] { + yy121 := &x.ListMeta + yym122 := z.EncBinary() + _ = yym122 + if false { + } else if z.HasExtensions() && z.EncExt(yy121) { + } else { + z.EncFallback(yy121) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq113[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy123 := &x.ListMeta + yym124 := z.EncBinary() + _ = yym124 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy123) { } else { - z.EncFallback(yy6) + z.EncFallback(yy123) } } } - if yyr2 || yy2arr2 { + if yyr113 || yy2arr113 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym126 := z.EncBinary() + _ = yym126 if false { } else { h.encSliceCertificateSigningRequest(([]CertificateSigningRequest)(x.Items), e) @@ -1454,65 +1504,15 @@ func (x *CertificateSigningRequestList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym127 := z.EncBinary() + _ = yym127 if false { } else { h.encSliceCertificateSigningRequest(([]CertificateSigningRequest)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr113 || yy2arr113 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1525,25 +1525,25 @@ func (x *CertificateSigningRequestList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym128 := z.DecBinary() + _ = yym128 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct129 := r.ContainerType() + if yyct129 == codecSelferValueTypeMap1234 { + yyl129 := r.ReadMapStart() + if yyl129 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl129, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct129 == codecSelferValueTypeArray1234 { + yyl129 := r.ReadArrayStart() + if yyl129 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl129, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1555,12 +1555,12 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys130Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys130Slc + var yyhl130 bool = l >= 0 + for yyj130 := 0; ; yyj130++ { + if yyhl130 { + if yyj130 >= l { break } } else { @@ -1569,35 +1569,10 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys130Slc = r.DecodeBytes(yys130Slc, true, true) + yys130 := string(yys130Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceCertificateSigningRequest((*[]CertificateSigningRequest)(yyv6), d) - } - } + switch yys130 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1610,10 +1585,35 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromMap(l int, d *codec19 } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv133 := &x.ListMeta + yym134 := z.DecBinary() + _ = yym134 + if false { + } else if z.HasExtensions() && z.DecExt(yyv133) { + } else { + z.DecFallback(yyv133, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv135 := &x.Items + yym136 := z.DecBinary() + _ = yym136 + if false { + } else { + h.decSliceCertificateSigningRequest((*[]CertificateSigningRequest)(yyv135), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys130) + } // end switch yys130 + } // end for yyj130 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1621,61 +1621,16 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj137 int + var yyb137 bool + var yyhl137 bool = l >= 0 + yyj137++ + if yyhl137 { + yyb137 = yyj137 > l } else { - yyb10 = r.CheckBreak() + yyb137 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceCertificateSigningRequest((*[]CertificateSigningRequest)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb137 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1685,13 +1640,13 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromArray(l int, d *codec } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj137++ + if yyhl137 { + yyb137 = yyj137 > l } else { - yyb10 = r.CheckBreak() + yyb137 = r.CheckBreak() } - if yyb10 { + if yyb137 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1701,18 +1656,63 @@ func (x *CertificateSigningRequestList) codecDecodeSelfFromArray(l int, d *codec } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj137++ + if yyhl137 { + yyb137 = yyj137 > l + } else { + yyb137 = r.CheckBreak() + } + if yyb137 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv140 := &x.ListMeta + yym141 := z.DecBinary() + _ = yym141 + if false { + } else if z.HasExtensions() && z.DecExt(yyv140) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv140, false) } - if yyb10 { + } + yyj137++ + if yyhl137 { + yyb137 = yyj137 > l + } else { + yyb137 = r.CheckBreak() + } + if yyb137 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv142 := &x.Items + yym143 := z.DecBinary() + _ = yym143 + if false { + } else { + h.decSliceCertificateSigningRequest((*[]CertificateSigningRequest)(yyv142), d) + } + } + for { + yyj137++ + if yyhl137 { + yyb137 = yyj137 > l + } else { + yyb137 = r.CheckBreak() + } + if yyb137 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj137-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1722,10 +1722,10 @@ func (x codecSelfer1234) encSliceCertificateSigningRequestCondition(v []Certific z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv144 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy145 := &yyv144 + yy145.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1735,86 +1735,83 @@ func (x codecSelfer1234) decSliceCertificateSigningRequestCondition(v *[]Certifi z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []CertificateSigningRequestCondition{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv146 := *v + yyh146, yyl146 := z.DecSliceHelperStart() + var yyc146 bool + if yyl146 == 0 { + if yyv146 == nil { + yyv146 = []CertificateSigningRequestCondition{} + yyc146 = true + } else if len(yyv146) != 0 { + yyv146 = yyv146[:0] + yyc146 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl146 > 0 { + var yyrr146, yyrl146 int + var yyrt146 bool + if yyl146 > cap(yyv146) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg146 := len(yyv146) > 0 + yyv2146 := yyv146 + yyrl146, yyrt146 = z.DecInferLen(yyl146, z.DecBasicHandle().MaxInitLen, 72) + if yyrt146 { + if yyrl146 <= cap(yyv146) { + yyv146 = yyv146[:yyrl146] } else { - yyv1 = make([]CertificateSigningRequestCondition, yyrl1) + yyv146 = make([]CertificateSigningRequestCondition, yyrl146) } } else { - yyv1 = make([]CertificateSigningRequestCondition, yyrl1) + yyv146 = make([]CertificateSigningRequestCondition, yyrl146) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc146 = true + yyrr146 = len(yyv146) + if yyrg146 { + copy(yyv146, yyv2146) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl146 != len(yyv146) { + yyv146 = yyv146[:yyl146] + yyc146 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj146 := 0 + for ; yyj146 < yyrr146; yyj146++ { + yyh146.ElemContainerState(yyj146) if r.TryDecodeAsNil() { - yyv1[yyj1] = CertificateSigningRequestCondition{} + yyv146[yyj146] = CertificateSigningRequestCondition{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv147 := &yyv146[yyj146] + yyv147.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, CertificateSigningRequestCondition{}) - yyh1.ElemContainerState(yyj1) + if yyrt146 { + for ; yyj146 < yyl146; yyj146++ { + yyv146 = append(yyv146, CertificateSigningRequestCondition{}) + yyh146.ElemContainerState(yyj146) if r.TryDecodeAsNil() { - yyv1[yyj1] = CertificateSigningRequestCondition{} + yyv146[yyj146] = CertificateSigningRequestCondition{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv148 := &yyv146[yyj146] + yyv148.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj146 := 0 + for ; !r.CheckBreak(); yyj146++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, CertificateSigningRequestCondition{}) // var yyz1 CertificateSigningRequestCondition - yyc1 = true + if yyj146 >= len(yyv146) { + yyv146 = append(yyv146, CertificateSigningRequestCondition{}) // var yyz146 CertificateSigningRequestCondition + yyc146 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh146.ElemContainerState(yyj146) + if yyj146 < len(yyv146) { if r.TryDecodeAsNil() { - yyv1[yyj1] = CertificateSigningRequestCondition{} + yyv146[yyj146] = CertificateSigningRequestCondition{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv149 := &yyv146[yyj146] + yyv149.CodecDecodeSelf(d) } } else { @@ -1822,17 +1819,17 @@ func (x codecSelfer1234) decSliceCertificateSigningRequestCondition(v *[]Certifi } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []CertificateSigningRequestCondition{} - yyc1 = true + if yyj146 < len(yyv146) { + yyv146 = yyv146[:yyj146] + yyc146 = true + } else if yyj146 == 0 && yyv146 == nil { + yyv146 = []CertificateSigningRequestCondition{} + yyc146 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh146.End() + if yyc146 { + *v = yyv146 } } @@ -1841,10 +1838,10 @@ func (x codecSelfer1234) encSliceCertificateSigningRequest(v []CertificateSignin z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv150 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy151 := &yyv150 + yy151.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1854,86 +1851,83 @@ func (x codecSelfer1234) decSliceCertificateSigningRequest(v *[]CertificateSigni z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []CertificateSigningRequest{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv152 := *v + yyh152, yyl152 := z.DecSliceHelperStart() + var yyc152 bool + if yyl152 == 0 { + if yyv152 == nil { + yyv152 = []CertificateSigningRequest{} + yyc152 = true + } else if len(yyv152) != 0 { + yyv152 = yyv152[:0] + yyc152 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl152 > 0 { + var yyrr152, yyrl152 int + var yyrt152 bool + if yyl152 > cap(yyv152) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 368) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg152 := len(yyv152) > 0 + yyv2152 := yyv152 + yyrl152, yyrt152 = z.DecInferLen(yyl152, z.DecBasicHandle().MaxInitLen, 368) + if yyrt152 { + if yyrl152 <= cap(yyv152) { + yyv152 = yyv152[:yyrl152] } else { - yyv1 = make([]CertificateSigningRequest, yyrl1) + yyv152 = make([]CertificateSigningRequest, yyrl152) } } else { - yyv1 = make([]CertificateSigningRequest, yyrl1) + yyv152 = make([]CertificateSigningRequest, yyrl152) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc152 = true + yyrr152 = len(yyv152) + if yyrg152 { + copy(yyv152, yyv2152) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl152 != len(yyv152) { + yyv152 = yyv152[:yyl152] + yyc152 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj152 := 0 + for ; yyj152 < yyrr152; yyj152++ { + yyh152.ElemContainerState(yyj152) if r.TryDecodeAsNil() { - yyv1[yyj1] = CertificateSigningRequest{} + yyv152[yyj152] = CertificateSigningRequest{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv153 := &yyv152[yyj152] + yyv153.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, CertificateSigningRequest{}) - yyh1.ElemContainerState(yyj1) + if yyrt152 { + for ; yyj152 < yyl152; yyj152++ { + yyv152 = append(yyv152, CertificateSigningRequest{}) + yyh152.ElemContainerState(yyj152) if r.TryDecodeAsNil() { - yyv1[yyj1] = CertificateSigningRequest{} + yyv152[yyj152] = CertificateSigningRequest{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv154 := &yyv152[yyj152] + yyv154.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj152 := 0 + for ; !r.CheckBreak(); yyj152++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, CertificateSigningRequest{}) // var yyz1 CertificateSigningRequest - yyc1 = true + if yyj152 >= len(yyv152) { + yyv152 = append(yyv152, CertificateSigningRequest{}) // var yyz152 CertificateSigningRequest + yyc152 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh152.ElemContainerState(yyj152) + if yyj152 < len(yyv152) { if r.TryDecodeAsNil() { - yyv1[yyj1] = CertificateSigningRequest{} + yyv152[yyj152] = CertificateSigningRequest{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv155 := &yyv152[yyj152] + yyv155.CodecDecodeSelf(d) } } else { @@ -1941,16 +1935,16 @@ func (x codecSelfer1234) decSliceCertificateSigningRequest(v *[]CertificateSigni } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []CertificateSigningRequest{} - yyc1 = true + if yyj152 < len(yyv152) { + yyv152 = yyv152[:yyj152] + yyc152 = true + } else if yyj152 == 0 && yyv152 == nil { + yyv152 = []CertificateSigningRequest{} + yyc152 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh152.End() + if yyc152 { + *v = yyv152 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go index 79407a0fd0e..669c6e130c2 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go @@ -24,10 +24,17 @@ import ( api "k8s.io/client-go/1.4/pkg/api" certificates "k8s.io/client-go/1.4/pkg/apis/certificates" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1alpha1_CertificateSigningRequest_To_certificates_CertificateSigningRequest, Convert_certificates_CertificateSigningRequest_To_v1alpha1_CertificateSigningRequest, Convert_v1alpha1_CertificateSigningRequestCondition_To_certificates_CertificateSigningRequestCondition, @@ -38,10 +45,7 @@ func init() { Convert_certificates_CertificateSigningRequestSpec_To_v1alpha1_CertificateSigningRequestSpec, Convert_v1alpha1_CertificateSigningRequestStatus_To_certificates_CertificateSigningRequestStatus, Convert_certificates_CertificateSigningRequestStatus_To_v1alpha1_CertificateSigningRequestStatus, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1alpha1_CertificateSigningRequest_To_certificates_CertificateSigningRequest(in *CertificateSigningRequest, out *certificates.CertificateSigningRequest, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go index fcc3c905bcb..00414013a0c 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go @@ -21,23 +21,26 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.4/pkg/api" v1 "k8s.io/client-go/1.4/pkg/api/v1" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_CertificateSigningRequest, InType: reflect.TypeOf(func() *CertificateSigningRequest { var x *CertificateSigningRequest; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_CertificateSigningRequestCondition, InType: reflect.TypeOf(func() *CertificateSigningRequestCondition { var x *CertificateSigningRequestCondition; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_CertificateSigningRequestList, InType: reflect.TypeOf(func() *CertificateSigningRequestList { var x *CertificateSigningRequestList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_CertificateSigningRequestSpec, InType: reflect.TypeOf(func() *CertificateSigningRequestSpec { var x *CertificateSigningRequestSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_CertificateSigningRequestStatus, InType: reflect.TypeOf(func() *CertificateSigningRequestStatus { var x *CertificateSigningRequestStatus; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_CertificateSigningRequest, InType: reflect.TypeOf(&CertificateSigningRequest{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_CertificateSigningRequestCondition, InType: reflect.TypeOf(&CertificateSigningRequestCondition{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_CertificateSigningRequestList, InType: reflect.TypeOf(&CertificateSigningRequestList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_CertificateSigningRequestSpec, InType: reflect.TypeOf(&CertificateSigningRequestSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_CertificateSigningRequestStatus, InType: reflect.TypeOf(&CertificateSigningRequestStatus{})}, + ) } func DeepCopy_v1alpha1_CertificateSigningRequest(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/zz_generated.deepcopy.go index 2bd40374232..edc90c32bb1 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/certificates/zz_generated.deepcopy.go @@ -23,20 +23,24 @@ package certificates import ( api "k8s.io/client-go/1.4/pkg/api" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_certificates_CertificateSigningRequest, InType: reflect.TypeOf(func() *CertificateSigningRequest { var x *CertificateSigningRequest; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_certificates_CertificateSigningRequestCondition, InType: reflect.TypeOf(func() *CertificateSigningRequestCondition { var x *CertificateSigningRequestCondition; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_certificates_CertificateSigningRequestList, InType: reflect.TypeOf(func() *CertificateSigningRequestList { var x *CertificateSigningRequestList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_certificates_CertificateSigningRequestSpec, InType: reflect.TypeOf(func() *CertificateSigningRequestSpec { var x *CertificateSigningRequestSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_certificates_CertificateSigningRequestStatus, InType: reflect.TypeOf(func() *CertificateSigningRequestStatus { var x *CertificateSigningRequestStatus; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_certificates_CertificateSigningRequest, InType: reflect.TypeOf(&CertificateSigningRequest{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_certificates_CertificateSigningRequestCondition, InType: reflect.TypeOf(&CertificateSigningRequestCondition{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_certificates_CertificateSigningRequestList, InType: reflect.TypeOf(&CertificateSigningRequestList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_certificates_CertificateSigningRequestSpec, InType: reflect.TypeOf(&CertificateSigningRequestSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_certificates_CertificateSigningRequestStatus, InType: reflect.TypeOf(&CertificateSigningRequestStatus{})}, + ) } func DeepCopy_certificates_CertificateSigningRequest(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/install/install.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/install/install.go index cc300d3b91e..b5785af963c 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/install/install.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/install/install.go @@ -114,7 +114,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - componentconfig.AddToScheme(api.Scheme) + if err := componentconfig.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -123,7 +126,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1alpha1.SchemeGroupVersion: - v1alpha1.AddToScheme(api.Scheme) + if err := v1alpha1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/register.go index bca339ec525..9047ad6e447 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/register.go @@ -21,9 +21,10 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // GroupName is the group name use in this package const GroupName = "componentconfig" @@ -41,13 +42,14 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { // TODO this will get cleaned up with the scheme types are fixed scheme.AddKnownTypes(SchemeGroupVersion, &KubeProxyConfiguration{}, &KubeSchedulerConfiguration{}, &KubeletConfiguration{}, ) + return nil } func (obj *KubeProxyConfiguration) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/types.generated.go index c64e283bb09..5e5eba651a7 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/types.generated.go @@ -86,8 +86,8 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2 [20]bool _, _, _ = yysep2, yyq2, yy2arr2 const yyr2 bool = false - yyq2[18] = x.Kind != "" - yyq2[19] = x.APIVersion != "" + yyq2[0] = x.Kind != "" + yyq2[1] = x.APIVersion != "" var yynn2 int if yyr2 || yy2arr2 { r.EncodeArrayStart(20) @@ -103,40 +103,52 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 - if false { + if yyq2[0] { + yym4 := z.EncBinary() + _ = yym4 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } else { - r.EncodeString(codecSelferC_UTF81234, string(x.BindAddress)) + r.EncodeString(codecSelferC_UTF81234, "") } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("bindAddress")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.BindAddress)) + if yyq2[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym5 := z.EncBinary() + _ = yym5 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 - if false { + if yyq2[1] { + yym7 := z.EncBinary() + _ = yym7 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) + r.EncodeString(codecSelferC_UTF81234, "") } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("clusterCIDR")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) + if yyq2[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym8 := z.EncBinary() + _ = yym8 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } } } if yyr2 || yy2arr2 { @@ -145,17 +157,17 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym10 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HealthzBindAddress)) + r.EncodeString(codecSelferC_UTF81234, string(x.BindAddress)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("healthzBindAddress")) + r.EncodeString(codecSelferC_UTF81234, string("bindAddress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym11 := z.EncBinary() _ = yym11 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HealthzBindAddress)) + r.EncodeString(codecSelferC_UTF81234, string(x.BindAddress)) } } if yyr2 || yy2arr2 { @@ -164,17 +176,17 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym13 if false { } else { - r.EncodeInt(int64(x.HealthzPort)) + r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("healthzPort")) + r.EncodeString(codecSelferC_UTF81234, string("clusterCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym14 := z.EncBinary() _ = yym14 if false { } else { - r.EncodeInt(int64(x.HealthzPort)) + r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) } } if yyr2 || yy2arr2 { @@ -182,6 +194,44 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { yym16 := z.EncBinary() _ = yym16 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.HealthzBindAddress)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("healthzBindAddress")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym17 := z.EncBinary() + _ = yym17 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.HealthzBindAddress)) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym19 := z.EncBinary() + _ = yym19 + if false { + } else { + r.EncodeInt(int64(x.HealthzPort)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("healthzPort")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym20 := z.EncBinary() + _ = yym20 + if false { + } else { + r.EncodeInt(int64(x.HealthzPort)) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym22 := z.EncBinary() + _ = yym22 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostnameOverride)) } @@ -189,8 +239,8 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostnameOverride")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym23 := z.EncBinary() + _ = yym23 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostnameOverride)) @@ -201,12 +251,12 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.IPTablesMasqueradeBit == nil { r.EncodeNil() } else { - yy19 := *x.IPTablesMasqueradeBit - yym20 := z.EncBinary() - _ = yym20 + yy25 := *x.IPTablesMasqueradeBit + yym26 := z.EncBinary() + _ = yym26 if false { } else { - r.EncodeInt(int64(yy19)) + r.EncodeInt(int64(yy25)) } } } else { @@ -216,78 +266,40 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.IPTablesMasqueradeBit == nil { r.EncodeNil() } else { - yy21 := *x.IPTablesMasqueradeBit - yym22 := z.EncBinary() - _ = yym22 + yy27 := *x.IPTablesMasqueradeBit + yym28 := z.EncBinary() + _ = yym28 if false { } else { - r.EncodeInt(int64(yy21)) + r.EncodeInt(int64(yy27)) } } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy24 := &x.IPTablesSyncPeriod - yym25 := z.EncBinary() - _ = yym25 + yy30 := &x.IPTablesSyncPeriod + yym31 := z.EncBinary() + _ = yym31 if false { - } else if z.HasExtensions() && z.EncExt(yy24) { - } else if !yym25 && z.IsJSONHandle() { - z.EncJSONMarshal(yy24) + } else if z.HasExtensions() && z.EncExt(yy30) { + } else if !yym31 && z.IsJSONHandle() { + z.EncJSONMarshal(yy30) } else { - z.EncFallback(yy24) + z.EncFallback(yy30) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iptablesSyncPeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy26 := &x.IPTablesSyncPeriod - yym27 := z.EncBinary() - _ = yym27 - if false { - } else if z.HasExtensions() && z.EncExt(yy26) { - } else if !yym27 && z.IsJSONHandle() { - z.EncJSONMarshal(yy26) - } else { - z.EncFallback(yy26) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym29 := z.EncBinary() - _ = yym29 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KubeconfigPath)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeconfigPath")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym30 := z.EncBinary() - _ = yym30 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.KubeconfigPath)) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym32 := z.EncBinary() - _ = yym32 - if false { - } else { - r.EncodeBool(bool(x.MasqueradeAll)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("masqueradeAll")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy32 := &x.IPTablesSyncPeriod yym33 := z.EncBinary() _ = yym33 if false { + } else if z.HasExtensions() && z.EncExt(yy32) { + } else if !yym33 && z.IsJSONHandle() { + z.EncJSONMarshal(yy32) } else { - r.EncodeBool(bool(x.MasqueradeAll)) + z.EncFallback(yy32) } } if yyr2 || yy2arr2 { @@ -295,6 +307,44 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { yym35 := z.EncBinary() _ = yym35 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.KubeconfigPath)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kubeconfigPath")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym36 := z.EncBinary() + _ = yym36 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.KubeconfigPath)) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym38 := z.EncBinary() + _ = yym38 + if false { + } else { + r.EncodeBool(bool(x.MasqueradeAll)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("masqueradeAll")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym39 := z.EncBinary() + _ = yym39 + if false { + } else { + r.EncodeBool(bool(x.MasqueradeAll)) + } + } + if yyr2 || yy2arr2 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym41 := z.EncBinary() + _ = yym41 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Master)) } @@ -302,8 +352,8 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("master")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym36 := z.EncBinary() - _ = yym36 + yym42 := z.EncBinary() + _ = yym42 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Master)) @@ -314,12 +364,12 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.OOMScoreAdj == nil { r.EncodeNil() } else { - yy38 := *x.OOMScoreAdj - yym39 := z.EncBinary() - _ = yym39 + yy44 := *x.OOMScoreAdj + yym45 := z.EncBinary() + _ = yym45 if false { } else { - r.EncodeInt(int64(yy38)) + r.EncodeInt(int64(yy44)) } } } else { @@ -329,12 +379,12 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.OOMScoreAdj == nil { r.EncodeNil() } else { - yy40 := *x.OOMScoreAdj - yym41 := z.EncBinary() - _ = yym41 + yy46 := *x.OOMScoreAdj + yym47 := z.EncBinary() + _ = yym47 if false { } else { - r.EncodeInt(int64(yy40)) + r.EncodeInt(int64(yy46)) } } } @@ -349,8 +399,8 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym46 := z.EncBinary() - _ = yym46 + yym50 := z.EncBinary() + _ = yym50 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PortRange)) @@ -359,8 +409,8 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("portRange")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym47 := z.EncBinary() - _ = yym47 + yym51 := z.EncBinary() + _ = yym51 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PortRange)) @@ -368,8 +418,8 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym49 := z.EncBinary() - _ = yym49 + yym53 := z.EncBinary() + _ = yym53 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceContainer)) @@ -378,8 +428,8 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceContainer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym50 := z.EncBinary() - _ = yym50 + yym54 := z.EncBinary() + _ = yym54 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceContainer)) @@ -387,35 +437,35 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy52 := &x.UDPIdleTimeout - yym53 := z.EncBinary() - _ = yym53 + yy56 := &x.UDPIdleTimeout + yym57 := z.EncBinary() + _ = yym57 if false { - } else if z.HasExtensions() && z.EncExt(yy52) { - } else if !yym53 && z.IsJSONHandle() { - z.EncJSONMarshal(yy52) + } else if z.HasExtensions() && z.EncExt(yy56) { + } else if !yym57 && z.IsJSONHandle() { + z.EncJSONMarshal(yy56) } else { - z.EncFallback(yy52) + z.EncFallback(yy56) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("udpTimeoutMilliseconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy54 := &x.UDPIdleTimeout - yym55 := z.EncBinary() - _ = yym55 + yy58 := &x.UDPIdleTimeout + yym59 := z.EncBinary() + _ = yym59 if false { - } else if z.HasExtensions() && z.EncExt(yy54) { - } else if !yym55 && z.IsJSONHandle() { - z.EncJSONMarshal(yy54) + } else if z.HasExtensions() && z.EncExt(yy58) { + } else if !yym59 && z.IsJSONHandle() { + z.EncJSONMarshal(yy58) } else { - z.EncFallback(yy54) + z.EncFallback(yy58) } } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym57 := z.EncBinary() - _ = yym57 + yym61 := z.EncBinary() + _ = yym61 if false { } else { r.EncodeInt(int64(x.ConntrackMax)) @@ -424,8 +474,8 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conntrackMax")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym58 := z.EncBinary() - _ = yym58 + yym62 := z.EncBinary() + _ = yym62 if false { } else { r.EncodeInt(int64(x.ConntrackMax)) @@ -433,8 +483,8 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym60 := z.EncBinary() - _ = yym60 + yym64 := z.EncBinary() + _ = yym64 if false { } else { r.EncodeInt(int64(x.ConntrackMaxPerCore)) @@ -443,8 +493,8 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conntrackMaxPerCore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym61 := z.EncBinary() - _ = yym61 + yym65 := z.EncBinary() + _ = yym65 if false { } else { r.EncodeInt(int64(x.ConntrackMaxPerCore)) @@ -452,79 +502,29 @@ func (x *KubeProxyConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2 || yy2arr2 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy63 := &x.ConntrackTCPEstablishedTimeout - yym64 := z.EncBinary() - _ = yym64 + yy67 := &x.ConntrackTCPEstablishedTimeout + yym68 := z.EncBinary() + _ = yym68 if false { - } else if z.HasExtensions() && z.EncExt(yy63) { - } else if !yym64 && z.IsJSONHandle() { - z.EncJSONMarshal(yy63) + } else if z.HasExtensions() && z.EncExt(yy67) { + } else if !yym68 && z.IsJSONHandle() { + z.EncJSONMarshal(yy67) } else { - z.EncFallback(yy63) + z.EncFallback(yy67) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conntrackTCPEstablishedTimeout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy65 := &x.ConntrackTCPEstablishedTimeout - yym66 := z.EncBinary() - _ = yym66 + yy69 := &x.ConntrackTCPEstablishedTimeout + yym70 := z.EncBinary() + _ = yym70 if false { - } else if z.HasExtensions() && z.EncExt(yy65) { - } else if !yym66 && z.IsJSONHandle() { - z.EncJSONMarshal(yy65) + } else if z.HasExtensions() && z.EncExt(yy69) { + } else if !yym70 && z.IsJSONHandle() { + z.EncJSONMarshal(yy69) } else { - z.EncFallback(yy65) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[18] { - yym68 := z.EncBinary() - _ = yym68 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[18] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym69 := z.EncBinary() - _ = yym69 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[19] { - yym71 := z.EncBinary() - _ = yym71 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[19] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym72 := z.EncBinary() - _ = yym72 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } + z.EncFallback(yy69) } } if yyr2 || yy2arr2 { @@ -540,25 +540,25 @@ func (x *KubeProxyConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym71 := z.DecBinary() + _ = yym71 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct72 := r.ContainerType() + if yyct72 == codecSelferValueTypeMap1234 { + yyl72 := r.ReadMapStart() + if yyl72 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl72, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct72 == codecSelferValueTypeArray1234 { + yyl72 := r.ReadArrayStart() + if yyl72 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl72, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -570,12 +570,12 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys73Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys73Slc + var yyhl73 bool = l >= 0 + for yyj73 := 0; ; yyj73++ { + if yyhl73 { + if yyj73 >= l { break } } else { @@ -584,10 +584,22 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys73Slc = r.DecodeBytes(yys73Slc, true, true) + yys73 := string(yys73Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys73 { + 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 "bindAddress": if r.TryDecodeAsNil() { x.BindAddress = "" @@ -627,8 +639,8 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco if x.IPTablesMasqueradeBit == nil { x.IPTablesMasqueradeBit = new(int32) } - yym10 := z.DecBinary() - _ = yym10 + yym82 := z.DecBinary() + _ = yym82 if false { } else { *((*int32)(x.IPTablesMasqueradeBit)) = int32(r.DecodeInt(32)) @@ -638,15 +650,15 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.IPTablesSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv11 := &x.IPTablesSyncPeriod - yym12 := z.DecBinary() - _ = yym12 + yyv83 := &x.IPTablesSyncPeriod + yym84 := z.DecBinary() + _ = yym84 if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else if !yym12 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv11) + } else if z.HasExtensions() && z.DecExt(yyv83) { + } else if !yym84 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv83) } else { - z.DecFallback(yyv11, false) + z.DecFallback(yyv83, false) } } case "kubeconfigPath": @@ -676,8 +688,8 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco if x.OOMScoreAdj == nil { x.OOMScoreAdj = new(int32) } - yym17 := z.DecBinary() - _ = yym17 + yym89 := z.DecBinary() + _ = yym89 if false { } else { *((*int32)(x.OOMScoreAdj)) = int32(r.DecodeInt(32)) @@ -705,15 +717,15 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.UDPIdleTimeout = pkg1_unversioned.Duration{} } else { - yyv21 := &x.UDPIdleTimeout - yym22 := z.DecBinary() - _ = yym22 + yyv93 := &x.UDPIdleTimeout + yym94 := z.DecBinary() + _ = yym94 if false { - } else if z.HasExtensions() && z.DecExt(yyv21) { - } else if !yym22 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv21) + } else if z.HasExtensions() && z.DecExt(yyv93) { + } else if !yym94 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv93) } else { - z.DecFallback(yyv21, false) + z.DecFallback(yyv93, false) } } case "conntrackMax": @@ -732,33 +744,21 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.ConntrackTCPEstablishedTimeout = pkg1_unversioned.Duration{} } else { - yyv25 := &x.ConntrackTCPEstablishedTimeout - yym26 := z.DecBinary() - _ = yym26 + yyv97 := &x.ConntrackTCPEstablishedTimeout + yym98 := z.DecBinary() + _ = yym98 if false { - } else if z.HasExtensions() && z.DecExt(yyv25) { - } else if !yym26 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv25) + } else if z.HasExtensions() && z.DecExt(yyv97) { + } else if !yym98 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv97) } else { - z.DecFallback(yyv25, false) + z.DecFallback(yyv97, false) } } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys73) + } // end switch yys73 + } // end for yyj73 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -766,16 +766,48 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj29 int - var yyb29 bool - var yyhl29 bool = l >= 0 - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + var yyj99 int + var yyb99 bool + var yyhl99 bool = l >= 0 + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l + } else { + yyb99 = r.CheckBreak() + } + if yyb99 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l + } else { + yyb99 = r.CheckBreak() + } + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -785,13 +817,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.BindAddress = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -801,13 +833,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.ClusterCIDR = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -817,13 +849,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.HealthzBindAddress = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -833,13 +865,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.HealthzPort = int32(r.DecodeInt(32)) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -849,13 +881,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.HostnameOverride = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -868,20 +900,20 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De if x.IPTablesMasqueradeBit == nil { x.IPTablesMasqueradeBit = new(int32) } - yym36 := z.DecBinary() - _ = yym36 + yym108 := z.DecBinary() + _ = yym108 if false { } else { *((*int32)(x.IPTablesMasqueradeBit)) = int32(r.DecodeInt(32)) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -889,24 +921,24 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.IPTablesSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv37 := &x.IPTablesSyncPeriod - yym38 := z.DecBinary() - _ = yym38 + yyv109 := &x.IPTablesSyncPeriod + yym110 := z.DecBinary() + _ = yym110 if false { - } else if z.HasExtensions() && z.DecExt(yyv37) { - } else if !yym38 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv37) + } else if z.HasExtensions() && z.DecExt(yyv109) { + } else if !yym110 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv109) } else { - z.DecFallback(yyv37, false) + z.DecFallback(yyv109, false) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -916,13 +948,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.KubeconfigPath = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -932,13 +964,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.MasqueradeAll = bool(r.DecodeBool()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -948,13 +980,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Master = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -967,20 +999,20 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De if x.OOMScoreAdj == nil { x.OOMScoreAdj = new(int32) } - yym43 := z.DecBinary() - _ = yym43 + yym115 := z.DecBinary() + _ = yym115 if false { } else { *((*int32)(x.OOMScoreAdj)) = int32(r.DecodeInt(32)) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -990,13 +1022,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Mode = ProxyMode(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1006,13 +1038,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.PortRange = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1022,13 +1054,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.ResourceContainer = string(r.DecodeString()) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1036,24 +1068,24 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.UDPIdleTimeout = pkg1_unversioned.Duration{} } else { - yyv47 := &x.UDPIdleTimeout - yym48 := z.DecBinary() - _ = yym48 + yyv119 := &x.UDPIdleTimeout + yym120 := z.DecBinary() + _ = yym120 if false { - } else if z.HasExtensions() && z.DecExt(yyv47) { - } else if !yym48 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv47) + } else if z.HasExtensions() && z.DecExt(yyv119) { + } else if !yym120 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv119) } else { - z.DecFallback(yyv47, false) + z.DecFallback(yyv119, false) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1063,13 +1095,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.ConntrackMax = int32(r.DecodeInt(32)) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1079,13 +1111,13 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.ConntrackMaxPerCore = int32(r.DecodeInt(32)) } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1093,61 +1125,29 @@ func (x *KubeProxyConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.ConntrackTCPEstablishedTimeout = pkg1_unversioned.Duration{} } else { - yyv51 := &x.ConntrackTCPEstablishedTimeout - yym52 := z.DecBinary() - _ = yym52 + yyv123 := &x.ConntrackTCPEstablishedTimeout + yym124 := z.DecBinary() + _ = yym124 if false { - } else if z.HasExtensions() && z.DecExt(yyv51) { - } else if !yym52 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv51) + } else if z.HasExtensions() && z.DecExt(yyv123) { + } else if !yym124 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv123) } else { - z.DecFallback(yyv51, false) + z.DecFallback(yyv123, false) } } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l - } else { - yyb29 = r.CheckBreak() - } - if yyb29 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l - } else { - yyb29 = r.CheckBreak() - } - if yyb29 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } for { - yyj29++ - if yyhl29 { - yyb29 = yyj29 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb29 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb29 { + if yyb99 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj29-1, "") + z.DecStructFieldNotFound(yyj99-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1156,8 +1156,8 @@ func (x ProxyMode) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym125 := z.EncBinary() + _ = yym125 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -1169,8 +1169,8 @@ func (x *ProxyMode) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym126 := z.DecBinary() + _ = yym126 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -1182,8 +1182,8 @@ func (x HairpinMode) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym127 := z.EncBinary() + _ = yym127 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -1195,8 +1195,8 @@ func (x *HairpinMode) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym128 := z.DecBinary() + _ = yym128 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -1211,154 +1211,204 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym129 := z.EncBinary() + _ = yym129 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [97]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[48] = x.CloudProvider != "" - yyq2[49] = x.CloudConfigFile != "" - yyq2[50] = x.KubeletCgroups != "" - yyq2[51] = x.CgroupsPerQOS != false - yyq2[52] = x.RuntimeCgroups != "" - yyq2[53] = x.SystemCgroups != "" - yyq2[54] = x.CgroupRoot != "" - yyq2[56] = true - yyq2[57] = x.RktPath != "" - yyq2[58] = x.RktAPIEndpoint != "" - yyq2[59] = x.RktStage1Image != "" - yyq2[80] = true - yyq2[81] = x.NodeIP != "" - yyq2[85] = x.EvictionHard != "" - yyq2[86] = x.EvictionSoft != "" - yyq2[87] = x.EvictionSoftGracePeriod != "" - yyq2[88] = true - yyq2[89] = x.EvictionMaxPodGracePeriod != 0 - yyq2[90] = x.EvictionMinimumReclaim != "" - yyq2[95] = x.Kind != "" - yyq2[96] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep130 := !z.EncBinary() + yy2arr130 := z.EncBasicHandle().StructToArray + var yyq130 [97]bool + _, _, _ = yysep130, yyq130, yy2arr130 + const yyr130 bool = false + yyq130[0] = x.Kind != "" + yyq130[1] = x.APIVersion != "" + yyq130[50] = x.CloudProvider != "" + yyq130[51] = x.CloudConfigFile != "" + yyq130[52] = x.KubeletCgroups != "" + yyq130[53] = x.CgroupsPerQOS != false + yyq130[54] = x.RuntimeCgroups != "" + yyq130[55] = x.SystemCgroups != "" + yyq130[56] = x.CgroupRoot != "" + yyq130[58] = true + yyq130[59] = x.RktPath != "" + yyq130[60] = x.RktAPIEndpoint != "" + yyq130[61] = x.RktStage1Image != "" + yyq130[82] = true + yyq130[83] = x.NodeIP != "" + yyq130[87] = x.EvictionHard != "" + yyq130[88] = x.EvictionSoft != "" + yyq130[89] = x.EvictionSoftGracePeriod != "" + yyq130[90] = true + yyq130[91] = x.EvictionMaxPodGracePeriod != 0 + yyq130[92] = x.EvictionMinimumReclaim != "" + var yynn130 int + if yyr130 || yy2arr130 { r.EncodeArrayStart(97) } else { - yynn2 = 76 - for _, b := range yyq2 { + yynn130 = 76 + for _, b := range yyq130 { if b { - yynn2++ + yynn130++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn130) + yynn130 = 0 } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + if yyq130[0] { + yym132 := z.EncBinary() + _ = yym132 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq130[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym133 := z.EncBinary() + _ = yym133 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr130 || yy2arr130 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq130[1] { + yym135 := z.EncBinary() + _ = yym135 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq130[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym136 := z.EncBinary() + _ = yym136 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr130 || yy2arr130 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym138 := z.EncBinary() + _ = yym138 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Config)) + r.EncodeString(codecSelferC_UTF81234, string(x.PodManifestPath)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("config")) + r.EncodeString(codecSelferC_UTF81234, string("podManifestPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym139 := z.EncBinary() + _ = yym139 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Config)) + r.EncodeString(codecSelferC_UTF81234, string(x.PodManifestPath)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.SyncFrequency - yym8 := z.EncBinary() - _ = yym8 + yy141 := &x.SyncFrequency + yym142 := z.EncBinary() + _ = yym142 if false { - } else if z.HasExtensions() && z.EncExt(yy7) { - } else if !yym8 && z.IsJSONHandle() { - z.EncJSONMarshal(yy7) + } else if z.HasExtensions() && z.EncExt(yy141) { + } else if !yym142 && z.IsJSONHandle() { + z.EncJSONMarshal(yy141) } else { - z.EncFallback(yy7) + z.EncFallback(yy141) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("syncFrequency")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.SyncFrequency - yym10 := z.EncBinary() - _ = yym10 + yy143 := &x.SyncFrequency + yym144 := z.EncBinary() + _ = yym144 if false { - } else if z.HasExtensions() && z.EncExt(yy9) { - } else if !yym10 && z.IsJSONHandle() { - z.EncJSONMarshal(yy9) + } else if z.HasExtensions() && z.EncExt(yy143) { + } else if !yym144 && z.IsJSONHandle() { + z.EncJSONMarshal(yy143) } else { - z.EncFallback(yy9) + z.EncFallback(yy143) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy12 := &x.FileCheckFrequency - yym13 := z.EncBinary() - _ = yym13 + yy146 := &x.FileCheckFrequency + yym147 := z.EncBinary() + _ = yym147 if false { - } else if z.HasExtensions() && z.EncExt(yy12) { - } else if !yym13 && z.IsJSONHandle() { - z.EncJSONMarshal(yy12) + } else if z.HasExtensions() && z.EncExt(yy146) { + } else if !yym147 && z.IsJSONHandle() { + z.EncJSONMarshal(yy146) } else { - z.EncFallback(yy12) + z.EncFallback(yy146) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fileCheckFrequency")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.FileCheckFrequency - yym15 := z.EncBinary() - _ = yym15 + yy148 := &x.FileCheckFrequency + yym149 := z.EncBinary() + _ = yym149 if false { - } else if z.HasExtensions() && z.EncExt(yy14) { - } else if !yym15 && z.IsJSONHandle() { - z.EncJSONMarshal(yy14) + } else if z.HasExtensions() && z.EncExt(yy148) { + } else if !yym149 && z.IsJSONHandle() { + z.EncJSONMarshal(yy148) } else { - z.EncFallback(yy14) + z.EncFallback(yy148) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy17 := &x.HTTPCheckFrequency - yym18 := z.EncBinary() - _ = yym18 + yy151 := &x.HTTPCheckFrequency + yym152 := z.EncBinary() + _ = yym152 if false { - } else if z.HasExtensions() && z.EncExt(yy17) { - } else if !yym18 && z.IsJSONHandle() { - z.EncJSONMarshal(yy17) + } else if z.HasExtensions() && z.EncExt(yy151) { + } else if !yym152 && z.IsJSONHandle() { + z.EncJSONMarshal(yy151) } else { - z.EncFallback(yy17) + z.EncFallback(yy151) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpCheckFrequency")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy19 := &x.HTTPCheckFrequency - yym20 := z.EncBinary() - _ = yym20 + yy153 := &x.HTTPCheckFrequency + yym154 := z.EncBinary() + _ = yym154 if false { - } else if z.HasExtensions() && z.EncExt(yy19) { - } else if !yym20 && z.IsJSONHandle() { - z.EncJSONMarshal(yy19) + } else if z.HasExtensions() && z.EncExt(yy153) { + } else if !yym154 && z.IsJSONHandle() { + z.EncJSONMarshal(yy153) } else { - z.EncFallback(yy19) + z.EncFallback(yy153) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym22 := z.EncBinary() - _ = yym22 + yym156 := z.EncBinary() + _ = yym156 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ManifestURL)) @@ -1367,17 +1417,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("manifestURL")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym157 := z.EncBinary() + _ = yym157 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ManifestURL)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym25 := z.EncBinary() - _ = yym25 + yym159 := z.EncBinary() + _ = yym159 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ManifestURLHeader)) @@ -1386,17 +1436,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("manifestURLHeader")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym26 := z.EncBinary() - _ = yym26 + yym160 := z.EncBinary() + _ = yym160 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ManifestURLHeader)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym28 := z.EncBinary() - _ = yym28 + yym162 := z.EncBinary() + _ = yym162 if false { } else { r.EncodeBool(bool(x.EnableServer)) @@ -1405,17 +1455,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableServer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym29 := z.EncBinary() - _ = yym29 + yym163 := z.EncBinary() + _ = yym163 if false { } else { r.EncodeBool(bool(x.EnableServer)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym31 := z.EncBinary() - _ = yym31 + yym165 := z.EncBinary() + _ = yym165 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -1424,17 +1474,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym32 := z.EncBinary() - _ = yym32 + yym166 := z.EncBinary() + _ = yym166 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym34 := z.EncBinary() - _ = yym34 + yym168 := z.EncBinary() + _ = yym168 if false { } else { r.EncodeInt(int64(x.Port)) @@ -1443,17 +1493,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym35 := z.EncBinary() - _ = yym35 + yym169 := z.EncBinary() + _ = yym169 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym37 := z.EncBinary() - _ = yym37 + yym171 := z.EncBinary() + _ = yym171 if false { } else { r.EncodeInt(int64(x.ReadOnlyPort)) @@ -1462,17 +1512,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym38 := z.EncBinary() - _ = yym38 + yym172 := z.EncBinary() + _ = yym172 if false { } else { r.EncodeInt(int64(x.ReadOnlyPort)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym40 := z.EncBinary() - _ = yym40 + yym174 := z.EncBinary() + _ = yym174 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TLSCertFile)) @@ -1481,17 +1531,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tlsCertFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym41 := z.EncBinary() - _ = yym41 + yym175 := z.EncBinary() + _ = yym175 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TLSCertFile)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym43 := z.EncBinary() - _ = yym43 + yym177 := z.EncBinary() + _ = yym177 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TLSPrivateKeyFile)) @@ -1500,17 +1550,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tlsPrivateKeyFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym44 := z.EncBinary() - _ = yym44 + yym178 := z.EncBinary() + _ = yym178 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TLSPrivateKeyFile)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym46 := z.EncBinary() - _ = yym46 + yym180 := z.EncBinary() + _ = yym180 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CertDirectory)) @@ -1519,17 +1569,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("certDirectory")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym47 := z.EncBinary() - _ = yym47 + yym181 := z.EncBinary() + _ = yym181 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CertDirectory)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym49 := z.EncBinary() - _ = yym49 + yym183 := z.EncBinary() + _ = yym183 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostnameOverride)) @@ -1538,17 +1588,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostnameOverride")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym50 := z.EncBinary() - _ = yym50 + yym184 := z.EncBinary() + _ = yym184 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostnameOverride)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym52 := z.EncBinary() - _ = yym52 + yym186 := z.EncBinary() + _ = yym186 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodInfraContainerImage)) @@ -1557,17 +1607,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podInfraContainerImage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym53 := z.EncBinary() - _ = yym53 + yym187 := z.EncBinary() + _ = yym187 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodInfraContainerImage)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym55 := z.EncBinary() - _ = yym55 + yym189 := z.EncBinary() + _ = yym189 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DockerEndpoint)) @@ -1576,17 +1626,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("dockerEndpoint")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym56 := z.EncBinary() - _ = yym56 + yym190 := z.EncBinary() + _ = yym190 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DockerEndpoint)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym58 := z.EncBinary() - _ = yym58 + yym192 := z.EncBinary() + _ = yym192 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RootDirectory)) @@ -1595,17 +1645,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rootDirectory")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym59 := z.EncBinary() - _ = yym59 + yym193 := z.EncBinary() + _ = yym193 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RootDirectory)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym61 := z.EncBinary() - _ = yym61 + yym195 := z.EncBinary() + _ = yym195 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SeccompProfileRoot)) @@ -1614,17 +1664,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seccompProfileRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym62 := z.EncBinary() - _ = yym62 + yym196 := z.EncBinary() + _ = yym196 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SeccompProfileRoot)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym64 := z.EncBinary() - _ = yym64 + yym198 := z.EncBinary() + _ = yym198 if false { } else { r.EncodeBool(bool(x.AllowPrivileged)) @@ -1633,20 +1683,20 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowPrivileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym65 := z.EncBinary() - _ = yym65 + yym199 := z.EncBinary() + _ = yym199 if false { } else { r.EncodeBool(bool(x.AllowPrivileged)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.HostNetworkSources == nil { r.EncodeNil() } else { - yym67 := z.EncBinary() - _ = yym67 + yym201 := z.EncBinary() + _ = yym201 if false { } else { z.F.EncSliceStringV(x.HostNetworkSources, false, e) @@ -1659,21 +1709,21 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.HostNetworkSources == nil { r.EncodeNil() } else { - yym68 := z.EncBinary() - _ = yym68 + yym202 := z.EncBinary() + _ = yym202 if false { } else { z.F.EncSliceStringV(x.HostNetworkSources, false, e) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.HostPIDSources == nil { r.EncodeNil() } else { - yym70 := z.EncBinary() - _ = yym70 + yym204 := z.EncBinary() + _ = yym204 if false { } else { z.F.EncSliceStringV(x.HostPIDSources, false, e) @@ -1686,21 +1736,21 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.HostPIDSources == nil { r.EncodeNil() } else { - yym71 := z.EncBinary() - _ = yym71 + yym205 := z.EncBinary() + _ = yym205 if false { } else { z.F.EncSliceStringV(x.HostPIDSources, false, e) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.HostIPCSources == nil { r.EncodeNil() } else { - yym73 := z.EncBinary() - _ = yym73 + yym207 := z.EncBinary() + _ = yym207 if false { } else { z.F.EncSliceStringV(x.HostIPCSources, false, e) @@ -1713,18 +1763,18 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.HostIPCSources == nil { r.EncodeNil() } else { - yym74 := z.EncBinary() - _ = yym74 + yym208 := z.EncBinary() + _ = yym208 if false { } else { z.F.EncSliceStringV(x.HostIPCSources, false, e) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym76 := z.EncBinary() - _ = yym76 + yym210 := z.EncBinary() + _ = yym210 if false { } else { r.EncodeInt(int64(x.RegistryPullQPS)) @@ -1733,17 +1783,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("registryPullQPS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym77 := z.EncBinary() - _ = yym77 + yym211 := z.EncBinary() + _ = yym211 if false { } else { r.EncodeInt(int64(x.RegistryPullQPS)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym79 := z.EncBinary() - _ = yym79 + yym213 := z.EncBinary() + _ = yym213 if false { } else { r.EncodeInt(int64(x.RegistryBurst)) @@ -1752,17 +1802,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("registryBurst")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym80 := z.EncBinary() - _ = yym80 + yym214 := z.EncBinary() + _ = yym214 if false { } else { r.EncodeInt(int64(x.RegistryBurst)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym82 := z.EncBinary() - _ = yym82 + yym216 := z.EncBinary() + _ = yym216 if false { } else { r.EncodeInt(int64(x.EventRecordQPS)) @@ -1771,17 +1821,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("eventRecordQPS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym83 := z.EncBinary() - _ = yym83 + yym217 := z.EncBinary() + _ = yym217 if false { } else { r.EncodeInt(int64(x.EventRecordQPS)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym85 := z.EncBinary() - _ = yym85 + yym219 := z.EncBinary() + _ = yym219 if false { } else { r.EncodeInt(int64(x.EventBurst)) @@ -1790,17 +1840,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("eventBurst")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym86 := z.EncBinary() - _ = yym86 + yym220 := z.EncBinary() + _ = yym220 if false { } else { r.EncodeInt(int64(x.EventBurst)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym88 := z.EncBinary() - _ = yym88 + yym222 := z.EncBinary() + _ = yym222 if false { } else { r.EncodeBool(bool(x.EnableDebuggingHandlers)) @@ -1809,44 +1859,44 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableDebuggingHandlers")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym89 := z.EncBinary() - _ = yym89 + yym223 := z.EncBinary() + _ = yym223 if false { } else { r.EncodeBool(bool(x.EnableDebuggingHandlers)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy91 := &x.MinimumGCAge - yym92 := z.EncBinary() - _ = yym92 + yy225 := &x.MinimumGCAge + yym226 := z.EncBinary() + _ = yym226 if false { - } else if z.HasExtensions() && z.EncExt(yy91) { - } else if !yym92 && z.IsJSONHandle() { - z.EncJSONMarshal(yy91) + } else if z.HasExtensions() && z.EncExt(yy225) { + } else if !yym226 && z.IsJSONHandle() { + z.EncJSONMarshal(yy225) } else { - z.EncFallback(yy91) + z.EncFallback(yy225) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minimumGCAge")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy93 := &x.MinimumGCAge - yym94 := z.EncBinary() - _ = yym94 + yy227 := &x.MinimumGCAge + yym228 := z.EncBinary() + _ = yym228 if false { - } else if z.HasExtensions() && z.EncExt(yy93) { - } else if !yym94 && z.IsJSONHandle() { - z.EncJSONMarshal(yy93) + } else if z.HasExtensions() && z.EncExt(yy227) { + } else if !yym228 && z.IsJSONHandle() { + z.EncJSONMarshal(yy227) } else { - z.EncFallback(yy93) + z.EncFallback(yy227) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym96 := z.EncBinary() - _ = yym96 + yym230 := z.EncBinary() + _ = yym230 if false { } else { r.EncodeInt(int64(x.MaxPerPodContainerCount)) @@ -1855,17 +1905,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxPerPodContainerCount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym97 := z.EncBinary() - _ = yym97 + yym231 := z.EncBinary() + _ = yym231 if false { } else { r.EncodeInt(int64(x.MaxPerPodContainerCount)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym99 := z.EncBinary() - _ = yym99 + yym233 := z.EncBinary() + _ = yym233 if false { } else { r.EncodeInt(int64(x.MaxContainerCount)) @@ -1874,17 +1924,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxContainerCount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym100 := z.EncBinary() - _ = yym100 + yym234 := z.EncBinary() + _ = yym234 if false { } else { r.EncodeInt(int64(x.MaxContainerCount)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym102 := z.EncBinary() - _ = yym102 + yym236 := z.EncBinary() + _ = yym236 if false { } else { r.EncodeInt(int64(x.CAdvisorPort)) @@ -1893,17 +1943,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cAdvisorPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym103 := z.EncBinary() - _ = yym103 + yym237 := z.EncBinary() + _ = yym237 if false { } else { r.EncodeInt(int64(x.CAdvisorPort)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym105 := z.EncBinary() - _ = yym105 + yym239 := z.EncBinary() + _ = yym239 if false { } else { r.EncodeInt(int64(x.HealthzPort)) @@ -1912,17 +1962,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("healthzPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym106 := z.EncBinary() - _ = yym106 + yym240 := z.EncBinary() + _ = yym240 if false { } else { r.EncodeInt(int64(x.HealthzPort)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym108 := z.EncBinary() - _ = yym108 + yym242 := z.EncBinary() + _ = yym242 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HealthzBindAddress)) @@ -1931,17 +1981,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("healthzBindAddress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym109 := z.EncBinary() - _ = yym109 + yym243 := z.EncBinary() + _ = yym243 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HealthzBindAddress)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym111 := z.EncBinary() - _ = yym111 + yym245 := z.EncBinary() + _ = yym245 if false { } else { r.EncodeInt(int64(x.OOMScoreAdj)) @@ -1950,17 +2000,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("oomScoreAdj")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym112 := z.EncBinary() - _ = yym112 + yym246 := z.EncBinary() + _ = yym246 if false { } else { r.EncodeInt(int64(x.OOMScoreAdj)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym114 := z.EncBinary() - _ = yym114 + yym248 := z.EncBinary() + _ = yym248 if false { } else { r.EncodeBool(bool(x.RegisterNode)) @@ -1969,17 +2019,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("registerNode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym115 := z.EncBinary() - _ = yym115 + yym249 := z.EncBinary() + _ = yym249 if false { } else { r.EncodeBool(bool(x.RegisterNode)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym117 := z.EncBinary() - _ = yym117 + yym251 := z.EncBinary() + _ = yym251 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterDomain)) @@ -1988,17 +2038,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterDomain")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym118 := z.EncBinary() - _ = yym118 + yym252 := z.EncBinary() + _ = yym252 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterDomain)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym120 := z.EncBinary() - _ = yym120 + yym254 := z.EncBinary() + _ = yym254 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MasterServiceNamespace)) @@ -2007,17 +2057,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("masterServiceNamespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym121 := z.EncBinary() - _ = yym121 + yym255 := z.EncBinary() + _ = yym255 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MasterServiceNamespace)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym123 := z.EncBinary() - _ = yym123 + yym257 := z.EncBinary() + _ = yym257 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterDNS)) @@ -2026,98 +2076,98 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterDNS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym124 := z.EncBinary() - _ = yym124 + yym258 := z.EncBinary() + _ = yym258 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterDNS)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy126 := &x.StreamingConnectionIdleTimeout - yym127 := z.EncBinary() - _ = yym127 + yy260 := &x.StreamingConnectionIdleTimeout + yym261 := z.EncBinary() + _ = yym261 if false { - } else if z.HasExtensions() && z.EncExt(yy126) { - } else if !yym127 && z.IsJSONHandle() { - z.EncJSONMarshal(yy126) + } else if z.HasExtensions() && z.EncExt(yy260) { + } else if !yym261 && z.IsJSONHandle() { + z.EncJSONMarshal(yy260) } else { - z.EncFallback(yy126) + z.EncFallback(yy260) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("streamingConnectionIdleTimeout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy128 := &x.StreamingConnectionIdleTimeout - yym129 := z.EncBinary() - _ = yym129 + yy262 := &x.StreamingConnectionIdleTimeout + yym263 := z.EncBinary() + _ = yym263 if false { - } else if z.HasExtensions() && z.EncExt(yy128) { - } else if !yym129 && z.IsJSONHandle() { - z.EncJSONMarshal(yy128) + } else if z.HasExtensions() && z.EncExt(yy262) { + } else if !yym263 && z.IsJSONHandle() { + z.EncJSONMarshal(yy262) } else { - z.EncFallback(yy128) + z.EncFallback(yy262) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy131 := &x.NodeStatusUpdateFrequency - yym132 := z.EncBinary() - _ = yym132 + yy265 := &x.NodeStatusUpdateFrequency + yym266 := z.EncBinary() + _ = yym266 if false { - } else if z.HasExtensions() && z.EncExt(yy131) { - } else if !yym132 && z.IsJSONHandle() { - z.EncJSONMarshal(yy131) + } else if z.HasExtensions() && z.EncExt(yy265) { + } else if !yym266 && z.IsJSONHandle() { + z.EncJSONMarshal(yy265) } else { - z.EncFallback(yy131) + z.EncFallback(yy265) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeStatusUpdateFrequency")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy133 := &x.NodeStatusUpdateFrequency - yym134 := z.EncBinary() - _ = yym134 + yy267 := &x.NodeStatusUpdateFrequency + yym268 := z.EncBinary() + _ = yym268 if false { - } else if z.HasExtensions() && z.EncExt(yy133) { - } else if !yym134 && z.IsJSONHandle() { - z.EncJSONMarshal(yy133) + } else if z.HasExtensions() && z.EncExt(yy267) { + } else if !yym268 && z.IsJSONHandle() { + z.EncJSONMarshal(yy267) } else { - z.EncFallback(yy133) + z.EncFallback(yy267) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy136 := &x.ImageMinimumGCAge - yym137 := z.EncBinary() - _ = yym137 + yy270 := &x.ImageMinimumGCAge + yym271 := z.EncBinary() + _ = yym271 if false { - } else if z.HasExtensions() && z.EncExt(yy136) { - } else if !yym137 && z.IsJSONHandle() { - z.EncJSONMarshal(yy136) + } else if z.HasExtensions() && z.EncExt(yy270) { + } else if !yym271 && z.IsJSONHandle() { + z.EncJSONMarshal(yy270) } else { - z.EncFallback(yy136) + z.EncFallback(yy270) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imageMinimumGCAge")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy138 := &x.ImageMinimumGCAge - yym139 := z.EncBinary() - _ = yym139 + yy272 := &x.ImageMinimumGCAge + yym273 := z.EncBinary() + _ = yym273 if false { - } else if z.HasExtensions() && z.EncExt(yy138) { - } else if !yym139 && z.IsJSONHandle() { - z.EncJSONMarshal(yy138) + } else if z.HasExtensions() && z.EncExt(yy272) { + } else if !yym273 && z.IsJSONHandle() { + z.EncJSONMarshal(yy272) } else { - z.EncFallback(yy138) + z.EncFallback(yy272) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym141 := z.EncBinary() - _ = yym141 + yym275 := z.EncBinary() + _ = yym275 if false { } else { r.EncodeInt(int64(x.ImageGCHighThresholdPercent)) @@ -2126,17 +2176,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imageGCHighThresholdPercent")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym142 := z.EncBinary() - _ = yym142 + yym276 := z.EncBinary() + _ = yym276 if false { } else { r.EncodeInt(int64(x.ImageGCHighThresholdPercent)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym144 := z.EncBinary() - _ = yym144 + yym278 := z.EncBinary() + _ = yym278 if false { } else { r.EncodeInt(int64(x.ImageGCLowThresholdPercent)) @@ -2145,17 +2195,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imageGCLowThresholdPercent")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym145 := z.EncBinary() - _ = yym145 + yym279 := z.EncBinary() + _ = yym279 if false { } else { r.EncodeInt(int64(x.ImageGCLowThresholdPercent)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym147 := z.EncBinary() - _ = yym147 + yym281 := z.EncBinary() + _ = yym281 if false { } else { r.EncodeInt(int64(x.LowDiskSpaceThresholdMB)) @@ -2164,44 +2214,44 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lowDiskSpaceThresholdMB")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym148 := z.EncBinary() - _ = yym148 + yym282 := z.EncBinary() + _ = yym282 if false { } else { r.EncodeInt(int64(x.LowDiskSpaceThresholdMB)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy150 := &x.VolumeStatsAggPeriod - yym151 := z.EncBinary() - _ = yym151 + yy284 := &x.VolumeStatsAggPeriod + yym285 := z.EncBinary() + _ = yym285 if false { - } else if z.HasExtensions() && z.EncExt(yy150) { - } else if !yym151 && z.IsJSONHandle() { - z.EncJSONMarshal(yy150) + } else if z.HasExtensions() && z.EncExt(yy284) { + } else if !yym285 && z.IsJSONHandle() { + z.EncJSONMarshal(yy284) } else { - z.EncFallback(yy150) + z.EncFallback(yy284) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeStatsAggPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy152 := &x.VolumeStatsAggPeriod - yym153 := z.EncBinary() - _ = yym153 + yy286 := &x.VolumeStatsAggPeriod + yym287 := z.EncBinary() + _ = yym287 if false { - } else if z.HasExtensions() && z.EncExt(yy152) { - } else if !yym153 && z.IsJSONHandle() { - z.EncJSONMarshal(yy152) + } else if z.HasExtensions() && z.EncExt(yy286) { + } else if !yym287 && z.IsJSONHandle() { + z.EncJSONMarshal(yy286) } else { - z.EncFallback(yy152) + z.EncFallback(yy286) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym155 := z.EncBinary() - _ = yym155 + yym289 := z.EncBinary() + _ = yym289 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginName)) @@ -2210,17 +2260,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("networkPluginName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym156 := z.EncBinary() - _ = yym156 + yym290 := z.EncBinary() + _ = yym290 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginName)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym158 := z.EncBinary() - _ = yym158 + yym292 := z.EncBinary() + _ = yym292 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginDir)) @@ -2229,17 +2279,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("networkPluginDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym159 := z.EncBinary() - _ = yym159 + yym293 := z.EncBinary() + _ = yym293 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NetworkPluginDir)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym161 := z.EncBinary() - _ = yym161 + yym295 := z.EncBinary() + _ = yym295 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumePluginDir)) @@ -2248,18 +2298,18 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumePluginDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym162 := z.EncBinary() - _ = yym162 + yym296 := z.EncBinary() + _ = yym296 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumePluginDir)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[48] { - yym164 := z.EncBinary() - _ = yym164 + if yyq130[50] { + yym298 := z.EncBinary() + _ = yym298 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) @@ -2268,23 +2318,23 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[48] { + if yyq130[50] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cloudProvider")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym165 := z.EncBinary() - _ = yym165 + yym299 := z.EncBinary() + _ = yym299 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[49] { - yym167 := z.EncBinary() - _ = yym167 + if yyq130[51] { + yym301 := z.EncBinary() + _ = yym301 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) @@ -2293,23 +2343,23 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[49] { + if yyq130[51] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cloudConfigFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym168 := z.EncBinary() - _ = yym168 + yym302 := z.EncBinary() + _ = yym302 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[50] { - yym170 := z.EncBinary() - _ = yym170 + if yyq130[52] { + yym304 := z.EncBinary() + _ = yym304 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletCgroups)) @@ -2318,23 +2368,23 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[50] { + if yyq130[52] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletCgroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym171 := z.EncBinary() - _ = yym171 + yym305 := z.EncBinary() + _ = yym305 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletCgroups)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[51] { - yym173 := z.EncBinary() - _ = yym173 + if yyq130[53] { + yym307 := z.EncBinary() + _ = yym307 if false { } else { r.EncodeBool(bool(x.CgroupsPerQOS)) @@ -2343,23 +2393,23 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[51] { + if yyq130[53] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("CgroupsPerQOS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym174 := z.EncBinary() - _ = yym174 + yym308 := z.EncBinary() + _ = yym308 if false { } else { r.EncodeBool(bool(x.CgroupsPerQOS)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[52] { - yym176 := z.EncBinary() - _ = yym176 + if yyq130[54] { + yym310 := z.EncBinary() + _ = yym310 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RuntimeCgroups)) @@ -2368,23 +2418,23 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[52] { + if yyq130[54] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runtimeCgroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym177 := z.EncBinary() - _ = yym177 + yym311 := z.EncBinary() + _ = yym311 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RuntimeCgroups)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[53] { - yym179 := z.EncBinary() - _ = yym179 + if yyq130[55] { + yym313 := z.EncBinary() + _ = yym313 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemCgroups)) @@ -2393,23 +2443,23 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[53] { + if yyq130[55] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("systemCgroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym180 := z.EncBinary() - _ = yym180 + yym314 := z.EncBinary() + _ = yym314 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemCgroups)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[54] { - yym182 := z.EncBinary() - _ = yym182 + if yyq130[56] { + yym316 := z.EncBinary() + _ = yym316 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CgroupRoot)) @@ -2418,22 +2468,22 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[54] { + if yyq130[56] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cgroupRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym183 := z.EncBinary() - _ = yym183 + yym317 := z.EncBinary() + _ = yym317 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CgroupRoot)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym185 := z.EncBinary() - _ = yym185 + yym319 := z.EncBinary() + _ = yym319 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntime)) @@ -2442,51 +2492,51 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerRuntime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym186 := z.EncBinary() - _ = yym186 + yym320 := z.EncBinary() + _ = yym320 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntime)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[56] { - yy188 := &x.RuntimeRequestTimeout - yym189 := z.EncBinary() - _ = yym189 + if yyq130[58] { + yy322 := &x.RuntimeRequestTimeout + yym323 := z.EncBinary() + _ = yym323 if false { - } else if z.HasExtensions() && z.EncExt(yy188) { - } else if !yym189 && z.IsJSONHandle() { - z.EncJSONMarshal(yy188) + } else if z.HasExtensions() && z.EncExt(yy322) { + } else if !yym323 && z.IsJSONHandle() { + z.EncJSONMarshal(yy322) } else { - z.EncFallback(yy188) + z.EncFallback(yy322) } } else { r.EncodeNil() } } else { - if yyq2[56] { + if yyq130[58] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runtimeRequestTimeout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy190 := &x.RuntimeRequestTimeout - yym191 := z.EncBinary() - _ = yym191 + yy324 := &x.RuntimeRequestTimeout + yym325 := z.EncBinary() + _ = yym325 if false { - } else if z.HasExtensions() && z.EncExt(yy190) { - } else if !yym191 && z.IsJSONHandle() { - z.EncJSONMarshal(yy190) + } else if z.HasExtensions() && z.EncExt(yy324) { + } else if !yym325 && z.IsJSONHandle() { + z.EncJSONMarshal(yy324) } else { - z.EncFallback(yy190) + z.EncFallback(yy324) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[57] { - yym193 := z.EncBinary() - _ = yym193 + if yyq130[59] { + yym327 := z.EncBinary() + _ = yym327 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RktPath)) @@ -2495,23 +2545,23 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[57] { + if yyq130[59] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rktPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym194 := z.EncBinary() - _ = yym194 + yym328 := z.EncBinary() + _ = yym328 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RktPath)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[58] { - yym196 := z.EncBinary() - _ = yym196 + if yyq130[60] { + yym330 := z.EncBinary() + _ = yym330 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RktAPIEndpoint)) @@ -2520,23 +2570,23 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[58] { + if yyq130[60] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rktAPIEndpoint")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym197 := z.EncBinary() - _ = yym197 + yym331 := z.EncBinary() + _ = yym331 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RktAPIEndpoint)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[59] { - yym199 := z.EncBinary() - _ = yym199 + if yyq130[61] { + yym333 := z.EncBinary() + _ = yym333 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RktStage1Image)) @@ -2545,22 +2595,22 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[59] { + if yyq130[61] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rktStage1Image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym200 := z.EncBinary() - _ = yym200 + yym334 := z.EncBinary() + _ = yym334 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RktStage1Image)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym202 := z.EncBinary() - _ = yym202 + yym336 := z.EncBinary() + _ = yym336 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LockFilePath)) @@ -2569,17 +2619,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lockFilePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym203 := z.EncBinary() - _ = yym203 + yym337 := z.EncBinary() + _ = yym337 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LockFilePath)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym205 := z.EncBinary() - _ = yym205 + yym339 := z.EncBinary() + _ = yym339 if false { } else { r.EncodeBool(bool(x.ExitOnLockContention)) @@ -2588,17 +2638,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exitOnLockContention")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym206 := z.EncBinary() - _ = yym206 + yym340 := z.EncBinary() + _ = yym340 if false { } else { r.EncodeBool(bool(x.ExitOnLockContention)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym208 := z.EncBinary() - _ = yym208 + yym342 := z.EncBinary() + _ = yym342 if false { } else { r.EncodeBool(bool(x.ConfigureCBR0)) @@ -2607,17 +2657,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configureCbr0")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym209 := z.EncBinary() - _ = yym209 + yym343 := z.EncBinary() + _ = yym343 if false { } else { r.EncodeBool(bool(x.ConfigureCBR0)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym211 := z.EncBinary() - _ = yym211 + yym345 := z.EncBinary() + _ = yym345 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HairpinMode)) @@ -2626,17 +2676,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hairpinMode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym212 := z.EncBinary() - _ = yym212 + yym346 := z.EncBinary() + _ = yym346 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HairpinMode)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym214 := z.EncBinary() - _ = yym214 + yym348 := z.EncBinary() + _ = yym348 if false { } else { r.EncodeBool(bool(x.BabysitDaemons)) @@ -2645,17 +2695,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("babysitDaemons")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym215 := z.EncBinary() - _ = yym215 + yym349 := z.EncBinary() + _ = yym349 if false { } else { r.EncodeBool(bool(x.BabysitDaemons)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym217 := z.EncBinary() - _ = yym217 + yym351 := z.EncBinary() + _ = yym351 if false { } else { r.EncodeInt(int64(x.MaxPods)) @@ -2664,17 +2714,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxPods")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym218 := z.EncBinary() - _ = yym218 + yym352 := z.EncBinary() + _ = yym352 if false { } else { r.EncodeInt(int64(x.MaxPods)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym220 := z.EncBinary() - _ = yym220 + yym354 := z.EncBinary() + _ = yym354 if false { } else { r.EncodeInt(int64(x.NvidiaGPUs)) @@ -2683,17 +2733,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nvidiaGPUs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym221 := z.EncBinary() - _ = yym221 + yym355 := z.EncBinary() + _ = yym355 if false { } else { r.EncodeInt(int64(x.NvidiaGPUs)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym223 := z.EncBinary() - _ = yym223 + yym357 := z.EncBinary() + _ = yym357 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DockerExecHandlerName)) @@ -2702,17 +2752,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("dockerExecHandlerName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym224 := z.EncBinary() - _ = yym224 + yym358 := z.EncBinary() + _ = yym358 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DockerExecHandlerName)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym226 := z.EncBinary() - _ = yym226 + yym360 := z.EncBinary() + _ = yym360 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) @@ -2721,17 +2771,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym227 := z.EncBinary() - _ = yym227 + yym361 := z.EncBinary() + _ = yym361 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym229 := z.EncBinary() - _ = yym229 + yym363 := z.EncBinary() + _ = yym363 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResolverConfig)) @@ -2740,17 +2790,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resolvConf")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym230 := z.EncBinary() - _ = yym230 + yym364 := z.EncBinary() + _ = yym364 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResolverConfig)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym232 := z.EncBinary() - _ = yym232 + yym366 := z.EncBinary() + _ = yym366 if false { } else { r.EncodeBool(bool(x.CPUCFSQuota)) @@ -2759,17 +2809,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cpuCFSQuota")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym233 := z.EncBinary() - _ = yym233 + yym367 := z.EncBinary() + _ = yym367 if false { } else { r.EncodeBool(bool(x.CPUCFSQuota)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym235 := z.EncBinary() - _ = yym235 + yym369 := z.EncBinary() + _ = yym369 if false { } else { r.EncodeBool(bool(x.Containerized)) @@ -2778,17 +2828,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerized")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym236 := z.EncBinary() - _ = yym236 + yym370 := z.EncBinary() + _ = yym370 if false { } else { r.EncodeBool(bool(x.Containerized)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym238 := z.EncBinary() - _ = yym238 + yym372 := z.EncBinary() + _ = yym372 if false { } else { r.EncodeInt(int64(x.MaxOpenFiles)) @@ -2797,17 +2847,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxOpenFiles")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym239 := z.EncBinary() - _ = yym239 + yym373 := z.EncBinary() + _ = yym373 if false { } else { r.EncodeInt(int64(x.MaxOpenFiles)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym241 := z.EncBinary() - _ = yym241 + yym375 := z.EncBinary() + _ = yym375 if false { } else { r.EncodeBool(bool(x.ReconcileCIDR)) @@ -2816,17 +2866,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reconcileCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym242 := z.EncBinary() - _ = yym242 + yym376 := z.EncBinary() + _ = yym376 if false { } else { r.EncodeBool(bool(x.ReconcileCIDR)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym244 := z.EncBinary() - _ = yym244 + yym378 := z.EncBinary() + _ = yym378 if false { } else { r.EncodeBool(bool(x.RegisterSchedulable)) @@ -2835,17 +2885,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("registerSchedulable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym245 := z.EncBinary() - _ = yym245 + yym379 := z.EncBinary() + _ = yym379 if false { } else { r.EncodeBool(bool(x.RegisterSchedulable)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym247 := z.EncBinary() - _ = yym247 + yym381 := z.EncBinary() + _ = yym381 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) @@ -2854,17 +2904,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("contentType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym248 := z.EncBinary() - _ = yym248 + yym382 := z.EncBinary() + _ = yym382 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym250 := z.EncBinary() - _ = yym250 + yym384 := z.EncBinary() + _ = yym384 if false { } else { r.EncodeInt(int64(x.KubeAPIQPS)) @@ -2873,17 +2923,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeAPIQPS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym251 := z.EncBinary() - _ = yym251 + yym385 := z.EncBinary() + _ = yym385 if false { } else { r.EncodeInt(int64(x.KubeAPIQPS)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym253 := z.EncBinary() - _ = yym253 + yym387 := z.EncBinary() + _ = yym387 if false { } else { r.EncodeInt(int64(x.KubeAPIBurst)) @@ -2892,17 +2942,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeAPIBurst")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym254 := z.EncBinary() - _ = yym254 + yym388 := z.EncBinary() + _ = yym388 if false { } else { r.EncodeInt(int64(x.KubeAPIBurst)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym256 := z.EncBinary() - _ = yym256 + yym390 := z.EncBinary() + _ = yym390 if false { } else { r.EncodeBool(bool(x.SerializeImagePulls)) @@ -2911,17 +2961,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serializeImagePulls")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym257 := z.EncBinary() - _ = yym257 + yym391 := z.EncBinary() + _ = yym391 if false { } else { r.EncodeBool(bool(x.SerializeImagePulls)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym259 := z.EncBinary() - _ = yym259 + yym393 := z.EncBinary() + _ = yym393 if false { } else { r.EncodeBool(bool(x.ExperimentalFlannelOverlay)) @@ -2930,51 +2980,51 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("experimentalFlannelOverlay")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym260 := z.EncBinary() - _ = yym260 + yym394 := z.EncBinary() + _ = yym394 if false { } else { r.EncodeBool(bool(x.ExperimentalFlannelOverlay)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[80] { - yy262 := &x.OutOfDiskTransitionFrequency - yym263 := z.EncBinary() - _ = yym263 + if yyq130[82] { + yy396 := &x.OutOfDiskTransitionFrequency + yym397 := z.EncBinary() + _ = yym397 if false { - } else if z.HasExtensions() && z.EncExt(yy262) { - } else if !yym263 && z.IsJSONHandle() { - z.EncJSONMarshal(yy262) + } else if z.HasExtensions() && z.EncExt(yy396) { + } else if !yym397 && z.IsJSONHandle() { + z.EncJSONMarshal(yy396) } else { - z.EncFallback(yy262) + z.EncFallback(yy396) } } else { r.EncodeNil() } } else { - if yyq2[80] { + if yyq130[82] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("outOfDiskTransitionFrequency")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy264 := &x.OutOfDiskTransitionFrequency - yym265 := z.EncBinary() - _ = yym265 + yy398 := &x.OutOfDiskTransitionFrequency + yym399 := z.EncBinary() + _ = yym399 if false { - } else if z.HasExtensions() && z.EncExt(yy264) { - } else if !yym265 && z.IsJSONHandle() { - z.EncJSONMarshal(yy264) + } else if z.HasExtensions() && z.EncExt(yy398) { + } else if !yym399 && z.IsJSONHandle() { + z.EncJSONMarshal(yy398) } else { - z.EncFallback(yy264) + z.EncFallback(yy398) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[81] { - yym267 := z.EncBinary() - _ = yym267 + if yyq130[83] { + yym401 := z.EncBinary() + _ = yym401 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeIP)) @@ -2983,25 +3033,25 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[81] { + if yyq130[83] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym268 := z.EncBinary() - _ = yym268 + yym402 := z.EncBinary() + _ = yym402 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeIP)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.NodeLabels == nil { r.EncodeNil() } else { - yym270 := z.EncBinary() - _ = yym270 + yym404 := z.EncBinary() + _ = yym404 if false { } else { z.F.EncMapStringStringV(x.NodeLabels, false, e) @@ -3014,18 +3064,18 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.NodeLabels == nil { r.EncodeNil() } else { - yym271 := z.EncBinary() - _ = yym271 + yym405 := z.EncBinary() + _ = yym405 if false { } else { z.F.EncMapStringStringV(x.NodeLabels, false, e) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym273 := z.EncBinary() - _ = yym273 + yym407 := z.EncBinary() + _ = yym407 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NonMasqueradeCIDR)) @@ -3034,17 +3084,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nonMasqueradeCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym274 := z.EncBinary() - _ = yym274 + yym408 := z.EncBinary() + _ = yym408 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NonMasqueradeCIDR)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym276 := z.EncBinary() - _ = yym276 + yym410 := z.EncBinary() + _ = yym410 if false { } else { r.EncodeBool(bool(x.EnableCustomMetrics)) @@ -3053,18 +3103,18 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableCustomMetrics")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym277 := z.EncBinary() - _ = yym277 + yym411 := z.EncBinary() + _ = yym411 if false { } else { r.EncodeBool(bool(x.EnableCustomMetrics)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[85] { - yym279 := z.EncBinary() - _ = yym279 + if yyq130[87] { + yym413 := z.EncBinary() + _ = yym413 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvictionHard)) @@ -3073,23 +3123,23 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[85] { + if yyq130[87] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionHard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym280 := z.EncBinary() - _ = yym280 + yym414 := z.EncBinary() + _ = yym414 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvictionHard)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[86] { - yym282 := z.EncBinary() - _ = yym282 + if yyq130[88] { + yym416 := z.EncBinary() + _ = yym416 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoft)) @@ -3098,23 +3148,23 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[86] { + if yyq130[88] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionSoft")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym283 := z.EncBinary() - _ = yym283 + yym417 := z.EncBinary() + _ = yym417 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoft)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[87] { - yym285 := z.EncBinary() - _ = yym285 + if yyq130[89] { + yym419 := z.EncBinary() + _ = yym419 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoftGracePeriod)) @@ -3123,56 +3173,56 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[87] { + if yyq130[89] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionSoftGracePeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym286 := z.EncBinary() - _ = yym286 + yym420 := z.EncBinary() + _ = yym420 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvictionSoftGracePeriod)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[88] { - yy288 := &x.EvictionPressureTransitionPeriod - yym289 := z.EncBinary() - _ = yym289 + if yyq130[90] { + yy422 := &x.EvictionPressureTransitionPeriod + yym423 := z.EncBinary() + _ = yym423 if false { - } else if z.HasExtensions() && z.EncExt(yy288) { - } else if !yym289 && z.IsJSONHandle() { - z.EncJSONMarshal(yy288) + } else if z.HasExtensions() && z.EncExt(yy422) { + } else if !yym423 && z.IsJSONHandle() { + z.EncJSONMarshal(yy422) } else { - z.EncFallback(yy288) + z.EncFallback(yy422) } } else { r.EncodeNil() } } else { - if yyq2[88] { + if yyq130[90] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionPressureTransitionPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy290 := &x.EvictionPressureTransitionPeriod - yym291 := z.EncBinary() - _ = yym291 + yy424 := &x.EvictionPressureTransitionPeriod + yym425 := z.EncBinary() + _ = yym425 if false { - } else if z.HasExtensions() && z.EncExt(yy290) { - } else if !yym291 && z.IsJSONHandle() { - z.EncJSONMarshal(yy290) + } else if z.HasExtensions() && z.EncExt(yy424) { + } else if !yym425 && z.IsJSONHandle() { + z.EncJSONMarshal(yy424) } else { - z.EncFallback(yy290) + z.EncFallback(yy424) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[89] { - yym293 := z.EncBinary() - _ = yym293 + if yyq130[91] { + yym427 := z.EncBinary() + _ = yym427 if false { } else { r.EncodeInt(int64(x.EvictionMaxPodGracePeriod)) @@ -3181,23 +3231,23 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[89] { + if yyq130[91] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionMaxPodGracePeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym294 := z.EncBinary() - _ = yym294 + yym428 := z.EncBinary() + _ = yym428 if false { } else { r.EncodeInt(int64(x.EvictionMaxPodGracePeriod)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[90] { - yym296 := z.EncBinary() - _ = yym296 + if yyq130[92] { + yym430 := z.EncBinary() + _ = yym430 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvictionMinimumReclaim)) @@ -3206,22 +3256,22 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[90] { + if yyq130[92] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionMinimumReclaim")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym297 := z.EncBinary() - _ = yym297 + yym431 := z.EncBinary() + _ = yym431 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.EvictionMinimumReclaim)) } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym299 := z.EncBinary() - _ = yym299 + yym433 := z.EncBinary() + _ = yym433 if false { } else { r.EncodeInt(int64(x.PodsPerCore)) @@ -3230,17 +3280,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podsPerCore")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym300 := z.EncBinary() - _ = yym300 + yym434 := z.EncBinary() + _ = yym434 if false { } else { r.EncodeInt(int64(x.PodsPerCore)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym302 := z.EncBinary() - _ = yym302 + yym436 := z.EncBinary() + _ = yym436 if false { } else { r.EncodeBool(bool(x.EnableControllerAttachDetach)) @@ -3249,20 +3299,20 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableControllerAttachDetach")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym303 := z.EncBinary() - _ = yym303 + yym437 := z.EncBinary() + _ = yym437 if false { } else { r.EncodeBool(bool(x.EnableControllerAttachDetach)) } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SystemReserved == nil { r.EncodeNil() } else { - yym305 := z.EncBinary() - _ = yym305 + yym439 := z.EncBinary() + _ = yym439 if false { } else if z.HasExtensions() && z.EncExt(x.SystemReserved) { } else { @@ -3276,8 +3326,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.SystemReserved == nil { r.EncodeNil() } else { - yym306 := z.EncBinary() - _ = yym306 + yym440 := z.EncBinary() + _ = yym440 if false { } else if z.HasExtensions() && z.EncExt(x.SystemReserved) { } else { @@ -3285,13 +3335,13 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.KubeReserved == nil { r.EncodeNil() } else { - yym308 := z.EncBinary() - _ = yym308 + yym442 := z.EncBinary() + _ = yym442 if false { } else if z.HasExtensions() && z.EncExt(x.KubeReserved) { } else { @@ -3305,8 +3355,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x.KubeReserved == nil { r.EncodeNil() } else { - yym309 := z.EncBinary() - _ = yym309 + yym443 := z.EncBinary() + _ = yym443 if false { } else if z.HasExtensions() && z.EncExt(x.KubeReserved) { } else { @@ -3314,57 +3364,7 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[95] { - yym311 := z.EncBinary() - _ = yym311 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[95] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym312 := z.EncBinary() - _ = yym312 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[96] { - yym314 := z.EncBinary() - _ = yym314 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[96] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym315 := z.EncBinary() - _ = yym315 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr130 || yy2arr130 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3377,25 +3377,25 @@ func (x *KubeletConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym444 := z.DecBinary() + _ = yym444 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct445 := r.ContainerType() + if yyct445 == codecSelferValueTypeMap1234 { + yyl445 := r.ReadMapStart() + if yyl445 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl445, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct445 == codecSelferValueTypeArray1234 { + yyl445 := r.ReadArrayStart() + if yyl445 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl445, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3407,12 +3407,12 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys446Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys446Slc + var yyhl446 bool = l >= 0 + for yyj446 := 0; ; yyj446++ { + if yyhl446 { + if yyj446 >= l { break } } else { @@ -3421,59 +3421,71 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys446Slc = r.DecodeBytes(yys446Slc, true, true) + yys446 := string(yys446Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "config": + switch yys446 { + case "kind": if r.TryDecodeAsNil() { - x.Config = "" + x.Kind = "" } else { - x.Config = string(r.DecodeString()) + x.Kind = string(r.DecodeString()) + } + case "apiVersion": + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + case "podManifestPath": + if r.TryDecodeAsNil() { + x.PodManifestPath = "" + } else { + x.PodManifestPath = string(r.DecodeString()) } case "syncFrequency": if r.TryDecodeAsNil() { x.SyncFrequency = pkg1_unversioned.Duration{} } else { - yyv5 := &x.SyncFrequency - yym6 := z.DecBinary() - _ = yym6 + yyv450 := &x.SyncFrequency + yym451 := z.DecBinary() + _ = yym451 if false { - } else if z.HasExtensions() && z.DecExt(yyv5) { - } else if !yym6 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv5) + } else if z.HasExtensions() && z.DecExt(yyv450) { + } else if !yym451 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv450) } else { - z.DecFallback(yyv5, false) + z.DecFallback(yyv450, false) } } case "fileCheckFrequency": if r.TryDecodeAsNil() { x.FileCheckFrequency = pkg1_unversioned.Duration{} } else { - yyv7 := &x.FileCheckFrequency - yym8 := z.DecBinary() - _ = yym8 + yyv452 := &x.FileCheckFrequency + yym453 := z.DecBinary() + _ = yym453 if false { - } else if z.HasExtensions() && z.DecExt(yyv7) { - } else if !yym8 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv7) + } else if z.HasExtensions() && z.DecExt(yyv452) { + } else if !yym453 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv452) } else { - z.DecFallback(yyv7, false) + z.DecFallback(yyv452, false) } } case "httpCheckFrequency": if r.TryDecodeAsNil() { x.HTTPCheckFrequency = pkg1_unversioned.Duration{} } else { - yyv9 := &x.HTTPCheckFrequency - yym10 := z.DecBinary() - _ = yym10 + yyv454 := &x.HTTPCheckFrequency + yym455 := z.DecBinary() + _ = yym455 if false { - } else if z.HasExtensions() && z.DecExt(yyv9) { - } else if !yym10 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv9) + } else if z.HasExtensions() && z.DecExt(yyv454) { + } else if !yym455 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv454) } else { - z.DecFallback(yyv9, false) + z.DecFallback(yyv454, false) } } case "manifestURL": @@ -3570,36 +3582,36 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.HostNetworkSources = nil } else { - yyv26 := &x.HostNetworkSources - yym27 := z.DecBinary() - _ = yym27 + yyv471 := &x.HostNetworkSources + yym472 := z.DecBinary() + _ = yym472 if false { } else { - z.F.DecSliceStringX(yyv26, false, d) + z.F.DecSliceStringX(yyv471, false, d) } } case "hostPIDSources": if r.TryDecodeAsNil() { x.HostPIDSources = nil } else { - yyv28 := &x.HostPIDSources - yym29 := z.DecBinary() - _ = yym29 + yyv473 := &x.HostPIDSources + yym474 := z.DecBinary() + _ = yym474 if false { } else { - z.F.DecSliceStringX(yyv28, false, d) + z.F.DecSliceStringX(yyv473, false, d) } } case "hostIPCSources": if r.TryDecodeAsNil() { x.HostIPCSources = nil } else { - yyv30 := &x.HostIPCSources - yym31 := z.DecBinary() - _ = yym31 + yyv475 := &x.HostIPCSources + yym476 := z.DecBinary() + _ = yym476 if false { } else { - z.F.DecSliceStringX(yyv30, false, d) + z.F.DecSliceStringX(yyv475, false, d) } } case "registryPullQPS": @@ -3636,15 +3648,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.MinimumGCAge = pkg1_unversioned.Duration{} } else { - yyv37 := &x.MinimumGCAge - yym38 := z.DecBinary() - _ = yym38 + yyv482 := &x.MinimumGCAge + yym483 := z.DecBinary() + _ = yym483 if false { - } else if z.HasExtensions() && z.DecExt(yyv37) { - } else if !yym38 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv37) + } else if z.HasExtensions() && z.DecExt(yyv482) { + } else if !yym483 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv482) } else { - z.DecFallback(yyv37, false) + z.DecFallback(yyv482, false) } } case "maxPerPodContainerCount": @@ -3711,45 +3723,45 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.StreamingConnectionIdleTimeout = pkg1_unversioned.Duration{} } else { - yyv49 := &x.StreamingConnectionIdleTimeout - yym50 := z.DecBinary() - _ = yym50 + yyv494 := &x.StreamingConnectionIdleTimeout + yym495 := z.DecBinary() + _ = yym495 if false { - } else if z.HasExtensions() && z.DecExt(yyv49) { - } else if !yym50 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv49) + } else if z.HasExtensions() && z.DecExt(yyv494) { + } else if !yym495 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv494) } else { - z.DecFallback(yyv49, false) + z.DecFallback(yyv494, false) } } case "nodeStatusUpdateFrequency": if r.TryDecodeAsNil() { x.NodeStatusUpdateFrequency = pkg1_unversioned.Duration{} } else { - yyv51 := &x.NodeStatusUpdateFrequency - yym52 := z.DecBinary() - _ = yym52 + yyv496 := &x.NodeStatusUpdateFrequency + yym497 := z.DecBinary() + _ = yym497 if false { - } else if z.HasExtensions() && z.DecExt(yyv51) { - } else if !yym52 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv51) + } else if z.HasExtensions() && z.DecExt(yyv496) { + } else if !yym497 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv496) } else { - z.DecFallback(yyv51, false) + z.DecFallback(yyv496, false) } } case "imageMinimumGCAge": if r.TryDecodeAsNil() { x.ImageMinimumGCAge = pkg1_unversioned.Duration{} } else { - yyv53 := &x.ImageMinimumGCAge - yym54 := z.DecBinary() - _ = yym54 + yyv498 := &x.ImageMinimumGCAge + yym499 := z.DecBinary() + _ = yym499 if false { - } else if z.HasExtensions() && z.DecExt(yyv53) { - } else if !yym54 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv53) + } else if z.HasExtensions() && z.DecExt(yyv498) { + } else if !yym499 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv498) } else { - z.DecFallback(yyv53, false) + z.DecFallback(yyv498, false) } } case "imageGCHighThresholdPercent": @@ -3774,15 +3786,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.VolumeStatsAggPeriod = pkg1_unversioned.Duration{} } else { - yyv58 := &x.VolumeStatsAggPeriod - yym59 := z.DecBinary() - _ = yym59 + yyv503 := &x.VolumeStatsAggPeriod + yym504 := z.DecBinary() + _ = yym504 if false { - } else if z.HasExtensions() && z.DecExt(yyv58) { - } else if !yym59 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv58) + } else if z.HasExtensions() && z.DecExt(yyv503) { + } else if !yym504 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv503) } else { - z.DecFallback(yyv58, false) + z.DecFallback(yyv503, false) } } case "networkPluginName": @@ -3855,15 +3867,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.RuntimeRequestTimeout = pkg1_unversioned.Duration{} } else { - yyv71 := &x.RuntimeRequestTimeout - yym72 := z.DecBinary() - _ = yym72 + yyv516 := &x.RuntimeRequestTimeout + yym517 := z.DecBinary() + _ = yym517 if false { - } else if z.HasExtensions() && z.DecExt(yyv71) { - } else if !yym72 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv71) + } else if z.HasExtensions() && z.DecExt(yyv516) { + } else if !yym517 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv516) } else { - z.DecFallback(yyv71, false) + z.DecFallback(yyv516, false) } } case "rktPath": @@ -4008,15 +4020,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.OutOfDiskTransitionFrequency = pkg1_unversioned.Duration{} } else { - yyv96 := &x.OutOfDiskTransitionFrequency - yym97 := z.DecBinary() - _ = yym97 + yyv541 := &x.OutOfDiskTransitionFrequency + yym542 := z.DecBinary() + _ = yym542 if false { - } else if z.HasExtensions() && z.DecExt(yyv96) { - } else if !yym97 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv96) + } else if z.HasExtensions() && z.DecExt(yyv541) { + } else if !yym542 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv541) } else { - z.DecFallback(yyv96, false) + z.DecFallback(yyv541, false) } } case "nodeIP": @@ -4029,12 +4041,12 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.NodeLabels = nil } else { - yyv99 := &x.NodeLabels - yym100 := z.DecBinary() - _ = yym100 + yyv544 := &x.NodeLabels + yym545 := z.DecBinary() + _ = yym545 if false { } else { - z.F.DecMapStringStringX(yyv99, false, d) + z.F.DecMapStringStringX(yyv544, false, d) } } case "nonMasqueradeCIDR": @@ -4071,15 +4083,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.EvictionPressureTransitionPeriod = pkg1_unversioned.Duration{} } else { - yyv106 := &x.EvictionPressureTransitionPeriod - yym107 := z.DecBinary() - _ = yym107 + yyv551 := &x.EvictionPressureTransitionPeriod + yym552 := z.DecBinary() + _ = yym552 if false { - } else if z.HasExtensions() && z.DecExt(yyv106) { - } else if !yym107 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv106) + } else if z.HasExtensions() && z.DecExt(yyv551) { + } else if !yym552 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv551) } else { - z.DecFallback(yyv106, false) + z.DecFallback(yyv551, false) } } case "evictionMaxPodGracePeriod": @@ -4110,44 +4122,32 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SystemReserved = nil } else { - yyv112 := &x.SystemReserved - yym113 := z.DecBinary() - _ = yym113 + yyv557 := &x.SystemReserved + yym558 := z.DecBinary() + _ = yym558 if false { - } else if z.HasExtensions() && z.DecExt(yyv112) { + } else if z.HasExtensions() && z.DecExt(yyv557) { } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv112), d) + h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv557), d) } } case "kubeReserved": if r.TryDecodeAsNil() { x.KubeReserved = nil } else { - yyv114 := &x.KubeReserved - yym115 := z.DecBinary() - _ = yym115 + yyv559 := &x.KubeReserved + yym560 := z.DecBinary() + _ = yym560 if false { - } else if z.HasExtensions() && z.DecExt(yyv114) { + } else if z.HasExtensions() && z.DecExt(yyv559) { } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv114), d) + h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv559), d) } } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys446) + } // end switch yys446 + } // end for yyj446 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4155,1673 +4155,16 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj118 int - var yyb118 bool - var yyhl118 bool = l >= 0 - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l + var yyj561 int + var yyb561 bool + var yyhl561 bool = l >= 0 + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l } else { - yyb118 = r.CheckBreak() + yyb561 = r.CheckBreak() } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Config = "" - } else { - x.Config = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SyncFrequency = pkg1_unversioned.Duration{} - } else { - yyv120 := &x.SyncFrequency - yym121 := z.DecBinary() - _ = yym121 - if false { - } else if z.HasExtensions() && z.DecExt(yyv120) { - } else if !yym121 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv120) - } else { - z.DecFallback(yyv120, false) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.FileCheckFrequency = pkg1_unversioned.Duration{} - } else { - yyv122 := &x.FileCheckFrequency - yym123 := z.DecBinary() - _ = yym123 - if false { - } else if z.HasExtensions() && z.DecExt(yyv122) { - } else if !yym123 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv122) - } else { - z.DecFallback(yyv122, false) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HTTPCheckFrequency = pkg1_unversioned.Duration{} - } else { - yyv124 := &x.HTTPCheckFrequency - yym125 := z.DecBinary() - _ = yym125 - if false { - } else if z.HasExtensions() && z.DecExt(yyv124) { - } else if !yym125 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv124) - } else { - z.DecFallback(yyv124, false) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ManifestURL = "" - } else { - x.ManifestURL = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ManifestURLHeader = "" - } else { - x.ManifestURLHeader = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableServer = false - } else { - x.EnableServer = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Address = "" - } else { - x.Address = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ReadOnlyPort = 0 - } else { - x.ReadOnlyPort = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TLSCertFile = "" - } else { - x.TLSCertFile = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TLSPrivateKeyFile = "" - } else { - x.TLSPrivateKeyFile = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CertDirectory = "" - } else { - x.CertDirectory = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HostnameOverride = "" - } else { - x.HostnameOverride = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PodInfraContainerImage = "" - } else { - x.PodInfraContainerImage = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DockerEndpoint = "" - } else { - x.DockerEndpoint = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RootDirectory = "" - } else { - x.RootDirectory = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SeccompProfileRoot = "" - } else { - x.SeccompProfileRoot = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.AllowPrivileged = false - } else { - x.AllowPrivileged = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HostNetworkSources = nil - } else { - yyv141 := &x.HostNetworkSources - yym142 := z.DecBinary() - _ = yym142 - if false { - } else { - z.F.DecSliceStringX(yyv141, false, d) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HostPIDSources = nil - } else { - yyv143 := &x.HostPIDSources - yym144 := z.DecBinary() - _ = yym144 - if false { - } else { - z.F.DecSliceStringX(yyv143, false, d) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HostIPCSources = nil - } else { - yyv145 := &x.HostIPCSources - yym146 := z.DecBinary() - _ = yym146 - if false { - } else { - z.F.DecSliceStringX(yyv145, false, d) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RegistryPullQPS = 0 - } else { - x.RegistryPullQPS = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RegistryBurst = 0 - } else { - x.RegistryBurst = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EventRecordQPS = 0 - } else { - x.EventRecordQPS = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EventBurst = 0 - } else { - x.EventBurst = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableDebuggingHandlers = false - } else { - x.EnableDebuggingHandlers = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MinimumGCAge = pkg1_unversioned.Duration{} - } else { - yyv152 := &x.MinimumGCAge - yym153 := z.DecBinary() - _ = yym153 - if false { - } else if z.HasExtensions() && z.DecExt(yyv152) { - } else if !yym153 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv152) - } else { - z.DecFallback(yyv152, false) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxPerPodContainerCount = 0 - } else { - x.MaxPerPodContainerCount = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxContainerCount = 0 - } else { - x.MaxContainerCount = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CAdvisorPort = 0 - } else { - x.CAdvisorPort = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HealthzPort = 0 - } else { - x.HealthzPort = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HealthzBindAddress = "" - } else { - x.HealthzBindAddress = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.OOMScoreAdj = 0 - } else { - x.OOMScoreAdj = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RegisterNode = false - } else { - x.RegisterNode = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterDomain = "" - } else { - x.ClusterDomain = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MasterServiceNamespace = "" - } else { - x.MasterServiceNamespace = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterDNS = "" - } else { - x.ClusterDNS = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.StreamingConnectionIdleTimeout = pkg1_unversioned.Duration{} - } else { - yyv164 := &x.StreamingConnectionIdleTimeout - yym165 := z.DecBinary() - _ = yym165 - if false { - } else if z.HasExtensions() && z.DecExt(yyv164) { - } else if !yym165 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv164) - } else { - z.DecFallback(yyv164, false) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeStatusUpdateFrequency = pkg1_unversioned.Duration{} - } else { - yyv166 := &x.NodeStatusUpdateFrequency - yym167 := z.DecBinary() - _ = yym167 - if false { - } else if z.HasExtensions() && z.DecExt(yyv166) { - } else if !yym167 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv166) - } else { - z.DecFallback(yyv166, false) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ImageMinimumGCAge = pkg1_unversioned.Duration{} - } else { - yyv168 := &x.ImageMinimumGCAge - yym169 := z.DecBinary() - _ = yym169 - if false { - } else if z.HasExtensions() && z.DecExt(yyv168) { - } else if !yym169 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv168) - } else { - z.DecFallback(yyv168, false) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ImageGCHighThresholdPercent = 0 - } else { - x.ImageGCHighThresholdPercent = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ImageGCLowThresholdPercent = 0 - } else { - x.ImageGCLowThresholdPercent = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LowDiskSpaceThresholdMB = 0 - } else { - x.LowDiskSpaceThresholdMB = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.VolumeStatsAggPeriod = pkg1_unversioned.Duration{} - } else { - yyv173 := &x.VolumeStatsAggPeriod - yym174 := z.DecBinary() - _ = yym174 - if false { - } else if z.HasExtensions() && z.DecExt(yyv173) { - } else if !yym174 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv173) - } else { - z.DecFallback(yyv173, false) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NetworkPluginName = "" - } else { - x.NetworkPluginName = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NetworkPluginDir = "" - } else { - x.NetworkPluginDir = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.VolumePluginDir = "" - } else { - x.VolumePluginDir = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CloudProvider = "" - } else { - x.CloudProvider = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CloudConfigFile = "" - } else { - x.CloudConfigFile = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeletCgroups = "" - } else { - x.KubeletCgroups = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CgroupsPerQOS = false - } else { - x.CgroupsPerQOS = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RuntimeCgroups = "" - } else { - x.RuntimeCgroups = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SystemCgroups = "" - } else { - x.SystemCgroups = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CgroupRoot = "" - } else { - x.CgroupRoot = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ContainerRuntime = "" - } else { - x.ContainerRuntime = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RuntimeRequestTimeout = pkg1_unversioned.Duration{} - } else { - yyv186 := &x.RuntimeRequestTimeout - yym187 := z.DecBinary() - _ = yym187 - if false { - } else if z.HasExtensions() && z.DecExt(yyv186) { - } else if !yym187 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv186) - } else { - z.DecFallback(yyv186, false) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RktPath = "" - } else { - x.RktPath = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RktAPIEndpoint = "" - } else { - x.RktAPIEndpoint = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RktStage1Image = "" - } else { - x.RktStage1Image = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LockFilePath = "" - } else { - x.LockFilePath = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ExitOnLockContention = false - } else { - x.ExitOnLockContention = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConfigureCBR0 = false - } else { - x.ConfigureCBR0 = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HairpinMode = "" - } else { - x.HairpinMode = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.BabysitDaemons = false - } else { - x.BabysitDaemons = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxPods = 0 - } else { - x.MaxPods = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NvidiaGPUs = 0 - } else { - x.NvidiaGPUs = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DockerExecHandlerName = "" - } else { - x.DockerExecHandlerName = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PodCIDR = "" - } else { - x.PodCIDR = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ResolverConfig = "" - } else { - x.ResolverConfig = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CPUCFSQuota = false - } else { - x.CPUCFSQuota = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Containerized = false - } else { - x.Containerized = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MaxOpenFiles = 0 - } else { - x.MaxOpenFiles = int64(r.DecodeInt(64)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ReconcileCIDR = false - } else { - x.ReconcileCIDR = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RegisterSchedulable = false - } else { - x.RegisterSchedulable = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ContentType = "" - } else { - x.ContentType = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeAPIQPS = 0 - } else { - x.KubeAPIQPS = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeAPIBurst = 0 - } else { - x.KubeAPIBurst = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SerializeImagePulls = false - } else { - x.SerializeImagePulls = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ExperimentalFlannelOverlay = false - } else { - x.ExperimentalFlannelOverlay = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.OutOfDiskTransitionFrequency = pkg1_unversioned.Duration{} - } else { - yyv211 := &x.OutOfDiskTransitionFrequency - yym212 := z.DecBinary() - _ = yym212 - if false { - } else if z.HasExtensions() && z.DecExt(yyv211) { - } else if !yym212 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv211) - } else { - z.DecFallback(yyv211, false) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeIP = "" - } else { - x.NodeIP = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeLabels = nil - } else { - yyv214 := &x.NodeLabels - yym215 := z.DecBinary() - _ = yym215 - if false { - } else { - z.F.DecMapStringStringX(yyv214, false, d) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NonMasqueradeCIDR = "" - } else { - x.NonMasqueradeCIDR = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableCustomMetrics = false - } else { - x.EnableCustomMetrics = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EvictionHard = "" - } else { - x.EvictionHard = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EvictionSoft = "" - } else { - x.EvictionSoft = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EvictionSoftGracePeriod = "" - } else { - x.EvictionSoftGracePeriod = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EvictionPressureTransitionPeriod = pkg1_unversioned.Duration{} - } else { - yyv221 := &x.EvictionPressureTransitionPeriod - yym222 := z.DecBinary() - _ = yym222 - if false { - } else if z.HasExtensions() && z.DecExt(yyv221) { - } else if !yym222 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv221) - } else { - z.DecFallback(yyv221, false) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EvictionMaxPodGracePeriod = 0 - } else { - x.EvictionMaxPodGracePeriod = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EvictionMinimumReclaim = "" - } else { - x.EvictionMinimumReclaim = string(r.DecodeString()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PodsPerCore = 0 - } else { - x.PodsPerCore = int32(r.DecodeInt(32)) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableControllerAttachDetach = false - } else { - x.EnableControllerAttachDetach = bool(r.DecodeBool()) - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SystemReserved = nil - } else { - yyv227 := &x.SystemReserved - yym228 := z.DecBinary() - _ = yym228 - if false { - } else if z.HasExtensions() && z.DecExt(yyv227) { - } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv227), d) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeReserved = nil - } else { - yyv229 := &x.KubeReserved - yym230 := z.DecBinary() - _ = yym230 - if false { - } else if z.HasExtensions() && z.DecExt(yyv229) { - } else { - h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv229), d) - } - } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l - } else { - yyb118 = r.CheckBreak() - } - if yyb118 { + if yyb561 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5831,13 +4174,13 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Kind = string(r.DecodeString()) } - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l } else { - yyb118 = r.CheckBreak() + yyb561 = r.CheckBreak() } - if yyb118 { + if yyb561 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5847,18 +4190,1675 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj118++ - if yyhl118 { - yyb118 = yyj118 > l + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PodManifestPath = "" + } else { + x.PodManifestPath = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.SyncFrequency = pkg1_unversioned.Duration{} + } else { + yyv565 := &x.SyncFrequency + yym566 := z.DecBinary() + _ = yym566 + if false { + } else if z.HasExtensions() && z.DecExt(yyv565) { + } else if !yym566 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv565) } else { - yyb118 = r.CheckBreak() + z.DecFallback(yyv565, false) } - if yyb118 { + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.FileCheckFrequency = pkg1_unversioned.Duration{} + } else { + yyv567 := &x.FileCheckFrequency + yym568 := z.DecBinary() + _ = yym568 + if false { + } else if z.HasExtensions() && z.DecExt(yyv567) { + } else if !yym568 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv567) + } else { + z.DecFallback(yyv567, false) + } + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HTTPCheckFrequency = pkg1_unversioned.Duration{} + } else { + yyv569 := &x.HTTPCheckFrequency + yym570 := z.DecBinary() + _ = yym570 + if false { + } else if z.HasExtensions() && z.DecExt(yyv569) { + } else if !yym570 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv569) + } else { + z.DecFallback(yyv569, false) + } + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ManifestURL = "" + } else { + x.ManifestURL = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ManifestURLHeader = "" + } else { + x.ManifestURLHeader = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EnableServer = false + } else { + x.EnableServer = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Address = "" + } else { + x.Address = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Port = 0 + } else { + x.Port = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ReadOnlyPort = 0 + } else { + x.ReadOnlyPort = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TLSCertFile = "" + } else { + x.TLSCertFile = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TLSPrivateKeyFile = "" + } else { + x.TLSPrivateKeyFile = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.CertDirectory = "" + } else { + x.CertDirectory = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HostnameOverride = "" + } else { + x.HostnameOverride = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PodInfraContainerImage = "" + } else { + x.PodInfraContainerImage = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.DockerEndpoint = "" + } else { + x.DockerEndpoint = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RootDirectory = "" + } else { + x.RootDirectory = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.SeccompProfileRoot = "" + } else { + x.SeccompProfileRoot = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.AllowPrivileged = false + } else { + x.AllowPrivileged = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HostNetworkSources = nil + } else { + yyv586 := &x.HostNetworkSources + yym587 := z.DecBinary() + _ = yym587 + if false { + } else { + z.F.DecSliceStringX(yyv586, false, d) + } + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HostPIDSources = nil + } else { + yyv588 := &x.HostPIDSources + yym589 := z.DecBinary() + _ = yym589 + if false { + } else { + z.F.DecSliceStringX(yyv588, false, d) + } + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HostIPCSources = nil + } else { + yyv590 := &x.HostIPCSources + yym591 := z.DecBinary() + _ = yym591 + if false { + } else { + z.F.DecSliceStringX(yyv590, false, d) + } + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RegistryPullQPS = 0 + } else { + x.RegistryPullQPS = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RegistryBurst = 0 + } else { + x.RegistryBurst = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EventRecordQPS = 0 + } else { + x.EventRecordQPS = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EventBurst = 0 + } else { + x.EventBurst = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EnableDebuggingHandlers = false + } else { + x.EnableDebuggingHandlers = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MinimumGCAge = pkg1_unversioned.Duration{} + } else { + yyv597 := &x.MinimumGCAge + yym598 := z.DecBinary() + _ = yym598 + if false { + } else if z.HasExtensions() && z.DecExt(yyv597) { + } else if !yym598 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv597) + } else { + z.DecFallback(yyv597, false) + } + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MaxPerPodContainerCount = 0 + } else { + x.MaxPerPodContainerCount = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MaxContainerCount = 0 + } else { + x.MaxContainerCount = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.CAdvisorPort = 0 + } else { + x.CAdvisorPort = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HealthzPort = 0 + } else { + x.HealthzPort = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HealthzBindAddress = "" + } else { + x.HealthzBindAddress = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.OOMScoreAdj = 0 + } else { + x.OOMScoreAdj = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RegisterNode = false + } else { + x.RegisterNode = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ClusterDomain = "" + } else { + x.ClusterDomain = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MasterServiceNamespace = "" + } else { + x.MasterServiceNamespace = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ClusterDNS = "" + } else { + x.ClusterDNS = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.StreamingConnectionIdleTimeout = pkg1_unversioned.Duration{} + } else { + yyv609 := &x.StreamingConnectionIdleTimeout + yym610 := z.DecBinary() + _ = yym610 + if false { + } else if z.HasExtensions() && z.DecExt(yyv609) { + } else if !yym610 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv609) + } else { + z.DecFallback(yyv609, false) + } + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NodeStatusUpdateFrequency = pkg1_unversioned.Duration{} + } else { + yyv611 := &x.NodeStatusUpdateFrequency + yym612 := z.DecBinary() + _ = yym612 + if false { + } else if z.HasExtensions() && z.DecExt(yyv611) { + } else if !yym612 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv611) + } else { + z.DecFallback(yyv611, false) + } + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ImageMinimumGCAge = pkg1_unversioned.Duration{} + } else { + yyv613 := &x.ImageMinimumGCAge + yym614 := z.DecBinary() + _ = yym614 + if false { + } else if z.HasExtensions() && z.DecExt(yyv613) { + } else if !yym614 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv613) + } else { + z.DecFallback(yyv613, false) + } + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ImageGCHighThresholdPercent = 0 + } else { + x.ImageGCHighThresholdPercent = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ImageGCLowThresholdPercent = 0 + } else { + x.ImageGCLowThresholdPercent = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LowDiskSpaceThresholdMB = 0 + } else { + x.LowDiskSpaceThresholdMB = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.VolumeStatsAggPeriod = pkg1_unversioned.Duration{} + } else { + yyv618 := &x.VolumeStatsAggPeriod + yym619 := z.DecBinary() + _ = yym619 + if false { + } else if z.HasExtensions() && z.DecExt(yyv618) { + } else if !yym619 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv618) + } else { + z.DecFallback(yyv618, false) + } + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NetworkPluginName = "" + } else { + x.NetworkPluginName = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NetworkPluginDir = "" + } else { + x.NetworkPluginDir = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.VolumePluginDir = "" + } else { + x.VolumePluginDir = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.CloudProvider = "" + } else { + x.CloudProvider = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.CloudConfigFile = "" + } else { + x.CloudConfigFile = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.KubeletCgroups = "" + } else { + x.KubeletCgroups = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.CgroupsPerQOS = false + } else { + x.CgroupsPerQOS = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RuntimeCgroups = "" + } else { + x.RuntimeCgroups = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.SystemCgroups = "" + } else { + x.SystemCgroups = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.CgroupRoot = "" + } else { + x.CgroupRoot = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ContainerRuntime = "" + } else { + x.ContainerRuntime = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RuntimeRequestTimeout = pkg1_unversioned.Duration{} + } else { + yyv631 := &x.RuntimeRequestTimeout + yym632 := z.DecBinary() + _ = yym632 + if false { + } else if z.HasExtensions() && z.DecExt(yyv631) { + } else if !yym632 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv631) + } else { + z.DecFallback(yyv631, false) + } + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RktPath = "" + } else { + x.RktPath = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RktAPIEndpoint = "" + } else { + x.RktAPIEndpoint = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RktStage1Image = "" + } else { + x.RktStage1Image = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LockFilePath = "" + } else { + x.LockFilePath = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ExitOnLockContention = false + } else { + x.ExitOnLockContention = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ConfigureCBR0 = false + } else { + x.ConfigureCBR0 = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HairpinMode = "" + } else { + x.HairpinMode = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.BabysitDaemons = false + } else { + x.BabysitDaemons = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MaxPods = 0 + } else { + x.MaxPods = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NvidiaGPUs = 0 + } else { + x.NvidiaGPUs = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.DockerExecHandlerName = "" + } else { + x.DockerExecHandlerName = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PodCIDR = "" + } else { + x.PodCIDR = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ResolverConfig = "" + } else { + x.ResolverConfig = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.CPUCFSQuota = false + } else { + x.CPUCFSQuota = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Containerized = false + } else { + x.Containerized = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MaxOpenFiles = 0 + } else { + x.MaxOpenFiles = int64(r.DecodeInt(64)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ReconcileCIDR = false + } else { + x.ReconcileCIDR = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RegisterSchedulable = false + } else { + x.RegisterSchedulable = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ContentType = "" + } else { + x.ContentType = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.KubeAPIQPS = 0 + } else { + x.KubeAPIQPS = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.KubeAPIBurst = 0 + } else { + x.KubeAPIBurst = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.SerializeImagePulls = false + } else { + x.SerializeImagePulls = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ExperimentalFlannelOverlay = false + } else { + x.ExperimentalFlannelOverlay = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.OutOfDiskTransitionFrequency = pkg1_unversioned.Duration{} + } else { + yyv656 := &x.OutOfDiskTransitionFrequency + yym657 := z.DecBinary() + _ = yym657 + if false { + } else if z.HasExtensions() && z.DecExt(yyv656) { + } else if !yym657 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv656) + } else { + z.DecFallback(yyv656, false) + } + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NodeIP = "" + } else { + x.NodeIP = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NodeLabels = nil + } else { + yyv659 := &x.NodeLabels + yym660 := z.DecBinary() + _ = yym660 + if false { + } else { + z.F.DecMapStringStringX(yyv659, false, d) + } + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NonMasqueradeCIDR = "" + } else { + x.NonMasqueradeCIDR = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EnableCustomMetrics = false + } else { + x.EnableCustomMetrics = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EvictionHard = "" + } else { + x.EvictionHard = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EvictionSoft = "" + } else { + x.EvictionSoft = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EvictionSoftGracePeriod = "" + } else { + x.EvictionSoftGracePeriod = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EvictionPressureTransitionPeriod = pkg1_unversioned.Duration{} + } else { + yyv666 := &x.EvictionPressureTransitionPeriod + yym667 := z.DecBinary() + _ = yym667 + if false { + } else if z.HasExtensions() && z.DecExt(yyv666) { + } else if !yym667 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv666) + } else { + z.DecFallback(yyv666, false) + } + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EvictionMaxPodGracePeriod = 0 + } else { + x.EvictionMaxPodGracePeriod = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EvictionMinimumReclaim = "" + } else { + x.EvictionMinimumReclaim = string(r.DecodeString()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PodsPerCore = 0 + } else { + x.PodsPerCore = int32(r.DecodeInt(32)) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EnableControllerAttachDetach = false + } else { + x.EnableControllerAttachDetach = bool(r.DecodeBool()) + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.SystemReserved = nil + } else { + yyv672 := &x.SystemReserved + yym673 := z.DecBinary() + _ = yym673 + if false { + } else if z.HasExtensions() && z.DecExt(yyv672) { + } else { + h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv672), d) + } + } + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.KubeReserved = nil + } else { + yyv674 := &x.KubeReserved + yym675 := z.DecBinary() + _ = yym675 + if false { + } else if z.HasExtensions() && z.DecExt(yyv674) { + } else { + h.decconfig_ConfigurationMap((*pkg2_config.ConfigurationMap)(yyv674), d) + } + } + for { + yyj561++ + if yyhl561 { + yyb561 = yyj561 > l + } else { + yyb561 = r.CheckBreak() + } + if yyb561 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj118-1, "") + z.DecStructFieldNotFound(yyj561-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5870,35 +5870,85 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym676 := z.EncBinary() + _ = yym676 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [14]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[12] = x.Kind != "" - yyq2[13] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep677 := !z.EncBinary() + yy2arr677 := z.EncBasicHandle().StructToArray + var yyq677 [14]bool + _, _, _ = yysep677, yyq677, yy2arr677 + const yyr677 bool = false + yyq677[0] = x.Kind != "" + yyq677[1] = x.APIVersion != "" + var yynn677 int + if yyr677 || yy2arr677 { r.EncodeArrayStart(14) } else { - yynn2 = 12 - for _, b := range yyq2 { + yynn677 = 12 + for _, b := range yyq677 { if b { - yynn2++ + yynn677++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn677) + yynn677 = 0 } - if yyr2 || yy2arr2 { + if yyr677 || yy2arr677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + if yyq677[0] { + yym679 := z.EncBinary() + _ = yym679 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq677[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym680 := z.EncBinary() + _ = yym680 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr677 || yy2arr677 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq677[1] { + yym682 := z.EncBinary() + _ = yym682 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq677[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym683 := z.EncBinary() + _ = yym683 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr677 || yy2arr677 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym685 := z.EncBinary() + _ = yym685 if false { } else { r.EncodeInt(int64(x.Port)) @@ -5907,17 +5957,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym686 := z.EncBinary() + _ = yym686 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2 || yy2arr2 { + if yyr677 || yy2arr677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym688 := z.EncBinary() + _ = yym688 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -5926,17 +5976,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym689 := z.EncBinary() + _ = yym689 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr2 || yy2arr2 { + if yyr677 || yy2arr677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym691 := z.EncBinary() + _ = yym691 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.AlgorithmProvider)) @@ -5945,17 +5995,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("algorithmProvider")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym692 := z.EncBinary() + _ = yym692 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.AlgorithmProvider)) } } - if yyr2 || yy2arr2 { + if yyr677 || yy2arr677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 + yym694 := z.EncBinary() + _ = yym694 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PolicyConfigFile)) @@ -5964,17 +6014,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("policyConfigFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym695 := z.EncBinary() + _ = yym695 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PolicyConfigFile)) } } - if yyr2 || yy2arr2 { + if yyr677 || yy2arr677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym16 := z.EncBinary() - _ = yym16 + yym697 := z.EncBinary() + _ = yym697 if false { } else { r.EncodeBool(bool(x.EnableProfiling)) @@ -5983,17 +6033,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableProfiling")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym698 := z.EncBinary() + _ = yym698 if false { } else { r.EncodeBool(bool(x.EnableProfiling)) } } - if yyr2 || yy2arr2 { + if yyr677 || yy2arr677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym19 := z.EncBinary() - _ = yym19 + yym700 := z.EncBinary() + _ = yym700 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) @@ -6002,17 +6052,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("contentType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym701 := z.EncBinary() + _ = yym701 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) } } - if yyr2 || yy2arr2 { + if yyr677 || yy2arr677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym22 := z.EncBinary() - _ = yym22 + yym703 := z.EncBinary() + _ = yym703 if false { } else { r.EncodeFloat32(float32(x.KubeAPIQPS)) @@ -6021,17 +6071,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeAPIQPS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym704 := z.EncBinary() + _ = yym704 if false { } else { r.EncodeFloat32(float32(x.KubeAPIQPS)) } } - if yyr2 || yy2arr2 { + if yyr677 || yy2arr677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym25 := z.EncBinary() - _ = yym25 + yym706 := z.EncBinary() + _ = yym706 if false { } else { r.EncodeInt(int64(x.KubeAPIBurst)) @@ -6040,17 +6090,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeAPIBurst")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym26 := z.EncBinary() - _ = yym26 + yym707 := z.EncBinary() + _ = yym707 if false { } else { r.EncodeInt(int64(x.KubeAPIBurst)) } } - if yyr2 || yy2arr2 { + if yyr677 || yy2arr677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym28 := z.EncBinary() - _ = yym28 + yym709 := z.EncBinary() + _ = yym709 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SchedulerName)) @@ -6059,17 +6109,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("schedulerName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym29 := z.EncBinary() - _ = yym29 + yym710 := z.EncBinary() + _ = yym710 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SchedulerName)) } } - if yyr2 || yy2arr2 { + if yyr677 || yy2arr677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym31 := z.EncBinary() - _ = yym31 + yym712 := z.EncBinary() + _ = yym712 if false { } else { r.EncodeInt(int64(x.HardPodAffinitySymmetricWeight)) @@ -6078,17 +6128,17 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hardPodAffinitySymmetricWeight")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym32 := z.EncBinary() - _ = yym32 + yym713 := z.EncBinary() + _ = yym713 if false { } else { r.EncodeInt(int64(x.HardPodAffinitySymmetricWeight)) } } - if yyr2 || yy2arr2 { + if yyr677 || yy2arr677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym34 := z.EncBinary() - _ = yym34 + yym715 := z.EncBinary() + _ = yym715 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FailureDomains)) @@ -6097,75 +6147,25 @@ func (x *KubeSchedulerConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failureDomains")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym35 := z.EncBinary() - _ = yym35 + yym716 := z.EncBinary() + _ = yym716 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FailureDomains)) } } - if yyr2 || yy2arr2 { + if yyr677 || yy2arr677 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy37 := &x.LeaderElection - yy37.CodecEncodeSelf(e) + yy718 := &x.LeaderElection + yy718.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("leaderElection")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy39 := &x.LeaderElection - yy39.CodecEncodeSelf(e) + yy719 := &x.LeaderElection + yy719.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[12] { - yym42 := z.EncBinary() - _ = yym42 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[12] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym43 := z.EncBinary() - _ = yym43 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { - yym45 := z.EncBinary() - _ = yym45 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[13] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym46 := z.EncBinary() - _ = yym46 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr677 || yy2arr677 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6178,25 +6178,25 @@ func (x *KubeSchedulerConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym720 := z.DecBinary() + _ = yym720 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct721 := r.ContainerType() + if yyct721 == codecSelferValueTypeMap1234 { + yyl721 := r.ReadMapStart() + if yyl721 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl721, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct721 == codecSelferValueTypeArray1234 { + yyl721 := r.ReadArrayStart() + if yyl721 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl721, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6208,12 +6208,12 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys722Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys722Slc + var yyhl722 bool = l >= 0 + for yyj722 := 0; ; yyj722++ { + if yyhl722 { + if yyj722 >= l { break } } else { @@ -6222,10 +6222,22 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys722Slc = r.DecodeBytes(yys722Slc, true, true) + yys722 := string(yys722Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys722 { + 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 "port": if r.TryDecodeAsNil() { x.Port = 0 @@ -6296,25 +6308,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromMap(l int, d *codec1978. if r.TryDecodeAsNil() { x.LeaderElection = LeaderElectionConfiguration{} } else { - yyv15 := &x.LeaderElection - yyv15.CodecDecodeSelf(d) - } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) + yyv736 := &x.LeaderElection + yyv736.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys722) + } // end switch yys722 + } // end for yyj722 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6322,209 +6322,16 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj18 int - var yyb18 bool - var yyhl18 bool = l >= 0 - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + var yyj737 int + var yyb737 bool + var yyhl737 bool = l >= 0 + yyj737++ + if yyhl737 { + yyb737 = yyj737 > l } else { - yyb18 = r.CheckBreak() + yyb737 = r.CheckBreak() } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int32(r.DecodeInt(32)) - } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Address = "" - } else { - x.Address = string(r.DecodeString()) - } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.AlgorithmProvider = "" - } else { - x.AlgorithmProvider = string(r.DecodeString()) - } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PolicyConfigFile = "" - } else { - x.PolicyConfigFile = string(r.DecodeString()) - } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableProfiling = false - } else { - x.EnableProfiling = bool(r.DecodeBool()) - } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ContentType = "" - } else { - x.ContentType = string(r.DecodeString()) - } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeAPIQPS = 0 - } else { - x.KubeAPIQPS = float32(r.DecodeFloat(true)) - } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeAPIBurst = 0 - } else { - x.KubeAPIBurst = int32(r.DecodeInt(32)) - } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SchedulerName = "" - } else { - x.SchedulerName = string(r.DecodeString()) - } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HardPodAffinitySymmetricWeight = 0 - } else { - x.HardPodAffinitySymmetricWeight = int(r.DecodeInt(codecSelferBitsize1234)) - } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.FailureDomains = "" - } else { - x.FailureDomains = string(r.DecodeString()) - } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LeaderElection = LeaderElectionConfiguration{} - } else { - yyv30 := &x.LeaderElection - yyv30.CodecDecodeSelf(d) - } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l - } else { - yyb18 = r.CheckBreak() - } - if yyb18 { + if yyb737 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6534,13 +6341,13 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj737++ + if yyhl737 { + yyb737 = yyj737 > l } else { - yyb18 = r.CheckBreak() + yyb737 = r.CheckBreak() } - if yyb18 { + if yyb737 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6550,18 +6357,211 @@ func (x *KubeSchedulerConfiguration) codecDecodeSelfFromArray(l int, d *codec197 } else { x.APIVersion = string(r.DecodeString()) } + yyj737++ + if yyhl737 { + yyb737 = yyj737 > l + } else { + yyb737 = r.CheckBreak() + } + if yyb737 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Port = 0 + } else { + x.Port = int32(r.DecodeInt(32)) + } + yyj737++ + if yyhl737 { + yyb737 = yyj737 > l + } else { + yyb737 = r.CheckBreak() + } + if yyb737 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Address = "" + } else { + x.Address = string(r.DecodeString()) + } + yyj737++ + if yyhl737 { + yyb737 = yyj737 > l + } else { + yyb737 = r.CheckBreak() + } + if yyb737 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.AlgorithmProvider = "" + } else { + x.AlgorithmProvider = string(r.DecodeString()) + } + yyj737++ + if yyhl737 { + yyb737 = yyj737 > l + } else { + yyb737 = r.CheckBreak() + } + if yyb737 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PolicyConfigFile = "" + } else { + x.PolicyConfigFile = string(r.DecodeString()) + } + yyj737++ + if yyhl737 { + yyb737 = yyj737 > l + } else { + yyb737 = r.CheckBreak() + } + if yyb737 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EnableProfiling = false + } else { + x.EnableProfiling = bool(r.DecodeBool()) + } + yyj737++ + if yyhl737 { + yyb737 = yyj737 > l + } else { + yyb737 = r.CheckBreak() + } + if yyb737 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ContentType = "" + } else { + x.ContentType = string(r.DecodeString()) + } + yyj737++ + if yyhl737 { + yyb737 = yyj737 > l + } else { + yyb737 = r.CheckBreak() + } + if yyb737 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.KubeAPIQPS = 0 + } else { + x.KubeAPIQPS = float32(r.DecodeFloat(true)) + } + yyj737++ + if yyhl737 { + yyb737 = yyj737 > l + } else { + yyb737 = r.CheckBreak() + } + if yyb737 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.KubeAPIBurst = 0 + } else { + x.KubeAPIBurst = int32(r.DecodeInt(32)) + } + yyj737++ + if yyhl737 { + yyb737 = yyj737 > l + } else { + yyb737 = r.CheckBreak() + } + if yyb737 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.SchedulerName = "" + } else { + x.SchedulerName = string(r.DecodeString()) + } + yyj737++ + if yyhl737 { + yyb737 = yyj737 > l + } else { + yyb737 = r.CheckBreak() + } + if yyb737 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HardPodAffinitySymmetricWeight = 0 + } else { + x.HardPodAffinitySymmetricWeight = int(r.DecodeInt(codecSelferBitsize1234)) + } + yyj737++ + if yyhl737 { + yyb737 = yyj737 > l + } else { + yyb737 = r.CheckBreak() + } + if yyb737 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.FailureDomains = "" + } else { + x.FailureDomains = string(r.DecodeString()) + } + yyj737++ + if yyhl737 { + yyb737 = yyj737 > l + } else { + yyb737 = r.CheckBreak() + } + if yyb737 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LeaderElection = LeaderElectionConfiguration{} + } else { + yyv751 := &x.LeaderElection + yyv751.CodecDecodeSelf(d) + } for { - yyj18++ - if yyhl18 { - yyb18 = yyj18 > l + yyj737++ + if yyhl737 { + yyb737 = yyj737 > l } else { - yyb18 = r.CheckBreak() + yyb737 = r.CheckBreak() } - if yyb18 { + if yyb737 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj18-1, "") + z.DecStructFieldNotFound(yyj737-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6573,33 +6573,33 @@ func (x *LeaderElectionConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym752 := z.EncBinary() + _ = yym752 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep753 := !z.EncBinary() + yy2arr753 := z.EncBasicHandle().StructToArray + var yyq753 [4]bool + _, _, _ = yysep753, yyq753, yy2arr753 + const yyr753 bool = false + var yynn753 int + if yyr753 || yy2arr753 { r.EncodeArrayStart(4) } else { - yynn2 = 4 - for _, b := range yyq2 { + yynn753 = 4 + for _, b := range yyq753 { if b { - yynn2++ + yynn753++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn753) + yynn753 = 0 } - if yyr2 || yy2arr2 { + if yyr753 || yy2arr753 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym755 := z.EncBinary() + _ = yym755 if false { } else { r.EncodeBool(bool(x.LeaderElect)) @@ -6608,95 +6608,95 @@ func (x *LeaderElectionConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("leaderElect")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym756 := z.EncBinary() + _ = yym756 if false { } else { r.EncodeBool(bool(x.LeaderElect)) } } - if yyr2 || yy2arr2 { + if yyr753 || yy2arr753 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.LeaseDuration - yym8 := z.EncBinary() - _ = yym8 + yy758 := &x.LeaseDuration + yym759 := z.EncBinary() + _ = yym759 if false { - } else if z.HasExtensions() && z.EncExt(yy7) { - } else if !yym8 && z.IsJSONHandle() { - z.EncJSONMarshal(yy7) + } else if z.HasExtensions() && z.EncExt(yy758) { + } else if !yym759 && z.IsJSONHandle() { + z.EncJSONMarshal(yy758) } else { - z.EncFallback(yy7) + z.EncFallback(yy758) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("leaseDuration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.LeaseDuration - yym10 := z.EncBinary() - _ = yym10 + yy760 := &x.LeaseDuration + yym761 := z.EncBinary() + _ = yym761 if false { - } else if z.HasExtensions() && z.EncExt(yy9) { - } else if !yym10 && z.IsJSONHandle() { - z.EncJSONMarshal(yy9) + } else if z.HasExtensions() && z.EncExt(yy760) { + } else if !yym761 && z.IsJSONHandle() { + z.EncJSONMarshal(yy760) } else { - z.EncFallback(yy9) + z.EncFallback(yy760) } } - if yyr2 || yy2arr2 { + if yyr753 || yy2arr753 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy12 := &x.RenewDeadline - yym13 := z.EncBinary() - _ = yym13 + yy763 := &x.RenewDeadline + yym764 := z.EncBinary() + _ = yym764 if false { - } else if z.HasExtensions() && z.EncExt(yy12) { - } else if !yym13 && z.IsJSONHandle() { - z.EncJSONMarshal(yy12) + } else if z.HasExtensions() && z.EncExt(yy763) { + } else if !yym764 && z.IsJSONHandle() { + z.EncJSONMarshal(yy763) } else { - z.EncFallback(yy12) + z.EncFallback(yy763) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("renewDeadline")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.RenewDeadline - yym15 := z.EncBinary() - _ = yym15 + yy765 := &x.RenewDeadline + yym766 := z.EncBinary() + _ = yym766 if false { - } else if z.HasExtensions() && z.EncExt(yy14) { - } else if !yym15 && z.IsJSONHandle() { - z.EncJSONMarshal(yy14) + } else if z.HasExtensions() && z.EncExt(yy765) { + } else if !yym766 && z.IsJSONHandle() { + z.EncJSONMarshal(yy765) } else { - z.EncFallback(yy14) + z.EncFallback(yy765) } } - if yyr2 || yy2arr2 { + if yyr753 || yy2arr753 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy17 := &x.RetryPeriod - yym18 := z.EncBinary() - _ = yym18 + yy768 := &x.RetryPeriod + yym769 := z.EncBinary() + _ = yym769 if false { - } else if z.HasExtensions() && z.EncExt(yy17) { - } else if !yym18 && z.IsJSONHandle() { - z.EncJSONMarshal(yy17) + } else if z.HasExtensions() && z.EncExt(yy768) { + } else if !yym769 && z.IsJSONHandle() { + z.EncJSONMarshal(yy768) } else { - z.EncFallback(yy17) + z.EncFallback(yy768) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("retryPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy19 := &x.RetryPeriod - yym20 := z.EncBinary() - _ = yym20 + yy770 := &x.RetryPeriod + yym771 := z.EncBinary() + _ = yym771 if false { - } else if z.HasExtensions() && z.EncExt(yy19) { - } else if !yym20 && z.IsJSONHandle() { - z.EncJSONMarshal(yy19) + } else if z.HasExtensions() && z.EncExt(yy770) { + } else if !yym771 && z.IsJSONHandle() { + z.EncJSONMarshal(yy770) } else { - z.EncFallback(yy19) + z.EncFallback(yy770) } } - if yyr2 || yy2arr2 { + if yyr753 || yy2arr753 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6709,25 +6709,25 @@ func (x *LeaderElectionConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym772 := z.DecBinary() + _ = yym772 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct773 := r.ContainerType() + if yyct773 == codecSelferValueTypeMap1234 { + yyl773 := r.ReadMapStart() + if yyl773 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl773, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct773 == codecSelferValueTypeArray1234 { + yyl773 := r.ReadArrayStart() + if yyl773 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl773, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6739,12 +6739,12 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys774Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys774Slc + var yyhl774 bool = l >= 0 + for yyj774 := 0; ; yyj774++ { + if yyhl774 { + if yyj774 >= l { break } } else { @@ -6753,10 +6753,10 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys774Slc = r.DecodeBytes(yys774Slc, true, true) + yys774 := string(yys774Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys774 { case "leaderElect": if r.TryDecodeAsNil() { x.LeaderElect = false @@ -6767,51 +6767,51 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromMap(l int, d *codec1978 if r.TryDecodeAsNil() { x.LeaseDuration = pkg1_unversioned.Duration{} } else { - yyv5 := &x.LeaseDuration - yym6 := z.DecBinary() - _ = yym6 + yyv776 := &x.LeaseDuration + yym777 := z.DecBinary() + _ = yym777 if false { - } else if z.HasExtensions() && z.DecExt(yyv5) { - } else if !yym6 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv5) + } else if z.HasExtensions() && z.DecExt(yyv776) { + } else if !yym777 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv776) } else { - z.DecFallback(yyv5, false) + z.DecFallback(yyv776, false) } } case "renewDeadline": if r.TryDecodeAsNil() { x.RenewDeadline = pkg1_unversioned.Duration{} } else { - yyv7 := &x.RenewDeadline - yym8 := z.DecBinary() - _ = yym8 + yyv778 := &x.RenewDeadline + yym779 := z.DecBinary() + _ = yym779 if false { - } else if z.HasExtensions() && z.DecExt(yyv7) { - } else if !yym8 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv7) + } else if z.HasExtensions() && z.DecExt(yyv778) { + } else if !yym779 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv778) } else { - z.DecFallback(yyv7, false) + z.DecFallback(yyv778, false) } } case "retryPeriod": if r.TryDecodeAsNil() { x.RetryPeriod = pkg1_unversioned.Duration{} } else { - yyv9 := &x.RetryPeriod - yym10 := z.DecBinary() - _ = yym10 + yyv780 := &x.RetryPeriod + yym781 := z.DecBinary() + _ = yym781 if false { - } else if z.HasExtensions() && z.DecExt(yyv9) { - } else if !yym10 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv9) + } else if z.HasExtensions() && z.DecExt(yyv780) { + } else if !yym781 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv780) } else { - z.DecFallback(yyv9, false) + z.DecFallback(yyv780, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys774) + } // end switch yys774 + } // end for yyj774 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6819,16 +6819,16 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj782 int + var yyb782 bool + var yyhl782 bool = l >= 0 + yyj782++ + if yyhl782 { + yyb782 = yyj782 > l } else { - yyb11 = r.CheckBreak() + yyb782 = r.CheckBreak() } - if yyb11 { + if yyb782 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6838,13 +6838,13 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec19 } else { x.LeaderElect = bool(r.DecodeBool()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj782++ + if yyhl782 { + yyb782 = yyj782 > l } else { - yyb11 = r.CheckBreak() + yyb782 = r.CheckBreak() } - if yyb11 { + if yyb782 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6852,24 +6852,24 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.LeaseDuration = pkg1_unversioned.Duration{} } else { - yyv13 := &x.LeaseDuration - yym14 := z.DecBinary() - _ = yym14 + yyv784 := &x.LeaseDuration + yym785 := z.DecBinary() + _ = yym785 if false { - } else if z.HasExtensions() && z.DecExt(yyv13) { - } else if !yym14 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv13) + } else if z.HasExtensions() && z.DecExt(yyv784) { + } else if !yym785 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv784) } else { - z.DecFallback(yyv13, false) + z.DecFallback(yyv784, false) } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj782++ + if yyhl782 { + yyb782 = yyj782 > l } else { - yyb11 = r.CheckBreak() + yyb782 = r.CheckBreak() } - if yyb11 { + if yyb782 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6877,24 +6877,24 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.RenewDeadline = pkg1_unversioned.Duration{} } else { - yyv15 := &x.RenewDeadline - yym16 := z.DecBinary() - _ = yym16 + yyv786 := &x.RenewDeadline + yym787 := z.DecBinary() + _ = yym787 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { - } else if !yym16 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv15) + } else if z.HasExtensions() && z.DecExt(yyv786) { + } else if !yym787 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv786) } else { - z.DecFallback(yyv15, false) + z.DecFallback(yyv786, false) } } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj782++ + if yyhl782 { + yyb782 = yyj782 > l } else { - yyb11 = r.CheckBreak() + yyb782 = r.CheckBreak() } - if yyb11 { + if yyb782 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6902,29 +6902,29 @@ func (x *LeaderElectionConfiguration) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.RetryPeriod = pkg1_unversioned.Duration{} } else { - yyv17 := &x.RetryPeriod - yym18 := z.DecBinary() - _ = yym18 + yyv788 := &x.RetryPeriod + yym789 := z.DecBinary() + _ = yym789 if false { - } else if z.HasExtensions() && z.DecExt(yyv17) { - } else if !yym18 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv17) + } else if z.HasExtensions() && z.DecExt(yyv788) { + } else if !yym789 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv788) } else { - z.DecFallback(yyv17, false) + z.DecFallback(yyv788, false) } } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj782++ + if yyhl782 { + yyb782 = yyj782 > l } else { - yyb11 = r.CheckBreak() + yyb782 = r.CheckBreak() } - if yyb11 { + if yyb782 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj782-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6936,35 +6936,85 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym790 := z.EncBinary() + _ = yym790 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [54]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[52] = x.Kind != "" - yyq2[53] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep791 := !z.EncBinary() + yy2arr791 := z.EncBasicHandle().StructToArray + var yyq791 [54]bool + _, _, _ = yysep791, yyq791, yy2arr791 + const yyr791 bool = false + yyq791[0] = x.Kind != "" + yyq791[1] = x.APIVersion != "" + var yynn791 int + if yyr791 || yy2arr791 { r.EncodeArrayStart(54) } else { - yynn2 = 52 - for _, b := range yyq2 { + yynn791 = 52 + for _, b := range yyq791 { if b { - yynn2++ + yynn791++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn791) + yynn791 = 0 } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + if yyq791[0] { + yym793 := z.EncBinary() + _ = yym793 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq791[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym794 := z.EncBinary() + _ = yym794 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr791 || yy2arr791 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq791[1] { + yym796 := z.EncBinary() + _ = yym796 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq791[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym797 := z.EncBinary() + _ = yym797 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr791 || yy2arr791 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym799 := z.EncBinary() + _ = yym799 if false { } else { r.EncodeInt(int64(x.Port)) @@ -6973,17 +7023,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym800 := z.EncBinary() + _ = yym800 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym802 := z.EncBinary() + _ = yym802 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -6992,17 +7042,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym803 := z.EncBinary() + _ = yym803 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym805 := z.EncBinary() + _ = yym805 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) @@ -7011,17 +7061,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cloudProvider")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym806 := z.EncBinary() + _ = yym806 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudProvider)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 + yym808 := z.EncBinary() + _ = yym808 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) @@ -7030,17 +7080,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cloudConfigFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym809 := z.EncBinary() + _ = yym809 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.CloudConfigFile)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym16 := z.EncBinary() - _ = yym16 + yym811 := z.EncBinary() + _ = yym811 if false { } else { r.EncodeInt(int64(x.ConcurrentEndpointSyncs)) @@ -7049,17 +7099,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentEndpointSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym812 := z.EncBinary() + _ = yym812 if false { } else { r.EncodeInt(int64(x.ConcurrentEndpointSyncs)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym19 := z.EncBinary() - _ = yym19 + yym814 := z.EncBinary() + _ = yym814 if false { } else { r.EncodeInt(int64(x.ConcurrentRSSyncs)) @@ -7068,17 +7118,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentRSSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym815 := z.EncBinary() + _ = yym815 if false { } else { r.EncodeInt(int64(x.ConcurrentRSSyncs)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym22 := z.EncBinary() - _ = yym22 + yym817 := z.EncBinary() + _ = yym817 if false { } else { r.EncodeInt(int64(x.ConcurrentRCSyncs)) @@ -7087,17 +7137,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentRCSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym818 := z.EncBinary() + _ = yym818 if false { } else { r.EncodeInt(int64(x.ConcurrentRCSyncs)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym25 := z.EncBinary() - _ = yym25 + yym820 := z.EncBinary() + _ = yym820 if false { } else { r.EncodeInt(int64(x.ConcurrentServiceSyncs)) @@ -7106,17 +7156,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentServiceSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym26 := z.EncBinary() - _ = yym26 + yym821 := z.EncBinary() + _ = yym821 if false { } else { r.EncodeInt(int64(x.ConcurrentServiceSyncs)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym28 := z.EncBinary() - _ = yym28 + yym823 := z.EncBinary() + _ = yym823 if false { } else { r.EncodeInt(int64(x.ConcurrentResourceQuotaSyncs)) @@ -7125,17 +7175,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentResourceQuotaSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym29 := z.EncBinary() - _ = yym29 + yym824 := z.EncBinary() + _ = yym824 if false { } else { r.EncodeInt(int64(x.ConcurrentResourceQuotaSyncs)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym31 := z.EncBinary() - _ = yym31 + yym826 := z.EncBinary() + _ = yym826 if false { } else { r.EncodeInt(int64(x.ConcurrentDeploymentSyncs)) @@ -7144,17 +7194,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentDeploymentSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym32 := z.EncBinary() - _ = yym32 + yym827 := z.EncBinary() + _ = yym827 if false { } else { r.EncodeInt(int64(x.ConcurrentDeploymentSyncs)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym34 := z.EncBinary() - _ = yym34 + yym829 := z.EncBinary() + _ = yym829 if false { } else { r.EncodeInt(int64(x.ConcurrentDaemonSetSyncs)) @@ -7163,17 +7213,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentDaemonSetSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym35 := z.EncBinary() - _ = yym35 + yym830 := z.EncBinary() + _ = yym830 if false { } else { r.EncodeInt(int64(x.ConcurrentDaemonSetSyncs)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym37 := z.EncBinary() - _ = yym37 + yym832 := z.EncBinary() + _ = yym832 if false { } else { r.EncodeInt(int64(x.ConcurrentJobSyncs)) @@ -7182,17 +7232,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentJobSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym38 := z.EncBinary() - _ = yym38 + yym833 := z.EncBinary() + _ = yym833 if false { } else { r.EncodeInt(int64(x.ConcurrentJobSyncs)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym40 := z.EncBinary() - _ = yym40 + yym835 := z.EncBinary() + _ = yym835 if false { } else { r.EncodeInt(int64(x.ConcurrentNamespaceSyncs)) @@ -7201,17 +7251,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentNamespaceSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym41 := z.EncBinary() - _ = yym41 + yym836 := z.EncBinary() + _ = yym836 if false { } else { r.EncodeInt(int64(x.ConcurrentNamespaceSyncs)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym43 := z.EncBinary() - _ = yym43 + yym838 := z.EncBinary() + _ = yym838 if false { } else { r.EncodeInt(int64(x.ConcurrentSATokenSyncs)) @@ -7220,17 +7270,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentSATokenSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym44 := z.EncBinary() - _ = yym44 + yym839 := z.EncBinary() + _ = yym839 if false { } else { r.EncodeInt(int64(x.ConcurrentSATokenSyncs)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym46 := z.EncBinary() - _ = yym46 + yym841 := z.EncBinary() + _ = yym841 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForRC)) @@ -7239,17 +7289,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lookupCacheSizeForRC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym47 := z.EncBinary() - _ = yym47 + yym842 := z.EncBinary() + _ = yym842 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForRC)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym49 := z.EncBinary() - _ = yym49 + yym844 := z.EncBinary() + _ = yym844 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForRS)) @@ -7258,17 +7308,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lookupCacheSizeForRS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym50 := z.EncBinary() - _ = yym50 + yym845 := z.EncBinary() + _ = yym845 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForRS)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym52 := z.EncBinary() - _ = yym52 + yym847 := z.EncBinary() + _ = yym847 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForDaemonSet)) @@ -7277,179 +7327,179 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lookupCacheSizeForDaemonSet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym53 := z.EncBinary() - _ = yym53 + yym848 := z.EncBinary() + _ = yym848 if false { } else { r.EncodeInt(int64(x.LookupCacheSizeForDaemonSet)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy55 := &x.ServiceSyncPeriod - yym56 := z.EncBinary() - _ = yym56 + yy850 := &x.ServiceSyncPeriod + yym851 := z.EncBinary() + _ = yym851 if false { - } else if z.HasExtensions() && z.EncExt(yy55) { - } else if !yym56 && z.IsJSONHandle() { - z.EncJSONMarshal(yy55) + } else if z.HasExtensions() && z.EncExt(yy850) { + } else if !yym851 && z.IsJSONHandle() { + z.EncJSONMarshal(yy850) } else { - z.EncFallback(yy55) + z.EncFallback(yy850) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceSyncPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy57 := &x.ServiceSyncPeriod - yym58 := z.EncBinary() - _ = yym58 + yy852 := &x.ServiceSyncPeriod + yym853 := z.EncBinary() + _ = yym853 if false { - } else if z.HasExtensions() && z.EncExt(yy57) { - } else if !yym58 && z.IsJSONHandle() { - z.EncJSONMarshal(yy57) + } else if z.HasExtensions() && z.EncExt(yy852) { + } else if !yym853 && z.IsJSONHandle() { + z.EncJSONMarshal(yy852) } else { - z.EncFallback(yy57) + z.EncFallback(yy852) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy60 := &x.NodeSyncPeriod - yym61 := z.EncBinary() - _ = yym61 + yy855 := &x.NodeSyncPeriod + yym856 := z.EncBinary() + _ = yym856 if false { - } else if z.HasExtensions() && z.EncExt(yy60) { - } else if !yym61 && z.IsJSONHandle() { - z.EncJSONMarshal(yy60) + } else if z.HasExtensions() && z.EncExt(yy855) { + } else if !yym856 && z.IsJSONHandle() { + z.EncJSONMarshal(yy855) } else { - z.EncFallback(yy60) + z.EncFallback(yy855) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeSyncPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy62 := &x.NodeSyncPeriod - yym63 := z.EncBinary() - _ = yym63 + yy857 := &x.NodeSyncPeriod + yym858 := z.EncBinary() + _ = yym858 if false { - } else if z.HasExtensions() && z.EncExt(yy62) { - } else if !yym63 && z.IsJSONHandle() { - z.EncJSONMarshal(yy62) + } else if z.HasExtensions() && z.EncExt(yy857) { + } else if !yym858 && z.IsJSONHandle() { + z.EncJSONMarshal(yy857) } else { - z.EncFallback(yy62) + z.EncFallback(yy857) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy65 := &x.ResourceQuotaSyncPeriod - yym66 := z.EncBinary() - _ = yym66 + yy860 := &x.ResourceQuotaSyncPeriod + yym861 := z.EncBinary() + _ = yym861 if false { - } else if z.HasExtensions() && z.EncExt(yy65) { - } else if !yym66 && z.IsJSONHandle() { - z.EncJSONMarshal(yy65) + } else if z.HasExtensions() && z.EncExt(yy860) { + } else if !yym861 && z.IsJSONHandle() { + z.EncJSONMarshal(yy860) } else { - z.EncFallback(yy65) + z.EncFallback(yy860) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceQuotaSyncPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy67 := &x.ResourceQuotaSyncPeriod - yym68 := z.EncBinary() - _ = yym68 + yy862 := &x.ResourceQuotaSyncPeriod + yym863 := z.EncBinary() + _ = yym863 if false { - } else if z.HasExtensions() && z.EncExt(yy67) { - } else if !yym68 && z.IsJSONHandle() { - z.EncJSONMarshal(yy67) + } else if z.HasExtensions() && z.EncExt(yy862) { + } else if !yym863 && z.IsJSONHandle() { + z.EncJSONMarshal(yy862) } else { - z.EncFallback(yy67) + z.EncFallback(yy862) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy70 := &x.NamespaceSyncPeriod - yym71 := z.EncBinary() - _ = yym71 + yy865 := &x.NamespaceSyncPeriod + yym866 := z.EncBinary() + _ = yym866 if false { - } else if z.HasExtensions() && z.EncExt(yy70) { - } else if !yym71 && z.IsJSONHandle() { - z.EncJSONMarshal(yy70) + } else if z.HasExtensions() && z.EncExt(yy865) { + } else if !yym866 && z.IsJSONHandle() { + z.EncJSONMarshal(yy865) } else { - z.EncFallback(yy70) + z.EncFallback(yy865) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespaceSyncPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy72 := &x.NamespaceSyncPeriod - yym73 := z.EncBinary() - _ = yym73 + yy867 := &x.NamespaceSyncPeriod + yym868 := z.EncBinary() + _ = yym868 if false { - } else if z.HasExtensions() && z.EncExt(yy72) { - } else if !yym73 && z.IsJSONHandle() { - z.EncJSONMarshal(yy72) + } else if z.HasExtensions() && z.EncExt(yy867) { + } else if !yym868 && z.IsJSONHandle() { + z.EncJSONMarshal(yy867) } else { - z.EncFallback(yy72) + z.EncFallback(yy867) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy75 := &x.PVClaimBinderSyncPeriod - yym76 := z.EncBinary() - _ = yym76 + yy870 := &x.PVClaimBinderSyncPeriod + yym871 := z.EncBinary() + _ = yym871 if false { - } else if z.HasExtensions() && z.EncExt(yy75) { - } else if !yym76 && z.IsJSONHandle() { - z.EncJSONMarshal(yy75) + } else if z.HasExtensions() && z.EncExt(yy870) { + } else if !yym871 && z.IsJSONHandle() { + z.EncJSONMarshal(yy870) } else { - z.EncFallback(yy75) + z.EncFallback(yy870) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pvClaimBinderSyncPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy77 := &x.PVClaimBinderSyncPeriod - yym78 := z.EncBinary() - _ = yym78 + yy872 := &x.PVClaimBinderSyncPeriod + yym873 := z.EncBinary() + _ = yym873 if false { - } else if z.HasExtensions() && z.EncExt(yy77) { - } else if !yym78 && z.IsJSONHandle() { - z.EncJSONMarshal(yy77) + } else if z.HasExtensions() && z.EncExt(yy872) { + } else if !yym873 && z.IsJSONHandle() { + z.EncJSONMarshal(yy872) } else { - z.EncFallback(yy77) + z.EncFallback(yy872) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy80 := &x.MinResyncPeriod - yym81 := z.EncBinary() - _ = yym81 + yy875 := &x.MinResyncPeriod + yym876 := z.EncBinary() + _ = yym876 if false { - } else if z.HasExtensions() && z.EncExt(yy80) { - } else if !yym81 && z.IsJSONHandle() { - z.EncJSONMarshal(yy80) + } else if z.HasExtensions() && z.EncExt(yy875) { + } else if !yym876 && z.IsJSONHandle() { + z.EncJSONMarshal(yy875) } else { - z.EncFallback(yy80) + z.EncFallback(yy875) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minResyncPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy82 := &x.MinResyncPeriod - yym83 := z.EncBinary() - _ = yym83 + yy877 := &x.MinResyncPeriod + yym878 := z.EncBinary() + _ = yym878 if false { - } else if z.HasExtensions() && z.EncExt(yy82) { - } else if !yym83 && z.IsJSONHandle() { - z.EncJSONMarshal(yy82) + } else if z.HasExtensions() && z.EncExt(yy877) { + } else if !yym878 && z.IsJSONHandle() { + z.EncJSONMarshal(yy877) } else { - z.EncFallback(yy82) + z.EncFallback(yy877) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym85 := z.EncBinary() - _ = yym85 + yym880 := z.EncBinary() + _ = yym880 if false { } else { r.EncodeInt(int64(x.TerminatedPodGCThreshold)) @@ -7458,98 +7508,98 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminatedPodGCThreshold")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym86 := z.EncBinary() - _ = yym86 + yym881 := z.EncBinary() + _ = yym881 if false { } else { r.EncodeInt(int64(x.TerminatedPodGCThreshold)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy88 := &x.HorizontalPodAutoscalerSyncPeriod - yym89 := z.EncBinary() - _ = yym89 + yy883 := &x.HorizontalPodAutoscalerSyncPeriod + yym884 := z.EncBinary() + _ = yym884 if false { - } else if z.HasExtensions() && z.EncExt(yy88) { - } else if !yym89 && z.IsJSONHandle() { - z.EncJSONMarshal(yy88) + } else if z.HasExtensions() && z.EncExt(yy883) { + } else if !yym884 && z.IsJSONHandle() { + z.EncJSONMarshal(yy883) } else { - z.EncFallback(yy88) + z.EncFallback(yy883) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("horizontalPodAutoscalerSyncPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy90 := &x.HorizontalPodAutoscalerSyncPeriod - yym91 := z.EncBinary() - _ = yym91 + yy885 := &x.HorizontalPodAutoscalerSyncPeriod + yym886 := z.EncBinary() + _ = yym886 if false { - } else if z.HasExtensions() && z.EncExt(yy90) { - } else if !yym91 && z.IsJSONHandle() { - z.EncJSONMarshal(yy90) + } else if z.HasExtensions() && z.EncExt(yy885) { + } else if !yym886 && z.IsJSONHandle() { + z.EncJSONMarshal(yy885) } else { - z.EncFallback(yy90) + z.EncFallback(yy885) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy93 := &x.DeploymentControllerSyncPeriod - yym94 := z.EncBinary() - _ = yym94 + yy888 := &x.DeploymentControllerSyncPeriod + yym889 := z.EncBinary() + _ = yym889 if false { - } else if z.HasExtensions() && z.EncExt(yy93) { - } else if !yym94 && z.IsJSONHandle() { - z.EncJSONMarshal(yy93) + } else if z.HasExtensions() && z.EncExt(yy888) { + } else if !yym889 && z.IsJSONHandle() { + z.EncJSONMarshal(yy888) } else { - z.EncFallback(yy93) + z.EncFallback(yy888) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deploymentControllerSyncPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy95 := &x.DeploymentControllerSyncPeriod - yym96 := z.EncBinary() - _ = yym96 + yy890 := &x.DeploymentControllerSyncPeriod + yym891 := z.EncBinary() + _ = yym891 if false { - } else if z.HasExtensions() && z.EncExt(yy95) { - } else if !yym96 && z.IsJSONHandle() { - z.EncJSONMarshal(yy95) + } else if z.HasExtensions() && z.EncExt(yy890) { + } else if !yym891 && z.IsJSONHandle() { + z.EncJSONMarshal(yy890) } else { - z.EncFallback(yy95) + z.EncFallback(yy890) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy98 := &x.PodEvictionTimeout - yym99 := z.EncBinary() - _ = yym99 + yy893 := &x.PodEvictionTimeout + yym894 := z.EncBinary() + _ = yym894 if false { - } else if z.HasExtensions() && z.EncExt(yy98) { - } else if !yym99 && z.IsJSONHandle() { - z.EncJSONMarshal(yy98) + } else if z.HasExtensions() && z.EncExt(yy893) { + } else if !yym894 && z.IsJSONHandle() { + z.EncJSONMarshal(yy893) } else { - z.EncFallback(yy98) + z.EncFallback(yy893) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podEvictionTimeout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy100 := &x.PodEvictionTimeout - yym101 := z.EncBinary() - _ = yym101 + yy895 := &x.PodEvictionTimeout + yym896 := z.EncBinary() + _ = yym896 if false { - } else if z.HasExtensions() && z.EncExt(yy100) { - } else if !yym101 && z.IsJSONHandle() { - z.EncJSONMarshal(yy100) + } else if z.HasExtensions() && z.EncExt(yy895) { + } else if !yym896 && z.IsJSONHandle() { + z.EncJSONMarshal(yy895) } else { - z.EncFallback(yy100) + z.EncFallback(yy895) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym103 := z.EncBinary() - _ = yym103 + yym898 := z.EncBinary() + _ = yym898 if false { } else { r.EncodeFloat32(float32(x.DeletingPodsQps)) @@ -7558,17 +7608,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deletingPodsQps")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym104 := z.EncBinary() - _ = yym104 + yym899 := z.EncBinary() + _ = yym899 if false { } else { r.EncodeFloat32(float32(x.DeletingPodsQps)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym106 := z.EncBinary() - _ = yym106 + yym901 := z.EncBinary() + _ = yym901 if false { } else { r.EncodeInt(int64(x.DeletingPodsBurst)) @@ -7577,44 +7627,44 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deletingPodsBurst")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym107 := z.EncBinary() - _ = yym107 + yym902 := z.EncBinary() + _ = yym902 if false { } else { r.EncodeInt(int64(x.DeletingPodsBurst)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy109 := &x.NodeMonitorGracePeriod - yym110 := z.EncBinary() - _ = yym110 + yy904 := &x.NodeMonitorGracePeriod + yym905 := z.EncBinary() + _ = yym905 if false { - } else if z.HasExtensions() && z.EncExt(yy109) { - } else if !yym110 && z.IsJSONHandle() { - z.EncJSONMarshal(yy109) + } else if z.HasExtensions() && z.EncExt(yy904) { + } else if !yym905 && z.IsJSONHandle() { + z.EncJSONMarshal(yy904) } else { - z.EncFallback(yy109) + z.EncFallback(yy904) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeMonitorGracePeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy111 := &x.NodeMonitorGracePeriod - yym112 := z.EncBinary() - _ = yym112 + yy906 := &x.NodeMonitorGracePeriod + yym907 := z.EncBinary() + _ = yym907 if false { - } else if z.HasExtensions() && z.EncExt(yy111) { - } else if !yym112 && z.IsJSONHandle() { - z.EncJSONMarshal(yy111) + } else if z.HasExtensions() && z.EncExt(yy906) { + } else if !yym907 && z.IsJSONHandle() { + z.EncJSONMarshal(yy906) } else { - z.EncFallback(yy111) + z.EncFallback(yy906) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym114 := z.EncBinary() - _ = yym114 + yym909 := z.EncBinary() + _ = yym909 if false { } else { r.EncodeInt(int64(x.RegisterRetryCount)) @@ -7623,71 +7673,71 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("registerRetryCount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym115 := z.EncBinary() - _ = yym115 + yym910 := z.EncBinary() + _ = yym910 if false { } else { r.EncodeInt(int64(x.RegisterRetryCount)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy117 := &x.NodeStartupGracePeriod - yym118 := z.EncBinary() - _ = yym118 + yy912 := &x.NodeStartupGracePeriod + yym913 := z.EncBinary() + _ = yym913 if false { - } else if z.HasExtensions() && z.EncExt(yy117) { - } else if !yym118 && z.IsJSONHandle() { - z.EncJSONMarshal(yy117) + } else if z.HasExtensions() && z.EncExt(yy912) { + } else if !yym913 && z.IsJSONHandle() { + z.EncJSONMarshal(yy912) } else { - z.EncFallback(yy117) + z.EncFallback(yy912) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeStartupGracePeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy119 := &x.NodeStartupGracePeriod - yym120 := z.EncBinary() - _ = yym120 + yy914 := &x.NodeStartupGracePeriod + yym915 := z.EncBinary() + _ = yym915 if false { - } else if z.HasExtensions() && z.EncExt(yy119) { - } else if !yym120 && z.IsJSONHandle() { - z.EncJSONMarshal(yy119) + } else if z.HasExtensions() && z.EncExt(yy914) { + } else if !yym915 && z.IsJSONHandle() { + z.EncJSONMarshal(yy914) } else { - z.EncFallback(yy119) + z.EncFallback(yy914) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy122 := &x.NodeMonitorPeriod - yym123 := z.EncBinary() - _ = yym123 + yy917 := &x.NodeMonitorPeriod + yym918 := z.EncBinary() + _ = yym918 if false { - } else if z.HasExtensions() && z.EncExt(yy122) { - } else if !yym123 && z.IsJSONHandle() { - z.EncJSONMarshal(yy122) + } else if z.HasExtensions() && z.EncExt(yy917) { + } else if !yym918 && z.IsJSONHandle() { + z.EncJSONMarshal(yy917) } else { - z.EncFallback(yy122) + z.EncFallback(yy917) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeMonitorPeriod")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy124 := &x.NodeMonitorPeriod - yym125 := z.EncBinary() - _ = yym125 + yy919 := &x.NodeMonitorPeriod + yym920 := z.EncBinary() + _ = yym920 if false { - } else if z.HasExtensions() && z.EncExt(yy124) { - } else if !yym125 && z.IsJSONHandle() { - z.EncJSONMarshal(yy124) + } else if z.HasExtensions() && z.EncExt(yy919) { + } else if !yym920 && z.IsJSONHandle() { + z.EncJSONMarshal(yy919) } else { - z.EncFallback(yy124) + z.EncFallback(yy919) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym127 := z.EncBinary() - _ = yym127 + yym922 := z.EncBinary() + _ = yym922 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountKeyFile)) @@ -7696,17 +7746,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceAccountKeyFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym128 := z.EncBinary() - _ = yym128 + yym923 := z.EncBinary() + _ = yym923 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountKeyFile)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym130 := z.EncBinary() - _ = yym130 + yym925 := z.EncBinary() + _ = yym925 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningCertFile)) @@ -7715,17 +7765,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterSigningCertFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym131 := z.EncBinary() - _ = yym131 + yym926 := z.EncBinary() + _ = yym926 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningCertFile)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym133 := z.EncBinary() - _ = yym133 + yym928 := z.EncBinary() + _ = yym928 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningKeyFile)) @@ -7734,17 +7784,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterSigningKeyFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym134 := z.EncBinary() - _ = yym134 + yym929 := z.EncBinary() + _ = yym929 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterSigningKeyFile)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym136 := z.EncBinary() - _ = yym136 + yym931 := z.EncBinary() + _ = yym931 if false { } else { r.EncodeBool(bool(x.EnableProfiling)) @@ -7753,17 +7803,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableProfiling")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym137 := z.EncBinary() - _ = yym137 + yym932 := z.EncBinary() + _ = yym932 if false { } else { r.EncodeBool(bool(x.EnableProfiling)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym139 := z.EncBinary() - _ = yym139 + yym934 := z.EncBinary() + _ = yym934 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterName)) @@ -7772,17 +7822,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym140 := z.EncBinary() - _ = yym140 + yym935 := z.EncBinary() + _ = yym935 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterName)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym142 := z.EncBinary() - _ = yym142 + yym937 := z.EncBinary() + _ = yym937 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) @@ -7791,17 +7841,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym143 := z.EncBinary() - _ = yym143 + yym938 := z.EncBinary() + _ = yym938 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterCIDR)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym145 := z.EncBinary() - _ = yym145 + yym940 := z.EncBinary() + _ = yym940 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceCIDR)) @@ -7810,17 +7860,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym146 := z.EncBinary() - _ = yym146 + yym941 := z.EncBinary() + _ = yym941 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceCIDR)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym148 := z.EncBinary() - _ = yym148 + yym943 := z.EncBinary() + _ = yym943 if false { } else { r.EncodeInt(int64(x.NodeCIDRMaskSize)) @@ -7829,17 +7879,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeCIDRMaskSize")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym149 := z.EncBinary() - _ = yym149 + yym944 := z.EncBinary() + _ = yym944 if false { } else { r.EncodeInt(int64(x.NodeCIDRMaskSize)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym151 := z.EncBinary() - _ = yym151 + yym946 := z.EncBinary() + _ = yym946 if false { } else { r.EncodeBool(bool(x.AllocateNodeCIDRs)) @@ -7848,17 +7898,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allocateNodeCIDRs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym152 := z.EncBinary() - _ = yym152 + yym947 := z.EncBinary() + _ = yym947 if false { } else { r.EncodeBool(bool(x.AllocateNodeCIDRs)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym154 := z.EncBinary() - _ = yym154 + yym949 := z.EncBinary() + _ = yym949 if false { } else { r.EncodeBool(bool(x.ConfigureCloudRoutes)) @@ -7867,17 +7917,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configureCloudRoutes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym155 := z.EncBinary() - _ = yym155 + yym950 := z.EncBinary() + _ = yym950 if false { } else { r.EncodeBool(bool(x.ConfigureCloudRoutes)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym157 := z.EncBinary() - _ = yym157 + yym952 := z.EncBinary() + _ = yym952 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RootCAFile)) @@ -7886,17 +7936,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rootCAFile")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym158 := z.EncBinary() - _ = yym158 + yym953 := z.EncBinary() + _ = yym953 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RootCAFile)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym160 := z.EncBinary() - _ = yym160 + yym955 := z.EncBinary() + _ = yym955 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) @@ -7905,17 +7955,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("contentType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym161 := z.EncBinary() - _ = yym161 + yym956 := z.EncBinary() + _ = yym956 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym163 := z.EncBinary() - _ = yym163 + yym958 := z.EncBinary() + _ = yym958 if false { } else { r.EncodeFloat32(float32(x.KubeAPIQPS)) @@ -7924,17 +7974,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeAPIQPS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym164 := z.EncBinary() - _ = yym164 + yym959 := z.EncBinary() + _ = yym959 if false { } else { r.EncodeFloat32(float32(x.KubeAPIQPS)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym166 := z.EncBinary() - _ = yym166 + yym961 := z.EncBinary() + _ = yym961 if false { } else { r.EncodeInt(int64(x.KubeAPIBurst)) @@ -7943,66 +7993,66 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeAPIBurst")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym167 := z.EncBinary() - _ = yym167 + yym962 := z.EncBinary() + _ = yym962 if false { } else { r.EncodeInt(int64(x.KubeAPIBurst)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy169 := &x.LeaderElection - yy169.CodecEncodeSelf(e) + yy964 := &x.LeaderElection + yy964.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("leaderElection")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy171 := &x.LeaderElection - yy171.CodecEncodeSelf(e) + yy965 := &x.LeaderElection + yy965.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy174 := &x.VolumeConfiguration - yy174.CodecEncodeSelf(e) + yy967 := &x.VolumeConfiguration + yy967.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeConfiguration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy176 := &x.VolumeConfiguration - yy176.CodecEncodeSelf(e) + yy968 := &x.VolumeConfiguration + yy968.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy179 := &x.ControllerStartInterval - yym180 := z.EncBinary() - _ = yym180 + yy970 := &x.ControllerStartInterval + yym971 := z.EncBinary() + _ = yym971 if false { - } else if z.HasExtensions() && z.EncExt(yy179) { - } else if !yym180 && z.IsJSONHandle() { - z.EncJSONMarshal(yy179) + } else if z.HasExtensions() && z.EncExt(yy970) { + } else if !yym971 && z.IsJSONHandle() { + z.EncJSONMarshal(yy970) } else { - z.EncFallback(yy179) + z.EncFallback(yy970) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("controllerStartInterval")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy181 := &x.ControllerStartInterval - yym182 := z.EncBinary() - _ = yym182 + yy972 := &x.ControllerStartInterval + yym973 := z.EncBinary() + _ = yym973 if false { - } else if z.HasExtensions() && z.EncExt(yy181) { - } else if !yym182 && z.IsJSONHandle() { - z.EncJSONMarshal(yy181) + } else if z.HasExtensions() && z.EncExt(yy972) { + } else if !yym973 && z.IsJSONHandle() { + z.EncJSONMarshal(yy972) } else { - z.EncFallback(yy181) + z.EncFallback(yy972) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym184 := z.EncBinary() - _ = yym184 + yym975 := z.EncBinary() + _ = yym975 if false { } else { r.EncodeBool(bool(x.EnableGarbageCollector)) @@ -8011,17 +8061,17 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableGarbageCollector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym185 := z.EncBinary() - _ = yym185 + yym976 := z.EncBinary() + _ = yym976 if false { } else { r.EncodeBool(bool(x.EnableGarbageCollector)) } } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym187 := z.EncBinary() - _ = yym187 + yym978 := z.EncBinary() + _ = yym978 if false { } else { r.EncodeInt(int64(x.ConcurrentGCSyncs)) @@ -8030,64 +8080,14 @@ func (x *KubeControllerManagerConfiguration) CodecEncodeSelf(e *codec1978.Encode z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("concurrentGCSyncs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym188 := z.EncBinary() - _ = yym188 + yym979 := z.EncBinary() + _ = yym979 if false { } else { r.EncodeInt(int64(x.ConcurrentGCSyncs)) } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[52] { - yym190 := z.EncBinary() - _ = yym190 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[52] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym191 := z.EncBinary() - _ = yym191 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[53] { - yym193 := z.EncBinary() - _ = yym193 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[53] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym194 := z.EncBinary() - _ = yym194 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr791 || yy2arr791 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8100,25 +8100,25 @@ func (x *KubeControllerManagerConfiguration) CodecDecodeSelf(d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym980 := z.DecBinary() + _ = yym980 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct981 := r.ContainerType() + if yyct981 == codecSelferValueTypeMap1234 { + yyl981 := r.ReadMapStart() + if yyl981 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl981, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct981 == codecSelferValueTypeArray1234 { + yyl981 := r.ReadArrayStart() + if yyl981 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl981, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8130,12 +8130,12 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys982Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys982Slc + var yyhl982 bool = l >= 0 + for yyj982 := 0; ; yyj982++ { + if yyhl982 { + if yyj982 >= l { break } } else { @@ -8144,10 +8144,22 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys982Slc = r.DecodeBytes(yys982Slc, true, true) + yys982 := string(yys982Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys982 { + 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 "port": if r.TryDecodeAsNil() { x.Port = 0 @@ -8254,90 +8266,90 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.ServiceSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv21 := &x.ServiceSyncPeriod - yym22 := z.DecBinary() - _ = yym22 + yyv1002 := &x.ServiceSyncPeriod + yym1003 := z.DecBinary() + _ = yym1003 if false { - } else if z.HasExtensions() && z.DecExt(yyv21) { - } else if !yym22 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv21) + } else if z.HasExtensions() && z.DecExt(yyv1002) { + } else if !yym1003 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1002) } else { - z.DecFallback(yyv21, false) + z.DecFallback(yyv1002, false) } } case "nodeSyncPeriod": if r.TryDecodeAsNil() { x.NodeSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv23 := &x.NodeSyncPeriod - yym24 := z.DecBinary() - _ = yym24 + yyv1004 := &x.NodeSyncPeriod + yym1005 := z.DecBinary() + _ = yym1005 if false { - } else if z.HasExtensions() && z.DecExt(yyv23) { - } else if !yym24 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv23) + } else if z.HasExtensions() && z.DecExt(yyv1004) { + } else if !yym1005 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1004) } else { - z.DecFallback(yyv23, false) + z.DecFallback(yyv1004, false) } } case "resourceQuotaSyncPeriod": if r.TryDecodeAsNil() { x.ResourceQuotaSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv25 := &x.ResourceQuotaSyncPeriod - yym26 := z.DecBinary() - _ = yym26 + yyv1006 := &x.ResourceQuotaSyncPeriod + yym1007 := z.DecBinary() + _ = yym1007 if false { - } else if z.HasExtensions() && z.DecExt(yyv25) { - } else if !yym26 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv25) + } else if z.HasExtensions() && z.DecExt(yyv1006) { + } else if !yym1007 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1006) } else { - z.DecFallback(yyv25, false) + z.DecFallback(yyv1006, false) } } case "namespaceSyncPeriod": if r.TryDecodeAsNil() { x.NamespaceSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv27 := &x.NamespaceSyncPeriod - yym28 := z.DecBinary() - _ = yym28 + yyv1008 := &x.NamespaceSyncPeriod + yym1009 := z.DecBinary() + _ = yym1009 if false { - } else if z.HasExtensions() && z.DecExt(yyv27) { - } else if !yym28 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv27) + } else if z.HasExtensions() && z.DecExt(yyv1008) { + } else if !yym1009 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1008) } else { - z.DecFallback(yyv27, false) + z.DecFallback(yyv1008, false) } } case "pvClaimBinderSyncPeriod": if r.TryDecodeAsNil() { x.PVClaimBinderSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv29 := &x.PVClaimBinderSyncPeriod - yym30 := z.DecBinary() - _ = yym30 + yyv1010 := &x.PVClaimBinderSyncPeriod + yym1011 := z.DecBinary() + _ = yym1011 if false { - } else if z.HasExtensions() && z.DecExt(yyv29) { - } else if !yym30 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv29) + } else if z.HasExtensions() && z.DecExt(yyv1010) { + } else if !yym1011 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1010) } else { - z.DecFallback(yyv29, false) + z.DecFallback(yyv1010, false) } } case "minResyncPeriod": if r.TryDecodeAsNil() { x.MinResyncPeriod = pkg1_unversioned.Duration{} } else { - yyv31 := &x.MinResyncPeriod - yym32 := z.DecBinary() - _ = yym32 + yyv1012 := &x.MinResyncPeriod + yym1013 := z.DecBinary() + _ = yym1013 if false { - } else if z.HasExtensions() && z.DecExt(yyv31) { - } else if !yym32 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv31) + } else if z.HasExtensions() && z.DecExt(yyv1012) { + } else if !yym1013 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1012) } else { - z.DecFallback(yyv31, false) + z.DecFallback(yyv1012, false) } } case "terminatedPodGCThreshold": @@ -8350,45 +8362,45 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.HorizontalPodAutoscalerSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv34 := &x.HorizontalPodAutoscalerSyncPeriod - yym35 := z.DecBinary() - _ = yym35 + yyv1015 := &x.HorizontalPodAutoscalerSyncPeriod + yym1016 := z.DecBinary() + _ = yym1016 if false { - } else if z.HasExtensions() && z.DecExt(yyv34) { - } else if !yym35 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv34) + } else if z.HasExtensions() && z.DecExt(yyv1015) { + } else if !yym1016 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1015) } else { - z.DecFallback(yyv34, false) + z.DecFallback(yyv1015, false) } } case "deploymentControllerSyncPeriod": if r.TryDecodeAsNil() { x.DeploymentControllerSyncPeriod = pkg1_unversioned.Duration{} } else { - yyv36 := &x.DeploymentControllerSyncPeriod - yym37 := z.DecBinary() - _ = yym37 + yyv1017 := &x.DeploymentControllerSyncPeriod + yym1018 := z.DecBinary() + _ = yym1018 if false { - } else if z.HasExtensions() && z.DecExt(yyv36) { - } else if !yym37 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv36) + } else if z.HasExtensions() && z.DecExt(yyv1017) { + } else if !yym1018 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1017) } else { - z.DecFallback(yyv36, false) + z.DecFallback(yyv1017, false) } } case "podEvictionTimeout": if r.TryDecodeAsNil() { x.PodEvictionTimeout = pkg1_unversioned.Duration{} } else { - yyv38 := &x.PodEvictionTimeout - yym39 := z.DecBinary() - _ = yym39 + yyv1019 := &x.PodEvictionTimeout + yym1020 := z.DecBinary() + _ = yym1020 if false { - } else if z.HasExtensions() && z.DecExt(yyv38) { - } else if !yym39 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv38) + } else if z.HasExtensions() && z.DecExt(yyv1019) { + } else if !yym1020 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1019) } else { - z.DecFallback(yyv38, false) + z.DecFallback(yyv1019, false) } } case "deletingPodsQps": @@ -8407,15 +8419,15 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.NodeMonitorGracePeriod = pkg1_unversioned.Duration{} } else { - yyv42 := &x.NodeMonitorGracePeriod - yym43 := z.DecBinary() - _ = yym43 + yyv1023 := &x.NodeMonitorGracePeriod + yym1024 := z.DecBinary() + _ = yym1024 if false { - } else if z.HasExtensions() && z.DecExt(yyv42) { - } else if !yym43 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv42) + } else if z.HasExtensions() && z.DecExt(yyv1023) { + } else if !yym1024 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1023) } else { - z.DecFallback(yyv42, false) + z.DecFallback(yyv1023, false) } } case "registerRetryCount": @@ -8428,30 +8440,30 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.NodeStartupGracePeriod = pkg1_unversioned.Duration{} } else { - yyv45 := &x.NodeStartupGracePeriod - yym46 := z.DecBinary() - _ = yym46 + yyv1026 := &x.NodeStartupGracePeriod + yym1027 := z.DecBinary() + _ = yym1027 if false { - } else if z.HasExtensions() && z.DecExt(yyv45) { - } else if !yym46 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv45) + } else if z.HasExtensions() && z.DecExt(yyv1026) { + } else if !yym1027 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1026) } else { - z.DecFallback(yyv45, false) + z.DecFallback(yyv1026, false) } } case "nodeMonitorPeriod": if r.TryDecodeAsNil() { x.NodeMonitorPeriod = pkg1_unversioned.Duration{} } else { - yyv47 := &x.NodeMonitorPeriod - yym48 := z.DecBinary() - _ = yym48 + yyv1028 := &x.NodeMonitorPeriod + yym1029 := z.DecBinary() + _ = yym1029 if false { - } else if z.HasExtensions() && z.DecExt(yyv47) { - } else if !yym48 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv47) + } else if z.HasExtensions() && z.DecExt(yyv1028) { + } else if !yym1029 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1028) } else { - z.DecFallback(yyv47, false) + z.DecFallback(yyv1028, false) } } case "serviceAccountKeyFile": @@ -8542,29 +8554,29 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co if r.TryDecodeAsNil() { x.LeaderElection = LeaderElectionConfiguration{} } else { - yyv63 := &x.LeaderElection - yyv63.CodecDecodeSelf(d) + yyv1044 := &x.LeaderElection + yyv1044.CodecDecodeSelf(d) } case "volumeConfiguration": if r.TryDecodeAsNil() { x.VolumeConfiguration = VolumeConfiguration{} } else { - yyv64 := &x.VolumeConfiguration - yyv64.CodecDecodeSelf(d) + yyv1045 := &x.VolumeConfiguration + yyv1045.CodecDecodeSelf(d) } case "controllerStartInterval": if r.TryDecodeAsNil() { x.ControllerStartInterval = pkg1_unversioned.Duration{} } else { - yyv65 := &x.ControllerStartInterval - yym66 := z.DecBinary() - _ = yym66 + yyv1046 := &x.ControllerStartInterval + yym1047 := z.DecBinary() + _ = yym1047 if false { - } else if z.HasExtensions() && z.DecExt(yyv65) { - } else if !yym66 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv65) + } else if z.HasExtensions() && z.DecExt(yyv1046) { + } else if !yym1047 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1046) } else { - z.DecFallback(yyv65, false) + z.DecFallback(yyv1046, false) } } case "enableGarbageCollector": @@ -8579,22 +8591,10 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromMap(l int, d *co } else { x.ConcurrentGCSyncs = int32(r.DecodeInt(32)) } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys982) + } // end switch yys982 + } // end for yyj982 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8602,967 +8602,16 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj71 int - var yyb71 bool - var yyhl71 bool = l >= 0 - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l + var yyj1050 int + var yyb1050 bool + var yyhl1050 bool = l >= 0 + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l } else { - yyb71 = r.CheckBreak() + yyb1050 = r.CheckBreak() } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Address = "" - } else { - x.Address = string(r.DecodeString()) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CloudProvider = "" - } else { - x.CloudProvider = string(r.DecodeString()) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.CloudConfigFile = "" - } else { - x.CloudConfigFile = string(r.DecodeString()) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentEndpointSyncs = 0 - } else { - x.ConcurrentEndpointSyncs = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentRSSyncs = 0 - } else { - x.ConcurrentRSSyncs = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentRCSyncs = 0 - } else { - x.ConcurrentRCSyncs = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentServiceSyncs = 0 - } else { - x.ConcurrentServiceSyncs = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentResourceQuotaSyncs = 0 - } else { - x.ConcurrentResourceQuotaSyncs = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentDeploymentSyncs = 0 - } else { - x.ConcurrentDeploymentSyncs = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentDaemonSetSyncs = 0 - } else { - x.ConcurrentDaemonSetSyncs = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentJobSyncs = 0 - } else { - x.ConcurrentJobSyncs = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentNamespaceSyncs = 0 - } else { - x.ConcurrentNamespaceSyncs = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentSATokenSyncs = 0 - } else { - x.ConcurrentSATokenSyncs = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LookupCacheSizeForRC = 0 - } else { - x.LookupCacheSizeForRC = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LookupCacheSizeForRS = 0 - } else { - x.LookupCacheSizeForRS = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LookupCacheSizeForDaemonSet = 0 - } else { - x.LookupCacheSizeForDaemonSet = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ServiceSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv89 := &x.ServiceSyncPeriod - yym90 := z.DecBinary() - _ = yym90 - if false { - } else if z.HasExtensions() && z.DecExt(yyv89) { - } else if !yym90 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv89) - } else { - z.DecFallback(yyv89, false) - } - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv91 := &x.NodeSyncPeriod - yym92 := z.DecBinary() - _ = yym92 - if false { - } else if z.HasExtensions() && z.DecExt(yyv91) { - } else if !yym92 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv91) - } else { - z.DecFallback(yyv91, false) - } - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ResourceQuotaSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv93 := &x.ResourceQuotaSyncPeriod - yym94 := z.DecBinary() - _ = yym94 - if false { - } else if z.HasExtensions() && z.DecExt(yyv93) { - } else if !yym94 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv93) - } else { - z.DecFallback(yyv93, false) - } - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NamespaceSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv95 := &x.NamespaceSyncPeriod - yym96 := z.DecBinary() - _ = yym96 - if false { - } else if z.HasExtensions() && z.DecExt(yyv95) { - } else if !yym96 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv95) - } else { - z.DecFallback(yyv95, false) - } - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PVClaimBinderSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv97 := &x.PVClaimBinderSyncPeriod - yym98 := z.DecBinary() - _ = yym98 - if false { - } else if z.HasExtensions() && z.DecExt(yyv97) { - } else if !yym98 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv97) - } else { - z.DecFallback(yyv97, false) - } - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.MinResyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv99 := &x.MinResyncPeriod - yym100 := z.DecBinary() - _ = yym100 - if false { - } else if z.HasExtensions() && z.DecExt(yyv99) { - } else if !yym100 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv99) - } else { - z.DecFallback(yyv99, false) - } - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TerminatedPodGCThreshold = 0 - } else { - x.TerminatedPodGCThreshold = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.HorizontalPodAutoscalerSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv102 := &x.HorizontalPodAutoscalerSyncPeriod - yym103 := z.DecBinary() - _ = yym103 - if false { - } else if z.HasExtensions() && z.DecExt(yyv102) { - } else if !yym103 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv102) - } else { - z.DecFallback(yyv102, false) - } - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DeploymentControllerSyncPeriod = pkg1_unversioned.Duration{} - } else { - yyv104 := &x.DeploymentControllerSyncPeriod - yym105 := z.DecBinary() - _ = yym105 - if false { - } else if z.HasExtensions() && z.DecExt(yyv104) { - } else if !yym105 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv104) - } else { - z.DecFallback(yyv104, false) - } - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.PodEvictionTimeout = pkg1_unversioned.Duration{} - } else { - yyv106 := &x.PodEvictionTimeout - yym107 := z.DecBinary() - _ = yym107 - if false { - } else if z.HasExtensions() && z.DecExt(yyv106) { - } else if !yym107 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv106) - } else { - z.DecFallback(yyv106, false) - } - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DeletingPodsQps = 0 - } else { - x.DeletingPodsQps = float32(r.DecodeFloat(true)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.DeletingPodsBurst = 0 - } else { - x.DeletingPodsBurst = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeMonitorGracePeriod = pkg1_unversioned.Duration{} - } else { - yyv110 := &x.NodeMonitorGracePeriod - yym111 := z.DecBinary() - _ = yym111 - if false { - } else if z.HasExtensions() && z.DecExt(yyv110) { - } else if !yym111 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv110) - } else { - z.DecFallback(yyv110, false) - } - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RegisterRetryCount = 0 - } else { - x.RegisterRetryCount = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeStartupGracePeriod = pkg1_unversioned.Duration{} - } else { - yyv113 := &x.NodeStartupGracePeriod - yym114 := z.DecBinary() - _ = yym114 - if false { - } else if z.HasExtensions() && z.DecExt(yyv113) { - } else if !yym114 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv113) - } else { - z.DecFallback(yyv113, false) - } - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeMonitorPeriod = pkg1_unversioned.Duration{} - } else { - yyv115 := &x.NodeMonitorPeriod - yym116 := z.DecBinary() - _ = yym116 - if false { - } else if z.HasExtensions() && z.DecExt(yyv115) { - } else if !yym116 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv115) - } else { - z.DecFallback(yyv115, false) - } - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ServiceAccountKeyFile = "" - } else { - x.ServiceAccountKeyFile = string(r.DecodeString()) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterSigningCertFile = "" - } else { - x.ClusterSigningCertFile = string(r.DecodeString()) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterSigningKeyFile = "" - } else { - x.ClusterSigningKeyFile = string(r.DecodeString()) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableProfiling = false - } else { - x.EnableProfiling = bool(r.DecodeBool()) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterName = "" - } else { - x.ClusterName = string(r.DecodeString()) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ClusterCIDR = "" - } else { - x.ClusterCIDR = string(r.DecodeString()) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ServiceCIDR = "" - } else { - x.ServiceCIDR = string(r.DecodeString()) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodeCIDRMaskSize = 0 - } else { - x.NodeCIDRMaskSize = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.AllocateNodeCIDRs = false - } else { - x.AllocateNodeCIDRs = bool(r.DecodeBool()) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConfigureCloudRoutes = false - } else { - x.ConfigureCloudRoutes = bool(r.DecodeBool()) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RootCAFile = "" - } else { - x.RootCAFile = string(r.DecodeString()) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ContentType = "" - } else { - x.ContentType = string(r.DecodeString()) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeAPIQPS = 0 - } else { - x.KubeAPIQPS = float32(r.DecodeFloat(true)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.KubeAPIBurst = 0 - } else { - x.KubeAPIBurst = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LeaderElection = LeaderElectionConfiguration{} - } else { - yyv131 := &x.LeaderElection - yyv131.CodecDecodeSelf(d) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.VolumeConfiguration = VolumeConfiguration{} - } else { - yyv132 := &x.VolumeConfiguration - yyv132.CodecDecodeSelf(d) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ControllerStartInterval = pkg1_unversioned.Duration{} - } else { - yyv133 := &x.ControllerStartInterval - yym134 := z.DecBinary() - _ = yym134 - if false { - } else if z.HasExtensions() && z.DecExt(yyv133) { - } else if !yym134 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv133) - } else { - z.DecFallback(yyv133, false) - } - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.EnableGarbageCollector = false - } else { - x.EnableGarbageCollector = bool(r.DecodeBool()) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ConcurrentGCSyncs = 0 - } else { - x.ConcurrentGCSyncs = int32(r.DecodeInt(32)) - } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l - } else { - yyb71 = r.CheckBreak() - } - if yyb71 { + if yyb1050 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9572,13 +8621,13 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.Kind = string(r.DecodeString()) } - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l } else { - yyb71 = r.CheckBreak() + yyb1050 = r.CheckBreak() } - if yyb71 { + if yyb1050 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9588,18 +8637,969 @@ func (x *KubeControllerManagerConfiguration) codecDecodeSelfFromArray(l int, d * } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj71++ - if yyhl71 { - yyb71 = yyj71 > l + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Port = 0 + } else { + x.Port = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Address = "" + } else { + x.Address = string(r.DecodeString()) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.CloudProvider = "" + } else { + x.CloudProvider = string(r.DecodeString()) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.CloudConfigFile = "" + } else { + x.CloudConfigFile = string(r.DecodeString()) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ConcurrentEndpointSyncs = 0 + } else { + x.ConcurrentEndpointSyncs = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ConcurrentRSSyncs = 0 + } else { + x.ConcurrentRSSyncs = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ConcurrentRCSyncs = 0 + } else { + x.ConcurrentRCSyncs = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ConcurrentServiceSyncs = 0 + } else { + x.ConcurrentServiceSyncs = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ConcurrentResourceQuotaSyncs = 0 + } else { + x.ConcurrentResourceQuotaSyncs = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ConcurrentDeploymentSyncs = 0 + } else { + x.ConcurrentDeploymentSyncs = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ConcurrentDaemonSetSyncs = 0 + } else { + x.ConcurrentDaemonSetSyncs = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ConcurrentJobSyncs = 0 + } else { + x.ConcurrentJobSyncs = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ConcurrentNamespaceSyncs = 0 + } else { + x.ConcurrentNamespaceSyncs = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ConcurrentSATokenSyncs = 0 + } else { + x.ConcurrentSATokenSyncs = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LookupCacheSizeForRC = 0 + } else { + x.LookupCacheSizeForRC = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LookupCacheSizeForRS = 0 + } else { + x.LookupCacheSizeForRS = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LookupCacheSizeForDaemonSet = 0 + } else { + x.LookupCacheSizeForDaemonSet = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ServiceSyncPeriod = pkg1_unversioned.Duration{} + } else { + yyv1070 := &x.ServiceSyncPeriod + yym1071 := z.DecBinary() + _ = yym1071 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1070) { + } else if !yym1071 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1070) } else { - yyb71 = r.CheckBreak() + z.DecFallback(yyv1070, false) } - if yyb71 { + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NodeSyncPeriod = pkg1_unversioned.Duration{} + } else { + yyv1072 := &x.NodeSyncPeriod + yym1073 := z.DecBinary() + _ = yym1073 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1072) { + } else if !yym1073 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1072) + } else { + z.DecFallback(yyv1072, false) + } + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ResourceQuotaSyncPeriod = pkg1_unversioned.Duration{} + } else { + yyv1074 := &x.ResourceQuotaSyncPeriod + yym1075 := z.DecBinary() + _ = yym1075 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1074) { + } else if !yym1075 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1074) + } else { + z.DecFallback(yyv1074, false) + } + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NamespaceSyncPeriod = pkg1_unversioned.Duration{} + } else { + yyv1076 := &x.NamespaceSyncPeriod + yym1077 := z.DecBinary() + _ = yym1077 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1076) { + } else if !yym1077 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1076) + } else { + z.DecFallback(yyv1076, false) + } + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PVClaimBinderSyncPeriod = pkg1_unversioned.Duration{} + } else { + yyv1078 := &x.PVClaimBinderSyncPeriod + yym1079 := z.DecBinary() + _ = yym1079 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1078) { + } else if !yym1079 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1078) + } else { + z.DecFallback(yyv1078, false) + } + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MinResyncPeriod = pkg1_unversioned.Duration{} + } else { + yyv1080 := &x.MinResyncPeriod + yym1081 := z.DecBinary() + _ = yym1081 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1080) { + } else if !yym1081 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1080) + } else { + z.DecFallback(yyv1080, false) + } + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TerminatedPodGCThreshold = 0 + } else { + x.TerminatedPodGCThreshold = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.HorizontalPodAutoscalerSyncPeriod = pkg1_unversioned.Duration{} + } else { + yyv1083 := &x.HorizontalPodAutoscalerSyncPeriod + yym1084 := z.DecBinary() + _ = yym1084 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1083) { + } else if !yym1084 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1083) + } else { + z.DecFallback(yyv1083, false) + } + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.DeploymentControllerSyncPeriod = pkg1_unversioned.Duration{} + } else { + yyv1085 := &x.DeploymentControllerSyncPeriod + yym1086 := z.DecBinary() + _ = yym1086 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1085) { + } else if !yym1086 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1085) + } else { + z.DecFallback(yyv1085, false) + } + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.PodEvictionTimeout = pkg1_unversioned.Duration{} + } else { + yyv1087 := &x.PodEvictionTimeout + yym1088 := z.DecBinary() + _ = yym1088 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1087) { + } else if !yym1088 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1087) + } else { + z.DecFallback(yyv1087, false) + } + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.DeletingPodsQps = 0 + } else { + x.DeletingPodsQps = float32(r.DecodeFloat(true)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.DeletingPodsBurst = 0 + } else { + x.DeletingPodsBurst = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NodeMonitorGracePeriod = pkg1_unversioned.Duration{} + } else { + yyv1091 := &x.NodeMonitorGracePeriod + yym1092 := z.DecBinary() + _ = yym1092 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1091) { + } else if !yym1092 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1091) + } else { + z.DecFallback(yyv1091, false) + } + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RegisterRetryCount = 0 + } else { + x.RegisterRetryCount = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NodeStartupGracePeriod = pkg1_unversioned.Duration{} + } else { + yyv1094 := &x.NodeStartupGracePeriod + yym1095 := z.DecBinary() + _ = yym1095 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1094) { + } else if !yym1095 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1094) + } else { + z.DecFallback(yyv1094, false) + } + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NodeMonitorPeriod = pkg1_unversioned.Duration{} + } else { + yyv1096 := &x.NodeMonitorPeriod + yym1097 := z.DecBinary() + _ = yym1097 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1096) { + } else if !yym1097 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1096) + } else { + z.DecFallback(yyv1096, false) + } + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ServiceAccountKeyFile = "" + } else { + x.ServiceAccountKeyFile = string(r.DecodeString()) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ClusterSigningCertFile = "" + } else { + x.ClusterSigningCertFile = string(r.DecodeString()) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ClusterSigningKeyFile = "" + } else { + x.ClusterSigningKeyFile = string(r.DecodeString()) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EnableProfiling = false + } else { + x.EnableProfiling = bool(r.DecodeBool()) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ClusterName = "" + } else { + x.ClusterName = string(r.DecodeString()) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ClusterCIDR = "" + } else { + x.ClusterCIDR = string(r.DecodeString()) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ServiceCIDR = "" + } else { + x.ServiceCIDR = string(r.DecodeString()) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NodeCIDRMaskSize = 0 + } else { + x.NodeCIDRMaskSize = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.AllocateNodeCIDRs = false + } else { + x.AllocateNodeCIDRs = bool(r.DecodeBool()) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ConfigureCloudRoutes = false + } else { + x.ConfigureCloudRoutes = bool(r.DecodeBool()) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RootCAFile = "" + } else { + x.RootCAFile = string(r.DecodeString()) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ContentType = "" + } else { + x.ContentType = string(r.DecodeString()) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.KubeAPIQPS = 0 + } else { + x.KubeAPIQPS = float32(r.DecodeFloat(true)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.KubeAPIBurst = 0 + } else { + x.KubeAPIBurst = int32(r.DecodeInt(32)) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LeaderElection = LeaderElectionConfiguration{} + } else { + yyv1112 := &x.LeaderElection + yyv1112.CodecDecodeSelf(d) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.VolumeConfiguration = VolumeConfiguration{} + } else { + yyv1113 := &x.VolumeConfiguration + yyv1113.CodecDecodeSelf(d) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ControllerStartInterval = pkg1_unversioned.Duration{} + } else { + yyv1114 := &x.ControllerStartInterval + yym1115 := z.DecBinary() + _ = yym1115 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1114) { + } else if !yym1115 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1114) + } else { + z.DecFallback(yyv1114, false) + } + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.EnableGarbageCollector = false + } else { + x.EnableGarbageCollector = bool(r.DecodeBool()) + } + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ConcurrentGCSyncs = 0 + } else { + x.ConcurrentGCSyncs = int32(r.DecodeInt(32)) + } + for { + yyj1050++ + if yyhl1050 { + yyb1050 = yyj1050 > l + } else { + yyb1050 = r.CheckBreak() + } + if yyb1050 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj71-1, "") + z.DecStructFieldNotFound(yyj1050-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9611,33 +9611,33 @@ func (x *VolumeConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1118 := z.EncBinary() + _ = yym1118 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1119 := !z.EncBinary() + yy2arr1119 := z.EncBasicHandle().StructToArray + var yyq1119 [4]bool + _, _, _ = yysep1119, yyq1119, yy2arr1119 + const yyr1119 bool = false + var yynn1119 int + if yyr1119 || yy2arr1119 { r.EncodeArrayStart(4) } else { - yynn2 = 4 - for _, b := range yyq2 { + yynn1119 = 4 + for _, b := range yyq1119 { if b { - yynn2++ + yynn1119++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1119) + yynn1119 = 0 } - if yyr2 || yy2arr2 { + if yyr1119 || yy2arr1119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1121 := z.EncBinary() + _ = yym1121 if false { } else { r.EncodeBool(bool(x.EnableHostPathProvisioning)) @@ -9646,17 +9646,17 @@ func (x *VolumeConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableHostPathProvisioning")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1122 := z.EncBinary() + _ = yym1122 if false { } else { r.EncodeBool(bool(x.EnableHostPathProvisioning)) } } - if yyr2 || yy2arr2 { + if yyr1119 || yy2arr1119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1124 := z.EncBinary() + _ = yym1124 if false { } else { r.EncodeBool(bool(x.EnableDynamicProvisioning)) @@ -9665,28 +9665,28 @@ func (x *VolumeConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("enableDynamicProvisioning")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1125 := z.EncBinary() + _ = yym1125 if false { } else { r.EncodeBool(bool(x.EnableDynamicProvisioning)) } } - if yyr2 || yy2arr2 { + if yyr1119 || yy2arr1119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy10 := &x.PersistentVolumeRecyclerConfiguration - yy10.CodecEncodeSelf(e) + yy1127 := &x.PersistentVolumeRecyclerConfiguration + yy1127.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("persitentVolumeRecyclerConfiguration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.PersistentVolumeRecyclerConfiguration - yy12.CodecEncodeSelf(e) + yy1128 := &x.PersistentVolumeRecyclerConfiguration + yy1128.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1119 || yy2arr1119 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym15 := z.EncBinary() - _ = yym15 + yym1130 := z.EncBinary() + _ = yym1130 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FlexVolumePluginDir)) @@ -9695,14 +9695,14 @@ func (x *VolumeConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("flexVolumePluginDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 + yym1131 := z.EncBinary() + _ = yym1131 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FlexVolumePluginDir)) } } - if yyr2 || yy2arr2 { + if yyr1119 || yy2arr1119 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9715,25 +9715,25 @@ func (x *VolumeConfiguration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1132 := z.DecBinary() + _ = yym1132 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1133 := r.ContainerType() + if yyct1133 == codecSelferValueTypeMap1234 { + yyl1133 := r.ReadMapStart() + if yyl1133 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1133, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1133 == codecSelferValueTypeArray1234 { + yyl1133 := r.ReadArrayStart() + if yyl1133 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1133, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9745,12 +9745,12 @@ func (x *VolumeConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1134Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1134Slc + var yyhl1134 bool = l >= 0 + for yyj1134 := 0; ; yyj1134++ { + if yyhl1134 { + if yyj1134 >= l { break } } else { @@ -9759,10 +9759,10 @@ func (x *VolumeConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1134Slc = r.DecodeBytes(yys1134Slc, true, true) + yys1134 := string(yys1134Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1134 { case "enableHostPathProvisioning": if r.TryDecodeAsNil() { x.EnableHostPathProvisioning = false @@ -9779,8 +9779,8 @@ func (x *VolumeConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.PersistentVolumeRecyclerConfiguration = PersistentVolumeRecyclerConfiguration{} } else { - yyv6 := &x.PersistentVolumeRecyclerConfiguration - yyv6.CodecDecodeSelf(d) + yyv1137 := &x.PersistentVolumeRecyclerConfiguration + yyv1137.CodecDecodeSelf(d) } case "flexVolumePluginDir": if r.TryDecodeAsNil() { @@ -9789,9 +9789,9 @@ func (x *VolumeConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.FlexVolumePluginDir = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1134) + } // end switch yys1134 + } // end for yyj1134 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9799,16 +9799,16 @@ func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1139 int + var yyb1139 bool + var yyhl1139 bool = l >= 0 + yyj1139++ + if yyhl1139 { + yyb1139 = yyj1139 > l } else { - yyb8 = r.CheckBreak() + yyb1139 = r.CheckBreak() } - if yyb8 { + if yyb1139 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9818,13 +9818,13 @@ func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.EnableHostPathProvisioning = bool(r.DecodeBool()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1139++ + if yyhl1139 { + yyb1139 = yyj1139 > l } else { - yyb8 = r.CheckBreak() + yyb1139 = r.CheckBreak() } - if yyb8 { + if yyb1139 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9834,13 +9834,13 @@ func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.EnableDynamicProvisioning = bool(r.DecodeBool()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1139++ + if yyhl1139 { + yyb1139 = yyj1139 > l } else { - yyb8 = r.CheckBreak() + yyb1139 = r.CheckBreak() } - if yyb8 { + if yyb1139 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9848,16 +9848,16 @@ func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.PersistentVolumeRecyclerConfiguration = PersistentVolumeRecyclerConfiguration{} } else { - yyv11 := &x.PersistentVolumeRecyclerConfiguration - yyv11.CodecDecodeSelf(d) + yyv1142 := &x.PersistentVolumeRecyclerConfiguration + yyv1142.CodecDecodeSelf(d) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1139++ + if yyhl1139 { + yyb1139 = yyj1139 > l } else { - yyb8 = r.CheckBreak() + yyb1139 = r.CheckBreak() } - if yyb8 { + if yyb1139 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9868,17 +9868,17 @@ func (x *VolumeConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.FlexVolumePluginDir = string(r.DecodeString()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1139++ + if yyhl1139 { + yyb1139 = yyj1139 > l } else { - yyb8 = r.CheckBreak() + yyb1139 = r.CheckBreak() } - if yyb8 { + if yyb1139 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1139-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9890,33 +9890,33 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1144 := z.EncBinary() + _ = yym1144 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [7]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1145 := !z.EncBinary() + yy2arr1145 := z.EncBasicHandle().StructToArray + var yyq1145 [7]bool + _, _, _ = yysep1145, yyq1145, yy2arr1145 + const yyr1145 bool = false + var yynn1145 int + if yyr1145 || yy2arr1145 { r.EncodeArrayStart(7) } else { - yynn2 = 7 - for _, b := range yyq2 { + yynn1145 = 7 + for _, b := range yyq1145 { if b { - yynn2++ + yynn1145++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1145) + yynn1145 = 0 } - if yyr2 || yy2arr2 { + if yyr1145 || yy2arr1145 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1147 := z.EncBinary() + _ = yym1147 if false { } else { r.EncodeInt(int64(x.MaximumRetry)) @@ -9925,17 +9925,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maximumRetry")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1148 := z.EncBinary() + _ = yym1148 if false { } else { r.EncodeInt(int64(x.MaximumRetry)) } } - if yyr2 || yy2arr2 { + if yyr1145 || yy2arr1145 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1150 := z.EncBinary() + _ = yym1150 if false { } else { r.EncodeInt(int64(x.MinimumTimeoutNFS)) @@ -9944,17 +9944,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minimumTimeoutNFS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1151 := z.EncBinary() + _ = yym1151 if false { } else { r.EncodeInt(int64(x.MinimumTimeoutNFS)) } } - if yyr2 || yy2arr2 { + if yyr1145 || yy2arr1145 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym1153 := z.EncBinary() + _ = yym1153 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathNFS)) @@ -9963,17 +9963,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podTemplateFilePathNFS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym1154 := z.EncBinary() + _ = yym1154 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathNFS)) } } - if yyr2 || yy2arr2 { + if yyr1145 || yy2arr1145 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 + yym1156 := z.EncBinary() + _ = yym1156 if false { } else { r.EncodeInt(int64(x.IncrementTimeoutNFS)) @@ -9982,17 +9982,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("incrementTimeoutNFS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym1157 := z.EncBinary() + _ = yym1157 if false { } else { r.EncodeInt(int64(x.IncrementTimeoutNFS)) } } - if yyr2 || yy2arr2 { + if yyr1145 || yy2arr1145 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym16 := z.EncBinary() - _ = yym16 + yym1159 := z.EncBinary() + _ = yym1159 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathHostPath)) @@ -10001,17 +10001,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podTemplateFilePathHostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym1160 := z.EncBinary() + _ = yym1160 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodTemplateFilePathHostPath)) } } - if yyr2 || yy2arr2 { + if yyr1145 || yy2arr1145 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym19 := z.EncBinary() - _ = yym19 + yym1162 := z.EncBinary() + _ = yym1162 if false { } else { r.EncodeInt(int64(x.MinimumTimeoutHostPath)) @@ -10020,17 +10020,17 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minimumTimeoutHostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym1163 := z.EncBinary() + _ = yym1163 if false { } else { r.EncodeInt(int64(x.MinimumTimeoutHostPath)) } } - if yyr2 || yy2arr2 { + if yyr1145 || yy2arr1145 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym22 := z.EncBinary() - _ = yym22 + yym1165 := z.EncBinary() + _ = yym1165 if false { } else { r.EncodeInt(int64(x.IncrementTimeoutHostPath)) @@ -10039,14 +10039,14 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecEncodeSelf(e *codec1978.Enc z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("incrementTimeoutHostPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym1166 := z.EncBinary() + _ = yym1166 if false { } else { r.EncodeInt(int64(x.IncrementTimeoutHostPath)) } } - if yyr2 || yy2arr2 { + if yyr1145 || yy2arr1145 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10059,25 +10059,25 @@ func (x *PersistentVolumeRecyclerConfiguration) CodecDecodeSelf(d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1167 := z.DecBinary() + _ = yym1167 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1168 := r.ContainerType() + if yyct1168 == codecSelferValueTypeMap1234 { + yyl1168 := r.ReadMapStart() + if yyl1168 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1168, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1168 == codecSelferValueTypeArray1234 { + yyl1168 := r.ReadArrayStart() + if yyl1168 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1168, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10089,12 +10089,12 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1169Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1169Slc + var yyhl1169 bool = l >= 0 + for yyj1169 := 0; ; yyj1169++ { + if yyhl1169 { + if yyj1169 >= l { break } } else { @@ -10103,10 +10103,10 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1169Slc = r.DecodeBytes(yys1169Slc, true, true) + yys1169 := string(yys1169Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1169 { case "maximumRetry": if r.TryDecodeAsNil() { x.MaximumRetry = 0 @@ -10150,9 +10150,9 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromMap(l int, d x.IncrementTimeoutHostPath = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1169) + } // end switch yys1169 + } // end for yyj1169 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10160,16 +10160,16 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj11 int - var yyb11 bool - var yyhl11 bool = l >= 0 - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + var yyj1177 int + var yyb1177 bool + var yyhl1177 bool = l >= 0 + yyj1177++ + if yyhl1177 { + yyb1177 = yyj1177 > l } else { - yyb11 = r.CheckBreak() + yyb1177 = r.CheckBreak() } - if yyb11 { + if yyb1177 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10179,13 +10179,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.MaximumRetry = int32(r.DecodeInt(32)) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1177++ + if yyhl1177 { + yyb1177 = yyj1177 > l } else { - yyb11 = r.CheckBreak() + yyb1177 = r.CheckBreak() } - if yyb11 { + if yyb1177 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10195,13 +10195,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.MinimumTimeoutNFS = int32(r.DecodeInt(32)) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1177++ + if yyhl1177 { + yyb1177 = yyj1177 > l } else { - yyb11 = r.CheckBreak() + yyb1177 = r.CheckBreak() } - if yyb11 { + if yyb1177 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10211,13 +10211,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.PodTemplateFilePathNFS = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1177++ + if yyhl1177 { + yyb1177 = yyj1177 > l } else { - yyb11 = r.CheckBreak() + yyb1177 = r.CheckBreak() } - if yyb11 { + if yyb1177 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10227,13 +10227,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.IncrementTimeoutNFS = int32(r.DecodeInt(32)) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1177++ + if yyhl1177 { + yyb1177 = yyj1177 > l } else { - yyb11 = r.CheckBreak() + yyb1177 = r.CheckBreak() } - if yyb11 { + if yyb1177 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10243,13 +10243,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.PodTemplateFilePathHostPath = string(r.DecodeString()) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1177++ + if yyhl1177 { + yyb1177 = yyj1177 > l } else { - yyb11 = r.CheckBreak() + yyb1177 = r.CheckBreak() } - if yyb11 { + if yyb1177 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10259,13 +10259,13 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, } else { x.MinimumTimeoutHostPath = int32(r.DecodeInt(32)) } - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1177++ + if yyhl1177 { + yyb1177 = yyj1177 > l } else { - yyb11 = r.CheckBreak() + yyb1177 = r.CheckBreak() } - if yyb11 { + if yyb1177 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10276,17 +10276,17 @@ func (x *PersistentVolumeRecyclerConfiguration) codecDecodeSelfFromArray(l int, x.IncrementTimeoutHostPath = int32(r.DecodeInt(32)) } for { - yyj11++ - if yyhl11 { - yyb11 = yyj11 > l + yyj1177++ + if yyhl1177 { + yyb1177 = yyj1177 > l } else { - yyb11 = r.CheckBreak() + yyb1177 = r.CheckBreak() } - if yyb11 { + if yyb1177 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj11-1, "") + z.DecStructFieldNotFound(yyj1177-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10296,20 +10296,20 @@ func (x codecSelfer1234) encconfig_ConfigurationMap(v pkg2_config.ConfigurationM z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk1, yyv1 := range v { + for yyk1185, yyv1185 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym2 := z.EncBinary() - _ = yym2 + yym1186 := z.EncBinary() + _ = yym1186 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk1)) + r.EncodeString(codecSelferC_UTF81234, string(yyk1185)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3 := z.EncBinary() - _ = yym3 + yym1187 := z.EncBinary() + _ = yym1187 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1)) + r.EncodeString(codecSelferC_UTF81234, string(yyv1185)) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10320,63 +10320,63 @@ func (x codecSelfer1234) decconfig_ConfigurationMap(v *pkg2_config.Configuration z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyl1 := r.ReadMapStart() - yybh1 := z.DecBasicHandle() - if yyv1 == nil { - yyrl1, _ := z.DecInferLen(yyl1, yybh1.MaxInitLen, 32) - yyv1 = make(map[string]string, yyrl1) - *v = yyv1 + yyv1188 := *v + yyl1188 := r.ReadMapStart() + yybh1188 := z.DecBasicHandle() + if yyv1188 == nil { + yyrl1188, _ := z.DecInferLen(yyl1188, yybh1188.MaxInitLen, 32) + yyv1188 = make(map[string]string, yyrl1188) + *v = yyv1188 } - var yymk1 string - var yymv1 string - var yymg1 bool - if yybh1.MapValueReset { + var yymk1188 string + var yymv1188 string + var yymg1188 bool + if yybh1188.MapValueReset { } - if yyl1 > 0 { - for yyj1 := 0; yyj1 < yyl1; yyj1++ { + if yyl1188 > 0 { + for yyj1188 := 0; yyj1188 < yyl1188; yyj1188++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk1188 = "" } else { - yymk1 = string(r.DecodeString()) + yymk1188 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg1188 { + yymv1188 = yyv1188[yymk1188] } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = "" + yymv1188 = "" } else { - yymv1 = string(r.DecodeString()) + yymv1188 = string(r.DecodeString()) } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv1188 != nil { + yyv1188[yymk1188] = yymv1188 } } - } else if yyl1 < 0 { - for yyj1 := 0; !r.CheckBreak(); yyj1++ { + } else if yyl1188 < 0 { + for yyj1188 := 0; !r.CheckBreak(); yyj1188++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk1188 = "" } else { - yymk1 = string(r.DecodeString()) + yymk1188 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg1188 { + yymv1188 = yyv1188[yymk1188] } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = "" + yymv1188 = "" } else { - yymv1 = string(r.DecodeString()) + yymv1188 = string(r.DecodeString()) } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv1188 != nil { + yyv1188[yymk1188] = yymv1188 } } } // else len==0: TODO: Should we clear map entries? diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/types.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/types.go index a97353238b3..da38ac382fa 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/types.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/types.go @@ -112,8 +112,9 @@ const ( type KubeletConfiguration struct { unversioned.TypeMeta - // config is the path to the config file or directory of files - Config string `json:"config"` + // podManifestPath is the path to the directory containing pod manifests to + // run, or the path to a single manifest file + PodManifestPath string `json:"podManifestPath"` // syncFrequency is the max period between synchronizing running // containers and config SyncFrequency unversioned.Duration `json:"syncFrequency"` diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/defaults.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/defaults.go index 0bef2406e6e..f3657d00303 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/defaults.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/defaults.go @@ -47,8 +47,8 @@ const ( var zeroDuration = unversioned.Duration{} -func addDefaultingFuncs(scheme *kruntime.Scheme) { - scheme.AddDefaultingFuncs( +func addDefaultingFuncs(scheme *kruntime.Scheme) error { + return scheme.AddDefaultingFuncs( SetDefaults_KubeProxyConfiguration, SetDefaults_KubeSchedulerConfiguration, SetDefaults_LeaderElectionConfiguration, diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/register.go index 14437374c4e..e969ca4b976 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/register.go @@ -27,17 +27,18 @@ const GroupName = "componentconfig" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1alpha1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - addDefaultingFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &KubeProxyConfiguration{}, &KubeSchedulerConfiguration{}, &KubeletConfiguration{}, ) + return nil } func (obj *KubeProxyConfiguration) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/types.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/types.go index 4799502ac4e..05b56e7ac84 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/types.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/types.go @@ -166,8 +166,9 @@ type LeaderElectionConfiguration struct { type KubeletConfiguration struct { unversioned.TypeMeta - // config is the path to the config file or directory of files - Config string `json:"config"` + // podManifestPath is the path to the directory containing pod manifests to + // run, or the path to a single manifest file + PodManifestPath string `json:"podManifestPath"` // syncFrequency is the max period between synchronizing running // containers and config SyncFrequency unversioned.Duration `json:"syncFrequency"` diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go index fc66b333148..757ae7d3d56 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go @@ -24,11 +24,18 @@ import ( api "k8s.io/client-go/1.4/pkg/api" componentconfig "k8s.io/client-go/1.4/pkg/apis/componentconfig" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" config "k8s.io/client-go/1.4/pkg/util/config" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyConfiguration, Convert_componentconfig_KubeProxyConfiguration_To_v1alpha1_KubeProxyConfiguration, Convert_v1alpha1_KubeSchedulerConfiguration_To_componentconfig_KubeSchedulerConfiguration, @@ -37,10 +44,7 @@ func init() { Convert_componentconfig_KubeletConfiguration_To_v1alpha1_KubeletConfiguration, Convert_v1alpha1_LeaderElectionConfiguration_To_componentconfig_LeaderElectionConfiguration, Convert_componentconfig_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1alpha1_KubeProxyConfiguration_To_componentconfig_KubeProxyConfiguration(in *KubeProxyConfiguration, out *componentconfig.KubeProxyConfiguration, s conversion.Scope) error { @@ -162,7 +166,7 @@ func autoConvert_v1alpha1_KubeletConfiguration_To_componentconfig_KubeletConfigu if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { return err } - out.Config = in.Config + out.PodManifestPath = in.PodManifestPath out.SyncFrequency = in.SyncFrequency out.FileCheckFrequency = in.FileCheckFrequency out.HTTPCheckFrequency = in.HTTPCheckFrequency @@ -326,7 +330,7 @@ func autoConvert_componentconfig_KubeletConfiguration_To_v1alpha1_KubeletConfigu if err := api.Convert_unversioned_TypeMeta_To_unversioned_TypeMeta(&in.TypeMeta, &out.TypeMeta, s); err != nil { return err } - out.Config = in.Config + out.PodManifestPath = in.PodManifestPath out.SyncFrequency = in.SyncFrequency out.FileCheckFrequency = in.FileCheckFrequency out.HTTPCheckFrequency = in.HTTPCheckFrequency diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go index 2a887a0433b..2fedb5e6a75 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go @@ -21,21 +21,24 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.4/pkg/api" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeProxyConfiguration, InType: reflect.TypeOf(func() *KubeProxyConfiguration { var x *KubeProxyConfiguration; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeSchedulerConfiguration, InType: reflect.TypeOf(func() *KubeSchedulerConfiguration { var x *KubeSchedulerConfiguration; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeletConfiguration, InType: reflect.TypeOf(func() *KubeletConfiguration { var x *KubeletConfiguration; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_LeaderElectionConfiguration, InType: reflect.TypeOf(func() *LeaderElectionConfiguration { var x *LeaderElectionConfiguration; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeProxyConfiguration, InType: reflect.TypeOf(&KubeProxyConfiguration{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeSchedulerConfiguration, InType: reflect.TypeOf(&KubeSchedulerConfiguration{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_KubeletConfiguration, InType: reflect.TypeOf(&KubeletConfiguration{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_LeaderElectionConfiguration, InType: reflect.TypeOf(&LeaderElectionConfiguration{})}, + ) } func DeepCopy_v1alpha1_KubeProxyConfiguration(in interface{}, out interface{}, c *conversion.Cloner) error { @@ -111,7 +114,7 @@ func DeepCopy_v1alpha1_KubeletConfiguration(in interface{}, out interface{}, c * in := in.(*KubeletConfiguration) out := out.(*KubeletConfiguration) out.TypeMeta = in.TypeMeta - out.Config = in.Config + out.PodManifestPath = in.PodManifestPath out.SyncFrequency = in.SyncFrequency out.FileCheckFrequency = in.FileCheckFrequency out.HTTPCheckFrequency = in.HTTPCheckFrequency diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/zz_generated.deepcopy.go index e20d43eb857..d4b654f78e7 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/componentconfig/zz_generated.deepcopy.go @@ -21,27 +21,30 @@ limitations under the License. package componentconfig import ( - api "k8s.io/client-go/1.4/pkg/api" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" config "k8s.io/client-go/1.4/pkg/util/config" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_IPVar, InType: reflect.TypeOf(func() *IPVar { var x *IPVar; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeControllerManagerConfiguration, InType: reflect.TypeOf(func() *KubeControllerManagerConfiguration { var x *KubeControllerManagerConfiguration; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeProxyConfiguration, InType: reflect.TypeOf(func() *KubeProxyConfiguration { var x *KubeProxyConfiguration; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeSchedulerConfiguration, InType: reflect.TypeOf(func() *KubeSchedulerConfiguration { var x *KubeSchedulerConfiguration; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeletConfiguration, InType: reflect.TypeOf(func() *KubeletConfiguration { var x *KubeletConfiguration; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_LeaderElectionConfiguration, InType: reflect.TypeOf(func() *LeaderElectionConfiguration { var x *LeaderElectionConfiguration; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_PersistentVolumeRecyclerConfiguration, InType: reflect.TypeOf(func() *PersistentVolumeRecyclerConfiguration { var x *PersistentVolumeRecyclerConfiguration; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_PortRangeVar, InType: reflect.TypeOf(func() *PortRangeVar { var x *PortRangeVar; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_VolumeConfiguration, InType: reflect.TypeOf(func() *VolumeConfiguration { var x *VolumeConfiguration; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_IPVar, InType: reflect.TypeOf(&IPVar{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeControllerManagerConfiguration, InType: reflect.TypeOf(&KubeControllerManagerConfiguration{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeProxyConfiguration, InType: reflect.TypeOf(&KubeProxyConfiguration{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeSchedulerConfiguration, InType: reflect.TypeOf(&KubeSchedulerConfiguration{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_KubeletConfiguration, InType: reflect.TypeOf(&KubeletConfiguration{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_LeaderElectionConfiguration, InType: reflect.TypeOf(&LeaderElectionConfiguration{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_PersistentVolumeRecyclerConfiguration, InType: reflect.TypeOf(&PersistentVolumeRecyclerConfiguration{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_PortRangeVar, InType: reflect.TypeOf(&PortRangeVar{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_componentconfig_VolumeConfiguration, InType: reflect.TypeOf(&VolumeConfiguration{})}, + ) } func DeepCopy_componentconfig_IPVar(in interface{}, out interface{}, c *conversion.Cloner) error { @@ -185,7 +188,7 @@ func DeepCopy_componentconfig_KubeletConfiguration(in interface{}, out interface in := in.(*KubeletConfiguration) out := out.(*KubeletConfiguration) out.TypeMeta = in.TypeMeta - out.Config = in.Config + out.PodManifestPath = in.PodManifestPath out.SyncFrequency = in.SyncFrequency out.FileCheckFrequency = in.FileCheckFrequency out.HTTPCheckFrequency = in.HTTPCheckFrequency diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/install/install.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/install/install.go index 049e3056135..1386d75e2df 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/install/install.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/install/install.go @@ -118,7 +118,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - extensions.AddToScheme(api.Scheme) + if err := extensions.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -127,7 +130,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1beta1.SchemeGroupVersion: - v1beta1.AddToScheme(api.Scheme) + if err := v1beta1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/register.go index acd65501b9c..701b68a2765 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/register.go @@ -40,13 +40,13 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { // TODO this gets cleaned up when the types are fixed scheme.AddKnownTypes(SchemeGroupVersion, &Deployment{}, @@ -78,4 +78,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &StorageClass{}, &StorageClassList{}, ) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/types.generated.go index 0c922641a6b..2c7289c5c9c 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/types.generated.go @@ -144,25 +144,25 @@ func (x *ScaleSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym6 := z.DecBinary() + _ = yym6 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct7 := r.ContainerType() + if yyct7 == codecSelferValueTypeMap1234 { + yyl7 := r.ReadMapStart() + if yyl7 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl7, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct7 == codecSelferValueTypeArray1234 { + yyl7 := r.ReadArrayStart() + if yyl7 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl7, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -174,12 +174,12 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys8Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys8Slc + var yyhl8 bool = l >= 0 + for yyj8 := 0; ; yyj8++ { + if yyhl8 { + if yyj8 >= l { break } } else { @@ -188,10 +188,10 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys8Slc = r.DecodeBytes(yys8Slc, true, true) + yys8 := string(yys8Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys8 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -199,9 +199,9 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Replicas = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys8) + } // end switch yys8 + } // end for yyj8 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -209,16 +209,16 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb5 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb5 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -229,17 +229,17 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Replicas = int32(r.DecodeInt(32)) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb5 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb5 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -251,34 +251,34 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym12 := z.EncBinary() + _ = yym12 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Selector != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep13 := !z.EncBinary() + yy2arr13 := z.EncBasicHandle().StructToArray + var yyq13 [2]bool + _, _, _ = yysep13, yyq13, yy2arr13 + const yyr13 bool = false + yyq13[1] = x.Selector != nil + var yynn13 int + if yyr13 || yy2arr13 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn13 = 1 + for _, b := range yyq13 { if b { - yynn2++ + yynn13++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn13) + yynn13 = 0 } - if yyr2 || yy2arr2 { + if yyr13 || yy2arr13 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -287,21 +287,21 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2 || yy2arr2 { + if yyr13 || yy2arr13 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq13[1] { if x.Selector == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym18 := z.EncBinary() + _ = yym18 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -312,15 +312,15 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq13[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym19 := z.EncBinary() + _ = yym19 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -329,7 +329,7 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr13 || yy2arr13 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -342,25 +342,25 @@ func (x *ScaleStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym20 := z.DecBinary() + _ = yym20 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct21 := r.ContainerType() + if yyct21 == codecSelferValueTypeMap1234 { + yyl21 := r.ReadMapStart() + if yyl21 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl21, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct21 == codecSelferValueTypeArray1234 { + yyl21 := r.ReadArrayStart() + if yyl21 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl21, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -372,12 +372,12 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys22Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys22Slc + var yyhl22 bool = l >= 0 + for yyj22 := 0; ; yyj22++ { + if yyhl22 { + if yyj22 >= l { break } } else { @@ -386,10 +386,10 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys22Slc = r.DecodeBytes(yys22Slc, true, true) + yys22 := string(yys22Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys22 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -405,8 +405,8 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym6 := z.DecBinary() - _ = yym6 + yym25 := z.DecBinary() + _ = yym25 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -414,9 +414,9 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys22) + } // end switch yys22 + } // end for yyj22 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -424,16 +424,16 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj26 int + var yyb26 bool + var yyhl26 bool = l >= 0 + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb7 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb7 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -443,13 +443,13 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb7 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb7 { + if yyb26 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -462,8 +462,8 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym10 := z.DecBinary() - _ = yym10 + yym29 := z.DecBinary() + _ = yym29 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -471,17 +471,17 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj26++ + if yyhl26 { + yyb26 = yyj26 > l } else { - yyb7 = r.CheckBreak() + yyb26 = r.CheckBreak() } - if yyb7 { + if yyb26 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj26-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -493,90 +493,39 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym30 := z.EncBinary() + _ = yym30 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep31 := !z.EncBinary() + yy2arr31 := z.EncBasicHandle().StructToArray + var yyq31 [5]bool + _, _, _ = yysep31, yyq31, yy2arr31 + const yyr31 bool = false + yyq31[0] = x.Kind != "" + yyq31[1] = x.APIVersion != "" + yyq31[2] = true + yyq31[3] = true + yyq31[4] = true + var yynn31 int + if yyr31 || yy2arr31 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn31 = 0 + for _, b := range yyq31 { if b { - yynn2++ + yynn31++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn31) + yynn31 = 0 } - if yyr2 || yy2arr2 { + if yyr31 || yy2arr31 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq31[0] { + yym33 := z.EncBinary() + _ = yym33 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -585,23 +534,23 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq31[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym34 := z.EncBinary() + _ = yym34 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr31 || yy2arr31 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq31[1] { + yym36 := z.EncBinary() + _ = yym36 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -610,19 +559,70 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq31[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym37 := z.EncBinary() + _ = yym37 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr31 || yy2arr31 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq31[2] { + yy39 := &x.ObjectMeta + yy39.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq31[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy40 := &x.ObjectMeta + yy40.CodecEncodeSelf(e) + } + } + if yyr31 || yy2arr31 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq31[3] { + yy42 := &x.Spec + yy42.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq31[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy43 := &x.Spec + yy43.CodecEncodeSelf(e) + } + } + if yyr31 || yy2arr31 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq31[4] { + yy45 := &x.Status + yy45.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq31[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy46 := &x.Status + yy46.CodecEncodeSelf(e) + } + } + if yyr31 || yy2arr31 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -635,25 +635,25 @@ func (x *Scale) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym47 := z.DecBinary() + _ = yym47 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct48 := r.ContainerType() + if yyct48 == codecSelferValueTypeMap1234 { + yyl48 := r.ReadMapStart() + if yyl48 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl48, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct48 == codecSelferValueTypeArray1234 { + yyl48 := r.ReadArrayStart() + if yyl48 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl48, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -665,12 +665,12 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys49Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys49Slc + var yyhl49 bool = l >= 0 + for yyj49 := 0; ; yyj49++ { + if yyhl49 { + if yyj49 >= l { break } } else { @@ -679,31 +679,10 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys49Slc = r.DecodeBytes(yys49Slc, true, true) + yys49 := string(yys49Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ScaleSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ScaleStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys49 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -716,10 +695,31 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv52 := &x.ObjectMeta + yyv52.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ScaleSpec{} + } else { + yyv53 := &x.Spec + yyv53.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ScaleStatus{} + } else { + yyv54 := &x.Status + yyv54.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys49) + } // end switch yys49 + } // end for yyj49 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -727,67 +727,16 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj55 int + var yyb55 bool + var yyhl55 bool = l >= 0 + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l } else { - yyb9 = r.CheckBreak() + yyb55 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ScaleSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ScaleStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb55 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -797,13 +746,13 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l } else { - yyb9 = r.CheckBreak() + yyb55 = r.CheckBreak() } - if yyb9 { + if yyb55 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -813,18 +762,69 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l + } else { + yyb55 = r.CheckBreak() + } + if yyb55 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv58 := &x.ObjectMeta + yyv58.CodecDecodeSelf(d) + } + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l + } else { + yyb55 = r.CheckBreak() + } + if yyb55 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ScaleSpec{} + } else { + yyv59 := &x.Spec + yyv59.CodecDecodeSelf(d) + } + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l + } else { + yyb55 = r.CheckBreak() + } + if yyb55 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ScaleStatus{} + } else { + yyv60 := &x.Status + yyv60.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj55++ + if yyhl55 { + yyb55 = yyj55 > l } else { - yyb9 = r.CheckBreak() + yyb55 = r.CheckBreak() } - if yyb9 { + if yyb55 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj55-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -836,36 +836,36 @@ func (x *ReplicationControllerDummy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym61 := z.EncBinary() + _ = yym61 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Kind != "" - yyq2[1] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep62 := !z.EncBinary() + yy2arr62 := z.EncBasicHandle().StructToArray + var yyq62 [2]bool + _, _, _ = yysep62, yyq62, yy2arr62 + const yyr62 bool = false + yyq62[0] = x.Kind != "" + yyq62[1] = x.APIVersion != "" + var yynn62 int + if yyr62 || yy2arr62 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn62 = 0 + for _, b := range yyq62 { if b { - yynn2++ + yynn62++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn62) + yynn62 = 0 } - if yyr2 || yy2arr2 { + if yyr62 || yy2arr62 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq62[0] { + yym64 := z.EncBinary() + _ = yym64 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -874,23 +874,23 @@ func (x *ReplicationControllerDummy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq62[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym65 := z.EncBinary() + _ = yym65 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr62 || yy2arr62 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq62[1] { + yym67 := z.EncBinary() + _ = yym67 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -899,19 +899,19 @@ func (x *ReplicationControllerDummy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq62[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym68 := z.EncBinary() + _ = yym68 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr62 || yy2arr62 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -924,25 +924,25 @@ func (x *ReplicationControllerDummy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym69 := z.DecBinary() + _ = yym69 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct70 := r.ContainerType() + if yyct70 == codecSelferValueTypeMap1234 { + yyl70 := r.ReadMapStart() + if yyl70 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl70, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct70 == codecSelferValueTypeArray1234 { + yyl70 := r.ReadArrayStart() + if yyl70 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl70, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -954,12 +954,12 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys71Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys71Slc + var yyhl71 bool = l >= 0 + for yyj71 := 0; ; yyj71++ { + if yyhl71 { + if yyj71 >= l { break } } else { @@ -968,10 +968,10 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys71Slc = r.DecodeBytes(yys71Slc, true, true) + yys71 := string(yys71Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys71 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -985,9 +985,9 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromMap(l int, d *codec1978. x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys71) + } // end switch yys71 + } // end for yyj71 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -995,16 +995,16 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj74 int + var yyb74 bool + var yyhl74 bool = l >= 0 + yyj74++ + if yyhl74 { + yyb74 = yyj74 > l } else { - yyb6 = r.CheckBreak() + yyb74 = r.CheckBreak() } - if yyb6 { + if yyb74 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1014,13 +1014,13 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj74++ + if yyhl74 { + yyb74 = yyj74 > l } else { - yyb6 = r.CheckBreak() + yyb74 = r.CheckBreak() } - if yyb6 { + if yyb74 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1031,17 +1031,17 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromArray(l int, d *codec197 x.APIVersion = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj74++ + if yyhl74 { + yyb74 = yyj74 > l } else { - yyb6 = r.CheckBreak() + yyb74 = r.CheckBreak() } - if yyb6 { + if yyb74 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj74-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1053,33 +1053,33 @@ func (x *CustomMetricTarget) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym77 := z.EncBinary() + _ = yym77 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep78 := !z.EncBinary() + yy2arr78 := z.EncBasicHandle().StructToArray + var yyq78 [2]bool + _, _, _ = yysep78, yyq78, yy2arr78 + const yyr78 bool = false + var yynn78 int + if yyr78 || yy2arr78 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn78 = 2 + for _, b := range yyq78 { if b { - yynn2++ + yynn78++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn78) + yynn78 = 0 } - if yyr2 || yy2arr2 { + if yyr78 || yy2arr78 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym80 := z.EncBinary() + _ = yym80 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -1088,41 +1088,41 @@ func (x *CustomMetricTarget) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym81 := z.EncBinary() + _ = yym81 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr78 || yy2arr78 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.TargetValue - yym8 := z.EncBinary() - _ = yym8 + yy83 := &x.TargetValue + yym84 := z.EncBinary() + _ = yym84 if false { - } else if z.HasExtensions() && z.EncExt(yy7) { - } else if !yym8 && z.IsJSONHandle() { - z.EncJSONMarshal(yy7) + } else if z.HasExtensions() && z.EncExt(yy83) { + } else if !yym84 && z.IsJSONHandle() { + z.EncJSONMarshal(yy83) } else { - z.EncFallback(yy7) + z.EncFallback(yy83) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.TargetValue - yym10 := z.EncBinary() - _ = yym10 + yy85 := &x.TargetValue + yym86 := z.EncBinary() + _ = yym86 if false { - } else if z.HasExtensions() && z.EncExt(yy9) { - } else if !yym10 && z.IsJSONHandle() { - z.EncJSONMarshal(yy9) + } else if z.HasExtensions() && z.EncExt(yy85) { + } else if !yym86 && z.IsJSONHandle() { + z.EncJSONMarshal(yy85) } else { - z.EncFallback(yy9) + z.EncFallback(yy85) } } - if yyr2 || yy2arr2 { + if yyr78 || yy2arr78 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1135,25 +1135,25 @@ func (x *CustomMetricTarget) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym87 := z.DecBinary() + _ = yym87 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct88 := r.ContainerType() + if yyct88 == codecSelferValueTypeMap1234 { + yyl88 := r.ReadMapStart() + if yyl88 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl88, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct88 == codecSelferValueTypeArray1234 { + yyl88 := r.ReadArrayStart() + if yyl88 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl88, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1165,12 +1165,12 @@ func (x *CustomMetricTarget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys89Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys89Slc + var yyhl89 bool = l >= 0 + for yyj89 := 0; ; yyj89++ { + if yyhl89 { + if yyj89 >= l { break } } else { @@ -1179,10 +1179,10 @@ func (x *CustomMetricTarget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys89Slc = r.DecodeBytes(yys89Slc, true, true) + yys89 := string(yys89Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys89 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -1193,21 +1193,21 @@ func (x *CustomMetricTarget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.TargetValue = pkg4_resource.Quantity{} } else { - yyv5 := &x.TargetValue - yym6 := z.DecBinary() - _ = yym6 + yyv91 := &x.TargetValue + yym92 := z.DecBinary() + _ = yym92 if false { - } else if z.HasExtensions() && z.DecExt(yyv5) { - } else if !yym6 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv5) + } else if z.HasExtensions() && z.DecExt(yyv91) { + } else if !yym92 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv91) } else { - z.DecFallback(yyv5, false) + z.DecFallback(yyv91, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys89) + } // end switch yys89 + } // end for yyj89 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1215,16 +1215,16 @@ func (x *CustomMetricTarget) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj93 int + var yyb93 bool + var yyhl93 bool = l >= 0 + yyj93++ + if yyhl93 { + yyb93 = yyj93 > l } else { - yyb7 = r.CheckBreak() + yyb93 = r.CheckBreak() } - if yyb7 { + if yyb93 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1234,13 +1234,13 @@ func (x *CustomMetricTarget) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Name = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj93++ + if yyhl93 { + yyb93 = yyj93 > l } else { - yyb7 = r.CheckBreak() + yyb93 = r.CheckBreak() } - if yyb7 { + if yyb93 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1248,29 +1248,29 @@ func (x *CustomMetricTarget) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.TargetValue = pkg4_resource.Quantity{} } else { - yyv9 := &x.TargetValue - yym10 := z.DecBinary() - _ = yym10 + yyv95 := &x.TargetValue + yym96 := z.DecBinary() + _ = yym96 if false { - } else if z.HasExtensions() && z.DecExt(yyv9) { - } else if !yym10 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv9) + } else if z.HasExtensions() && z.DecExt(yyv95) { + } else if !yym96 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv95) } else { - z.DecFallback(yyv9, false) + z.DecFallback(yyv95, false) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj93++ + if yyhl93 { + yyb93 = yyj93 > l } else { - yyb7 = r.CheckBreak() + yyb93 = r.CheckBreak() } - if yyb7 { + if yyb93 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj93-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1282,36 +1282,36 @@ func (x *CustomMetricTargetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym97 := z.EncBinary() + _ = yym97 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep98 := !z.EncBinary() + yy2arr98 := z.EncBasicHandle().StructToArray + var yyq98 [1]bool + _, _, _ = yysep98, yyq98, yy2arr98 + const yyr98 bool = false + var yynn98 int + if yyr98 || yy2arr98 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn98 = 1 + for _, b := range yyq98 { if b { - yynn2++ + yynn98++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn98) + yynn98 = 0 } - if yyr2 || yy2arr2 { + if yyr98 || yy2arr98 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym100 := z.EncBinary() + _ = yym100 if false { } else { h.encSliceCustomMetricTarget(([]CustomMetricTarget)(x.Items), e) @@ -1324,15 +1324,15 @@ func (x *CustomMetricTargetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym101 := z.EncBinary() + _ = yym101 if false { } else { h.encSliceCustomMetricTarget(([]CustomMetricTarget)(x.Items), e) } } } - if yyr2 || yy2arr2 { + if yyr98 || yy2arr98 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1345,25 +1345,25 @@ func (x *CustomMetricTargetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym102 := z.DecBinary() + _ = yym102 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct103 := r.ContainerType() + if yyct103 == codecSelferValueTypeMap1234 { + yyl103 := r.ReadMapStart() + if yyl103 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl103, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct103 == codecSelferValueTypeArray1234 { + yyl103 := r.ReadArrayStart() + if yyl103 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl103, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1375,12 +1375,12 @@ func (x *CustomMetricTargetList) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys104Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys104Slc + var yyhl104 bool = l >= 0 + for yyj104 := 0; ; yyj104++ { + if yyhl104 { + if yyj104 >= l { break } } else { @@ -1389,26 +1389,26 @@ func (x *CustomMetricTargetList) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys104Slc = r.DecodeBytes(yys104Slc, true, true) + yys104 := string(yys104Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys104 { case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4 := &x.Items - yym5 := z.DecBinary() - _ = yym5 + yyv105 := &x.Items + yym106 := z.DecBinary() + _ = yym106 if false { } else { - h.decSliceCustomMetricTarget((*[]CustomMetricTarget)(yyv4), d) + h.decSliceCustomMetricTarget((*[]CustomMetricTarget)(yyv105), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys104) + } // end switch yys104 + } // end for yyj104 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1416,16 +1416,16 @@ func (x *CustomMetricTargetList) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj107 int + var yyb107 bool + var yyhl107 bool = l >= 0 + yyj107++ + if yyhl107 { + yyb107 = yyj107 > l } else { - yyb6 = r.CheckBreak() + yyb107 = r.CheckBreak() } - if yyb6 { + if yyb107 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1433,26 +1433,26 @@ func (x *CustomMetricTargetList) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Items = nil } else { - yyv7 := &x.Items - yym8 := z.DecBinary() - _ = yym8 + yyv108 := &x.Items + yym109 := z.DecBinary() + _ = yym109 if false { } else { - h.decSliceCustomMetricTarget((*[]CustomMetricTarget)(yyv7), d) + h.decSliceCustomMetricTarget((*[]CustomMetricTarget)(yyv108), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj107++ + if yyhl107 { + yyb107 = yyj107 > l } else { - yyb6 = r.CheckBreak() + yyb107 = r.CheckBreak() } - if yyb6 { + if yyb107 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj107-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1464,33 +1464,33 @@ func (x *CustomMetricCurrentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym110 := z.EncBinary() + _ = yym110 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep111 := !z.EncBinary() + yy2arr111 := z.EncBasicHandle().StructToArray + var yyq111 [2]bool + _, _, _ = yysep111, yyq111, yy2arr111 + const yyr111 bool = false + var yynn111 int + if yyr111 || yy2arr111 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn111 = 2 + for _, b := range yyq111 { if b { - yynn2++ + yynn111++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn111) + yynn111 = 0 } - if yyr2 || yy2arr2 { + if yyr111 || yy2arr111 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym113 := z.EncBinary() + _ = yym113 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -1499,41 +1499,41 @@ func (x *CustomMetricCurrentStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym114 := z.EncBinary() + _ = yym114 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr111 || yy2arr111 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.CurrentValue - yym8 := z.EncBinary() - _ = yym8 + yy116 := &x.CurrentValue + yym117 := z.EncBinary() + _ = yym117 if false { - } else if z.HasExtensions() && z.EncExt(yy7) { - } else if !yym8 && z.IsJSONHandle() { - z.EncJSONMarshal(yy7) + } else if z.HasExtensions() && z.EncExt(yy116) { + } else if !yym117 && z.IsJSONHandle() { + z.EncJSONMarshal(yy116) } else { - z.EncFallback(yy7) + z.EncFallback(yy116) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.CurrentValue - yym10 := z.EncBinary() - _ = yym10 + yy118 := &x.CurrentValue + yym119 := z.EncBinary() + _ = yym119 if false { - } else if z.HasExtensions() && z.EncExt(yy9) { - } else if !yym10 && z.IsJSONHandle() { - z.EncJSONMarshal(yy9) + } else if z.HasExtensions() && z.EncExt(yy118) { + } else if !yym119 && z.IsJSONHandle() { + z.EncJSONMarshal(yy118) } else { - z.EncFallback(yy9) + z.EncFallback(yy118) } } - if yyr2 || yy2arr2 { + if yyr111 || yy2arr111 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1546,25 +1546,25 @@ func (x *CustomMetricCurrentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym120 := z.DecBinary() + _ = yym120 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct121 := r.ContainerType() + if yyct121 == codecSelferValueTypeMap1234 { + yyl121 := r.ReadMapStart() + if yyl121 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl121, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct121 == codecSelferValueTypeArray1234 { + yyl121 := r.ReadArrayStart() + if yyl121 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl121, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1576,12 +1576,12 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys122Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys122Slc + var yyhl122 bool = l >= 0 + for yyj122 := 0; ; yyj122++ { + if yyhl122 { + if yyj122 >= l { break } } else { @@ -1590,10 +1590,10 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys122Slc = r.DecodeBytes(yys122Slc, true, true) + yys122 := string(yys122Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys122 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -1604,21 +1604,21 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.CurrentValue = pkg4_resource.Quantity{} } else { - yyv5 := &x.CurrentValue - yym6 := z.DecBinary() - _ = yym6 + yyv124 := &x.CurrentValue + yym125 := z.DecBinary() + _ = yym125 if false { - } else if z.HasExtensions() && z.DecExt(yyv5) { - } else if !yym6 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv5) + } else if z.HasExtensions() && z.DecExt(yyv124) { + } else if !yym125 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv124) } else { - z.DecFallback(yyv5, false) + z.DecFallback(yyv124, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys122) + } // end switch yys122 + } // end for yyj122 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1626,16 +1626,16 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj126 int + var yyb126 bool + var yyhl126 bool = l >= 0 + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb7 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb7 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1645,13 +1645,13 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Name = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb7 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb7 { + if yyb126 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1659,29 +1659,29 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.CurrentValue = pkg4_resource.Quantity{} } else { - yyv9 := &x.CurrentValue - yym10 := z.DecBinary() - _ = yym10 + yyv128 := &x.CurrentValue + yym129 := z.DecBinary() + _ = yym129 if false { - } else if z.HasExtensions() && z.DecExt(yyv9) { - } else if !yym10 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv9) + } else if z.HasExtensions() && z.DecExt(yyv128) { + } else if !yym129 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv128) } else { - z.DecFallback(yyv9, false) + z.DecFallback(yyv128, false) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj126++ + if yyhl126 { + yyb126 = yyj126 > l } else { - yyb7 = r.CheckBreak() + yyb126 = r.CheckBreak() } - if yyb7 { + if yyb126 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj126-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1693,36 +1693,36 @@ func (x *CustomMetricCurrentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym130 := z.EncBinary() + _ = yym130 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep131 := !z.EncBinary() + yy2arr131 := z.EncBasicHandle().StructToArray + var yyq131 [1]bool + _, _, _ = yysep131, yyq131, yy2arr131 + const yyr131 bool = false + var yynn131 int + if yyr131 || yy2arr131 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn131 = 1 + for _, b := range yyq131 { if b { - yynn2++ + yynn131++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn131) + yynn131 = 0 } - if yyr2 || yy2arr2 { + if yyr131 || yy2arr131 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym133 := z.EncBinary() + _ = yym133 if false { } else { h.encSliceCustomMetricCurrentStatus(([]CustomMetricCurrentStatus)(x.Items), e) @@ -1735,15 +1735,15 @@ func (x *CustomMetricCurrentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym134 := z.EncBinary() + _ = yym134 if false { } else { h.encSliceCustomMetricCurrentStatus(([]CustomMetricCurrentStatus)(x.Items), e) } } } - if yyr2 || yy2arr2 { + if yyr131 || yy2arr131 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1756,25 +1756,25 @@ func (x *CustomMetricCurrentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym135 := z.DecBinary() + _ = yym135 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct136 := r.ContainerType() + if yyct136 == codecSelferValueTypeMap1234 { + yyl136 := r.ReadMapStart() + if yyl136 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl136, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct136 == codecSelferValueTypeArray1234 { + yyl136 := r.ReadArrayStart() + if yyl136 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl136, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1786,12 +1786,12 @@ func (x *CustomMetricCurrentStatusList) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys137Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys137Slc + var yyhl137 bool = l >= 0 + for yyj137 := 0; ; yyj137++ { + if yyhl137 { + if yyj137 >= l { break } } else { @@ -1800,26 +1800,26 @@ func (x *CustomMetricCurrentStatusList) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys137Slc = r.DecodeBytes(yys137Slc, true, true) + yys137 := string(yys137Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys137 { case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4 := &x.Items - yym5 := z.DecBinary() - _ = yym5 + yyv138 := &x.Items + yym139 := z.DecBinary() + _ = yym139 if false { } else { - h.decSliceCustomMetricCurrentStatus((*[]CustomMetricCurrentStatus)(yyv4), d) + h.decSliceCustomMetricCurrentStatus((*[]CustomMetricCurrentStatus)(yyv138), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys137) + } // end switch yys137 + } // end for yyj137 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1827,16 +1827,16 @@ func (x *CustomMetricCurrentStatusList) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj140 int + var yyb140 bool + var yyhl140 bool = l >= 0 + yyj140++ + if yyhl140 { + yyb140 = yyj140 > l } else { - yyb6 = r.CheckBreak() + yyb140 = r.CheckBreak() } - if yyb6 { + if yyb140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1844,26 +1844,26 @@ func (x *CustomMetricCurrentStatusList) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv7 := &x.Items - yym8 := z.DecBinary() - _ = yym8 + yyv141 := &x.Items + yym142 := z.DecBinary() + _ = yym142 if false { } else { - h.decSliceCustomMetricCurrentStatus((*[]CustomMetricCurrentStatus)(yyv7), d) + h.decSliceCustomMetricCurrentStatus((*[]CustomMetricCurrentStatus)(yyv141), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj140++ + if yyhl140 { + yyb140 = yyj140 > l } else { - yyb6 = r.CheckBreak() + yyb140 = r.CheckBreak() } - if yyb6 { + if yyb140 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj140-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1875,56 +1875,106 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym143 := z.EncBinary() + _ = yym143 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = x.Description != "" - yyq2[2] = len(x.Versions) != 0 - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep144 := !z.EncBinary() + yy2arr144 := z.EncBasicHandle().StructToArray + var yyq144 [5]bool + _, _, _ = yysep144, yyq144, yy2arr144 + const yyr144 bool = false + yyq144[0] = x.Kind != "" + yyq144[1] = x.APIVersion != "" + yyq144[2] = true + yyq144[3] = x.Description != "" + yyq144[4] = len(x.Versions) != 0 + var yynn144 int + if yyr144 || yy2arr144 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn144 = 0 + for _, b := range yyq144 { if b { - yynn2++ + yynn144++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn144) + yynn144 = 0 } - if yyr2 || yy2arr2 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq144[0] { + yym146 := z.EncBinary() + _ = yym146 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq144[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym147 := z.EncBinary() + _ = yym147 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr144 || yy2arr144 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq144[1] { + yym149 := z.EncBinary() + _ = yym149 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq144[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym150 := z.EncBinary() + _ = yym150 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr144 || yy2arr144 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq144[2] { + yy152 := &x.ObjectMeta + yy152.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq144[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy153 := &x.ObjectMeta + yy153.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym9 := z.EncBinary() - _ = yym9 + if yyq144[3] { + yym155 := z.EncBinary() + _ = yym155 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Description)) @@ -1933,26 +1983,26 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq144[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("description")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym10 := z.EncBinary() - _ = yym10 + yym156 := z.EncBinary() + _ = yym156 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Description)) } } } - if yyr2 || yy2arr2 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq144[4] { if x.Versions == nil { r.EncodeNil() } else { - yym12 := z.EncBinary() - _ = yym12 + yym158 := z.EncBinary() + _ = yym158 if false { } else { h.encSliceAPIVersion(([]APIVersion)(x.Versions), e) @@ -1962,15 +2012,15 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq144[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("versions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Versions == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym159 := z.EncBinary() + _ = yym159 if false { } else { h.encSliceAPIVersion(([]APIVersion)(x.Versions), e) @@ -1978,57 +2028,7 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr144 || yy2arr144 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2041,25 +2041,25 @@ func (x *ThirdPartyResource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym160 := z.DecBinary() + _ = yym160 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct161 := r.ContainerType() + if yyct161 == codecSelferValueTypeMap1234 { + yyl161 := r.ReadMapStart() + if yyl161 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl161, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct161 == codecSelferValueTypeArray1234 { + yyl161 := r.ReadArrayStart() + if yyl161 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl161, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2071,12 +2071,12 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys162Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys162Slc + var yyhl162 bool = l >= 0 + for yyj162 := 0; ; yyj162++ { + if yyhl162 { + if yyj162 >= l { break } } else { @@ -2085,35 +2085,10 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys162Slc = r.DecodeBytes(yys162Slc, true, true) + yys162 := string(yys162Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "description": - if r.TryDecodeAsNil() { - x.Description = "" - } else { - x.Description = string(r.DecodeString()) - } - case "versions": - if r.TryDecodeAsNil() { - x.Versions = nil - } else { - yyv6 := &x.Versions - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceAPIVersion((*[]APIVersion)(yyv6), d) - } - } + switch yys162 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -2126,10 +2101,35 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv165 := &x.ObjectMeta + yyv165.CodecDecodeSelf(d) + } + case "description": + if r.TryDecodeAsNil() { + x.Description = "" + } else { + x.Description = string(r.DecodeString()) + } + case "versions": + if r.TryDecodeAsNil() { + x.Versions = nil + } else { + yyv167 := &x.Versions + yym168 := z.DecBinary() + _ = yym168 + if false { + } else { + h.decSliceAPIVersion((*[]APIVersion)(yyv167), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys162) + } // end switch yys162 + } // end for yyj162 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2137,71 +2137,16 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj169 int + var yyb169 bool + var yyhl169 bool = l >= 0 + yyj169++ + if yyhl169 { + yyb169 = yyj169 > l } else { - yyb10 = r.CheckBreak() + yyb169 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv11 := &x.ObjectMeta - yyv11.CodecDecodeSelf(d) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Description = "" - } else { - x.Description = string(r.DecodeString()) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Versions = nil - } else { - yyv13 := &x.Versions - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceAPIVersion((*[]APIVersion)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2211,13 +2156,13 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj169++ + if yyhl169 { + yyb169 = yyj169 > l } else { - yyb10 = r.CheckBreak() + yyb169 = r.CheckBreak() } - if yyb10 { + if yyb169 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2227,18 +2172,73 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj169++ + if yyhl169 { + yyb169 = yyj169 > l + } else { + yyb169 = r.CheckBreak() + } + if yyb169 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv172 := &x.ObjectMeta + yyv172.CodecDecodeSelf(d) + } + yyj169++ + if yyhl169 { + yyb169 = yyj169 > l + } else { + yyb169 = r.CheckBreak() + } + if yyb169 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Description = "" + } else { + x.Description = string(r.DecodeString()) + } + yyj169++ + if yyhl169 { + yyb169 = yyj169 > l + } else { + yyb169 = r.CheckBreak() + } + if yyb169 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Versions = nil + } else { + yyv174 := &x.Versions + yym175 := z.DecBinary() + _ = yym175 + if false { } else { - yyb10 = r.CheckBreak() + h.decSliceAPIVersion((*[]APIVersion)(yyv174), d) } - if yyb10 { + } + for { + yyj169++ + if yyhl169 { + yyb169 = yyj169 > l + } else { + yyb169 = r.CheckBreak() + } + if yyb169 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj169-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2250,68 +2250,118 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym176 := z.EncBinary() + _ = yym176 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep177 := !z.EncBinary() + yy2arr177 := z.EncBasicHandle().StructToArray + var yyq177 [4]bool + _, _, _ = yysep177, yyq177, yy2arr177 + const yyr177 bool = false + yyq177[0] = x.Kind != "" + yyq177[1] = x.APIVersion != "" + yyq177[2] = true + var yynn177 int + if yyr177 || yy2arr177 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn177 = 1 + for _, b := range yyq177 { if b { - yynn2++ + yynn177++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn177) + yynn177 = 0 } - if yyr2 || yy2arr2 { + if yyr177 || yy2arr177 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq177[0] { + yym179 := z.EncBinary() + _ = yym179 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq177[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym180 := z.EncBinary() + _ = yym180 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr177 || yy2arr177 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq177[1] { + yym182 := z.EncBinary() + _ = yym182 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq177[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym183 := z.EncBinary() + _ = yym183 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr177 || yy2arr177 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq177[2] { + yy185 := &x.ListMeta + yym186 := z.EncBinary() + _ = yym186 + if false { + } else if z.HasExtensions() && z.EncExt(yy185) { + } else { + z.EncFallback(yy185) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq177[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy187 := &x.ListMeta + yym188 := z.EncBinary() + _ = yym188 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy187) { } else { - z.EncFallback(yy6) + z.EncFallback(yy187) } } } - if yyr2 || yy2arr2 { + if yyr177 || yy2arr177 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym190 := z.EncBinary() + _ = yym190 if false { } else { h.encSliceThirdPartyResource(([]ThirdPartyResource)(x.Items), e) @@ -2324,65 +2374,15 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym191 := z.EncBinary() + _ = yym191 if false { } else { h.encSliceThirdPartyResource(([]ThirdPartyResource)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr177 || yy2arr177 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2395,25 +2395,25 @@ func (x *ThirdPartyResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym192 := z.DecBinary() + _ = yym192 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct193 := r.ContainerType() + if yyct193 == codecSelferValueTypeMap1234 { + yyl193 := r.ReadMapStart() + if yyl193 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl193, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct193 == codecSelferValueTypeArray1234 { + yyl193 := r.ReadArrayStart() + if yyl193 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl193, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2425,12 +2425,12 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys194Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys194Slc + var yyhl194 bool = l >= 0 + for yyj194 := 0; ; yyj194++ { + if yyhl194 { + if yyj194 >= l { break } } else { @@ -2439,35 +2439,10 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys194Slc = r.DecodeBytes(yys194Slc, true, true) + yys194 := string(yys194Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv6), d) - } - } + switch yys194 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -2480,10 +2455,35 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromMap(l int, d *codec1978.Deco } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv197 := &x.ListMeta + yym198 := z.DecBinary() + _ = yym198 + if false { + } else if z.HasExtensions() && z.DecExt(yyv197) { + } else { + z.DecFallback(yyv197, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv199 := &x.Items + yym200 := z.DecBinary() + _ = yym200 + if false { + } else { + h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv199), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys194) + } // end switch yys194 + } // end for yyj194 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2491,61 +2491,16 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj201 int + var yyb201 bool + var yyhl201 bool = l >= 0 + yyj201++ + if yyhl201 { + yyb201 = yyj201 > l } else { - yyb10 = r.CheckBreak() + yyb201 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb201 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2555,13 +2510,13 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj201++ + if yyhl201 { + yyb201 = yyj201 > l } else { - yyb10 = r.CheckBreak() + yyb201 = r.CheckBreak() } - if yyb10 { + if yyb201 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2571,18 +2526,63 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj201++ + if yyhl201 { + yyb201 = yyj201 > l + } else { + yyb201 = r.CheckBreak() + } + if yyb201 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv204 := &x.ListMeta + yym205 := z.DecBinary() + _ = yym205 + if false { + } else if z.HasExtensions() && z.DecExt(yyv204) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv204, false) } - if yyb10 { + } + yyj201++ + if yyhl201 { + yyb201 = yyj201 > l + } else { + yyb201 = r.CheckBreak() + } + if yyb201 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv206 := &x.Items + yym207 := z.DecBinary() + _ = yym207 + if false { + } else { + h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv206), d) + } + } + for { + yyj201++ + if yyhl201 { + yyb201 = yyj201 > l + } else { + yyb201 = r.CheckBreak() + } + if yyb201 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj201-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2594,35 +2594,35 @@ func (x *APIVersion) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym208 := z.EncBinary() + _ = yym208 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Name != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep209 := !z.EncBinary() + yy2arr209 := z.EncBasicHandle().StructToArray + var yyq209 [1]bool + _, _, _ = yysep209, yyq209, yy2arr209 + const yyr209 bool = false + yyq209[0] = x.Name != "" + var yynn209 int + if yyr209 || yy2arr209 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn209 = 0 + for _, b := range yyq209 { if b { - yynn2++ + yynn209++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn209) + yynn209 = 0 } - if yyr2 || yy2arr2 { + if yyr209 || yy2arr209 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq209[0] { + yym211 := z.EncBinary() + _ = yym211 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -2631,19 +2631,19 @@ func (x *APIVersion) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq209[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym212 := z.EncBinary() + _ = yym212 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2 || yy2arr2 { + if yyr209 || yy2arr209 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2656,25 +2656,25 @@ func (x *APIVersion) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym213 := z.DecBinary() + _ = yym213 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct214 := r.ContainerType() + if yyct214 == codecSelferValueTypeMap1234 { + yyl214 := r.ReadMapStart() + if yyl214 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl214, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct214 == codecSelferValueTypeArray1234 { + yyl214 := r.ReadArrayStart() + if yyl214 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl214, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2686,12 +2686,12 @@ func (x *APIVersion) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys215Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys215Slc + var yyhl215 bool = l >= 0 + for yyj215 := 0; ; yyj215++ { + if yyhl215 { + if yyj215 >= l { break } } else { @@ -2700,10 +2700,10 @@ func (x *APIVersion) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys215Slc = r.DecodeBytes(yys215Slc, true, true) + yys215 := string(yys215Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys215 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -2711,9 +2711,9 @@ func (x *APIVersion) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys215) + } // end switch yys215 + } // end for yyj215 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2721,16 +2721,16 @@ func (x *APIVersion) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj217 int + var yyb217 bool + var yyhl217 bool = l >= 0 + yyj217++ + if yyhl217 { + yyb217 = yyj217 > l } else { - yyb5 = r.CheckBreak() + yyb217 = r.CheckBreak() } - if yyb5 { + if yyb217 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2741,17 +2741,17 @@ func (x *APIVersion) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Name = string(r.DecodeString()) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj217++ + if yyhl217 { + yyb217 = yyj217 > l } else { - yyb5 = r.CheckBreak() + yyb217 = r.CheckBreak() } - if yyb5 { + if yyb217 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj217-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2763,58 +2763,108 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym219 := z.EncBinary() + _ = yym219 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = len(x.Data) != 0 - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep220 := !z.EncBinary() + yy2arr220 := z.EncBasicHandle().StructToArray + var yyq220 [4]bool + _, _, _ = yysep220, yyq220, yy2arr220 + const yyr220 bool = false + yyq220[0] = x.Kind != "" + yyq220[1] = x.APIVersion != "" + yyq220[2] = true + yyq220[3] = len(x.Data) != 0 + var yynn220 int + if yyr220 || yy2arr220 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn220 = 0 + for _, b := range yyq220 { if b { - yynn2++ + yynn220++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn220) + yynn220 = 0 } - if yyr2 || yy2arr2 { + if yyr220 || yy2arr220 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq220[0] { + yym222 := z.EncBinary() + _ = yym222 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq220[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym223 := z.EncBinary() + _ = yym223 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr220 || yy2arr220 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq220[1] { + yym225 := z.EncBinary() + _ = yym225 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq220[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym226 := z.EncBinary() + _ = yym226 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr220 || yy2arr220 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq220[2] { + yy228 := &x.ObjectMeta + yy228.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq220[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy229 := &x.ObjectMeta + yy229.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr220 || yy2arr220 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq220[3] { if x.Data == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym231 := z.EncBinary() + _ = yym231 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -2824,15 +2874,15 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq220[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym232 := z.EncBinary() + _ = yym232 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -2840,57 +2890,7 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr220 || yy2arr220 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2903,25 +2903,25 @@ func (x *ThirdPartyResourceData) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym233 := z.DecBinary() + _ = yym233 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct234 := r.ContainerType() + if yyct234 == codecSelferValueTypeMap1234 { + yyl234 := r.ReadMapStart() + if yyl234 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl234, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct234 == codecSelferValueTypeArray1234 { + yyl234 := r.ReadArrayStart() + if yyl234 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl234, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2933,12 +2933,12 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys235Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys235Slc + var yyhl235 bool = l >= 0 + for yyj235 := 0; ; yyj235++ { + if yyhl235 { + if yyj235 >= l { break } } else { @@ -2947,29 +2947,10 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys235Slc = r.DecodeBytes(yys235Slc, true, true) + yys235 := string(yys235Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "data": - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv5 := &x.Data - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - *yyv5 = r.DecodeBytes(*(*[]byte)(yyv5), false, false) - } - } + switch yys235 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -2982,10 +2963,29 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv238 := &x.ObjectMeta + yyv238.CodecDecodeSelf(d) + } + case "data": + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv239 := &x.Data + yym240 := z.DecBinary() + _ = yym240 + if false { + } else { + *yyv239 = r.DecodeBytes(*(*[]byte)(yyv239), false, false) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys235) + } // end switch yys235 + } // end for yyj235 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2993,55 +2993,16 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj241 int + var yyb241 bool + var yyhl241 bool = l >= 0 + yyj241++ + if yyhl241 { + yyb241 = yyj241 > l } else { - yyb9 = r.CheckBreak() + yyb241 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv11 := &x.Data - yym12 := z.DecBinary() - _ = yym12 - if false { - } else { - *yyv11 = r.DecodeBytes(*(*[]byte)(yyv11), false, false) - } - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb241 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3051,13 +3012,13 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj241++ + if yyhl241 { + yyb241 = yyj241 > l } else { - yyb9 = r.CheckBreak() + yyb241 = r.CheckBreak() } - if yyb9 { + if yyb241 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3067,18 +3028,57 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj241++ + if yyhl241 { + yyb241 = yyj241 > l + } else { + yyb241 = r.CheckBreak() + } + if yyb241 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv244 := &x.ObjectMeta + yyv244.CodecDecodeSelf(d) + } + yyj241++ + if yyhl241 { + yyb241 = yyj241 > l + } else { + yyb241 = r.CheckBreak() + } + if yyb241 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv245 := &x.Data + yym246 := z.DecBinary() + _ = yym246 + if false { } else { - yyb9 = r.CheckBreak() + *yyv245 = r.DecodeBytes(*(*[]byte)(yyv245), false, false) } - if yyb9 { + } + for { + yyj241++ + if yyhl241 { + yyb241 = yyj241 > l + } else { + yyb241 = r.CheckBreak() + } + if yyb241 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj241-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3090,90 +3090,39 @@ func (x *Deployment) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym247 := z.EncBinary() + _ = yym247 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep248 := !z.EncBinary() + yy2arr248 := z.EncBasicHandle().StructToArray + var yyq248 [5]bool + _, _, _ = yysep248, yyq248, yy2arr248 + const yyr248 bool = false + yyq248[0] = x.Kind != "" + yyq248[1] = x.APIVersion != "" + yyq248[2] = true + yyq248[3] = true + yyq248[4] = true + var yynn248 int + if yyr248 || yy2arr248 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn248 = 0 + for _, b := range yyq248 { if b { - yynn2++ + yynn248++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn248) + yynn248 = 0 } - if yyr2 || yy2arr2 { + if yyr248 || yy2arr248 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq248[0] { + yym250 := z.EncBinary() + _ = yym250 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -3182,23 +3131,23 @@ func (x *Deployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq248[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym251 := z.EncBinary() + _ = yym251 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr248 || yy2arr248 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq248[1] { + yym253 := z.EncBinary() + _ = yym253 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -3207,19 +3156,70 @@ func (x *Deployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq248[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym254 := z.EncBinary() + _ = yym254 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr248 || yy2arr248 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq248[2] { + yy256 := &x.ObjectMeta + yy256.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq248[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy257 := &x.ObjectMeta + yy257.CodecEncodeSelf(e) + } + } + if yyr248 || yy2arr248 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq248[3] { + yy259 := &x.Spec + yy259.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq248[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy260 := &x.Spec + yy260.CodecEncodeSelf(e) + } + } + if yyr248 || yy2arr248 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq248[4] { + yy262 := &x.Status + yy262.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq248[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy263 := &x.Status + yy263.CodecEncodeSelf(e) + } + } + if yyr248 || yy2arr248 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3232,25 +3232,25 @@ func (x *Deployment) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym264 := z.DecBinary() + _ = yym264 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct265 := r.ContainerType() + if yyct265 == codecSelferValueTypeMap1234 { + yyl265 := r.ReadMapStart() + if yyl265 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl265, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct265 == codecSelferValueTypeArray1234 { + yyl265 := r.ReadArrayStart() + if yyl265 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl265, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3262,12 +3262,12 @@ func (x *Deployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys266Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys266Slc + var yyhl266 bool = l >= 0 + for yyj266 := 0; ; yyj266++ { + if yyhl266 { + if yyj266 >= l { break } } else { @@ -3276,31 +3276,10 @@ func (x *Deployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys266Slc = r.DecodeBytes(yys266Slc, true, true) + yys266 := string(yys266Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = DeploymentSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = DeploymentStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys266 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3313,10 +3292,31 @@ func (x *Deployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv269 := &x.ObjectMeta + yyv269.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = DeploymentSpec{} + } else { + yyv270 := &x.Spec + yyv270.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = DeploymentStatus{} + } else { + yyv271 := &x.Status + yyv271.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys266) + } // end switch yys266 + } // end for yyj266 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3324,67 +3324,16 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj272 int + var yyb272 bool + var yyhl272 bool = l >= 0 + yyj272++ + if yyhl272 { + yyb272 = yyj272 > l } else { - yyb9 = r.CheckBreak() + yyb272 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = DeploymentSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = DeploymentStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb272 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3394,13 +3343,13 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj272++ + if yyhl272 { + yyb272 = yyj272 > l } else { - yyb9 = r.CheckBreak() + yyb272 = r.CheckBreak() } - if yyb9 { + if yyb272 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3410,18 +3359,69 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj272++ + if yyhl272 { + yyb272 = yyj272 > l + } else { + yyb272 = r.CheckBreak() + } + if yyb272 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv275 := &x.ObjectMeta + yyv275.CodecDecodeSelf(d) + } + yyj272++ + if yyhl272 { + yyb272 = yyj272 > l + } else { + yyb272 = r.CheckBreak() + } + if yyb272 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = DeploymentSpec{} + } else { + yyv276 := &x.Spec + yyv276.CodecDecodeSelf(d) + } + yyj272++ + if yyhl272 { + yyb272 = yyj272 > l + } else { + yyb272 = r.CheckBreak() + } + if yyb272 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = DeploymentStatus{} + } else { + yyv277 := &x.Status + yyv277.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj272++ + if yyhl272 { + yyb272 = yyj272 > l } else { - yyb9 = r.CheckBreak() + yyb272 = r.CheckBreak() } - if yyb9 { + if yyb272 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj272-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3433,41 +3433,41 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym278 := z.EncBinary() + _ = yym278 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [8]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Replicas != 0 - yyq2[1] = x.Selector != nil - yyq2[3] = true - yyq2[4] = x.MinReadySeconds != 0 - yyq2[5] = x.RevisionHistoryLimit != nil - yyq2[6] = x.Paused != false - yyq2[7] = x.RollbackTo != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep279 := !z.EncBinary() + yy2arr279 := z.EncBasicHandle().StructToArray + var yyq279 [8]bool + _, _, _ = yysep279, yyq279, yy2arr279 + const yyr279 bool = false + yyq279[0] = x.Replicas != 0 + yyq279[1] = x.Selector != nil + yyq279[3] = true + yyq279[4] = x.MinReadySeconds != 0 + yyq279[5] = x.RevisionHistoryLimit != nil + yyq279[6] = x.Paused != false + yyq279[7] = x.RollbackTo != nil + var yynn279 int + if yyr279 || yy2arr279 { r.EncodeArrayStart(8) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn279 = 1 + for _, b := range yyq279 { if b { - yynn2++ + yynn279++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn279) + yynn279 = 0 } - if yyr2 || yy2arr2 { + if yyr279 || yy2arr279 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq279[0] { + yym281 := z.EncBinary() + _ = yym281 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -3476,26 +3476,26 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[0] { + if yyq279[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym282 := z.EncBinary() + _ = yym282 if false { } else { r.EncodeInt(int64(x.Replicas)) } } } - if yyr2 || yy2arr2 { + if yyr279 || yy2arr279 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq279[1] { if x.Selector == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym284 := z.EncBinary() + _ = yym284 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -3506,15 +3506,15 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq279[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym285 := z.EncBinary() + _ = yym285 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -3523,39 +3523,39 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr279 || yy2arr279 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy10 := &x.Template - yy10.CodecEncodeSelf(e) + yy287 := &x.Template + yy287.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.Template - yy12.CodecEncodeSelf(e) + yy288 := &x.Template + yy288.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr279 || yy2arr279 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yy15 := &x.Strategy - yy15.CodecEncodeSelf(e) + if yyq279[3] { + yy290 := &x.Strategy + yy290.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq279[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("strategy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.Strategy - yy17.CodecEncodeSelf(e) + yy291 := &x.Strategy + yy291.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr279 || yy2arr279 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 + if yyq279[4] { + yym293 := z.EncBinary() + _ = yym293 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) @@ -3564,58 +3564,58 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[4] { + if yyq279[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym294 := z.EncBinary() + _ = yym294 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) } } } - if yyr2 || yy2arr2 { + if yyr279 || yy2arr279 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq279[5] { if x.RevisionHistoryLimit == nil { r.EncodeNil() } else { - yy23 := *x.RevisionHistoryLimit - yym24 := z.EncBinary() - _ = yym24 + yy296 := *x.RevisionHistoryLimit + yym297 := z.EncBinary() + _ = yym297 if false { } else { - r.EncodeInt(int64(yy23)) + r.EncodeInt(int64(yy296)) } } } else { r.EncodeNil() } } else { - if yyq2[5] { + if yyq279[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revisionHistoryLimit")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RevisionHistoryLimit == nil { r.EncodeNil() } else { - yy25 := *x.RevisionHistoryLimit - yym26 := z.EncBinary() - _ = yym26 + yy298 := *x.RevisionHistoryLimit + yym299 := z.EncBinary() + _ = yym299 if false { } else { - r.EncodeInt(int64(yy25)) + r.EncodeInt(int64(yy298)) } } } } - if yyr2 || yy2arr2 { + if yyr279 || yy2arr279 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym28 := z.EncBinary() - _ = yym28 + if yyq279[6] { + yym301 := z.EncBinary() + _ = yym301 if false { } else { r.EncodeBool(bool(x.Paused)) @@ -3624,21 +3624,21 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[6] { + if yyq279[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("paused")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym29 := z.EncBinary() - _ = yym29 + yym302 := z.EncBinary() + _ = yym302 if false { } else { r.EncodeBool(bool(x.Paused)) } } } - if yyr2 || yy2arr2 { + if yyr279 || yy2arr279 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq279[7] { if x.RollbackTo == nil { r.EncodeNil() } else { @@ -3648,7 +3648,7 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[7] { + if yyq279[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollbackTo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -3659,7 +3659,7 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr279 || yy2arr279 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3672,25 +3672,25 @@ func (x *DeploymentSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym304 := z.DecBinary() + _ = yym304 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct305 := r.ContainerType() + if yyct305 == codecSelferValueTypeMap1234 { + yyl305 := r.ReadMapStart() + if yyl305 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl305, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct305 == codecSelferValueTypeArray1234 { + yyl305 := r.ReadArrayStart() + if yyl305 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl305, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3702,12 +3702,12 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys306Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys306Slc + var yyhl306 bool = l >= 0 + for yyj306 := 0; ; yyj306++ { + if yyhl306 { + if yyj306 >= l { break } } else { @@ -3716,10 +3716,10 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys306Slc = r.DecodeBytes(yys306Slc, true, true) + yys306 := string(yys306Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys306 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -3735,8 +3735,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym6 := z.DecBinary() - _ = yym6 + yym309 := z.DecBinary() + _ = yym309 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -3747,15 +3747,15 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv7 := &x.Template - yyv7.CodecDecodeSelf(d) + yyv310 := &x.Template + yyv310.CodecDecodeSelf(d) } case "strategy": if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv8 := &x.Strategy - yyv8.CodecDecodeSelf(d) + yyv311 := &x.Strategy + yyv311.CodecDecodeSelf(d) } case "minReadySeconds": if r.TryDecodeAsNil() { @@ -3772,8 +3772,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym11 := z.DecBinary() - _ = yym11 + yym314 := z.DecBinary() + _ = yym314 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) @@ -3797,9 +3797,9 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.RollbackTo.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys306) + } // end switch yys306 + } // end for yyj306 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3807,16 +3807,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj14 int - var yyb14 bool - var yyhl14 bool = l >= 0 - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + var yyj317 int + var yyb317 bool + var yyhl317 bool = l >= 0 + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb14 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb14 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3826,13 +3826,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb14 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb14 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3845,21 +3845,21 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym17 := z.DecBinary() - _ = yym17 + yym320 := z.DecBinary() + _ = yym320 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb14 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb14 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3867,16 +3867,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv18 := &x.Template - yyv18.CodecDecodeSelf(d) + yyv321 := &x.Template + yyv321.CodecDecodeSelf(d) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb14 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb14 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3884,16 +3884,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv19 := &x.Strategy - yyv19.CodecDecodeSelf(d) + yyv322 := &x.Strategy + yyv322.CodecDecodeSelf(d) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb14 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb14 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3903,13 +3903,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MinReadySeconds = int32(r.DecodeInt(32)) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb14 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb14 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3922,20 +3922,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym22 := z.DecBinary() - _ = yym22 + yym325 := z.DecBinary() + _ = yym325 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb14 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb14 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3945,13 +3945,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Paused = bool(r.DecodeBool()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb14 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb14 { + if yyb317 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3967,17 +3967,17 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.RollbackTo.CodecDecodeSelf(d) } for { - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj317++ + if yyhl317 { + yyb317 = yyj317 > l } else { - yyb14 = r.CheckBreak() + yyb317 = r.CheckBreak() } - if yyb14 { + if yyb317 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj14-1, "") + z.DecStructFieldNotFound(yyj317-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3989,36 +3989,86 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym328 := z.EncBinary() + _ = yym328 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = len(x.UpdatedAnnotations) != 0 - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep329 := !z.EncBinary() + yy2arr329 := z.EncBasicHandle().StructToArray + var yyq329 [5]bool + _, _, _ = yysep329, yyq329, yy2arr329 + const yyr329 bool = false + yyq329[0] = x.Kind != "" + yyq329[1] = x.APIVersion != "" + yyq329[3] = len(x.UpdatedAnnotations) != 0 + var yynn329 int + if yyr329 || yy2arr329 { r.EncodeArrayStart(5) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn329 = 2 + for _, b := range yyq329 { if b { - yynn2++ + yynn329++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn329) + yynn329 = 0 } - if yyr2 || yy2arr2 { + if yyr329 || yy2arr329 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + if yyq329[0] { + yym331 := z.EncBinary() + _ = yym331 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq329[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym332 := z.EncBinary() + _ = yym332 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr329 || yy2arr329 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq329[1] { + yym334 := z.EncBinary() + _ = yym334 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq329[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym335 := z.EncBinary() + _ = yym335 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr329 || yy2arr329 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym337 := z.EncBinary() + _ = yym337 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -4027,21 +4077,21 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym338 := z.EncBinary() + _ = yym338 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr329 || yy2arr329 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq329[3] { if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym340 := z.EncBinary() + _ = yym340 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -4051,15 +4101,15 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq329[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("updatedAnnotations")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym341 := z.EncBinary() + _ = yym341 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -4067,68 +4117,18 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr329 || yy2arr329 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy10 := &x.RollbackTo - yy10.CodecEncodeSelf(e) + yy343 := &x.RollbackTo + yy343.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollbackTo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.RollbackTo - yy12.CodecEncodeSelf(e) + yy344 := &x.RollbackTo + yy344.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr329 || yy2arr329 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4141,25 +4141,25 @@ func (x *DeploymentRollback) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym345 := z.DecBinary() + _ = yym345 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct346 := r.ContainerType() + if yyct346 == codecSelferValueTypeMap1234 { + yyl346 := r.ReadMapStart() + if yyl346 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl346, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct346 == codecSelferValueTypeArray1234 { + yyl346 := r.ReadArrayStart() + if yyl346 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl346, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4171,12 +4171,12 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys347Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys347Slc + var yyhl347 bool = l >= 0 + for yyj347 := 0; ; yyj347++ { + if yyhl347 { + if yyj347 >= l { break } } else { @@ -4185,35 +4185,10 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys347Slc = r.DecodeBytes(yys347Slc, true, true) + yys347 := string(yys347Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "name": - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - case "updatedAnnotations": - if r.TryDecodeAsNil() { - x.UpdatedAnnotations = nil - } else { - yyv5 := &x.UpdatedAnnotations - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - z.F.DecMapStringStringX(yyv5, false, d) - } - } - case "rollbackTo": - if r.TryDecodeAsNil() { - x.RollbackTo = RollbackConfig{} - } else { - yyv7 := &x.RollbackTo - yyv7.CodecDecodeSelf(d) - } + switch yys347 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -4226,10 +4201,35 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + case "name": + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + case "updatedAnnotations": + if r.TryDecodeAsNil() { + x.UpdatedAnnotations = nil + } else { + yyv351 := &x.UpdatedAnnotations + yym352 := z.DecBinary() + _ = yym352 + if false { + } else { + z.F.DecMapStringStringX(yyv351, false, d) + } + } + case "rollbackTo": + if r.TryDecodeAsNil() { + x.RollbackTo = RollbackConfig{} + } else { + yyv353 := &x.RollbackTo + yyv353.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys347) + } // end switch yys347 + } // end for yyj347 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4237,71 +4237,16 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj354 int + var yyb354 bool + var yyhl354 bool = l >= 0 + yyj354++ + if yyhl354 { + yyb354 = yyj354 > l } else { - yyb10 = r.CheckBreak() + yyb354 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.UpdatedAnnotations = nil - } else { - yyv12 := &x.UpdatedAnnotations - yym13 := z.DecBinary() - _ = yym13 - if false { - } else { - z.F.DecMapStringStringX(yyv12, false, d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RollbackTo = RollbackConfig{} - } else { - yyv14 := &x.RollbackTo - yyv14.CodecDecodeSelf(d) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4311,13 +4256,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj354++ + if yyhl354 { + yyb354 = yyj354 > l } else { - yyb10 = r.CheckBreak() + yyb354 = r.CheckBreak() } - if yyb10 { + if yyb354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4327,18 +4272,73 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj354++ + if yyhl354 { + yyb354 = yyj354 > l + } else { + yyb354 = r.CheckBreak() + } + if yyb354 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + yyj354++ + if yyhl354 { + yyb354 = yyj354 > l + } else { + yyb354 = r.CheckBreak() + } + if yyb354 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.UpdatedAnnotations = nil + } else { + yyv358 := &x.UpdatedAnnotations + yym359 := z.DecBinary() + _ = yym359 + if false { } else { - yyb10 = r.CheckBreak() + z.F.DecMapStringStringX(yyv358, false, d) } - if yyb10 { + } + yyj354++ + if yyhl354 { + yyb354 = yyj354 > l + } else { + yyb354 = r.CheckBreak() + } + if yyb354 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RollbackTo = RollbackConfig{} + } else { + yyv360 := &x.RollbackTo + yyv360.CodecDecodeSelf(d) + } + for { + yyj354++ + if yyhl354 { + yyb354 = yyj354 > l + } else { + yyb354 = r.CheckBreak() + } + if yyb354 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj354-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4350,35 +4350,35 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym361 := z.EncBinary() + _ = yym361 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Revision != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep362 := !z.EncBinary() + yy2arr362 := z.EncBasicHandle().StructToArray + var yyq362 [1]bool + _, _, _ = yysep362, yyq362, yy2arr362 + const yyr362 bool = false + yyq362[0] = x.Revision != 0 + var yynn362 int + if yyr362 || yy2arr362 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn362 = 0 + for _, b := range yyq362 { if b { - yynn2++ + yynn362++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn362) + yynn362 = 0 } - if yyr2 || yy2arr2 { + if yyr362 || yy2arr362 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq362[0] { + yym364 := z.EncBinary() + _ = yym364 if false { } else { r.EncodeInt(int64(x.Revision)) @@ -4387,19 +4387,19 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[0] { + if yyq362[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym365 := z.EncBinary() + _ = yym365 if false { } else { r.EncodeInt(int64(x.Revision)) } } } - if yyr2 || yy2arr2 { + if yyr362 || yy2arr362 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4412,25 +4412,25 @@ func (x *RollbackConfig) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym366 := z.DecBinary() + _ = yym366 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct367 := r.ContainerType() + if yyct367 == codecSelferValueTypeMap1234 { + yyl367 := r.ReadMapStart() + if yyl367 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl367, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct367 == codecSelferValueTypeArray1234 { + yyl367 := r.ReadArrayStart() + if yyl367 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl367, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4442,12 +4442,12 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys368Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys368Slc + var yyhl368 bool = l >= 0 + for yyj368 := 0; ; yyj368++ { + if yyhl368 { + if yyj368 >= l { break } } else { @@ -4456,10 +4456,10 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys368Slc = r.DecodeBytes(yys368Slc, true, true) + yys368 := string(yys368Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys368 { case "revision": if r.TryDecodeAsNil() { x.Revision = 0 @@ -4467,9 +4467,9 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys368) + } // end switch yys368 + } // end for yyj368 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4477,16 +4477,16 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj370 int + var yyb370 bool + var yyhl370 bool = l >= 0 + yyj370++ + if yyhl370 { + yyb370 = yyj370 > l } else { - yyb5 = r.CheckBreak() + yyb370 = r.CheckBreak() } - if yyb5 { + if yyb370 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4497,17 +4497,17 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj370++ + if yyhl370 { + yyb370 = yyj370 > l } else { - yyb5 = r.CheckBreak() + yyb370 = r.CheckBreak() } - if yyb5 { + if yyb370 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj370-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4519,49 +4519,49 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym372 := z.EncBinary() + _ = yym372 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Type != "" - yyq2[1] = x.RollingUpdate != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep373 := !z.EncBinary() + yy2arr373 := z.EncBasicHandle().StructToArray + var yyq373 [2]bool + _, _, _ = yysep373, yyq373, yy2arr373 + const yyr373 bool = false + yyq373[0] = x.Type != "" + yyq373[1] = x.RollingUpdate != nil + var yynn373 int + if yyr373 || yy2arr373 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn373 = 0 + for _, b := range yyq373 { if b { - yynn2++ + yynn373++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn373) + yynn373 = 0 } - if yyr2 || yy2arr2 { + if yyr373 || yy2arr373 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq373[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq373[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr373 || yy2arr373 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq373[1] { if x.RollingUpdate == nil { r.EncodeNil() } else { @@ -4571,7 +4571,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq373[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollingUpdate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -4582,7 +4582,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr373 || yy2arr373 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4595,25 +4595,25 @@ func (x *DeploymentStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym376 := z.DecBinary() + _ = yym376 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct377 := r.ContainerType() + if yyct377 == codecSelferValueTypeMap1234 { + yyl377 := r.ReadMapStart() + if yyl377 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl377, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct377 == codecSelferValueTypeArray1234 { + yyl377 := r.ReadArrayStart() + if yyl377 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl377, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4625,12 +4625,12 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys378Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys378Slc + var yyhl378 bool = l >= 0 + for yyj378 := 0; ; yyj378++ { + if yyhl378 { + if yyj378 >= l { break } } else { @@ -4639,10 +4639,10 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys378Slc = r.DecodeBytes(yys378Slc, true, true) + yys378 := string(yys378Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys378 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -4661,9 +4661,9 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.RollingUpdate.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys378) + } // end switch yys378 + } // end for yyj378 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4671,16 +4671,16 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj381 int + var yyb381 bool + var yyhl381 bool = l >= 0 + yyj381++ + if yyhl381 { + yyb381 = yyj381 > l } else { - yyb6 = r.CheckBreak() + yyb381 = r.CheckBreak() } - if yyb6 { + if yyb381 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4690,13 +4690,13 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = DeploymentStrategyType(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj381++ + if yyhl381 { + yyb381 = yyj381 > l } else { - yyb6 = r.CheckBreak() + yyb381 = r.CheckBreak() } - if yyb6 { + if yyb381 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4712,17 +4712,17 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.RollingUpdate.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj381++ + if yyhl381 { + yyb381 = yyj381 > l } else { - yyb6 = r.CheckBreak() + yyb381 = r.CheckBreak() } - if yyb6 { + if yyb381 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj381-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4731,8 +4731,8 @@ func (x DeploymentStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym384 := z.EncBinary() + _ = yym384 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -4744,8 +4744,8 @@ func (x *DeploymentStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym385 := z.DecBinary() + _ = yym385 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -4760,98 +4760,98 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym386 := z.EncBinary() + _ = yym386 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep387 := !z.EncBinary() + yy2arr387 := z.EncBasicHandle().StructToArray + var yyq387 [2]bool + _, _, _ = yysep387, yyq387, yy2arr387 + const yyr387 bool = false + yyq387[0] = true + yyq387[1] = true + var yynn387 int + if yyr387 || yy2arr387 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn387 = 0 + for _, b := range yyq387 { if b { - yynn2++ + yynn387++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn387) + yynn387 = 0 } - if yyr2 || yy2arr2 { + if yyr387 || yy2arr387 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.MaxUnavailable - yym5 := z.EncBinary() - _ = yym5 + if yyq387[0] { + yy389 := &x.MaxUnavailable + yym390 := z.EncBinary() + _ = yym390 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { - } else if !yym5 && z.IsJSONHandle() { - z.EncJSONMarshal(yy4) + } else if z.HasExtensions() && z.EncExt(yy389) { + } else if !yym390 && z.IsJSONHandle() { + z.EncJSONMarshal(yy389) } else { - z.EncFallback(yy4) + z.EncFallback(yy389) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq387[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxUnavailable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.MaxUnavailable - yym7 := z.EncBinary() - _ = yym7 + yy391 := &x.MaxUnavailable + yym392 := z.EncBinary() + _ = yym392 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { - } else if !yym7 && z.IsJSONHandle() { - z.EncJSONMarshal(yy6) + } else if z.HasExtensions() && z.EncExt(yy391) { + } else if !yym392 && z.IsJSONHandle() { + z.EncJSONMarshal(yy391) } else { - z.EncFallback(yy6) + z.EncFallback(yy391) } } } - if yyr2 || yy2arr2 { + if yyr387 || yy2arr387 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.MaxSurge - yym10 := z.EncBinary() - _ = yym10 + if yyq387[1] { + yy394 := &x.MaxSurge + yym395 := z.EncBinary() + _ = yym395 if false { - } else if z.HasExtensions() && z.EncExt(yy9) { - } else if !yym10 && z.IsJSONHandle() { - z.EncJSONMarshal(yy9) + } else if z.HasExtensions() && z.EncExt(yy394) { + } else if !yym395 && z.IsJSONHandle() { + z.EncJSONMarshal(yy394) } else { - z.EncFallback(yy9) + z.EncFallback(yy394) } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq387[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxSurge")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.MaxSurge - yym12 := z.EncBinary() - _ = yym12 + yy396 := &x.MaxSurge + yym397 := z.EncBinary() + _ = yym397 if false { - } else if z.HasExtensions() && z.EncExt(yy11) { - } else if !yym12 && z.IsJSONHandle() { - z.EncJSONMarshal(yy11) + } else if z.HasExtensions() && z.EncExt(yy396) { + } else if !yym397 && z.IsJSONHandle() { + z.EncJSONMarshal(yy396) } else { - z.EncFallback(yy11) + z.EncFallback(yy396) } } } - if yyr2 || yy2arr2 { + if yyr387 || yy2arr387 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4864,25 +4864,25 @@ func (x *RollingUpdateDeployment) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym398 := z.DecBinary() + _ = yym398 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct399 := r.ContainerType() + if yyct399 == codecSelferValueTypeMap1234 { + yyl399 := r.ReadMapStart() + if yyl399 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl399, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct399 == codecSelferValueTypeArray1234 { + yyl399 := r.ReadArrayStart() + if yyl399 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl399, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4894,12 +4894,12 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys400Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys400Slc + var yyhl400 bool = l >= 0 + for yyj400 := 0; ; yyj400++ { + if yyhl400 { + if yyj400 >= l { break } } else { @@ -4908,44 +4908,44 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys400Slc = r.DecodeBytes(yys400Slc, true, true) + yys400 := string(yys400Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys400 { case "maxUnavailable": if r.TryDecodeAsNil() { x.MaxUnavailable = pkg5_intstr.IntOrString{} } else { - yyv4 := &x.MaxUnavailable - yym5 := z.DecBinary() - _ = yym5 + yyv401 := &x.MaxUnavailable + yym402 := z.DecBinary() + _ = yym402 if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else if !yym5 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4) + } else if z.HasExtensions() && z.DecExt(yyv401) { + } else if !yym402 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv401) } else { - z.DecFallback(yyv4, false) + z.DecFallback(yyv401, false) } } case "maxSurge": if r.TryDecodeAsNil() { x.MaxSurge = pkg5_intstr.IntOrString{} } else { - yyv6 := &x.MaxSurge - yym7 := z.DecBinary() - _ = yym7 + yyv403 := &x.MaxSurge + yym404 := z.DecBinary() + _ = yym404 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv403) { + } else if !yym404 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv403) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv403, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys400) + } // end switch yys400 + } // end for yyj400 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4953,16 +4953,16 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj405 int + var yyb405 bool + var yyhl405 bool = l >= 0 + yyj405++ + if yyhl405 { + yyb405 = yyj405 > l } else { - yyb8 = r.CheckBreak() + yyb405 = r.CheckBreak() } - if yyb8 { + if yyb405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4970,24 +4970,24 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.MaxUnavailable = pkg5_intstr.IntOrString{} } else { - yyv9 := &x.MaxUnavailable - yym10 := z.DecBinary() - _ = yym10 + yyv406 := &x.MaxUnavailable + yym407 := z.DecBinary() + _ = yym407 if false { - } else if z.HasExtensions() && z.DecExt(yyv9) { - } else if !yym10 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv9) + } else if z.HasExtensions() && z.DecExt(yyv406) { + } else if !yym407 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv406) } else { - z.DecFallback(yyv9, false) + z.DecFallback(yyv406, false) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj405++ + if yyhl405 { + yyb405 = yyj405 > l } else { - yyb8 = r.CheckBreak() + yyb405 = r.CheckBreak() } - if yyb8 { + if yyb405 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4995,29 +4995,29 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.MaxSurge = pkg5_intstr.IntOrString{} } else { - yyv11 := &x.MaxSurge - yym12 := z.DecBinary() - _ = yym12 + yyv408 := &x.MaxSurge + yym409 := z.DecBinary() + _ = yym409 if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else if !yym12 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv11) + } else if z.HasExtensions() && z.DecExt(yyv408) { + } else if !yym409 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv408) } else { - z.DecFallback(yyv11, false) + z.DecFallback(yyv408, false) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj405++ + if yyhl405 { + yyb405 = yyj405 > l } else { - yyb8 = r.CheckBreak() + yyb405 = r.CheckBreak() } - if yyb8 { + if yyb405 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj405-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5029,39 +5029,39 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym410 := z.EncBinary() + _ = yym410 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.ObservedGeneration != 0 - yyq2[1] = x.Replicas != 0 - yyq2[2] = x.UpdatedReplicas != 0 - yyq2[3] = x.AvailableReplicas != 0 - yyq2[4] = x.UnavailableReplicas != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep411 := !z.EncBinary() + yy2arr411 := z.EncBasicHandle().StructToArray + var yyq411 [5]bool + _, _, _ = yysep411, yyq411, yy2arr411 + const yyr411 bool = false + yyq411[0] = x.ObservedGeneration != 0 + yyq411[1] = x.Replicas != 0 + yyq411[2] = x.UpdatedReplicas != 0 + yyq411[3] = x.AvailableReplicas != 0 + yyq411[4] = x.UnavailableReplicas != 0 + var yynn411 int + if yyr411 || yy2arr411 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn411 = 0 + for _, b := range yyq411 { if b { - yynn2++ + yynn411++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn411) + yynn411 = 0 } - if yyr2 || yy2arr2 { + if yyr411 || yy2arr411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq411[0] { + yym413 := z.EncBinary() + _ = yym413 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -5070,23 +5070,23 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[0] { + if yyq411[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym414 := z.EncBinary() + _ = yym414 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr2 || yy2arr2 { + if yyr411 || yy2arr411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq411[1] { + yym416 := z.EncBinary() + _ = yym416 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -5095,23 +5095,23 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[1] { + if yyq411[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym417 := z.EncBinary() + _ = yym417 if false { } else { r.EncodeInt(int64(x.Replicas)) } } } - if yyr2 || yy2arr2 { + if yyr411 || yy2arr411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq411[2] { + yym419 := z.EncBinary() + _ = yym419 if false { } else { r.EncodeInt(int64(x.UpdatedReplicas)) @@ -5120,23 +5120,23 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[2] { + if yyq411[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym420 := z.EncBinary() + _ = yym420 if false { } else { r.EncodeInt(int64(x.UpdatedReplicas)) } } } - if yyr2 || yy2arr2 { + if yyr411 || yy2arr411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq411[3] { + yym422 := z.EncBinary() + _ = yym422 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) @@ -5145,23 +5145,23 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[3] { + if yyq411[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym423 := z.EncBinary() + _ = yym423 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) } } } - if yyr2 || yy2arr2 { + if yyr411 || yy2arr411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq411[4] { + yym425 := z.EncBinary() + _ = yym425 if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) @@ -5170,19 +5170,19 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[4] { + if yyq411[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unavailableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym426 := z.EncBinary() + _ = yym426 if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) } } } - if yyr2 || yy2arr2 { + if yyr411 || yy2arr411 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5195,25 +5195,25 @@ func (x *DeploymentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym427 := z.DecBinary() + _ = yym427 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct428 := r.ContainerType() + if yyct428 == codecSelferValueTypeMap1234 { + yyl428 := r.ReadMapStart() + if yyl428 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl428, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct428 == codecSelferValueTypeArray1234 { + yyl428 := r.ReadArrayStart() + if yyl428 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl428, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5225,12 +5225,12 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys429Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys429Slc + var yyhl429 bool = l >= 0 + for yyj429 := 0; ; yyj429++ { + if yyhl429 { + if yyj429 >= l { break } } else { @@ -5239,10 +5239,10 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys429Slc = r.DecodeBytes(yys429Slc, true, true) + yys429 := string(yys429Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys429 { case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 @@ -5274,9 +5274,9 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.UnavailableReplicas = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys429) + } // end switch yys429 + } // end for yyj429 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5284,16 +5284,16 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj435 int + var yyb435 bool + var yyhl435 bool = l >= 0 + yyj435++ + if yyhl435 { + yyb435 = yyj435 > l } else { - yyb9 = r.CheckBreak() + yyb435 = r.CheckBreak() } - if yyb9 { + if yyb435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5303,13 +5303,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj435++ + if yyhl435 { + yyb435 = yyj435 > l } else { - yyb9 = r.CheckBreak() + yyb435 = r.CheckBreak() } - if yyb9 { + if yyb435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5319,13 +5319,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj435++ + if yyhl435 { + yyb435 = yyj435 > l } else { - yyb9 = r.CheckBreak() + yyb435 = r.CheckBreak() } - if yyb9 { + if yyb435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5335,13 +5335,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UpdatedReplicas = int32(r.DecodeInt(32)) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj435++ + if yyhl435 { + yyb435 = yyj435 > l } else { - yyb9 = r.CheckBreak() + yyb435 = r.CheckBreak() } - if yyb9 { + if yyb435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5351,13 +5351,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.AvailableReplicas = int32(r.DecodeInt(32)) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj435++ + if yyhl435 { + yyb435 = yyj435 > l } else { - yyb9 = r.CheckBreak() + yyb435 = r.CheckBreak() } - if yyb9 { + if yyb435 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5368,17 +5368,17 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.UnavailableReplicas = int32(r.DecodeInt(32)) } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj435++ + if yyhl435 { + yyb435 = yyj435 > l } else { - yyb9 = r.CheckBreak() + yyb435 = r.CheckBreak() } - if yyb9 { + if yyb435 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj435-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5390,68 +5390,118 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym441 := z.EncBinary() + _ = yym441 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep442 := !z.EncBinary() + yy2arr442 := z.EncBasicHandle().StructToArray + var yyq442 [4]bool + _, _, _ = yysep442, yyq442, yy2arr442 + const yyr442 bool = false + yyq442[0] = x.Kind != "" + yyq442[1] = x.APIVersion != "" + yyq442[2] = true + var yynn442 int + if yyr442 || yy2arr442 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn442 = 1 + for _, b := range yyq442 { if b { - yynn2++ + yynn442++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn442) + yynn442 = 0 } - if yyr2 || yy2arr2 { + if yyr442 || yy2arr442 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq442[0] { + yym444 := z.EncBinary() + _ = yym444 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq442[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym445 := z.EncBinary() + _ = yym445 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr442 || yy2arr442 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq442[1] { + yym447 := z.EncBinary() + _ = yym447 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq442[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym448 := z.EncBinary() + _ = yym448 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr442 || yy2arr442 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq442[2] { + yy450 := &x.ListMeta + yym451 := z.EncBinary() + _ = yym451 + if false { + } else if z.HasExtensions() && z.EncExt(yy450) { + } else { + z.EncFallback(yy450) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq442[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy452 := &x.ListMeta + yym453 := z.EncBinary() + _ = yym453 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy452) { } else { - z.EncFallback(yy6) + z.EncFallback(yy452) } } } - if yyr2 || yy2arr2 { + if yyr442 || yy2arr442 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym455 := z.EncBinary() + _ = yym455 if false { } else { h.encSliceDeployment(([]Deployment)(x.Items), e) @@ -5464,65 +5514,15 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym456 := z.EncBinary() + _ = yym456 if false { } else { h.encSliceDeployment(([]Deployment)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr442 || yy2arr442 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5535,25 +5535,25 @@ func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym457 := z.DecBinary() + _ = yym457 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct458 := r.ContainerType() + if yyct458 == codecSelferValueTypeMap1234 { + yyl458 := r.ReadMapStart() + if yyl458 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl458, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct458 == codecSelferValueTypeArray1234 { + yyl458 := r.ReadArrayStart() + if yyl458 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl458, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5565,12 +5565,12 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys459Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys459Slc + var yyhl459 bool = l >= 0 + for yyj459 := 0; ; yyj459++ { + if yyhl459 { + if yyj459 >= l { break } } else { @@ -5579,35 +5579,10 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys459Slc = r.DecodeBytes(yys459Slc, true, true) + yys459 := string(yys459Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceDeployment((*[]Deployment)(yyv6), d) - } - } + switch yys459 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -5620,10 +5595,35 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv462 := &x.ListMeta + yym463 := z.DecBinary() + _ = yym463 + if false { + } else if z.HasExtensions() && z.DecExt(yyv462) { + } else { + z.DecFallback(yyv462, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv464 := &x.Items + yym465 := z.DecBinary() + _ = yym465 + if false { + } else { + h.decSliceDeployment((*[]Deployment)(yyv464), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys459) + } // end switch yys459 + } // end for yyj459 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5631,61 +5631,16 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj466 int + var yyb466 bool + var yyhl466 bool = l >= 0 + yyj466++ + if yyhl466 { + yyb466 = yyj466 > l } else { - yyb10 = r.CheckBreak() + yyb466 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceDeployment((*[]Deployment)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb466 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5695,13 +5650,13 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj466++ + if yyhl466 { + yyb466 = yyj466 > l } else { - yyb10 = r.CheckBreak() + yyb466 = r.CheckBreak() } - if yyb10 { + if yyb466 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5711,18 +5666,63 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj466++ + if yyhl466 { + yyb466 = yyj466 > l + } else { + yyb466 = r.CheckBreak() + } + if yyb466 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv469 := &x.ListMeta + yym470 := z.DecBinary() + _ = yym470 + if false { + } else if z.HasExtensions() && z.DecExt(yyv469) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv469, false) } - if yyb10 { + } + yyj466++ + if yyhl466 { + yyb466 = yyj466 > l + } else { + yyb466 = r.CheckBreak() + } + if yyb466 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv471 := &x.Items + yym472 := z.DecBinary() + _ = yym472 + if false { + } else { + h.decSliceDeployment((*[]Deployment)(yyv471), d) + } + } + for { + yyj466++ + if yyhl466 { + yyb466 = yyj466 > l + } else { + yyb466 = r.CheckBreak() + } + if yyb466 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj466-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5734,38 +5734,38 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym473 := z.EncBinary() + _ = yym473 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Selector != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep474 := !z.EncBinary() + yy2arr474 := z.EncBasicHandle().StructToArray + var yyq474 [2]bool + _, _, _ = yysep474, yyq474, yy2arr474 + const yyr474 bool = false + yyq474[0] = x.Selector != nil + var yynn474 int + if yyr474 || yy2arr474 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn474 = 1 + for _, b := range yyq474 { if b { - yynn2++ + yynn474++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn474) + yynn474 = 0 } - if yyr2 || yy2arr2 { + if yyr474 || yy2arr474 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq474[0] { if x.Selector == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym476 := z.EncBinary() + _ = yym476 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -5776,15 +5776,15 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq474[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym477 := z.EncBinary() + _ = yym477 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -5793,18 +5793,18 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr474 || yy2arr474 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.Template - yy7.CodecEncodeSelf(e) + yy479 := &x.Template + yy479.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.Template - yy9.CodecEncodeSelf(e) + yy480 := &x.Template + yy480.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr474 || yy2arr474 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5817,25 +5817,25 @@ func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym481 := z.DecBinary() + _ = yym481 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct482 := r.ContainerType() + if yyct482 == codecSelferValueTypeMap1234 { + yyl482 := r.ReadMapStart() + if yyl482 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl482, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct482 == codecSelferValueTypeArray1234 { + yyl482 := r.ReadArrayStart() + if yyl482 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl482, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5847,12 +5847,12 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys483Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys483Slc + var yyhl483 bool = l >= 0 + for yyj483 := 0; ; yyj483++ { + if yyhl483 { + if yyj483 >= l { break } } else { @@ -5861,10 +5861,10 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys483Slc = r.DecodeBytes(yys483Slc, true, true) + yys483 := string(yys483Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys483 { case "selector": if r.TryDecodeAsNil() { if x.Selector != nil { @@ -5874,8 +5874,8 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym5 := z.DecBinary() - _ = yym5 + yym485 := z.DecBinary() + _ = yym485 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -5886,13 +5886,13 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv6 := &x.Template - yyv6.CodecDecodeSelf(d) + yyv486 := &x.Template + yyv486.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys483) + } // end switch yys483 + } // end for yyj483 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5900,16 +5900,16 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj487 int + var yyb487 bool + var yyhl487 bool = l >= 0 + yyj487++ + if yyhl487 { + yyb487 = yyj487 > l } else { - yyb7 = r.CheckBreak() + yyb487 = r.CheckBreak() } - if yyb7 { + if yyb487 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5922,21 +5922,21 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym9 := z.DecBinary() - _ = yym9 + yym489 := z.DecBinary() + _ = yym489 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj487++ + if yyhl487 { + yyb487 = yyj487 > l } else { - yyb7 = r.CheckBreak() + yyb487 = r.CheckBreak() } - if yyb7 { + if yyb487 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5944,21 +5944,21 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv10 := &x.Template - yyv10.CodecDecodeSelf(d) + yyv490 := &x.Template + yyv490.CodecDecodeSelf(d) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj487++ + if yyhl487 { + yyb487 = yyj487 > l } else { - yyb7 = r.CheckBreak() + yyb487 = r.CheckBreak() } - if yyb7 { + if yyb487 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj487-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5970,33 +5970,33 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym491 := z.EncBinary() + _ = yym491 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep492 := !z.EncBinary() + yy2arr492 := z.EncBasicHandle().StructToArray + var yyq492 [3]bool + _, _, _ = yysep492, yyq492, yy2arr492 + const yyr492 bool = false + var yynn492 int + if yyr492 || yy2arr492 { r.EncodeArrayStart(3) } else { - yynn2 = 3 - for _, b := range yyq2 { + yynn492 = 3 + for _, b := range yyq492 { if b { - yynn2++ + yynn492++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn492) + yynn492 = 0 } - if yyr2 || yy2arr2 { + if yyr492 || yy2arr492 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym494 := z.EncBinary() + _ = yym494 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) @@ -6005,17 +6005,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym495 := z.EncBinary() + _ = yym495 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) } } - if yyr2 || yy2arr2 { + if yyr492 || yy2arr492 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym497 := z.EncBinary() + _ = yym497 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) @@ -6024,17 +6024,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberMisscheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym498 := z.EncBinary() + _ = yym498 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) } } - if yyr2 || yy2arr2 { + if yyr492 || yy2arr492 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym500 := z.EncBinary() + _ = yym500 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) @@ -6043,14 +6043,14 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym501 := z.EncBinary() + _ = yym501 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) } } - if yyr2 || yy2arr2 { + if yyr492 || yy2arr492 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6063,25 +6063,25 @@ func (x *DaemonSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym502 := z.DecBinary() + _ = yym502 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct503 := r.ContainerType() + if yyct503 == codecSelferValueTypeMap1234 { + yyl503 := r.ReadMapStart() + if yyl503 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl503, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct503 == codecSelferValueTypeArray1234 { + yyl503 := r.ReadArrayStart() + if yyl503 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl503, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6093,12 +6093,12 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys504Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys504Slc + var yyhl504 bool = l >= 0 + for yyj504 := 0; ; yyj504++ { + if yyhl504 { + if yyj504 >= l { break } } else { @@ -6107,10 +6107,10 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys504Slc = r.DecodeBytes(yys504Slc, true, true) + yys504 := string(yys504Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys504 { case "currentNumberScheduled": if r.TryDecodeAsNil() { x.CurrentNumberScheduled = 0 @@ -6130,9 +6130,9 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys504) + } // end switch yys504 + } // end for yyj504 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6140,16 +6140,16 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj508 int + var yyb508 bool + var yyhl508 bool = l >= 0 + yyj508++ + if yyhl508 { + yyb508 = yyj508 > l } else { - yyb7 = r.CheckBreak() + yyb508 = r.CheckBreak() } - if yyb7 { + if yyb508 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6159,13 +6159,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.CurrentNumberScheduled = int32(r.DecodeInt(32)) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj508++ + if yyhl508 { + yyb508 = yyj508 > l } else { - yyb7 = r.CheckBreak() + yyb508 = r.CheckBreak() } - if yyb7 { + if yyb508 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6175,13 +6175,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.NumberMisscheduled = int32(r.DecodeInt(32)) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj508++ + if yyhl508 { + yyb508 = yyj508 > l } else { - yyb7 = r.CheckBreak() + yyb508 = r.CheckBreak() } - if yyb7 { + if yyb508 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6192,17 +6192,17 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj508++ + if yyhl508 { + yyb508 = yyj508 > l } else { - yyb7 = r.CheckBreak() + yyb508 = r.CheckBreak() } - if yyb7 { + if yyb508 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj508-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6214,90 +6214,39 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym512 := z.EncBinary() + _ = yym512 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep513 := !z.EncBinary() + yy2arr513 := z.EncBasicHandle().StructToArray + var yyq513 [5]bool + _, _, _ = yysep513, yyq513, yy2arr513 + const yyr513 bool = false + yyq513[0] = x.Kind != "" + yyq513[1] = x.APIVersion != "" + yyq513[2] = true + yyq513[3] = true + yyq513[4] = true + var yynn513 int + if yyr513 || yy2arr513 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn513 = 0 + for _, b := range yyq513 { if b { - yynn2++ + yynn513++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn513) + yynn513 = 0 } - if yyr2 || yy2arr2 { + if yyr513 || yy2arr513 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq513[0] { + yym515 := z.EncBinary() + _ = yym515 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6306,23 +6255,23 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq513[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym516 := z.EncBinary() + _ = yym516 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr513 || yy2arr513 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq513[1] { + yym518 := z.EncBinary() + _ = yym518 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6331,19 +6280,70 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq513[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym519 := z.EncBinary() + _ = yym519 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr513 || yy2arr513 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq513[2] { + yy521 := &x.ObjectMeta + yy521.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq513[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy522 := &x.ObjectMeta + yy522.CodecEncodeSelf(e) + } + } + if yyr513 || yy2arr513 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq513[3] { + yy524 := &x.Spec + yy524.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq513[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy525 := &x.Spec + yy525.CodecEncodeSelf(e) + } + } + if yyr513 || yy2arr513 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq513[4] { + yy527 := &x.Status + yy527.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq513[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy528 := &x.Status + yy528.CodecEncodeSelf(e) + } + } + if yyr513 || yy2arr513 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6356,25 +6356,25 @@ func (x *DaemonSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym529 := z.DecBinary() + _ = yym529 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct530 := r.ContainerType() + if yyct530 == codecSelferValueTypeMap1234 { + yyl530 := r.ReadMapStart() + if yyl530 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl530, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct530 == codecSelferValueTypeArray1234 { + yyl530 := r.ReadArrayStart() + if yyl530 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl530, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6386,12 +6386,12 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys531Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys531Slc + var yyhl531 bool = l >= 0 + for yyj531 := 0; ; yyj531++ { + if yyhl531 { + if yyj531 >= l { break } } else { @@ -6400,31 +6400,10 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys531Slc = r.DecodeBytes(yys531Slc, true, true) + yys531 := string(yys531Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = DaemonSetSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = DaemonSetStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys531 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6437,10 +6416,31 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv534 := &x.ObjectMeta + yyv534.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = DaemonSetSpec{} + } else { + yyv535 := &x.Spec + yyv535.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = DaemonSetStatus{} + } else { + yyv536 := &x.Status + yyv536.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys531) + } // end switch yys531 + } // end for yyj531 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6448,67 +6448,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj537 int + var yyb537 bool + var yyhl537 bool = l >= 0 + yyj537++ + if yyhl537 { + yyb537 = yyj537 > l } else { - yyb9 = r.CheckBreak() + yyb537 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = DaemonSetSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = DaemonSetStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb537 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6518,13 +6467,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj537++ + if yyhl537 { + yyb537 = yyj537 > l } else { - yyb9 = r.CheckBreak() + yyb537 = r.CheckBreak() } - if yyb9 { + if yyb537 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6534,18 +6483,69 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj537++ + if yyhl537 { + yyb537 = yyj537 > l + } else { + yyb537 = r.CheckBreak() + } + if yyb537 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv540 := &x.ObjectMeta + yyv540.CodecDecodeSelf(d) + } + yyj537++ + if yyhl537 { + yyb537 = yyj537 > l + } else { + yyb537 = r.CheckBreak() + } + if yyb537 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = DaemonSetSpec{} + } else { + yyv541 := &x.Spec + yyv541.CodecDecodeSelf(d) + } + yyj537++ + if yyhl537 { + yyb537 = yyj537 > l + } else { + yyb537 = r.CheckBreak() + } + if yyb537 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = DaemonSetStatus{} + } else { + yyv542 := &x.Status + yyv542.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj537++ + if yyhl537 { + yyb537 = yyj537 > l } else { - yyb9 = r.CheckBreak() + yyb537 = r.CheckBreak() } - if yyb9 { + if yyb537 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj537-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6557,68 +6557,118 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym543 := z.EncBinary() + _ = yym543 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep544 := !z.EncBinary() + yy2arr544 := z.EncBasicHandle().StructToArray + var yyq544 [4]bool + _, _, _ = yysep544, yyq544, yy2arr544 + const yyr544 bool = false + yyq544[0] = x.Kind != "" + yyq544[1] = x.APIVersion != "" + yyq544[2] = true + var yynn544 int + if yyr544 || yy2arr544 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn544 = 1 + for _, b := range yyq544 { if b { - yynn2++ + yynn544++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn544) + yynn544 = 0 } - if yyr2 || yy2arr2 { + if yyr544 || yy2arr544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq544[0] { + yym546 := z.EncBinary() + _ = yym546 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq544[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym547 := z.EncBinary() + _ = yym547 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr544 || yy2arr544 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq544[1] { + yym549 := z.EncBinary() + _ = yym549 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq544[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym550 := z.EncBinary() + _ = yym550 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr544 || yy2arr544 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq544[2] { + yy552 := &x.ListMeta + yym553 := z.EncBinary() + _ = yym553 + if false { + } else if z.HasExtensions() && z.EncExt(yy552) { + } else { + z.EncFallback(yy552) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq544[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy554 := &x.ListMeta + yym555 := z.EncBinary() + _ = yym555 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy554) { } else { - z.EncFallback(yy6) + z.EncFallback(yy554) } } } - if yyr2 || yy2arr2 { + if yyr544 || yy2arr544 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym557 := z.EncBinary() + _ = yym557 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) @@ -6631,65 +6681,15 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym558 := z.EncBinary() + _ = yym558 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr544 || yy2arr544 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6702,25 +6702,25 @@ func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym559 := z.DecBinary() + _ = yym559 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct560 := r.ContainerType() + if yyct560 == codecSelferValueTypeMap1234 { + yyl560 := r.ReadMapStart() + if yyl560 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl560, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct560 == codecSelferValueTypeArray1234 { + yyl560 := r.ReadArrayStart() + if yyl560 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl560, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6732,12 +6732,12 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys561Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys561Slc + var yyhl561 bool = l >= 0 + for yyj561 := 0; ; yyj561++ { + if yyhl561 { + if yyj561 >= l { break } } else { @@ -6746,35 +6746,10 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys561Slc = r.DecodeBytes(yys561Slc, true, true) + yys561 := string(yys561Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv6), d) - } - } + switch yys561 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6787,10 +6762,35 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv564 := &x.ListMeta + yym565 := z.DecBinary() + _ = yym565 + if false { + } else if z.HasExtensions() && z.DecExt(yyv564) { + } else { + z.DecFallback(yyv564, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv566 := &x.Items + yym567 := z.DecBinary() + _ = yym567 + if false { + } else { + h.decSliceDaemonSet((*[]DaemonSet)(yyv566), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys561) + } // end switch yys561 + } // end for yyj561 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6798,61 +6798,16 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj568 int + var yyb568 bool + var yyhl568 bool = l >= 0 + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l } else { - yyb10 = r.CheckBreak() + yyb568 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb568 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6862,13 +6817,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l } else { - yyb10 = r.CheckBreak() + yyb568 = r.CheckBreak() } - if yyb10 { + if yyb568 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6878,18 +6833,63 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l + } else { + yyb568 = r.CheckBreak() + } + if yyb568 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv571 := &x.ListMeta + yym572 := z.DecBinary() + _ = yym572 + if false { + } else if z.HasExtensions() && z.DecExt(yyv571) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv571, false) } - if yyb10 { + } + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l + } else { + yyb568 = r.CheckBreak() + } + if yyb568 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv573 := &x.Items + yym574 := z.DecBinary() + _ = yym574 + if false { + } else { + h.decSliceDaemonSet((*[]DaemonSet)(yyv573), d) + } + } + for { + yyj568++ + if yyhl568 { + yyb568 = yyj568 > l + } else { + yyb568 = r.CheckBreak() + } + if yyb568 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj568-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6901,68 +6901,118 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym575 := z.EncBinary() + _ = yym575 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep576 := !z.EncBinary() + yy2arr576 := z.EncBasicHandle().StructToArray + var yyq576 [4]bool + _, _, _ = yysep576, yyq576, yy2arr576 + const yyr576 bool = false + yyq576[0] = x.Kind != "" + yyq576[1] = x.APIVersion != "" + yyq576[2] = true + var yynn576 int + if yyr576 || yy2arr576 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn576 = 1 + for _, b := range yyq576 { if b { - yynn2++ + yynn576++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn576) + yynn576 = 0 } - if yyr2 || yy2arr2 { + if yyr576 || yy2arr576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq576[0] { + yym578 := z.EncBinary() + _ = yym578 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq576[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym579 := z.EncBinary() + _ = yym579 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr576 || yy2arr576 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq576[1] { + yym581 := z.EncBinary() + _ = yym581 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq576[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym582 := z.EncBinary() + _ = yym582 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr576 || yy2arr576 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq576[2] { + yy584 := &x.ListMeta + yym585 := z.EncBinary() + _ = yym585 + if false { + } else if z.HasExtensions() && z.EncExt(yy584) { + } else { + z.EncFallback(yy584) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq576[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy586 := &x.ListMeta + yym587 := z.EncBinary() + _ = yym587 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy586) { } else { - z.EncFallback(yy6) + z.EncFallback(yy586) } } } - if yyr2 || yy2arr2 { + if yyr576 || yy2arr576 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym589 := z.EncBinary() + _ = yym589 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) @@ -6975,65 +7025,15 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym590 := z.EncBinary() + _ = yym590 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr576 || yy2arr576 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7046,25 +7046,25 @@ func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym591 := z.DecBinary() + _ = yym591 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct592 := r.ContainerType() + if yyct592 == codecSelferValueTypeMap1234 { + yyl592 := r.ReadMapStart() + if yyl592 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl592, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct592 == codecSelferValueTypeArray1234 { + yyl592 := r.ReadArrayStart() + if yyl592 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl592, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7076,12 +7076,12 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys593Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys593Slc + var yyhl593 bool = l >= 0 + for yyj593 := 0; ; yyj593++ { + if yyhl593 { + if yyj593 >= l { break } } else { @@ -7090,35 +7090,10 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys593Slc = r.DecodeBytes(yys593Slc, true, true) + yys593 := string(yys593Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv6), d) - } - } + switch yys593 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7131,10 +7106,35 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv596 := &x.ListMeta + yym597 := z.DecBinary() + _ = yym597 + if false { + } else if z.HasExtensions() && z.DecExt(yyv596) { + } else { + z.DecFallback(yyv596, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv598 := &x.Items + yym599 := z.DecBinary() + _ = yym599 + if false { + } else { + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv598), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys593) + } // end switch yys593 + } // end for yyj593 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7142,61 +7142,16 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj600 int + var yyb600 bool + var yyhl600 bool = l >= 0 + yyj600++ + if yyhl600 { + yyb600 = yyj600 > l } else { - yyb10 = r.CheckBreak() + yyb600 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb600 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7206,13 +7161,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj600++ + if yyhl600 { + yyb600 = yyj600 > l } else { - yyb10 = r.CheckBreak() + yyb600 = r.CheckBreak() } - if yyb10 { + if yyb600 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7222,18 +7177,63 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj600++ + if yyhl600 { + yyb600 = yyj600 > l + } else { + yyb600 = r.CheckBreak() + } + if yyb600 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv603 := &x.ListMeta + yym604 := z.DecBinary() + _ = yym604 + if false { + } else if z.HasExtensions() && z.DecExt(yyv603) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv603, false) } - if yyb10 { + } + yyj600++ + if yyhl600 { + yyb600 = yyj600 > l + } else { + yyb600 = r.CheckBreak() + } + if yyb600 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv605 := &x.Items + yym606 := z.DecBinary() + _ = yym606 + if false { + } else { + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv605), d) + } + } + for { + yyj600++ + if yyhl600 { + yyb600 = yyj600 > l + } else { + yyb600 = r.CheckBreak() + } + if yyb600 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj600-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7245,90 +7245,39 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym607 := z.EncBinary() + _ = yym607 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep608 := !z.EncBinary() + yy2arr608 := z.EncBasicHandle().StructToArray + var yyq608 [5]bool + _, _, _ = yysep608, yyq608, yy2arr608 + const yyr608 bool = false + yyq608[0] = x.Kind != "" + yyq608[1] = x.APIVersion != "" + yyq608[2] = true + yyq608[3] = true + yyq608[4] = true + var yynn608 int + if yyr608 || yy2arr608 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn608 = 0 + for _, b := range yyq608 { if b { - yynn2++ + yynn608++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn608) + yynn608 = 0 } - if yyr2 || yy2arr2 { + if yyr608 || yy2arr608 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq608[0] { + yym610 := z.EncBinary() + _ = yym610 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -7337,23 +7286,23 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq608[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym611 := z.EncBinary() + _ = yym611 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr608 || yy2arr608 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq608[1] { + yym613 := z.EncBinary() + _ = yym613 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7362,19 +7311,70 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq608[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym614 := z.EncBinary() + _ = yym614 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr608 || yy2arr608 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq608[2] { + yy616 := &x.ObjectMeta + yy616.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq608[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy617 := &x.ObjectMeta + yy617.CodecEncodeSelf(e) + } + } + if yyr608 || yy2arr608 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq608[3] { + yy619 := &x.Spec + yy619.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq608[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy620 := &x.Spec + yy620.CodecEncodeSelf(e) + } + } + if yyr608 || yy2arr608 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq608[4] { + yy622 := &x.Status + yy622.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq608[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy623 := &x.Status + yy623.CodecEncodeSelf(e) + } + } + if yyr608 || yy2arr608 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7387,25 +7387,25 @@ func (x *Ingress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym624 := z.DecBinary() + _ = yym624 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct625 := r.ContainerType() + if yyct625 == codecSelferValueTypeMap1234 { + yyl625 := r.ReadMapStart() + if yyl625 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl625, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct625 == codecSelferValueTypeArray1234 { + yyl625 := r.ReadArrayStart() + if yyl625 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl625, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7417,12 +7417,12 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys626Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys626Slc + var yyhl626 bool = l >= 0 + for yyj626 := 0; ; yyj626++ { + if yyhl626 { + if yyj626 >= l { break } } else { @@ -7431,31 +7431,10 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys626Slc = r.DecodeBytes(yys626Slc, true, true) + yys626 := string(yys626Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = IngressSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = IngressStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys626 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7468,10 +7447,31 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv629 := &x.ObjectMeta + yyv629.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = IngressSpec{} + } else { + yyv630 := &x.Spec + yyv630.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = IngressStatus{} + } else { + yyv631 := &x.Status + yyv631.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys626) + } // end switch yys626 + } // end for yyj626 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7479,67 +7479,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj632 int + var yyb632 bool + var yyhl632 bool = l >= 0 + yyj632++ + if yyhl632 { + yyb632 = yyj632 > l } else { - yyb9 = r.CheckBreak() + yyb632 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = IngressSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = IngressStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb632 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7549,13 +7498,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj632++ + if yyhl632 { + yyb632 = yyj632 > l } else { - yyb9 = r.CheckBreak() + yyb632 = r.CheckBreak() } - if yyb9 { + if yyb632 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7565,18 +7514,69 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj632++ + if yyhl632 { + yyb632 = yyj632 > l + } else { + yyb632 = r.CheckBreak() + } + if yyb632 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv635 := &x.ObjectMeta + yyv635.CodecDecodeSelf(d) + } + yyj632++ + if yyhl632 { + yyb632 = yyj632 > l + } else { + yyb632 = r.CheckBreak() + } + if yyb632 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = IngressSpec{} + } else { + yyv636 := &x.Spec + yyv636.CodecDecodeSelf(d) + } + yyj632++ + if yyhl632 { + yyb632 = yyj632 > l + } else { + yyb632 = r.CheckBreak() + } + if yyb632 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = IngressStatus{} + } else { + yyv637 := &x.Status + yyv637.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj632++ + if yyhl632 { + yyb632 = yyj632 > l } else { - yyb9 = r.CheckBreak() + yyb632 = r.CheckBreak() } - if yyb9 { + if yyb632 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj632-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7588,68 +7588,118 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym638 := z.EncBinary() + _ = yym638 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep639 := !z.EncBinary() + yy2arr639 := z.EncBasicHandle().StructToArray + var yyq639 [4]bool + _, _, _ = yysep639, yyq639, yy2arr639 + const yyr639 bool = false + yyq639[0] = x.Kind != "" + yyq639[1] = x.APIVersion != "" + yyq639[2] = true + var yynn639 int + if yyr639 || yy2arr639 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn639 = 1 + for _, b := range yyq639 { if b { - yynn2++ + yynn639++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn639) + yynn639 = 0 } - if yyr2 || yy2arr2 { + if yyr639 || yy2arr639 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq639[0] { + yym641 := z.EncBinary() + _ = yym641 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq639[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym642 := z.EncBinary() + _ = yym642 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr639 || yy2arr639 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq639[1] { + yym644 := z.EncBinary() + _ = yym644 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq639[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym645 := z.EncBinary() + _ = yym645 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr639 || yy2arr639 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq639[2] { + yy647 := &x.ListMeta + yym648 := z.EncBinary() + _ = yym648 + if false { + } else if z.HasExtensions() && z.EncExt(yy647) { + } else { + z.EncFallback(yy647) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq639[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy649 := &x.ListMeta + yym650 := z.EncBinary() + _ = yym650 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy649) { } else { - z.EncFallback(yy6) + z.EncFallback(yy649) } } } - if yyr2 || yy2arr2 { + if yyr639 || yy2arr639 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym652 := z.EncBinary() + _ = yym652 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) @@ -7662,65 +7712,15 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym653 := z.EncBinary() + _ = yym653 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr639 || yy2arr639 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7733,25 +7733,25 @@ func (x *IngressList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym654 := z.DecBinary() + _ = yym654 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct655 := r.ContainerType() + if yyct655 == codecSelferValueTypeMap1234 { + yyl655 := r.ReadMapStart() + if yyl655 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl655, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct655 == codecSelferValueTypeArray1234 { + yyl655 := r.ReadArrayStart() + if yyl655 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl655, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7763,12 +7763,12 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys656Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys656Slc + var yyhl656 bool = l >= 0 + for yyj656 := 0; ; yyj656++ { + if yyhl656 { + if yyj656 >= l { break } } else { @@ -7777,35 +7777,10 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys656Slc = r.DecodeBytes(yys656Slc, true, true) + yys656 := string(yys656Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceIngress((*[]Ingress)(yyv6), d) - } - } + switch yys656 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7818,10 +7793,35 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv659 := &x.ListMeta + yym660 := z.DecBinary() + _ = yym660 + if false { + } else if z.HasExtensions() && z.DecExt(yyv659) { + } else { + z.DecFallback(yyv659, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv661 := &x.Items + yym662 := z.DecBinary() + _ = yym662 + if false { + } else { + h.decSliceIngress((*[]Ingress)(yyv661), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys656) + } // end switch yys656 + } // end for yyj656 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7829,61 +7829,16 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj663 int + var yyb663 bool + var yyhl663 bool = l >= 0 + yyj663++ + if yyhl663 { + yyb663 = yyj663 > l } else { - yyb10 = r.CheckBreak() + yyb663 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceIngress((*[]Ingress)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb663 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7893,13 +7848,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj663++ + if yyhl663 { + yyb663 = yyj663 > l } else { - yyb10 = r.CheckBreak() + yyb663 = r.CheckBreak() } - if yyb10 { + if yyb663 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7909,18 +7864,63 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj663++ + if yyhl663 { + yyb663 = yyj663 > l + } else { + yyb663 = r.CheckBreak() + } + if yyb663 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv666 := &x.ListMeta + yym667 := z.DecBinary() + _ = yym667 + if false { + } else if z.HasExtensions() && z.DecExt(yyv666) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv666, false) } - if yyb10 { + } + yyj663++ + if yyhl663 { + yyb663 = yyj663 > l + } else { + yyb663 = r.CheckBreak() + } + if yyb663 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv668 := &x.Items + yym669 := z.DecBinary() + _ = yym669 + if false { + } else { + h.decSliceIngress((*[]Ingress)(yyv668), d) + } + } + for { + yyj663++ + if yyhl663 { + yyb663 = yyj663 > l + } else { + yyb663 = r.CheckBreak() + } + if yyb663 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj663-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7932,35 +7932,35 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym670 := z.EncBinary() + _ = yym670 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Backend != nil - yyq2[1] = len(x.TLS) != 0 - yyq2[2] = len(x.Rules) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep671 := !z.EncBinary() + yy2arr671 := z.EncBasicHandle().StructToArray + var yyq671 [3]bool + _, _, _ = yysep671, yyq671, yy2arr671 + const yyr671 bool = false + yyq671[0] = x.Backend != nil + yyq671[1] = len(x.TLS) != 0 + yyq671[2] = len(x.Rules) != 0 + var yynn671 int + if yyr671 || yy2arr671 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn671 = 0 + for _, b := range yyq671 { if b { - yynn2++ + yynn671++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn671) + yynn671 = 0 } - if yyr2 || yy2arr2 { + if yyr671 || yy2arr671 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq671[0] { if x.Backend == nil { r.EncodeNil() } else { @@ -7970,7 +7970,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq671[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -7981,14 +7981,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr671 || yy2arr671 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq671[1] { if x.TLS == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym674 := z.EncBinary() + _ = yym674 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -7998,15 +7998,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq671[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tls")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TLS == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym675 := z.EncBinary() + _ = yym675 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -8014,14 +8014,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr671 || yy2arr671 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq671[2] { if x.Rules == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym677 := z.EncBinary() + _ = yym677 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -8031,15 +8031,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq671[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rules")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Rules == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym678 := z.EncBinary() + _ = yym678 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -8047,7 +8047,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr671 || yy2arr671 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8060,25 +8060,25 @@ func (x *IngressSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym679 := z.DecBinary() + _ = yym679 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct680 := r.ContainerType() + if yyct680 == codecSelferValueTypeMap1234 { + yyl680 := r.ReadMapStart() + if yyl680 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl680, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct680 == codecSelferValueTypeArray1234 { + yyl680 := r.ReadArrayStart() + if yyl680 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl680, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8090,12 +8090,12 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -8104,10 +8104,10 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys681Slc = r.DecodeBytes(yys681Slc, true, true) + yys681 := string(yys681Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys681 { case "backend": if r.TryDecodeAsNil() { if x.Backend != nil { @@ -8123,30 +8123,30 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv5 := &x.TLS - yym6 := z.DecBinary() - _ = yym6 + yyv683 := &x.TLS + yym684 := z.DecBinary() + _ = yym684 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv5), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv683), d) } } case "rules": if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv7 := &x.Rules - yym8 := z.DecBinary() - _ = yym8 + yyv685 := &x.Rules + yym686 := z.DecBinary() + _ = yym686 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv7), d) + h.decSliceIngressRule((*[]IngressRule)(yyv685), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys681) + } // end switch yys681 + } // end for yyj681 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8154,16 +8154,16 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj687 int + var yyb687 bool + var yyhl687 bool = l >= 0 + yyj687++ + if yyhl687 { + yyb687 = yyj687 > l } else { - yyb9 = r.CheckBreak() + yyb687 = r.CheckBreak() } - if yyb9 { + if yyb687 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8178,13 +8178,13 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Backend.CodecDecodeSelf(d) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj687++ + if yyhl687 { + yyb687 = yyj687 > l } else { - yyb9 = r.CheckBreak() + yyb687 = r.CheckBreak() } - if yyb9 { + if yyb687 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8192,21 +8192,21 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv11 := &x.TLS - yym12 := z.DecBinary() - _ = yym12 + yyv689 := &x.TLS + yym690 := z.DecBinary() + _ = yym690 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv11), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv689), d) } } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj687++ + if yyhl687 { + yyb687 = yyj687 > l } else { - yyb9 = r.CheckBreak() + yyb687 = r.CheckBreak() } - if yyb9 { + if yyb687 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8214,26 +8214,26 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv13 := &x.Rules - yym14 := z.DecBinary() - _ = yym14 + yyv691 := &x.Rules + yym692 := z.DecBinary() + _ = yym692 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv13), d) + h.decSliceIngressRule((*[]IngressRule)(yyv691), d) } } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj687++ + if yyhl687 { + yyb687 = yyj687 > l } else { - yyb9 = r.CheckBreak() + yyb687 = r.CheckBreak() } - if yyb9 { + if yyb687 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj687-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8245,39 +8245,39 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym693 := z.EncBinary() + _ = yym693 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Hosts) != 0 - yyq2[1] = x.SecretName != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep694 := !z.EncBinary() + yy2arr694 := z.EncBasicHandle().StructToArray + var yyq694 [2]bool + _, _, _ = yysep694, yyq694, yy2arr694 + const yyr694 bool = false + yyq694[0] = len(x.Hosts) != 0 + yyq694[1] = x.SecretName != "" + var yynn694 int + if yyr694 || yy2arr694 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn694 = 0 + for _, b := range yyq694 { if b { - yynn2++ + yynn694++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn694) + yynn694 = 0 } - if yyr2 || yy2arr2 { + if yyr694 || yy2arr694 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq694[0] { if x.Hosts == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym696 := z.EncBinary() + _ = yym696 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -8287,15 +8287,15 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq694[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hosts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Hosts == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym697 := z.EncBinary() + _ = yym697 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -8303,11 +8303,11 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr694 || yy2arr694 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq694[1] { + yym699 := z.EncBinary() + _ = yym699 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -8316,19 +8316,19 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq694[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym700 := z.EncBinary() + _ = yym700 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } } - if yyr2 || yy2arr2 { + if yyr694 || yy2arr694 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8341,25 +8341,25 @@ func (x *IngressTLS) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym701 := z.DecBinary() + _ = yym701 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct702 := r.ContainerType() + if yyct702 == codecSelferValueTypeMap1234 { + yyl702 := r.ReadMapStart() + if yyl702 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl702, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct702 == codecSelferValueTypeArray1234 { + yyl702 := r.ReadArrayStart() + if yyl702 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl702, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8371,12 +8371,12 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys703Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys703Slc + var yyhl703 bool = l >= 0 + for yyj703 := 0; ; yyj703++ { + if yyhl703 { + if yyj703 >= l { break } } else { @@ -8385,20 +8385,20 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys703Slc = r.DecodeBytes(yys703Slc, true, true) + yys703 := string(yys703Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys703 { case "hosts": if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv4 := &x.Hosts - yym5 := z.DecBinary() - _ = yym5 + yyv704 := &x.Hosts + yym705 := z.DecBinary() + _ = yym705 if false { } else { - z.F.DecSliceStringX(yyv4, false, d) + z.F.DecSliceStringX(yyv704, false, d) } } case "secretName": @@ -8408,9 +8408,9 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys703) + } // end switch yys703 + } // end for yyj703 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8418,16 +8418,16 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj707 int + var yyb707 bool + var yyhl707 bool = l >= 0 + yyj707++ + if yyhl707 { + yyb707 = yyj707 > l } else { - yyb7 = r.CheckBreak() + yyb707 = r.CheckBreak() } - if yyb7 { + if yyb707 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8435,21 +8435,21 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv8 := &x.Hosts - yym9 := z.DecBinary() - _ = yym9 + yyv708 := &x.Hosts + yym709 := z.DecBinary() + _ = yym709 if false { } else { - z.F.DecSliceStringX(yyv8, false, d) + z.F.DecSliceStringX(yyv708, false, d) } } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj707++ + if yyhl707 { + yyb707 = yyj707 > l } else { - yyb7 = r.CheckBreak() + yyb707 = r.CheckBreak() } - if yyb7 { + if yyb707 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8460,17 +8460,17 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SecretName = string(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj707++ + if yyhl707 { + yyb707 = yyj707 > l } else { - yyb7 = r.CheckBreak() + yyb707 = r.CheckBreak() } - if yyb7 { + if yyb707 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj707-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8482,48 +8482,48 @@ func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym711 := z.EncBinary() + _ = yym711 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep712 := !z.EncBinary() + yy2arr712 := z.EncBasicHandle().StructToArray + var yyq712 [1]bool + _, _, _ = yysep712, yyq712, yy2arr712 + const yyr712 bool = false + yyq712[0] = true + var yynn712 int + if yyr712 || yy2arr712 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn712 = 0 + for _, b := range yyq712 { if b { - yynn2++ + yynn712++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn712) + yynn712 = 0 } - if yyr2 || yy2arr2 { + if yyr712 || yy2arr712 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.LoadBalancer - yy4.CodecEncodeSelf(e) + if yyq712[0] { + yy714 := &x.LoadBalancer + yy714.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq712[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.LoadBalancer - yy6.CodecEncodeSelf(e) + yy715 := &x.LoadBalancer + yy715.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr712 || yy2arr712 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8536,25 +8536,25 @@ func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym716 := z.DecBinary() + _ = yym716 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct717 := r.ContainerType() + if yyct717 == codecSelferValueTypeMap1234 { + yyl717 := r.ReadMapStart() + if yyl717 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl717, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct717 == codecSelferValueTypeArray1234 { + yyl717 := r.ReadArrayStart() + if yyl717 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl717, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8566,12 +8566,12 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys718Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys718Slc + var yyhl718 bool = l >= 0 + for yyj718 := 0; ; yyj718++ { + if yyhl718 { + if yyj718 >= l { break } } else { @@ -8580,21 +8580,21 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys718Slc = r.DecodeBytes(yys718Slc, true, true) + yys718 := string(yys718Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys718 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_api.LoadBalancerStatus{} } else { - yyv4 := &x.LoadBalancer - yyv4.CodecDecodeSelf(d) + yyv719 := &x.LoadBalancer + yyv719.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys718) + } // end switch yys718 + } // end for yyj718 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8602,16 +8602,16 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj720 int + var yyb720 bool + var yyhl720 bool = l >= 0 + yyj720++ + if yyhl720 { + yyb720 = yyj720 > l } else { - yyb5 = r.CheckBreak() + yyb720 = r.CheckBreak() } - if yyb5 { + if yyb720 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8619,21 +8619,21 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_api.LoadBalancerStatus{} } else { - yyv6 := &x.LoadBalancer - yyv6.CodecDecodeSelf(d) + yyv721 := &x.LoadBalancer + yyv721.CodecDecodeSelf(d) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj720++ + if yyhl720 { + yyb720 = yyj720 > l } else { - yyb5 = r.CheckBreak() + yyb720 = r.CheckBreak() } - if yyb5 { + if yyb720 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj720-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8645,36 +8645,36 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym722 := z.EncBinary() + _ = yym722 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Host != "" - yyq2[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep723 := !z.EncBinary() + yy2arr723 := z.EncBasicHandle().StructToArray + var yyq723 [2]bool + _, _, _ = yysep723, yyq723, yy2arr723 + const yyr723 bool = false + yyq723[0] = x.Host != "" + yyq723[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil + var yynn723 int + if yyr723 || yy2arr723 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn723 = 0 + for _, b := range yyq723 { if b { - yynn2++ + yynn723++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn723) + yynn723 = 0 } - if yyr2 || yy2arr2 { + if yyr723 || yy2arr723 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq723[0] { + yym725 := z.EncBinary() + _ = yym725 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -8683,30 +8683,30 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq723[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym726 := z.EncBinary() + _ = yym726 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - var yyn6 bool + var yyn727 bool if x.IngressRuleValue.HTTP == nil { - yyn6 = true - goto LABEL6 + yyn727 = true + goto LABEL727 } - LABEL6: - if yyr2 || yy2arr2 { - if yyn6 { + LABEL727: + if yyr723 || yy2arr723 { + if yyn727 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq723[1] { if x.HTTP == nil { r.EncodeNil() } else { @@ -8717,11 +8717,11 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[1] { + if yyq723[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn6 { + if yyn727 { r.EncodeNil() } else { if x.HTTP == nil { @@ -8732,7 +8732,7 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr723 || yy2arr723 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8745,25 +8745,25 @@ func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym728 := z.DecBinary() + _ = yym728 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct729 := r.ContainerType() + if yyct729 == codecSelferValueTypeMap1234 { + yyl729 := r.ReadMapStart() + if yyl729 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl729, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct729 == codecSelferValueTypeArray1234 { + yyl729 := r.ReadArrayStart() + if yyl729 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl729, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8775,12 +8775,12 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys730Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys730Slc + var yyhl730 bool = l >= 0 + for yyj730 := 0; ; yyj730++ { + if yyhl730 { + if yyj730 >= l { break } } else { @@ -8789,10 +8789,10 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys730Slc = r.DecodeBytes(yys730Slc, true, true) + yys730 := string(yys730Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys730 { case "host": if r.TryDecodeAsNil() { x.Host = "" @@ -8814,9 +8814,9 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys730) + } // end switch yys730 + } // end for yyj730 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8824,16 +8824,16 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj733 int + var yyb733 bool + var yyhl733 bool = l >= 0 + yyj733++ + if yyhl733 { + yyb733 = yyj733 > l } else { - yyb6 = r.CheckBreak() + yyb733 = r.CheckBreak() } - if yyb6 { + if yyb733 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8846,13 +8846,13 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.IngressRuleValue.HTTP == nil { x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj733++ + if yyhl733 { + yyb733 = yyj733 > l } else { - yyb6 = r.CheckBreak() + yyb733 = r.CheckBreak() } - if yyb6 { + if yyb733 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8868,17 +8868,17 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj733++ + if yyhl733 { + yyb733 = yyj733 > l } else { - yyb6 = r.CheckBreak() + yyb733 = r.CheckBreak() } - if yyb6 { + if yyb733 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj733-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8890,33 +8890,33 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym736 := z.EncBinary() + _ = yym736 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.HTTP != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep737 := !z.EncBinary() + yy2arr737 := z.EncBasicHandle().StructToArray + var yyq737 [1]bool + _, _, _ = yysep737, yyq737, yy2arr737 + const yyr737 bool = false + yyq737[0] = x.HTTP != nil + var yynn737 int + if yyr737 || yy2arr737 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn737 = 0 + for _, b := range yyq737 { if b { - yynn2++ + yynn737++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn737) + yynn737 = 0 } - if yyr2 || yy2arr2 { + if yyr737 || yy2arr737 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq737[0] { if x.HTTP == nil { r.EncodeNil() } else { @@ -8926,7 +8926,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq737[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -8937,7 +8937,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr737 || yy2arr737 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8950,25 +8950,25 @@ func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym739 := z.DecBinary() + _ = yym739 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct740 := r.ContainerType() + if yyct740 == codecSelferValueTypeMap1234 { + yyl740 := r.ReadMapStart() + if yyl740 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl740, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct740 == codecSelferValueTypeArray1234 { + yyl740 := r.ReadArrayStart() + if yyl740 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl740, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8980,12 +8980,12 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys741Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys741Slc + var yyhl741 bool = l >= 0 + for yyj741 := 0; ; yyj741++ { + if yyhl741 { + if yyj741 >= l { break } } else { @@ -8994,10 +8994,10 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys741Slc = r.DecodeBytes(yys741Slc, true, true) + yys741 := string(yys741Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys741 { case "http": if r.TryDecodeAsNil() { if x.HTTP != nil { @@ -9010,9 +9010,9 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys741) + } // end switch yys741 + } // end for yyj741 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9020,16 +9020,16 @@ func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj743 int + var yyb743 bool + var yyhl743 bool = l >= 0 + yyj743++ + if yyhl743 { + yyb743 = yyj743 > l } else { - yyb5 = r.CheckBreak() + yyb743 = r.CheckBreak() } - if yyb5 { + if yyb743 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9045,17 +9045,17 @@ func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.HTTP.CodecDecodeSelf(d) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj743++ + if yyhl743 { + yyb743 = yyj743 > l } else { - yyb5 = r.CheckBreak() + yyb743 = r.CheckBreak() } - if yyb5 { + if yyb743 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj743-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9067,36 +9067,36 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym745 := z.EncBinary() + _ = yym745 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep746 := !z.EncBinary() + yy2arr746 := z.EncBasicHandle().StructToArray + var yyq746 [1]bool + _, _, _ = yysep746, yyq746, yy2arr746 + const yyr746 bool = false + var yynn746 int + if yyr746 || yy2arr746 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn746 = 1 + for _, b := range yyq746 { if b { - yynn2++ + yynn746++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn746) + yynn746 = 0 } - if yyr2 || yy2arr2 { + if yyr746 || yy2arr746 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Paths == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym748 := z.EncBinary() + _ = yym748 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) @@ -9109,15 +9109,15 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x.Paths == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym749 := z.EncBinary() + _ = yym749 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) } } } - if yyr2 || yy2arr2 { + if yyr746 || yy2arr746 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9130,25 +9130,25 @@ func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym750 := z.DecBinary() + _ = yym750 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct751 := r.ContainerType() + if yyct751 == codecSelferValueTypeMap1234 { + yyl751 := r.ReadMapStart() + if yyl751 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl751, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct751 == codecSelferValueTypeArray1234 { + yyl751 := r.ReadArrayStart() + if yyl751 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl751, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9160,12 +9160,12 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -9174,26 +9174,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys752Slc = r.DecodeBytes(yys752Slc, true, true) + yys752 := string(yys752Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys752 { case "paths": if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv4 := &x.Paths - yym5 := z.DecBinary() - _ = yym5 + yyv753 := &x.Paths + yym754 := z.DecBinary() + _ = yym754 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv4), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv753), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys752) + } // end switch yys752 + } // end for yyj752 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9201,16 +9201,16 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj755 int + var yyb755 bool + var yyhl755 bool = l >= 0 + yyj755++ + if yyhl755 { + yyb755 = yyj755 > l } else { - yyb6 = r.CheckBreak() + yyb755 = r.CheckBreak() } - if yyb6 { + if yyb755 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9218,26 +9218,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv7 := &x.Paths - yym8 := z.DecBinary() - _ = yym8 + yyv756 := &x.Paths + yym757 := z.DecBinary() + _ = yym757 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv7), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv756), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj755++ + if yyhl755 { + yyb755 = yyj755 > l } else { - yyb6 = r.CheckBreak() + yyb755 = r.CheckBreak() } - if yyb6 { + if yyb755 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj755-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9249,35 +9249,35 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym758 := z.EncBinary() + _ = yym758 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Path != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep759 := !z.EncBinary() + yy2arr759 := z.EncBasicHandle().StructToArray + var yyq759 [2]bool + _, _, _ = yysep759, yyq759, yy2arr759 + const yyr759 bool = false + yyq759[0] = x.Path != "" + var yynn759 int + if yyr759 || yy2arr759 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn759 = 1 + for _, b := range yyq759 { if b { - yynn2++ + yynn759++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn759) + yynn759 = 0 } - if yyr2 || yy2arr2 { + if yyr759 || yy2arr759 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq759[0] { + yym761 := z.EncBinary() + _ = yym761 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -9286,30 +9286,30 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq759[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym762 := z.EncBinary() + _ = yym762 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr2 || yy2arr2 { + if yyr759 || yy2arr759 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.Backend - yy7.CodecEncodeSelf(e) + yy764 := &x.Backend + yy764.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.Backend - yy9.CodecEncodeSelf(e) + yy765 := &x.Backend + yy765.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr759 || yy2arr759 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9322,25 +9322,25 @@ func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym766 := z.DecBinary() + _ = yym766 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct767 := r.ContainerType() + if yyct767 == codecSelferValueTypeMap1234 { + yyl767 := r.ReadMapStart() + if yyl767 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl767, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct767 == codecSelferValueTypeArray1234 { + yyl767 := r.ReadArrayStart() + if yyl767 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl767, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9352,12 +9352,12 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys768Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys768Slc + var yyhl768 bool = l >= 0 + for yyj768 := 0; ; yyj768++ { + if yyhl768 { + if yyj768 >= l { break } } else { @@ -9366,10 +9366,10 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys768Slc = r.DecodeBytes(yys768Slc, true, true) + yys768 := string(yys768Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys768 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -9380,13 +9380,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv5 := &x.Backend - yyv5.CodecDecodeSelf(d) + yyv770 := &x.Backend + yyv770.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys768) + } // end switch yys768 + } // end for yyj768 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9394,16 +9394,16 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj771 int + var yyb771 bool + var yyhl771 bool = l >= 0 + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb6 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb6 { + if yyb771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9413,13 +9413,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb6 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb6 { + if yyb771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9427,21 +9427,21 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv8 := &x.Backend - yyv8.CodecDecodeSelf(d) + yyv773 := &x.Backend + yyv773.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb6 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb6 { + if yyb771 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj771-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9453,33 +9453,33 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym774 := z.EncBinary() + _ = yym774 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep775 := !z.EncBinary() + yy2arr775 := z.EncBasicHandle().StructToArray + var yyq775 [2]bool + _, _, _ = yysep775, yyq775, yy2arr775 + const yyr775 bool = false + var yynn775 int + if yyr775 || yy2arr775 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn775 = 2 + for _, b := range yyq775 { if b { - yynn2++ + yynn775++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn775) + yynn775 = 0 } - if yyr2 || yy2arr2 { + if yyr775 || yy2arr775 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym777 := z.EncBinary() + _ = yym777 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) @@ -9488,41 +9488,41 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym778 := z.EncBinary() + _ = yym778 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) } } - if yyr2 || yy2arr2 { + if yyr775 || yy2arr775 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.ServicePort - yym8 := z.EncBinary() - _ = yym8 + yy780 := &x.ServicePort + yym781 := z.EncBinary() + _ = yym781 if false { - } else if z.HasExtensions() && z.EncExt(yy7) { - } else if !yym8 && z.IsJSONHandle() { - z.EncJSONMarshal(yy7) + } else if z.HasExtensions() && z.EncExt(yy780) { + } else if !yym781 && z.IsJSONHandle() { + z.EncJSONMarshal(yy780) } else { - z.EncFallback(yy7) + z.EncFallback(yy780) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("servicePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.ServicePort - yym10 := z.EncBinary() - _ = yym10 + yy782 := &x.ServicePort + yym783 := z.EncBinary() + _ = yym783 if false { - } else if z.HasExtensions() && z.EncExt(yy9) { - } else if !yym10 && z.IsJSONHandle() { - z.EncJSONMarshal(yy9) + } else if z.HasExtensions() && z.EncExt(yy782) { + } else if !yym783 && z.IsJSONHandle() { + z.EncJSONMarshal(yy782) } else { - z.EncFallback(yy9) + z.EncFallback(yy782) } } - if yyr2 || yy2arr2 { + if yyr775 || yy2arr775 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9535,25 +9535,25 @@ func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym784 := z.DecBinary() + _ = yym784 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct785 := r.ContainerType() + if yyct785 == codecSelferValueTypeMap1234 { + yyl785 := r.ReadMapStart() + if yyl785 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl785, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct785 == codecSelferValueTypeArray1234 { + yyl785 := r.ReadArrayStart() + if yyl785 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl785, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9565,12 +9565,12 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -9579,10 +9579,10 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys786Slc = r.DecodeBytes(yys786Slc, true, true) + yys786 := string(yys786Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys786 { case "serviceName": if r.TryDecodeAsNil() { x.ServiceName = "" @@ -9593,21 +9593,21 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv5 := &x.ServicePort - yym6 := z.DecBinary() - _ = yym6 + yyv788 := &x.ServicePort + yym789 := z.DecBinary() + _ = yym789 if false { - } else if z.HasExtensions() && z.DecExt(yyv5) { - } else if !yym6 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv5) + } else if z.HasExtensions() && z.DecExt(yyv788) { + } else if !yym789 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv788) } else { - z.DecFallback(yyv5, false) + z.DecFallback(yyv788, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys786) + } // end switch yys786 + } // end for yyj786 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9615,16 +9615,16 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj790 int + var yyb790 bool + var yyhl790 bool = l >= 0 + yyj790++ + if yyhl790 { + yyb790 = yyj790 > l } else { - yyb7 = r.CheckBreak() + yyb790 = r.CheckBreak() } - if yyb7 { + if yyb790 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9634,13 +9634,13 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ServiceName = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj790++ + if yyhl790 { + yyb790 = yyj790 > l } else { - yyb7 = r.CheckBreak() + yyb790 = r.CheckBreak() } - if yyb7 { + if yyb790 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9648,29 +9648,29 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv9 := &x.ServicePort - yym10 := z.DecBinary() - _ = yym10 + yyv792 := &x.ServicePort + yym793 := z.DecBinary() + _ = yym793 if false { - } else if z.HasExtensions() && z.DecExt(yyv9) { - } else if !yym10 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv9) + } else if z.HasExtensions() && z.DecExt(yyv792) { + } else if !yym793 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv792) } else { - z.DecFallback(yyv9, false) + z.DecFallback(yyv792, false) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj790++ + if yyhl790 { + yyb790 = yyj790 > l } else { - yyb7 = r.CheckBreak() + yyb790 = r.CheckBreak() } - if yyb7 { + if yyb790 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj790-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9682,90 +9682,39 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym794 := z.EncBinary() + _ = yym794 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep795 := !z.EncBinary() + yy2arr795 := z.EncBasicHandle().StructToArray + var yyq795 [5]bool + _, _, _ = yysep795, yyq795, yy2arr795 + const yyr795 bool = false + yyq795[0] = x.Kind != "" + yyq795[1] = x.APIVersion != "" + yyq795[2] = true + yyq795[3] = true + yyq795[4] = true + var yynn795 int + if yyr795 || yy2arr795 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn795 = 0 + for _, b := range yyq795 { if b { - yynn2++ + yynn795++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn795) + yynn795 = 0 } - if yyr2 || yy2arr2 { + if yyr795 || yy2arr795 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq795[0] { + yym797 := z.EncBinary() + _ = yym797 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9774,23 +9723,23 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq795[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym798 := z.EncBinary() + _ = yym798 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr795 || yy2arr795 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq795[1] { + yym800 := z.EncBinary() + _ = yym800 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9799,19 +9748,70 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq795[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym801 := z.EncBinary() + _ = yym801 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr795 || yy2arr795 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq795[2] { + yy803 := &x.ObjectMeta + yy803.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq795[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy804 := &x.ObjectMeta + yy804.CodecEncodeSelf(e) + } + } + if yyr795 || yy2arr795 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq795[3] { + yy806 := &x.Spec + yy806.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq795[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy807 := &x.Spec + yy807.CodecEncodeSelf(e) + } + } + if yyr795 || yy2arr795 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq795[4] { + yy809 := &x.Status + yy809.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq795[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy810 := &x.Status + yy810.CodecEncodeSelf(e) + } + } + if yyr795 || yy2arr795 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9824,25 +9824,25 @@ func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym811 := z.DecBinary() + _ = yym811 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct812 := r.ContainerType() + if yyct812 == codecSelferValueTypeMap1234 { + yyl812 := r.ReadMapStart() + if yyl812 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl812, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct812 == codecSelferValueTypeArray1234 { + yyl812 := r.ReadArrayStart() + if yyl812 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl812, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9854,12 +9854,12 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys813Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys813Slc + var yyhl813 bool = l >= 0 + for yyj813 := 0; ; yyj813++ { + if yyhl813 { + if yyj813 >= l { break } } else { @@ -9868,31 +9868,10 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys813Slc = r.DecodeBytes(yys813Slc, true, true) + yys813 := string(yys813Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ReplicaSetSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ReplicaSetStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys813 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9905,10 +9884,31 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv816 := &x.ObjectMeta + yyv816.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ReplicaSetSpec{} + } else { + yyv817 := &x.Spec + yyv817.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ReplicaSetStatus{} + } else { + yyv818 := &x.Status + yyv818.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys813) + } // end switch yys813 + } // end for yyj813 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9916,67 +9916,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj819 int + var yyb819 bool + var yyhl819 bool = l >= 0 + yyj819++ + if yyhl819 { + yyb819 = yyj819 > l } else { - yyb9 = r.CheckBreak() + yyb819 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ReplicaSetSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ReplicaSetStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb819 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9986,13 +9935,13 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj819++ + if yyhl819 { + yyb819 = yyj819 > l } else { - yyb9 = r.CheckBreak() + yyb819 = r.CheckBreak() } - if yyb9 { + if yyb819 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10002,18 +9951,69 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj819++ + if yyhl819 { + yyb819 = yyj819 > l + } else { + yyb819 = r.CheckBreak() + } + if yyb819 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv822 := &x.ObjectMeta + yyv822.CodecDecodeSelf(d) + } + yyj819++ + if yyhl819 { + yyb819 = yyj819 > l + } else { + yyb819 = r.CheckBreak() + } + if yyb819 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ReplicaSetSpec{} + } else { + yyv823 := &x.Spec + yyv823.CodecDecodeSelf(d) + } + yyj819++ + if yyhl819 { + yyb819 = yyj819 > l + } else { + yyb819 = r.CheckBreak() + } + if yyb819 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ReplicaSetStatus{} + } else { + yyv824 := &x.Status + yyv824.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj819++ + if yyhl819 { + yyb819 = yyj819 > l } else { - yyb9 = r.CheckBreak() + yyb819 = r.CheckBreak() } - if yyb9 { + if yyb819 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj819-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10025,68 +10025,118 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym825 := z.EncBinary() + _ = yym825 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep826 := !z.EncBinary() + yy2arr826 := z.EncBasicHandle().StructToArray + var yyq826 [4]bool + _, _, _ = yysep826, yyq826, yy2arr826 + const yyr826 bool = false + yyq826[0] = x.Kind != "" + yyq826[1] = x.APIVersion != "" + yyq826[2] = true + var yynn826 int + if yyr826 || yy2arr826 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn826 = 1 + for _, b := range yyq826 { if b { - yynn2++ + yynn826++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn826) + yynn826 = 0 } - if yyr2 || yy2arr2 { + if yyr826 || yy2arr826 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq826[0] { + yym828 := z.EncBinary() + _ = yym828 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq826[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym829 := z.EncBinary() + _ = yym829 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr826 || yy2arr826 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq826[1] { + yym831 := z.EncBinary() + _ = yym831 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq826[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym832 := z.EncBinary() + _ = yym832 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr826 || yy2arr826 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq826[2] { + yy834 := &x.ListMeta + yym835 := z.EncBinary() + _ = yym835 + if false { + } else if z.HasExtensions() && z.EncExt(yy834) { + } else { + z.EncFallback(yy834) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq826[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy836 := &x.ListMeta + yym837 := z.EncBinary() + _ = yym837 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy836) { } else { - z.EncFallback(yy6) + z.EncFallback(yy836) } } } - if yyr2 || yy2arr2 { + if yyr826 || yy2arr826 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym839 := z.EncBinary() + _ = yym839 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) @@ -10099,65 +10149,15 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym840 := z.EncBinary() + _ = yym840 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr826 || yy2arr826 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10170,25 +10170,25 @@ func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym841 := z.DecBinary() + _ = yym841 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct842 := r.ContainerType() + if yyct842 == codecSelferValueTypeMap1234 { + yyl842 := r.ReadMapStart() + if yyl842 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl842, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct842 == codecSelferValueTypeArray1234 { + yyl842 := r.ReadArrayStart() + if yyl842 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl842, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10200,12 +10200,12 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys843Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys843Slc + var yyhl843 bool = l >= 0 + for yyj843 := 0; ; yyj843++ { + if yyhl843 { + if yyj843 >= l { break } } else { @@ -10214,35 +10214,10 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys843Slc = r.DecodeBytes(yys843Slc, true, true) + yys843 := string(yys843Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv6), d) - } - } + switch yys843 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -10255,10 +10230,35 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv846 := &x.ListMeta + yym847 := z.DecBinary() + _ = yym847 + if false { + } else if z.HasExtensions() && z.DecExt(yyv846) { + } else { + z.DecFallback(yyv846, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv848 := &x.Items + yym849 := z.DecBinary() + _ = yym849 + if false { + } else { + h.decSliceReplicaSet((*[]ReplicaSet)(yyv848), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys843) + } // end switch yys843 + } // end for yyj843 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10266,61 +10266,16 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj850 int + var yyb850 bool + var yyhl850 bool = l >= 0 + yyj850++ + if yyhl850 { + yyb850 = yyj850 > l } else { - yyb10 = r.CheckBreak() + yyb850 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb850 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10330,13 +10285,13 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj850++ + if yyhl850 { + yyb850 = yyj850 > l } else { - yyb10 = r.CheckBreak() + yyb850 = r.CheckBreak() } - if yyb10 { + if yyb850 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10346,18 +10301,63 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj850++ + if yyhl850 { + yyb850 = yyj850 > l + } else { + yyb850 = r.CheckBreak() + } + if yyb850 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv853 := &x.ListMeta + yym854 := z.DecBinary() + _ = yym854 + if false { + } else if z.HasExtensions() && z.DecExt(yyv853) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv853, false) } - if yyb10 { + } + yyj850++ + if yyhl850 { + yyb850 = yyj850 > l + } else { + yyb850 = r.CheckBreak() + } + if yyb850 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv855 := &x.Items + yym856 := z.DecBinary() + _ = yym856 + if false { + } else { + h.decSliceReplicaSet((*[]ReplicaSet)(yyv855), d) + } + } + for { + yyj850++ + if yyhl850 { + yyb850 = yyj850 > l + } else { + yyb850 = r.CheckBreak() + } + if yyb850 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj850-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10369,35 +10369,35 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym857 := z.EncBinary() + _ = yym857 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.Selector != nil - yyq2[2] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep858 := !z.EncBinary() + yy2arr858 := z.EncBasicHandle().StructToArray + var yyq858 [3]bool + _, _, _ = yysep858, yyq858, yy2arr858 + const yyr858 bool = false + yyq858[1] = x.Selector != nil + yyq858[2] = true + var yynn858 int + if yyr858 || yy2arr858 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn858 = 1 + for _, b := range yyq858 { if b { - yynn2++ + yynn858++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn858) + yynn858 = 0 } - if yyr2 || yy2arr2 { + if yyr858 || yy2arr858 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym860 := z.EncBinary() + _ = yym860 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -10406,21 +10406,21 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym861 := z.EncBinary() + _ = yym861 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2 || yy2arr2 { + if yyr858 || yy2arr858 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq858[1] { if x.Selector == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym863 := z.EncBinary() + _ = yym863 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -10431,15 +10431,15 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq858[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym864 := z.EncBinary() + _ = yym864 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -10448,24 +10448,24 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr858 || yy2arr858 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy10 := &x.Template - yy10.CodecEncodeSelf(e) + if yyq858[2] { + yy866 := &x.Template + yy866.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq858[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.Template - yy12.CodecEncodeSelf(e) + yy867 := &x.Template + yy867.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr858 || yy2arr858 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10478,25 +10478,25 @@ func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym868 := z.DecBinary() + _ = yym868 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct869 := r.ContainerType() + if yyct869 == codecSelferValueTypeMap1234 { + yyl869 := r.ReadMapStart() + if yyl869 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl869, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct869 == codecSelferValueTypeArray1234 { + yyl869 := r.ReadArrayStart() + if yyl869 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl869, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10508,12 +10508,12 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys870Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys870Slc + var yyhl870 bool = l >= 0 + for yyj870 := 0; ; yyj870++ { + if yyhl870 { + if yyj870 >= l { break } } else { @@ -10522,10 +10522,10 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys870Slc = r.DecodeBytes(yys870Slc, true, true) + yys870 := string(yys870Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys870 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -10541,8 +10541,8 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym6 := z.DecBinary() - _ = yym6 + yym873 := z.DecBinary() + _ = yym873 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -10553,13 +10553,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv7 := &x.Template - yyv7.CodecDecodeSelf(d) + yyv874 := &x.Template + yyv874.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys870) + } // end switch yys870 + } // end for yyj870 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10567,16 +10567,16 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj875 int + var yyb875 bool + var yyhl875 bool = l >= 0 + yyj875++ + if yyhl875 { + yyb875 = yyj875 > l } else { - yyb8 = r.CheckBreak() + yyb875 = r.CheckBreak() } - if yyb8 { + if yyb875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10586,13 +10586,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj875++ + if yyhl875 { + yyb875 = yyj875 > l } else { - yyb8 = r.CheckBreak() + yyb875 = r.CheckBreak() } - if yyb8 { + if yyb875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10605,21 +10605,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym11 := z.DecBinary() - _ = yym11 + yym878 := z.DecBinary() + _ = yym878 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj875++ + if yyhl875 { + yyb875 = yyj875 > l } else { - yyb8 = r.CheckBreak() + yyb875 = r.CheckBreak() } - if yyb8 { + if yyb875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10627,21 +10627,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv12 := &x.Template - yyv12.CodecDecodeSelf(d) + yyv879 := &x.Template + yyv879.CodecDecodeSelf(d) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj875++ + if yyhl875 { + yyb875 = yyj875 > l } else { - yyb8 = r.CheckBreak() + yyb875 = r.CheckBreak() } - if yyb8 { + if yyb875 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj875-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10653,35 +10653,35 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym880 := z.EncBinary() + _ = yym880 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FullyLabeledReplicas != 0 - yyq2[2] = x.ObservedGeneration != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep881 := !z.EncBinary() + yy2arr881 := z.EncBasicHandle().StructToArray + var yyq881 [3]bool + _, _, _ = yysep881, yyq881, yy2arr881 + const yyr881 bool = false + yyq881[1] = x.FullyLabeledReplicas != 0 + yyq881[2] = x.ObservedGeneration != 0 + var yynn881 int + if yyr881 || yy2arr881 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn881 = 1 + for _, b := range yyq881 { if b { - yynn2++ + yynn881++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn881) + yynn881 = 0 } - if yyr2 || yy2arr2 { + if yyr881 || yy2arr881 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym883 := z.EncBinary() + _ = yym883 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -10690,18 +10690,18 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym884 := z.EncBinary() + _ = yym884 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2 || yy2arr2 { + if yyr881 || yy2arr881 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq881[1] { + yym886 := z.EncBinary() + _ = yym886 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -10710,23 +10710,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[1] { + if yyq881[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym887 := z.EncBinary() + _ = yym887 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr2 || yy2arr2 { + if yyr881 || yy2arr881 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq881[2] { + yym889 := z.EncBinary() + _ = yym889 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -10735,19 +10735,19 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[2] { + if yyq881[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym890 := z.EncBinary() + _ = yym890 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr2 || yy2arr2 { + if yyr881 || yy2arr881 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10760,25 +10760,25 @@ func (x *ReplicaSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym891 := z.DecBinary() + _ = yym891 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct892 := r.ContainerType() + if yyct892 == codecSelferValueTypeMap1234 { + yyl892 := r.ReadMapStart() + if yyl892 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl892, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct892 == codecSelferValueTypeArray1234 { + yyl892 := r.ReadArrayStart() + if yyl892 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl892, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10790,12 +10790,12 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys893Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys893Slc + var yyhl893 bool = l >= 0 + for yyj893 := 0; ; yyj893++ { + if yyhl893 { + if yyj893 >= l { break } } else { @@ -10804,10 +10804,10 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys893Slc = r.DecodeBytes(yys893Slc, true, true) + yys893 := string(yys893Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys893 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -10827,9 +10827,9 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ObservedGeneration = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys893) + } // end switch yys893 + } // end for yyj893 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10837,16 +10837,16 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj897 int + var yyb897 bool + var yyhl897 bool = l >= 0 + yyj897++ + if yyhl897 { + yyb897 = yyj897 > l } else { - yyb7 = r.CheckBreak() + yyb897 = r.CheckBreak() } - if yyb7 { + if yyb897 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10856,13 +10856,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj897++ + if yyhl897 { + yyb897 = yyj897 > l } else { - yyb7 = r.CheckBreak() + yyb897 = r.CheckBreak() } - if yyb7 { + if yyb897 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10872,13 +10872,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FullyLabeledReplicas = int32(r.DecodeInt(32)) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj897++ + if yyhl897 { + yyb897 = yyj897 > l } else { - yyb7 = r.CheckBreak() + yyb897 = r.CheckBreak() } - if yyb7 { + if yyb897 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10889,17 +10889,17 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ObservedGeneration = int64(r.DecodeInt(64)) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj897++ + if yyhl897 { + yyb897 = yyj897 > l } else { - yyb7 = r.CheckBreak() + yyb897 = r.CheckBreak() } - if yyb7 { + if yyb897 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj897-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10911,72 +10911,38 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym901 := z.EncBinary() + _ = yym901 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep902 := !z.EncBinary() + yy2arr902 := z.EncBasicHandle().StructToArray + var yyq902 [4]bool + _, _, _ = yysep902, yyq902, yy2arr902 + const yyr902 bool = false + yyq902[0] = x.Kind != "" + yyq902[1] = x.APIVersion != "" + yyq902[2] = true + yyq902[3] = true + var yynn902 int + if yyr902 || yy2arr902 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn902 = 0 + for _, b := range yyq902 { if b { - yynn2++ + yynn902++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn902) + yynn902 = 0 } - if yyr2 || yy2arr2 { + if yyr902 || yy2arr902 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq902[0] { + yym904 := z.EncBinary() + _ = yym904 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -10985,23 +10951,23 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq902[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym905 := z.EncBinary() + _ = yym905 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr902 || yy2arr902 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq902[1] { + yym907 := z.EncBinary() + _ = yym907 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -11010,19 +10976,53 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq902[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym908 := z.EncBinary() + _ = yym908 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr902 || yy2arr902 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq902[2] { + yy910 := &x.ObjectMeta + yy910.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq902[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy911 := &x.ObjectMeta + yy911.CodecEncodeSelf(e) + } + } + if yyr902 || yy2arr902 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq902[3] { + yy913 := &x.Spec + yy913.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq902[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy914 := &x.Spec + yy914.CodecEncodeSelf(e) + } + } + if yyr902 || yy2arr902 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11035,25 +11035,25 @@ func (x *PodSecurityPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym915 := z.DecBinary() + _ = yym915 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct916 := r.ContainerType() + if yyct916 == codecSelferValueTypeMap1234 { + yyl916 := r.ReadMapStart() + if yyl916 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl916, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct916 == codecSelferValueTypeArray1234 { + yyl916 := r.ReadArrayStart() + if yyl916 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl916, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11065,12 +11065,12 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys917Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys917Slc + var yyhl917 bool = l >= 0 + for yyj917 := 0; ; yyj917++ { + if yyhl917 { + if yyj917 >= l { break } } else { @@ -11079,24 +11079,10 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys917Slc = r.DecodeBytes(yys917Slc, true, true) + yys917 := string(yys917Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = PodSecurityPolicySpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } + switch yys917 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -11109,10 +11095,24 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv920 := &x.ObjectMeta + yyv920.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = PodSecurityPolicySpec{} + } else { + yyv921 := &x.Spec + yyv921.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys917) + } // end switch yys917 + } // end for yyj917 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11120,50 +11120,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj922 int + var yyb922 bool + var yyhl922 bool = l >= 0 + yyj922++ + if yyhl922 { + yyb922 = yyj922 > l } else { - yyb8 = r.CheckBreak() + yyb922 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv9 := &x.ObjectMeta - yyv9.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = PodSecurityPolicySpec{} - } else { - yyv10 := &x.Spec - yyv10.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb922 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11173,13 +11139,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj922++ + if yyhl922 { + yyb922 = yyj922 > l } else { - yyb8 = r.CheckBreak() + yyb922 = r.CheckBreak() } - if yyb8 { + if yyb922 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11189,18 +11155,52 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } + yyj922++ + if yyhl922 { + yyb922 = yyj922 > l + } else { + yyb922 = r.CheckBreak() + } + if yyb922 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv925 := &x.ObjectMeta + yyv925.CodecDecodeSelf(d) + } + yyj922++ + if yyhl922 { + yyb922 = yyj922 > l + } else { + yyb922 = r.CheckBreak() + } + if yyb922 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = PodSecurityPolicySpec{} + } else { + yyv926 := &x.Spec + yyv926.CodecDecodeSelf(d) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj922++ + if yyhl922 { + yyb922 = yyj922 > l } else { - yyb8 = r.CheckBreak() + yyb922 = r.CheckBreak() } - if yyb8 { + if yyb922 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj922-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11212,44 +11212,44 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym927 := z.EncBinary() + _ = yym927 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [14]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Privileged != false - yyq2[1] = len(x.DefaultAddCapabilities) != 0 - yyq2[2] = len(x.RequiredDropCapabilities) != 0 - yyq2[3] = len(x.AllowedCapabilities) != 0 - yyq2[4] = len(x.Volumes) != 0 - yyq2[5] = x.HostNetwork != false - yyq2[6] = len(x.HostPorts) != 0 - yyq2[7] = x.HostPID != false - yyq2[8] = x.HostIPC != false - yyq2[13] = x.ReadOnlyRootFilesystem != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep928 := !z.EncBinary() + yy2arr928 := z.EncBasicHandle().StructToArray + var yyq928 [14]bool + _, _, _ = yysep928, yyq928, yy2arr928 + const yyr928 bool = false + yyq928[0] = x.Privileged != false + yyq928[1] = len(x.DefaultAddCapabilities) != 0 + yyq928[2] = len(x.RequiredDropCapabilities) != 0 + yyq928[3] = len(x.AllowedCapabilities) != 0 + yyq928[4] = len(x.Volumes) != 0 + yyq928[5] = x.HostNetwork != false + yyq928[6] = len(x.HostPorts) != 0 + yyq928[7] = x.HostPID != false + yyq928[8] = x.HostIPC != false + yyq928[13] = x.ReadOnlyRootFilesystem != false + var yynn928 int + if yyr928 || yy2arr928 { r.EncodeArrayStart(14) } else { - yynn2 = 4 - for _, b := range yyq2 { + yynn928 = 4 + for _, b := range yyq928 { if b { - yynn2++ + yynn928++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn928) + yynn928 = 0 } - if yyr2 || yy2arr2 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq928[0] { + yym930 := z.EncBinary() + _ = yym930 if false { } else { r.EncodeBool(bool(x.Privileged)) @@ -11258,26 +11258,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[0] { + if yyq928[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym931 := z.EncBinary() + _ = yym931 if false { } else { r.EncodeBool(bool(x.Privileged)) } } } - if yyr2 || yy2arr2 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq928[1] { if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym933 := z.EncBinary() + _ = yym933 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.DefaultAddCapabilities), e) @@ -11287,15 +11287,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq928[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultAddCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym934 := z.EncBinary() + _ = yym934 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.DefaultAddCapabilities), e) @@ -11303,14 +11303,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq928[2] { if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym936 := z.EncBinary() + _ = yym936 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.RequiredDropCapabilities), e) @@ -11320,15 +11320,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq928[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDropCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym937 := z.EncBinary() + _ = yym937 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.RequiredDropCapabilities), e) @@ -11336,14 +11336,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq928[3] { if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym939 := z.EncBinary() + _ = yym939 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.AllowedCapabilities), e) @@ -11353,15 +11353,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq928[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowedCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym14 := z.EncBinary() - _ = yym14 + yym940 := z.EncBinary() + _ = yym940 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.AllowedCapabilities), e) @@ -11369,14 +11369,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq928[4] { if x.Volumes == nil { r.EncodeNil() } else { - yym16 := z.EncBinary() - _ = yym16 + yym942 := z.EncBinary() + _ = yym942 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -11386,15 +11386,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq928[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym17 := z.EncBinary() - _ = yym17 + yym943 := z.EncBinary() + _ = yym943 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -11402,11 +11402,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq928[5] { + yym945 := z.EncBinary() + _ = yym945 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -11415,26 +11415,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[5] { + if yyq928[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym946 := z.EncBinary() + _ = yym946 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr2 || yy2arr2 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq928[6] { if x.HostPorts == nil { r.EncodeNil() } else { - yym22 := z.EncBinary() - _ = yym22 + yym948 := z.EncBinary() + _ = yym948 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -11444,15 +11444,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[6] { + if yyq928[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPorts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HostPorts == nil { r.EncodeNil() } else { - yym23 := z.EncBinary() - _ = yym23 + yym949 := z.EncBinary() + _ = yym949 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -11460,11 +11460,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym25 := z.EncBinary() - _ = yym25 + if yyq928[7] { + yym951 := z.EncBinary() + _ = yym951 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -11473,23 +11473,23 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[7] { + if yyq928[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym26 := z.EncBinary() - _ = yym26 + yym952 := z.EncBinary() + _ = yym952 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr2 || yy2arr2 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { - yym28 := z.EncBinary() - _ = yym28 + if yyq928[8] { + yym954 := z.EncBinary() + _ = yym954 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -11498,67 +11498,67 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[8] { + if yyq928[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym29 := z.EncBinary() - _ = yym29 + yym955 := z.EncBinary() + _ = yym955 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr2 || yy2arr2 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy31 := &x.SELinux - yy31.CodecEncodeSelf(e) + yy957 := &x.SELinux + yy957.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinux")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy33 := &x.SELinux - yy33.CodecEncodeSelf(e) + yy958 := &x.SELinux + yy958.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy36 := &x.RunAsUser - yy36.CodecEncodeSelf(e) + yy960 := &x.RunAsUser + yy960.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy38 := &x.RunAsUser - yy38.CodecEncodeSelf(e) + yy961 := &x.RunAsUser + yy961.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy41 := &x.SupplementalGroups - yy41.CodecEncodeSelf(e) + yy963 := &x.SupplementalGroups + yy963.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy43 := &x.SupplementalGroups - yy43.CodecEncodeSelf(e) + yy964 := &x.SupplementalGroups + yy964.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy46 := &x.FSGroup - yy46.CodecEncodeSelf(e) + yy966 := &x.FSGroup + yy966.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy48 := &x.FSGroup - yy48.CodecEncodeSelf(e) + yy967 := &x.FSGroup + yy967.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { - yym51 := z.EncBinary() - _ = yym51 + if yyq928[13] { + yym969 := z.EncBinary() + _ = yym969 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) @@ -11567,19 +11567,19 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[13] { + if yyq928[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym52 := z.EncBinary() - _ = yym52 + yym970 := z.EncBinary() + _ = yym970 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) } } } - if yyr2 || yy2arr2 { + if yyr928 || yy2arr928 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11592,25 +11592,25 @@ func (x *PodSecurityPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym971 := z.DecBinary() + _ = yym971 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct972 := r.ContainerType() + if yyct972 == codecSelferValueTypeMap1234 { + yyl972 := r.ReadMapStart() + if yyl972 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl972, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct972 == codecSelferValueTypeArray1234 { + yyl972 := r.ReadArrayStart() + if yyl972 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl972, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11622,12 +11622,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys973Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys973Slc + var yyhl973 bool = l >= 0 + for yyj973 := 0; ; yyj973++ { + if yyhl973 { + if yyj973 >= l { break } } else { @@ -11636,10 +11636,10 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys973Slc = r.DecodeBytes(yys973Slc, true, true) + yys973 := string(yys973Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys973 { case "privileged": if r.TryDecodeAsNil() { x.Privileged = false @@ -11650,48 +11650,48 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv5 := &x.DefaultAddCapabilities - yym6 := z.DecBinary() - _ = yym6 + yyv975 := &x.DefaultAddCapabilities + yym976 := z.DecBinary() + _ = yym976 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv5), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv975), d) } } case "requiredDropCapabilities": if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv7 := &x.RequiredDropCapabilities - yym8 := z.DecBinary() - _ = yym8 + yyv977 := &x.RequiredDropCapabilities + yym978 := z.DecBinary() + _ = yym978 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv7), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv977), d) } } case "allowedCapabilities": if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv9 := &x.AllowedCapabilities - yym10 := z.DecBinary() - _ = yym10 + yyv979 := &x.AllowedCapabilities + yym980 := z.DecBinary() + _ = yym980 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv9), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv979), d) } } case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv11 := &x.Volumes - yym12 := z.DecBinary() - _ = yym12 + yyv981 := &x.Volumes + yym982 := z.DecBinary() + _ = yym982 if false { } else { - h.decSliceFSType((*[]FSType)(yyv11), d) + h.decSliceFSType((*[]FSType)(yyv981), d) } } case "hostNetwork": @@ -11704,12 +11704,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv14 := &x.HostPorts - yym15 := z.DecBinary() - _ = yym15 + yyv984 := &x.HostPorts + yym985 := z.DecBinary() + _ = yym985 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv14), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv984), d) } } case "hostPID": @@ -11728,29 +11728,29 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv18 := &x.SELinux - yyv18.CodecDecodeSelf(d) + yyv988 := &x.SELinux + yyv988.CodecDecodeSelf(d) } case "runAsUser": if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv19 := &x.RunAsUser - yyv19.CodecDecodeSelf(d) + yyv989 := &x.RunAsUser + yyv989.CodecDecodeSelf(d) } case "supplementalGroups": if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv20 := &x.SupplementalGroups - yyv20.CodecDecodeSelf(d) + yyv990 := &x.SupplementalGroups + yyv990.CodecDecodeSelf(d) } case "fsGroup": if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv21 := &x.FSGroup - yyv21.CodecDecodeSelf(d) + yyv991 := &x.FSGroup + yyv991.CodecDecodeSelf(d) } case "readOnlyRootFilesystem": if r.TryDecodeAsNil() { @@ -11759,9 +11759,9 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys973) + } // end switch yys973 + } // end for yyj973 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11769,16 +11769,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj23 int - var yyb23 bool - var yyhl23 bool = l >= 0 - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + var yyj993 int + var yyb993 bool + var yyhl993 bool = l >= 0 + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb23 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb23 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11788,13 +11788,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Privileged = bool(r.DecodeBool()) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb23 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb23 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11802,21 +11802,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv25 := &x.DefaultAddCapabilities - yym26 := z.DecBinary() - _ = yym26 + yyv995 := &x.DefaultAddCapabilities + yym996 := z.DecBinary() + _ = yym996 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv25), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv995), d) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb23 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb23 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11824,21 +11824,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv27 := &x.RequiredDropCapabilities - yym28 := z.DecBinary() - _ = yym28 + yyv997 := &x.RequiredDropCapabilities + yym998 := z.DecBinary() + _ = yym998 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv27), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv997), d) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb23 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb23 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11846,21 +11846,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv29 := &x.AllowedCapabilities - yym30 := z.DecBinary() - _ = yym30 + yyv999 := &x.AllowedCapabilities + yym1000 := z.DecBinary() + _ = yym1000 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv29), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv999), d) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb23 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb23 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11868,21 +11868,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv31 := &x.Volumes - yym32 := z.DecBinary() - _ = yym32 + yyv1001 := &x.Volumes + yym1002 := z.DecBinary() + _ = yym1002 if false { } else { - h.decSliceFSType((*[]FSType)(yyv31), d) + h.decSliceFSType((*[]FSType)(yyv1001), d) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb23 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb23 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11892,13 +11892,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb23 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb23 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11906,21 +11906,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv34 := &x.HostPorts - yym35 := z.DecBinary() - _ = yym35 + yyv1004 := &x.HostPorts + yym1005 := z.DecBinary() + _ = yym1005 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv34), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1004), d) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb23 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb23 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11930,13 +11930,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostPID = bool(r.DecodeBool()) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb23 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb23 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11946,13 +11946,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostIPC = bool(r.DecodeBool()) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb23 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb23 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11960,16 +11960,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv38 := &x.SELinux - yyv38.CodecDecodeSelf(d) + yyv1008 := &x.SELinux + yyv1008.CodecDecodeSelf(d) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb23 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb23 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11977,16 +11977,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv39 := &x.RunAsUser - yyv39.CodecDecodeSelf(d) + yyv1009 := &x.RunAsUser + yyv1009.CodecDecodeSelf(d) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb23 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb23 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11994,16 +11994,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv40 := &x.SupplementalGroups - yyv40.CodecDecodeSelf(d) + yyv1010 := &x.SupplementalGroups + yyv1010.CodecDecodeSelf(d) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb23 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb23 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12011,16 +12011,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv41 := &x.FSGroup - yyv41.CodecDecodeSelf(d) + yyv1011 := &x.FSGroup + yyv1011.CodecDecodeSelf(d) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb23 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb23 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12031,17 +12031,17 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } for { - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb23 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb23 { + if yyb993 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj23-1, "") + z.DecStructFieldNotFound(yyj993-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12053,33 +12053,33 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1013 := z.EncBinary() + _ = yym1013 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1014 := !z.EncBinary() + yy2arr1014 := z.EncBasicHandle().StructToArray + var yyq1014 [2]bool + _, _, _ = yysep1014, yyq1014, yy2arr1014 + const yyr1014 bool = false + var yynn1014 int + if yyr1014 || yy2arr1014 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1014 = 2 + for _, b := range yyq1014 { if b { - yynn2++ + yynn1014++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1014) + yynn1014 = 0 } - if yyr2 || yy2arr2 { + if yyr1014 || yy2arr1014 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1016 := z.EncBinary() + _ = yym1016 if false { } else { r.EncodeInt(int64(x.Min)) @@ -12088,17 +12088,17 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1017 := z.EncBinary() + _ = yym1017 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr2 || yy2arr2 { + if yyr1014 || yy2arr1014 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1019 := z.EncBinary() + _ = yym1019 if false { } else { r.EncodeInt(int64(x.Max)) @@ -12107,14 +12107,14 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1020 := z.EncBinary() + _ = yym1020 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr2 || yy2arr2 { + if yyr1014 || yy2arr1014 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12127,25 +12127,25 @@ func (x *HostPortRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1021 := z.DecBinary() + _ = yym1021 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1022 := r.ContainerType() + if yyct1022 == codecSelferValueTypeMap1234 { + yyl1022 := r.ReadMapStart() + if yyl1022 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1022, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1022 == codecSelferValueTypeArray1234 { + yyl1022 := r.ReadArrayStart() + if yyl1022 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1022, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12157,12 +12157,12 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1023Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1023Slc + var yyhl1023 bool = l >= 0 + for yyj1023 := 0; ; yyj1023++ { + if yyhl1023 { + if yyj1023 >= l { break } } else { @@ -12171,10 +12171,10 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1023Slc = r.DecodeBytes(yys1023Slc, true, true) + yys1023 := string(yys1023Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1023 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -12188,9 +12188,9 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int(r.DecodeInt(codecSelferBitsize1234)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1023) + } // end switch yys1023 + } // end for yyj1023 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12198,16 +12198,16 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1026 int + var yyb1026 bool + var yyhl1026 bool = l >= 0 + yyj1026++ + if yyhl1026 { + yyb1026 = yyj1026 > l } else { - yyb6 = r.CheckBreak() + yyb1026 = r.CheckBreak() } - if yyb6 { + if yyb1026 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12217,13 +12217,13 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1026++ + if yyhl1026 { + yyb1026 = yyj1026 > l } else { - yyb6 = r.CheckBreak() + yyb1026 = r.CheckBreak() } - if yyb6 { + if yyb1026 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12234,17 +12234,17 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int(r.DecodeInt(codecSelferBitsize1234)) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1026++ + if yyhl1026 { + yyb1026 = yyj1026 > l } else { - yyb6 = r.CheckBreak() + yyb1026 = r.CheckBreak() } - if yyb6 { + if yyb1026 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1026-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12253,8 +12253,8 @@ func (x FSType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1029 := z.EncBinary() + _ = yym1029 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -12266,8 +12266,8 @@ func (x *FSType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1030 := z.DecBinary() + _ = yym1030 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -12282,31 +12282,31 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1031 := z.EncBinary() + _ = yym1031 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.SELinuxOptions != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1032 := !z.EncBinary() + yy2arr1032 := z.EncBasicHandle().StructToArray + var yyq1032 [2]bool + _, _, _ = yysep1032, yyq1032, yy2arr1032 + const yyr1032 bool = false + yyq1032[1] = x.SELinuxOptions != nil + var yynn1032 int + if yyr1032 || yy2arr1032 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1032 = 1 + for _, b := range yyq1032 { if b { - yynn2++ + yynn1032++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1032) + yynn1032 = 0 } - if yyr2 || yy2arr2 { + if yyr1032 || yy2arr1032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -12315,9 +12315,9 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1032 || yy2arr1032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1032[1] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -12327,7 +12327,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1032[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -12338,7 +12338,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1032 || yy2arr1032 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12351,25 +12351,25 @@ func (x *SELinuxStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1035 := z.DecBinary() + _ = yym1035 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1036 := r.ContainerType() + if yyct1036 == codecSelferValueTypeMap1234 { + yyl1036 := r.ReadMapStart() + if yyl1036 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1036, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1036 == codecSelferValueTypeArray1234 { + yyl1036 := r.ReadArrayStart() + if yyl1036 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1036, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12381,12 +12381,12 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1037Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1037Slc + var yyhl1037 bool = l >= 0 + for yyj1037 := 0; ; yyj1037++ { + if yyhl1037 { + if yyj1037 >= l { break } } else { @@ -12395,10 +12395,10 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1037Slc = r.DecodeBytes(yys1037Slc, true, true) + yys1037 := string(yys1037Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1037 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -12417,9 +12417,9 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.SELinuxOptions.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1037) + } // end switch yys1037 + } // end for yyj1037 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12427,16 +12427,16 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1040 int + var yyb1040 bool + var yyhl1040 bool = l >= 0 + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb6 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb6 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12446,13 +12446,13 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = SELinuxStrategy(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb6 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb6 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12468,17 +12468,17 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De x.SELinuxOptions.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb6 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb6 { + if yyb1040 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1040-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12487,8 +12487,8 @@ func (x SELinuxStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1043 := z.EncBinary() + _ = yym1043 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -12500,8 +12500,8 @@ func (x *SELinuxStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1044 := z.DecBinary() + _ = yym1044 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -12516,31 +12516,31 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1045 := z.EncBinary() + _ = yym1045 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = len(x.Ranges) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1046 := !z.EncBinary() + yy2arr1046 := z.EncBasicHandle().StructToArray + var yyq1046 [2]bool + _, _, _ = yysep1046, yyq1046, yy2arr1046 + const yyr1046 bool = false + yyq1046[1] = len(x.Ranges) != 0 + var yynn1046 int + if yyr1046 || yy2arr1046 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1046 = 1 + for _, b := range yyq1046 { if b { - yynn2++ + yynn1046++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1046) + yynn1046 = 0 } - if yyr2 || yy2arr2 { + if yyr1046 || yy2arr1046 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -12549,14 +12549,14 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1046 || yy2arr1046 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1046[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1049 := z.EncBinary() + _ = yym1049 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -12566,15 +12566,15 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1046[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1050 := z.EncBinary() + _ = yym1050 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -12582,7 +12582,7 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1046 || yy2arr1046 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12595,25 +12595,25 @@ func (x *RunAsUserStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1051 := z.DecBinary() + _ = yym1051 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1052 := r.ContainerType() + if yyct1052 == codecSelferValueTypeMap1234 { + yyl1052 := r.ReadMapStart() + if yyl1052 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1052, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1052 == codecSelferValueTypeArray1234 { + yyl1052 := r.ReadArrayStart() + if yyl1052 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1052, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12625,12 +12625,12 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1053Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1053Slc + var yyhl1053 bool = l >= 0 + for yyj1053 := 0; ; yyj1053++ { + if yyhl1053 { + if yyj1053 >= l { break } } else { @@ -12639,10 +12639,10 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1053Slc = r.DecodeBytes(yys1053Slc, true, true) + yys1053 := string(yys1053Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1053 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -12653,18 +12653,18 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv5 := &x.Ranges - yym6 := z.DecBinary() - _ = yym6 + yyv1055 := &x.Ranges + yym1056 := z.DecBinary() + _ = yym1056 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv5), d) + h.decSliceIDRange((*[]IDRange)(yyv1055), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1053) + } // end switch yys1053 + } // end for yyj1053 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12672,16 +12672,16 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1057 int + var yyb1057 bool + var yyhl1057 bool = l >= 0 + yyj1057++ + if yyhl1057 { + yyb1057 = yyj1057 > l } else { - yyb7 = r.CheckBreak() + yyb1057 = r.CheckBreak() } - if yyb7 { + if yyb1057 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12691,13 +12691,13 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Rule = RunAsUserStrategy(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1057++ + if yyhl1057 { + yyb1057 = yyj1057 > l } else { - yyb7 = r.CheckBreak() + yyb1057 = r.CheckBreak() } - if yyb7 { + if yyb1057 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12705,26 +12705,26 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv9 := &x.Ranges - yym10 := z.DecBinary() - _ = yym10 + yyv1059 := &x.Ranges + yym1060 := z.DecBinary() + _ = yym1060 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv9), d) + h.decSliceIDRange((*[]IDRange)(yyv1059), d) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1057++ + if yyhl1057 { + yyb1057 = yyj1057 > l } else { - yyb7 = r.CheckBreak() + yyb1057 = r.CheckBreak() } - if yyb7 { + if yyb1057 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1057-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12736,33 +12736,33 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1061 := z.EncBinary() + _ = yym1061 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1062 := !z.EncBinary() + yy2arr1062 := z.EncBasicHandle().StructToArray + var yyq1062 [2]bool + _, _, _ = yysep1062, yyq1062, yy2arr1062 + const yyr1062 bool = false + var yynn1062 int + if yyr1062 || yy2arr1062 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1062 = 2 + for _, b := range yyq1062 { if b { - yynn2++ + yynn1062++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1062) + yynn1062 = 0 } - if yyr2 || yy2arr2 { + if yyr1062 || yy2arr1062 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1064 := z.EncBinary() + _ = yym1064 if false { } else { r.EncodeInt(int64(x.Min)) @@ -12771,17 +12771,17 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1065 := z.EncBinary() + _ = yym1065 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr2 || yy2arr2 { + if yyr1062 || yy2arr1062 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1067 := z.EncBinary() + _ = yym1067 if false { } else { r.EncodeInt(int64(x.Max)) @@ -12790,14 +12790,14 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1068 := z.EncBinary() + _ = yym1068 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr2 || yy2arr2 { + if yyr1062 || yy2arr1062 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12810,25 +12810,25 @@ func (x *IDRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1069 := z.DecBinary() + _ = yym1069 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1070 := r.ContainerType() + if yyct1070 == codecSelferValueTypeMap1234 { + yyl1070 := r.ReadMapStart() + if yyl1070 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1070, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1070 == codecSelferValueTypeArray1234 { + yyl1070 := r.ReadArrayStart() + if yyl1070 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1070, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12840,12 +12840,12 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1071Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1071Slc + var yyhl1071 bool = l >= 0 + for yyj1071 := 0; ; yyj1071++ { + if yyhl1071 { + if yyj1071 >= l { break } } else { @@ -12854,10 +12854,10 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1071Slc = r.DecodeBytes(yys1071Slc, true, true) + yys1071 := string(yys1071Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1071 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -12871,9 +12871,9 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1071) + } // end switch yys1071 + } // end for yyj1071 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12881,16 +12881,16 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1074 int + var yyb1074 bool + var yyhl1074 bool = l >= 0 + yyj1074++ + if yyhl1074 { + yyb1074 = yyj1074 > l } else { - yyb6 = r.CheckBreak() + yyb1074 = r.CheckBreak() } - if yyb6 { + if yyb1074 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12900,13 +12900,13 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int64(r.DecodeInt(64)) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1074++ + if yyhl1074 { + yyb1074 = yyj1074 > l } else { - yyb6 = r.CheckBreak() + yyb1074 = r.CheckBreak() } - if yyb6 { + if yyb1074 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12917,17 +12917,17 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1074++ + if yyhl1074 { + yyb1074 = yyj1074 > l } else { - yyb6 = r.CheckBreak() + yyb1074 = r.CheckBreak() } - if yyb6 { + if yyb1074 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1074-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12936,8 +12936,8 @@ func (x RunAsUserStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1077 := z.EncBinary() + _ = yym1077 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -12949,8 +12949,8 @@ func (x *RunAsUserStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1078 := z.DecBinary() + _ = yym1078 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -12965,54 +12965,54 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1079 := z.EncBinary() + _ = yym1079 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Rule != "" - yyq2[1] = len(x.Ranges) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1080 := !z.EncBinary() + yy2arr1080 := z.EncBasicHandle().StructToArray + var yyq1080 [2]bool + _, _, _ = yysep1080, yyq1080, yy2arr1080 + const yyr1080 bool = false + yyq1080[0] = x.Rule != "" + yyq1080[1] = len(x.Ranges) != 0 + var yynn1080 int + if yyr1080 || yy2arr1080 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1080 = 0 + for _, b := range yyq1080 { if b { - yynn2++ + yynn1080++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1080) + yynn1080 = 0 } - if yyr2 || yy2arr2 { + if yyr1080 || yy2arr1080 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1080[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1080[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1080 || yy2arr1080 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1080[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1083 := z.EncBinary() + _ = yym1083 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -13022,15 +13022,15 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1080[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1084 := z.EncBinary() + _ = yym1084 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -13038,7 +13038,7 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1080 || yy2arr1080 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13051,25 +13051,25 @@ func (x *FSGroupStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1085 := z.DecBinary() + _ = yym1085 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1086 := r.ContainerType() + if yyct1086 == codecSelferValueTypeMap1234 { + yyl1086 := r.ReadMapStart() + if yyl1086 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1086, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1086 == codecSelferValueTypeArray1234 { + yyl1086 := r.ReadArrayStart() + if yyl1086 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1086, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13081,12 +13081,12 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1087Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1087Slc + var yyhl1087 bool = l >= 0 + for yyj1087 := 0; ; yyj1087++ { + if yyhl1087 { + if yyj1087 >= l { break } } else { @@ -13095,10 +13095,10 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1087Slc = r.DecodeBytes(yys1087Slc, true, true) + yys1087 := string(yys1087Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1087 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -13109,18 +13109,18 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv5 := &x.Ranges - yym6 := z.DecBinary() - _ = yym6 + yyv1089 := &x.Ranges + yym1090 := z.DecBinary() + _ = yym1090 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv5), d) + h.decSliceIDRange((*[]IDRange)(yyv1089), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1087) + } // end switch yys1087 + } // end for yyj1087 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13128,16 +13128,16 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1091 int + var yyb1091 bool + var yyhl1091 bool = l >= 0 + yyj1091++ + if yyhl1091 { + yyb1091 = yyj1091 > l } else { - yyb7 = r.CheckBreak() + yyb1091 = r.CheckBreak() } - if yyb7 { + if yyb1091 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13147,13 +13147,13 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = FSGroupStrategyType(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1091++ + if yyhl1091 { + yyb1091 = yyj1091 > l } else { - yyb7 = r.CheckBreak() + yyb1091 = r.CheckBreak() } - if yyb7 { + if yyb1091 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13161,26 +13161,26 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv9 := &x.Ranges - yym10 := z.DecBinary() - _ = yym10 + yyv1093 := &x.Ranges + yym1094 := z.DecBinary() + _ = yym1094 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv9), d) + h.decSliceIDRange((*[]IDRange)(yyv1093), d) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1091++ + if yyhl1091 { + yyb1091 = yyj1091 > l } else { - yyb7 = r.CheckBreak() + yyb1091 = r.CheckBreak() } - if yyb7 { + if yyb1091 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1091-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13189,8 +13189,8 @@ func (x FSGroupStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1095 := z.EncBinary() + _ = yym1095 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -13202,8 +13202,8 @@ func (x *FSGroupStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1096 := z.DecBinary() + _ = yym1096 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -13218,54 +13218,54 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1097 := z.EncBinary() + _ = yym1097 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Rule != "" - yyq2[1] = len(x.Ranges) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1098 := !z.EncBinary() + yy2arr1098 := z.EncBasicHandle().StructToArray + var yyq1098 [2]bool + _, _, _ = yysep1098, yyq1098, yy2arr1098 + const yyr1098 bool = false + yyq1098[0] = x.Rule != "" + yyq1098[1] = len(x.Ranges) != 0 + var yynn1098 int + if yyr1098 || yy2arr1098 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1098 = 0 + for _, b := range yyq1098 { if b { - yynn2++ + yynn1098++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1098) + yynn1098 = 0 } - if yyr2 || yy2arr2 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1098[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1098[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1098[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1101 := z.EncBinary() + _ = yym1101 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -13275,15 +13275,15 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder r.EncodeNil() } } else { - if yyq2[1] { + if yyq1098[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1102 := z.EncBinary() + _ = yym1102 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -13291,7 +13291,7 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder } } } - if yyr2 || yy2arr2 { + if yyr1098 || yy2arr1098 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13304,25 +13304,25 @@ func (x *SupplementalGroupsStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1103 := z.DecBinary() + _ = yym1103 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1104 := r.ContainerType() + if yyct1104 == codecSelferValueTypeMap1234 { + yyl1104 := r.ReadMapStart() + if yyl1104 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1104, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1104 == codecSelferValueTypeArray1234 { + yyl1104 := r.ReadArrayStart() + if yyl1104 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1104, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13334,12 +13334,12 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1105Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1105Slc + var yyhl1105 bool = l >= 0 + for yyj1105 := 0; ; yyj1105++ { + if yyhl1105 { + if yyj1105 >= l { break } } else { @@ -13348,10 +13348,10 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1105Slc = r.DecodeBytes(yys1105Slc, true, true) + yys1105 := string(yys1105Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1105 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -13362,18 +13362,18 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv5 := &x.Ranges - yym6 := z.DecBinary() - _ = yym6 + yyv1107 := &x.Ranges + yym1108 := z.DecBinary() + _ = yym1108 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv5), d) + h.decSliceIDRange((*[]IDRange)(yyv1107), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1105) + } // end switch yys1105 + } // end for yyj1105 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13381,16 +13381,16 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1109 int + var yyb1109 bool + var yyhl1109 bool = l >= 0 + yyj1109++ + if yyhl1109 { + yyb1109 = yyj1109 > l } else { - yyb7 = r.CheckBreak() + yyb1109 = r.CheckBreak() } - if yyb7 { + if yyb1109 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13400,13 +13400,13 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c } else { x.Rule = SupplementalGroupsStrategyType(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1109++ + if yyhl1109 { + yyb1109 = yyj1109 > l } else { - yyb7 = r.CheckBreak() + yyb1109 = r.CheckBreak() } - if yyb7 { + if yyb1109 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13414,26 +13414,26 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv9 := &x.Ranges - yym10 := z.DecBinary() - _ = yym10 + yyv1111 := &x.Ranges + yym1112 := z.DecBinary() + _ = yym1112 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv9), d) + h.decSliceIDRange((*[]IDRange)(yyv1111), d) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1109++ + if yyhl1109 { + yyb1109 = yyj1109 > l } else { - yyb7 = r.CheckBreak() + yyb1109 = r.CheckBreak() } - if yyb7 { + if yyb1109 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1109-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13442,8 +13442,8 @@ func (x SupplementalGroupsStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1113 := z.EncBinary() + _ = yym1113 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -13455,8 +13455,8 @@ func (x *SupplementalGroupsStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1114 := z.DecBinary() + _ = yym1114 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -13471,68 +13471,118 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1115 := z.EncBinary() + _ = yym1115 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1116 := !z.EncBinary() + yy2arr1116 := z.EncBasicHandle().StructToArray + var yyq1116 [4]bool + _, _, _ = yysep1116, yyq1116, yy2arr1116 + const yyr1116 bool = false + yyq1116[0] = x.Kind != "" + yyq1116[1] = x.APIVersion != "" + yyq1116[2] = true + var yynn1116 int + if yyr1116 || yy2arr1116 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1116 = 1 + for _, b := range yyq1116 { if b { - yynn2++ + yynn1116++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1116) + yynn1116 = 0 } - if yyr2 || yy2arr2 { + if yyr1116 || yy2arr1116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq1116[0] { + yym1118 := z.EncBinary() + _ = yym1118 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1116[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1119 := z.EncBinary() + _ = yym1119 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1116 || yy2arr1116 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1116[1] { + yym1121 := z.EncBinary() + _ = yym1121 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1116[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1122 := z.EncBinary() + _ = yym1122 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1116 || yy2arr1116 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1116[2] { + yy1124 := &x.ListMeta + yym1125 := z.EncBinary() + _ = yym1125 + if false { + } else if z.HasExtensions() && z.EncExt(yy1124) { + } else { + z.EncFallback(yy1124) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1116[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy1126 := &x.ListMeta + yym1127 := z.EncBinary() + _ = yym1127 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy1126) { } else { - z.EncFallback(yy6) + z.EncFallback(yy1126) } } } - if yyr2 || yy2arr2 { + if yyr1116 || yy2arr1116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym1129 := z.EncBinary() + _ = yym1129 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) @@ -13545,65 +13595,15 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1130 := z.EncBinary() + _ = yym1130 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr1116 || yy2arr1116 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13616,25 +13616,25 @@ func (x *PodSecurityPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1131 := z.DecBinary() + _ = yym1131 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1132 := r.ContainerType() + if yyct1132 == codecSelferValueTypeMap1234 { + yyl1132 := r.ReadMapStart() + if yyl1132 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1132, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1132 == codecSelferValueTypeArray1234 { + yyl1132 := r.ReadArrayStart() + if yyl1132 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1132, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13646,12 +13646,12 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1133Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1133Slc + var yyhl1133 bool = l >= 0 + for yyj1133 := 0; ; yyj1133++ { + if yyhl1133 { + if yyj1133 >= l { break } } else { @@ -13660,35 +13660,10 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1133Slc = r.DecodeBytes(yys1133Slc, true, true) + yys1133 := string(yys1133Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv6), d) - } - } + switch yys1133 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -13701,10 +13676,35 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1136 := &x.ListMeta + yym1137 := z.DecBinary() + _ = yym1137 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1136) { + } else { + z.DecFallback(yyv1136, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1138 := &x.Items + yym1139 := z.DecBinary() + _ = yym1139 + if false { + } else { + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1138), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1133) + } // end switch yys1133 + } // end for yyj1133 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13712,61 +13712,16 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj1140 int + var yyb1140 bool + var yyhl1140 bool = l >= 0 + yyj1140++ + if yyhl1140 { + yyb1140 = yyj1140 > l } else { - yyb10 = r.CheckBreak() + yyb1140 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb1140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13776,13 +13731,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1140++ + if yyhl1140 { + yyb1140 = yyj1140 > l } else { - yyb10 = r.CheckBreak() + yyb1140 = r.CheckBreak() } - if yyb10 { + if yyb1140 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13792,18 +13747,63 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1140++ + if yyhl1140 { + yyb1140 = yyj1140 > l + } else { + yyb1140 = r.CheckBreak() + } + if yyb1140 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1143 := &x.ListMeta + yym1144 := z.DecBinary() + _ = yym1144 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1143) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv1143, false) } - if yyb10 { + } + yyj1140++ + if yyhl1140 { + yyb1140 = yyj1140 > l + } else { + yyb1140 = r.CheckBreak() + } + if yyb1140 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1145 := &x.Items + yym1146 := z.DecBinary() + _ = yym1146 + if false { + } else { + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1145), d) + } + } + for { + yyj1140++ + if yyhl1140 { + yyb1140 = yyj1140 > l + } else { + yyb1140 = r.CheckBreak() + } + if yyb1140 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj1140-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13815,72 +13815,38 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1147 := z.EncBinary() + _ = yym1147 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1148 := !z.EncBinary() + yy2arr1148 := z.EncBasicHandle().StructToArray + var yyq1148 [4]bool + _, _, _ = yysep1148, yyq1148, yy2arr1148 + const yyr1148 bool = false + yyq1148[0] = x.Kind != "" + yyq1148[1] = x.APIVersion != "" + yyq1148[2] = true + yyq1148[3] = true + var yynn1148 int + if yyr1148 || yy2arr1148 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1148 = 0 + for _, b := range yyq1148 { if b { - yynn2++ + yynn1148++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1148) + yynn1148 = 0 } - if yyr2 || yy2arr2 { + if yyr1148 || yy2arr1148 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq1148[0] { + yym1150 := z.EncBinary() + _ = yym1150 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -13889,23 +13855,23 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq1148[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym1151 := z.EncBinary() + _ = yym1151 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr1148 || yy2arr1148 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq1148[1] { + yym1153 := z.EncBinary() + _ = yym1153 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -13914,19 +13880,53 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq1148[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym1154 := z.EncBinary() + _ = yym1154 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr1148 || yy2arr1148 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1148[2] { + yy1156 := &x.ObjectMeta + yy1156.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1148[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1157 := &x.ObjectMeta + yy1157.CodecEncodeSelf(e) + } + } + if yyr1148 || yy2arr1148 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1148[3] { + yy1159 := &x.Spec + yy1159.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1148[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1160 := &x.Spec + yy1160.CodecEncodeSelf(e) + } + } + if yyr1148 || yy2arr1148 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13939,25 +13939,25 @@ func (x *NetworkPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1161 := z.DecBinary() + _ = yym1161 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1162 := r.ContainerType() + if yyct1162 == codecSelferValueTypeMap1234 { + yyl1162 := r.ReadMapStart() + if yyl1162 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1162, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1162 == codecSelferValueTypeArray1234 { + yyl1162 := r.ReadArrayStart() + if yyl1162 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1162, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13969,12 +13969,12 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1163Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1163Slc + var yyhl1163 bool = l >= 0 + for yyj1163 := 0; ; yyj1163++ { + if yyhl1163 { + if yyj1163 >= l { break } } else { @@ -13983,24 +13983,10 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1163Slc = r.DecodeBytes(yys1163Slc, true, true) + yys1163 := string(yys1163Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = NetworkPolicySpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } + switch yys1163 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14013,10 +13999,24 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv1166 := &x.ObjectMeta + yyv1166.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = NetworkPolicySpec{} + } else { + yyv1167 := &x.Spec + yyv1167.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1163) + } // end switch yys1163 + } // end for yyj1163 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14024,50 +14024,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1168 int + var yyb1168 bool + var yyhl1168 bool = l >= 0 + yyj1168++ + if yyhl1168 { + yyb1168 = yyj1168 > l } else { - yyb8 = r.CheckBreak() + yyb1168 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv9 := &x.ObjectMeta - yyv9.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = NetworkPolicySpec{} - } else { - yyv10 := &x.Spec - yyv10.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb1168 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14077,13 +14043,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1168++ + if yyhl1168 { + yyb1168 = yyj1168 > l } else { - yyb8 = r.CheckBreak() + yyb1168 = r.CheckBreak() } - if yyb8 { + if yyb1168 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14093,18 +14059,52 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj1168++ + if yyhl1168 { + yyb1168 = yyj1168 > l + } else { + yyb1168 = r.CheckBreak() + } + if yyb1168 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv1171 := &x.ObjectMeta + yyv1171.CodecDecodeSelf(d) + } + yyj1168++ + if yyhl1168 { + yyb1168 = yyj1168 > l + } else { + yyb1168 = r.CheckBreak() + } + if yyb1168 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = NetworkPolicySpec{} + } else { + yyv1172 := &x.Spec + yyv1172.CodecDecodeSelf(d) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1168++ + if yyhl1168 { + yyb1168 = yyj1168 > l } else { - yyb8 = r.CheckBreak() + yyb1168 = r.CheckBreak() } - if yyb8 { + if yyb1168 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1168-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14116,61 +14116,61 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1173 := z.EncBinary() + _ = yym1173 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = len(x.Ingress) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1174 := !z.EncBinary() + yy2arr1174 := z.EncBasicHandle().StructToArray + var yyq1174 [2]bool + _, _, _ = yysep1174, yyq1174, yy2arr1174 + const yyr1174 bool = false + yyq1174[1] = len(x.Ingress) != 0 + var yynn1174 int + if yyr1174 || yy2arr1174 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1174 = 1 + for _, b := range yyq1174 { if b { - yynn2++ + yynn1174++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1174) + yynn1174 = 0 } - if yyr2 || yy2arr2 { + if yyr1174 || yy2arr1174 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4 := &x.PodSelector - yym5 := z.EncBinary() - _ = yym5 + yy1176 := &x.PodSelector + yym1177 := z.EncBinary() + _ = yym1177 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { + } else if z.HasExtensions() && z.EncExt(yy1176) { } else { - z.EncFallback(yy4) + z.EncFallback(yy1176) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.PodSelector - yym7 := z.EncBinary() - _ = yym7 + yy1178 := &x.PodSelector + yym1179 := z.EncBinary() + _ = yym1179 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy1178) { } else { - z.EncFallback(yy6) + z.EncFallback(yy1178) } } - if yyr2 || yy2arr2 { + if yyr1174 || yy2arr1174 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1174[1] { if x.Ingress == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym1181 := z.EncBinary() + _ = yym1181 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -14180,15 +14180,15 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1174[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1182 := z.EncBinary() + _ = yym1182 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -14196,7 +14196,7 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1174 || yy2arr1174 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14209,25 +14209,25 @@ func (x *NetworkPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1183 := z.DecBinary() + _ = yym1183 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1184 := r.ContainerType() + if yyct1184 == codecSelferValueTypeMap1234 { + yyl1184 := r.ReadMapStart() + if yyl1184 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1184, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1184 == codecSelferValueTypeArray1234 { + yyl1184 := r.ReadArrayStart() + if yyl1184 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1184, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14239,12 +14239,12 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1185Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1185Slc + var yyhl1185 bool = l >= 0 + for yyj1185 := 0; ; yyj1185++ { + if yyhl1185 { + if yyj1185 >= l { break } } else { @@ -14253,39 +14253,39 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1185Slc = r.DecodeBytes(yys1185Slc, true, true) + yys1185 := string(yys1185Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1185 { case "podSelector": if r.TryDecodeAsNil() { x.PodSelector = pkg1_unversioned.LabelSelector{} } else { - yyv4 := &x.PodSelector - yym5 := z.DecBinary() - _ = yym5 + yyv1186 := &x.PodSelector + yym1187 := z.DecBinary() + _ = yym1187 if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { + } else if z.HasExtensions() && z.DecExt(yyv1186) { } else { - z.DecFallback(yyv4, false) + z.DecFallback(yyv1186, false) } } case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv6 := &x.Ingress - yym7 := z.DecBinary() - _ = yym7 + yyv1188 := &x.Ingress + yym1189 := z.DecBinary() + _ = yym1189 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv6), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1188), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1185) + } // end switch yys1185 + } // end for yyj1185 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14293,16 +14293,16 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1190 int + var yyb1190 bool + var yyhl1190 bool = l >= 0 + yyj1190++ + if yyhl1190 { + yyb1190 = yyj1190 > l } else { - yyb8 = r.CheckBreak() + yyb1190 = r.CheckBreak() } - if yyb8 { + if yyb1190 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14310,22 +14310,22 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.PodSelector = pkg1_unversioned.LabelSelector{} } else { - yyv9 := &x.PodSelector - yym10 := z.DecBinary() - _ = yym10 + yyv1191 := &x.PodSelector + yym1192 := z.DecBinary() + _ = yym1192 if false { - } else if z.HasExtensions() && z.DecExt(yyv9) { + } else if z.HasExtensions() && z.DecExt(yyv1191) { } else { - z.DecFallback(yyv9, false) + z.DecFallback(yyv1191, false) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1190++ + if yyhl1190 { + yyb1190 = yyj1190 > l } else { - yyb8 = r.CheckBreak() + yyb1190 = r.CheckBreak() } - if yyb8 { + if yyb1190 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14333,26 +14333,26 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv11 := &x.Ingress - yym12 := z.DecBinary() - _ = yym12 + yyv1193 := &x.Ingress + yym1194 := z.DecBinary() + _ = yym1194 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv11), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1193), d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1190++ + if yyhl1190 { + yyb1190 = yyj1190 > l } else { - yyb8 = r.CheckBreak() + yyb1190 = r.CheckBreak() } - if yyb8 { + if yyb1190 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1190-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14364,39 +14364,39 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1195 := z.EncBinary() + _ = yym1195 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Ports) != 0 - yyq2[1] = len(x.From) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1196 := !z.EncBinary() + yy2arr1196 := z.EncBasicHandle().StructToArray + var yyq1196 [2]bool + _, _, _ = yysep1196, yyq1196, yy2arr1196 + const yyr1196 bool = false + yyq1196[0] = len(x.Ports) != 0 + yyq1196[1] = len(x.From) != 0 + var yynn1196 int + if yyr1196 || yy2arr1196 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1196 = 0 + for _, b := range yyq1196 { if b { - yynn2++ + yynn1196++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1196) + yynn1196 = 0 } - if yyr2 || yy2arr2 { + if yyr1196 || yy2arr1196 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1196[0] { if x.Ports == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1198 := z.EncBinary() + _ = yym1198 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -14406,15 +14406,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1196[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1199 := z.EncBinary() + _ = yym1199 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -14422,14 +14422,14 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1196 || yy2arr1196 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1196[1] { if x.From == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1201 := z.EncBinary() + _ = yym1201 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -14439,15 +14439,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1196[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("from")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.From == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1202 := z.EncBinary() + _ = yym1202 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -14455,7 +14455,7 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1196 || yy2arr1196 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14468,25 +14468,25 @@ func (x *NetworkPolicyIngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1203 := z.DecBinary() + _ = yym1203 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1204 := r.ContainerType() + if yyct1204 == codecSelferValueTypeMap1234 { + yyl1204 := r.ReadMapStart() + if yyl1204 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1204, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1204 == codecSelferValueTypeArray1234 { + yyl1204 := r.ReadArrayStart() + if yyl1204 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1204, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14498,12 +14498,12 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1205Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1205Slc + var yyhl1205 bool = l >= 0 + for yyj1205 := 0; ; yyj1205++ { + if yyhl1205 { + if yyj1205 >= l { break } } else { @@ -14512,38 +14512,38 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1205Slc = r.DecodeBytes(yys1205Slc, true, true) + yys1205 := string(yys1205Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1205 { case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv4 := &x.Ports - yym5 := z.DecBinary() - _ = yym5 + yyv1206 := &x.Ports + yym1207 := z.DecBinary() + _ = yym1207 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv4), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1206), d) } } case "from": if r.TryDecodeAsNil() { x.From = nil } else { - yyv6 := &x.From - yym7 := z.DecBinary() - _ = yym7 + yyv1208 := &x.From + yym1209 := z.DecBinary() + _ = yym1209 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv6), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1208), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1205) + } // end switch yys1205 + } // end for yyj1205 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14551,16 +14551,16 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1210 int + var yyb1210 bool + var yyhl1210 bool = l >= 0 + yyj1210++ + if yyhl1210 { + yyb1210 = yyj1210 > l } else { - yyb8 = r.CheckBreak() + yyb1210 = r.CheckBreak() } - if yyb8 { + if yyb1210 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14568,21 +14568,21 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv9 := &x.Ports - yym10 := z.DecBinary() - _ = yym10 + yyv1211 := &x.Ports + yym1212 := z.DecBinary() + _ = yym1212 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv9), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1211), d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1210++ + if yyhl1210 { + yyb1210 = yyj1210 > l } else { - yyb8 = r.CheckBreak() + yyb1210 = r.CheckBreak() } - if yyb8 { + if yyb1210 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14590,26 +14590,26 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.From = nil } else { - yyv11 := &x.From - yym12 := z.DecBinary() - _ = yym12 + yyv1213 := &x.From + yym1214 := z.DecBinary() + _ = yym1214 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv11), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1213), d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1210++ + if yyhl1210 { + yyb1210 = yyj1210 > l } else { - yyb8 = r.CheckBreak() + yyb1210 = r.CheckBreak() } - if yyb8 { + if yyb1210 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1210-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14621,69 +14621,79 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1215 := z.EncBinary() + _ = yym1215 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Protocol != nil - yyq2[1] = x.Port != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1216 := !z.EncBinary() + yy2arr1216 := z.EncBasicHandle().StructToArray + var yyq1216 [2]bool + _, _, _ = yysep1216, yyq1216, yy2arr1216 + const yyr1216 bool = false + yyq1216[0] = x.Protocol != nil + yyq1216[1] = x.Port != nil + var yynn1216 int + if yyr1216 || yy2arr1216 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1216 = 0 + for _, b := range yyq1216 { if b { - yynn2++ + yynn1216++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1216) + yynn1216 = 0 } - if yyr2 || yy2arr2 { + if yyr1216 || yy2arr1216 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1216[0] { if x.Protocol == nil { r.EncodeNil() } else { - yy4 := *x.Protocol - yysf5 := &yy4 - yysf5.CodecEncodeSelf(e) + yy1218 := *x.Protocol + yym1219 := z.EncBinary() + _ = yym1219 + if false { + } else if z.HasExtensions() && z.EncExt(yy1218) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yy1218)) + } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1216[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Protocol == nil { r.EncodeNil() } else { - yy6 := *x.Protocol - yysf7 := &yy6 - yysf7.CodecEncodeSelf(e) + yy1220 := *x.Protocol + yym1221 := z.EncBinary() + _ = yym1221 + if false { + } else if z.HasExtensions() && z.EncExt(yy1220) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yy1220)) + } } } } - if yyr2 || yy2arr2 { + if yyr1216 || yy2arr1216 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1216[1] { if x.Port == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym1223 := z.EncBinary() + _ = yym1223 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym9 && z.IsJSONHandle() { + } else if !yym1223 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -14693,18 +14703,18 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1216[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Port == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1224 := z.EncBinary() + _ = yym1224 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym10 && z.IsJSONHandle() { + } else if !yym1224 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -14712,7 +14722,7 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1216 || yy2arr1216 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14725,25 +14735,25 @@ func (x *NetworkPolicyPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1225 := z.DecBinary() + _ = yym1225 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1226 := r.ContainerType() + if yyct1226 == codecSelferValueTypeMap1234 { + yyl1226 := r.ReadMapStart() + if yyl1226 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1226, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1226 == codecSelferValueTypeArray1234 { + yyl1226 := r.ReadArrayStart() + if yyl1226 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1226, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14755,12 +14765,12 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1227Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1227Slc + var yyhl1227 bool = l >= 0 + for yyj1227 := 0; ; yyj1227++ { + if yyhl1227 { + if yyj1227 >= l { break } } else { @@ -14769,10 +14779,10 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1227Slc = r.DecodeBytes(yys1227Slc, true, true) + yys1227 := string(yys1227Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1227 { case "protocol": if r.TryDecodeAsNil() { if x.Protocol != nil { @@ -14793,20 +14803,20 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym6 := z.DecBinary() - _ = yym6 + yym1230 := z.DecBinary() + _ = yym1230 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym6 && z.IsJSONHandle() { + } else if !yym1230 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1227) + } // end switch yys1227 + } // end for yyj1227 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14814,16 +14824,16 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1231 int + var yyb1231 bool + var yyhl1231 bool = l >= 0 + yyj1231++ + if yyhl1231 { + yyb1231 = yyj1231 > l } else { - yyb7 = r.CheckBreak() + yyb1231 = r.CheckBreak() } - if yyb7 { + if yyb1231 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14838,13 +14848,13 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } x.Protocol.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1231++ + if yyhl1231 { + yyb1231 = yyj1231 > l } else { - yyb7 = r.CheckBreak() + yyb1231 = r.CheckBreak() } - if yyb7 { + if yyb1231 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14857,28 +14867,28 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym10 := z.DecBinary() - _ = yym10 + yym1234 := z.DecBinary() + _ = yym1234 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym10 && z.IsJSONHandle() { + } else if !yym1234 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1231++ + if yyhl1231 { + yyb1231 = yyj1231 > l } else { - yyb7 = r.CheckBreak() + yyb1231 = r.CheckBreak() } - if yyb7 { + if yyb1231 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1231-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14890,39 +14900,39 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1235 := z.EncBinary() + _ = yym1235 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.PodSelector != nil - yyq2[1] = x.NamespaceSelector != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1236 := !z.EncBinary() + yy2arr1236 := z.EncBasicHandle().StructToArray + var yyq1236 [2]bool + _, _, _ = yysep1236, yyq1236, yy2arr1236 + const yyr1236 bool = false + yyq1236[0] = x.PodSelector != nil + yyq1236[1] = x.NamespaceSelector != nil + var yynn1236 int + if yyr1236 || yy2arr1236 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1236 = 0 + for _, b := range yyq1236 { if b { - yynn2++ + yynn1236++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1236) + yynn1236 = 0 } - if yyr2 || yy2arr2 { + if yyr1236 || yy2arr1236 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1236[0] { if x.PodSelector == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1238 := z.EncBinary() + _ = yym1238 if false { } else if z.HasExtensions() && z.EncExt(x.PodSelector) { } else { @@ -14933,15 +14943,15 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1236[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PodSelector == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1239 := z.EncBinary() + _ = yym1239 if false { } else if z.HasExtensions() && z.EncExt(x.PodSelector) { } else { @@ -14950,14 +14960,14 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1236 || yy2arr1236 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1236[1] { if x.NamespaceSelector == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1241 := z.EncBinary() + _ = yym1241 if false { } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { } else { @@ -14968,15 +14978,15 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1236[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespaceSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NamespaceSelector == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1242 := z.EncBinary() + _ = yym1242 if false { } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { } else { @@ -14985,7 +14995,7 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1236 || yy2arr1236 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14998,25 +15008,25 @@ func (x *NetworkPolicyPeer) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1243 := z.DecBinary() + _ = yym1243 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1244 := r.ContainerType() + if yyct1244 == codecSelferValueTypeMap1234 { + yyl1244 := r.ReadMapStart() + if yyl1244 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1244, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1244 == codecSelferValueTypeArray1234 { + yyl1244 := r.ReadArrayStart() + if yyl1244 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1244, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15028,12 +15038,12 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1245Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1245Slc + var yyhl1245 bool = l >= 0 + for yyj1245 := 0; ; yyj1245++ { + if yyhl1245 { + if yyj1245 >= l { break } } else { @@ -15042,10 +15052,10 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1245Slc = r.DecodeBytes(yys1245Slc, true, true) + yys1245 := string(yys1245Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1245 { case "podSelector": if r.TryDecodeAsNil() { if x.PodSelector != nil { @@ -15055,8 +15065,8 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.PodSelector == nil { x.PodSelector = new(pkg1_unversioned.LabelSelector) } - yym5 := z.DecBinary() - _ = yym5 + yym1247 := z.DecBinary() + _ = yym1247 if false { } else if z.HasExtensions() && z.DecExt(x.PodSelector) { } else { @@ -15072,8 +15082,8 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.NamespaceSelector == nil { x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) } - yym7 := z.DecBinary() - _ = yym7 + yym1249 := z.DecBinary() + _ = yym1249 if false { } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { } else { @@ -15081,9 +15091,9 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1245) + } // end switch yys1245 + } // end for yyj1245 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15091,16 +15101,16 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1250 int + var yyb1250 bool + var yyhl1250 bool = l >= 0 + yyj1250++ + if yyhl1250 { + yyb1250 = yyj1250 > l } else { - yyb8 = r.CheckBreak() + yyb1250 = r.CheckBreak() } - if yyb8 { + if yyb1250 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15113,21 +15123,21 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.PodSelector == nil { x.PodSelector = new(pkg1_unversioned.LabelSelector) } - yym10 := z.DecBinary() - _ = yym10 + yym1252 := z.DecBinary() + _ = yym1252 if false { } else if z.HasExtensions() && z.DecExt(x.PodSelector) { } else { z.DecFallback(x.PodSelector, false) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1250++ + if yyhl1250 { + yyb1250 = yyj1250 > l } else { - yyb8 = r.CheckBreak() + yyb1250 = r.CheckBreak() } - if yyb8 { + if yyb1250 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15140,8 +15150,8 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.NamespaceSelector == nil { x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) } - yym12 := z.DecBinary() - _ = yym12 + yym1254 := z.DecBinary() + _ = yym1254 if false { } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { } else { @@ -15149,17 +15159,17 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1250++ + if yyhl1250 { + yyb1250 = yyj1250 > l } else { - yyb8 = r.CheckBreak() + yyb1250 = r.CheckBreak() } - if yyb8 { + if yyb1250 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1250-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15171,68 +15181,118 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1255 := z.EncBinary() + _ = yym1255 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1256 := !z.EncBinary() + yy2arr1256 := z.EncBasicHandle().StructToArray + var yyq1256 [4]bool + _, _, _ = yysep1256, yyq1256, yy2arr1256 + const yyr1256 bool = false + yyq1256[0] = x.Kind != "" + yyq1256[1] = x.APIVersion != "" + yyq1256[2] = true + var yynn1256 int + if yyr1256 || yy2arr1256 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1256 = 1 + for _, b := range yyq1256 { if b { - yynn2++ + yynn1256++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1256) + yynn1256 = 0 } - if yyr2 || yy2arr2 { + if yyr1256 || yy2arr1256 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq1256[0] { + yym1258 := z.EncBinary() + _ = yym1258 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1256[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1259 := z.EncBinary() + _ = yym1259 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1256 || yy2arr1256 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1256[1] { + yym1261 := z.EncBinary() + _ = yym1261 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1256[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1262 := z.EncBinary() + _ = yym1262 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1256 || yy2arr1256 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1256[2] { + yy1264 := &x.ListMeta + yym1265 := z.EncBinary() + _ = yym1265 + if false { + } else if z.HasExtensions() && z.EncExt(yy1264) { + } else { + z.EncFallback(yy1264) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1256[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy1266 := &x.ListMeta + yym1267 := z.EncBinary() + _ = yym1267 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy1266) { } else { - z.EncFallback(yy6) + z.EncFallback(yy1266) } } } - if yyr2 || yy2arr2 { + if yyr1256 || yy2arr1256 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym1269 := z.EncBinary() + _ = yym1269 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) @@ -15245,65 +15305,15 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1270 := z.EncBinary() + _ = yym1270 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr1256 || yy2arr1256 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15316,25 +15326,25 @@ func (x *NetworkPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1271 := z.DecBinary() + _ = yym1271 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1272 := r.ContainerType() + if yyct1272 == codecSelferValueTypeMap1234 { + yyl1272 := r.ReadMapStart() + if yyl1272 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1272, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1272 == codecSelferValueTypeArray1234 { + yyl1272 := r.ReadArrayStart() + if yyl1272 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1272, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15346,12 +15356,12 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1273Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1273Slc + var yyhl1273 bool = l >= 0 + for yyj1273 := 0; ; yyj1273++ { + if yyhl1273 { + if yyj1273 >= l { break } } else { @@ -15360,35 +15370,10 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1273Slc = r.DecodeBytes(yys1273Slc, true, true) + yys1273 := string(yys1273Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv6), d) - } - } + switch yys1273 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -15401,10 +15386,35 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1276 := &x.ListMeta + yym1277 := z.DecBinary() + _ = yym1277 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1276) { + } else { + z.DecFallback(yyv1276, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1278 := &x.Items + yym1279 := z.DecBinary() + _ = yym1279 + if false { + } else { + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1278), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1273) + } // end switch yys1273 + } // end for yyj1273 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15412,61 +15422,16 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj1280 int + var yyb1280 bool + var yyhl1280 bool = l >= 0 + yyj1280++ + if yyhl1280 { + yyb1280 = yyj1280 > l } else { - yyb10 = r.CheckBreak() + yyb1280 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb1280 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15476,13 +15441,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1280++ + if yyhl1280 { + yyb1280 = yyj1280 > l } else { - yyb10 = r.CheckBreak() + yyb1280 = r.CheckBreak() } - if yyb10 { + if yyb1280 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15492,18 +15457,63 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1280++ + if yyhl1280 { + yyb1280 = yyj1280 > l + } else { + yyb1280 = r.CheckBreak() + } + if yyb1280 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1283 := &x.ListMeta + yym1284 := z.DecBinary() + _ = yym1284 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1283) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv1283, false) } - if yyb10 { + } + yyj1280++ + if yyhl1280 { + yyb1280 = yyj1280 > l + } else { + yyb1280 = r.CheckBreak() + } + if yyb1280 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1285 := &x.Items + yym1286 := z.DecBinary() + _ = yym1286 + if false { + } else { + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1285), d) + } + } + for { + yyj1280++ + if yyhl1280 { + yyb1280 = yyj1280 > l + } else { + yyb1280 = r.CheckBreak() + } + if yyb1280 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj1280-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15515,54 +15525,104 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1287 := z.EncBinary() + _ = yym1287 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = len(x.Parameters) != 0 - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1288 := !z.EncBinary() + yy2arr1288 := z.EncBasicHandle().StructToArray + var yyq1288 [5]bool + _, _, _ = yysep1288, yyq1288, yy2arr1288 + const yyr1288 bool = false + yyq1288[0] = x.Kind != "" + yyq1288[1] = x.APIVersion != "" + yyq1288[2] = true + yyq1288[4] = len(x.Parameters) != 0 + var yynn1288 int + if yyr1288 || yy2arr1288 { r.EncodeArrayStart(5) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1288 = 1 + for _, b := range yyq1288 { if b { - yynn2++ + yynn1288++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1288) + yynn1288 = 0 } - if yyr2 || yy2arr2 { + if yyr1288 || yy2arr1288 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq1288[0] { + yym1290 := z.EncBinary() + _ = yym1290 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1288[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1291 := z.EncBinary() + _ = yym1291 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1288 || yy2arr1288 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1288[1] { + yym1293 := z.EncBinary() + _ = yym1293 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1288[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1294 := z.EncBinary() + _ = yym1294 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1288 || yy2arr1288 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1288[2] { + yy1296 := &x.ObjectMeta + yy1296.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1288[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy1297 := &x.ObjectMeta + yy1297.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1288 || yy2arr1288 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym9 := z.EncBinary() - _ = yym9 + yym1299 := z.EncBinary() + _ = yym1299 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner)) @@ -15571,21 +15631,21 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("provisioner")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym10 := z.EncBinary() - _ = yym10 + yym1300 := z.EncBinary() + _ = yym1300 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner)) } } - if yyr2 || yy2arr2 { + if yyr1288 || yy2arr1288 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1288[4] { if x.Parameters == nil { r.EncodeNil() } else { - yym12 := z.EncBinary() - _ = yym12 + yym1302 := z.EncBinary() + _ = yym1302 if false { } else { z.F.EncMapStringStringV(x.Parameters, false, e) @@ -15595,15 +15655,15 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1288[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("parameters")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Parameters == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym1303 := z.EncBinary() + _ = yym1303 if false { } else { z.F.EncMapStringStringV(x.Parameters, false, e) @@ -15611,57 +15671,7 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr1288 || yy2arr1288 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15674,25 +15684,25 @@ func (x *StorageClass) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1304 := z.DecBinary() + _ = yym1304 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1305 := r.ContainerType() + if yyct1305 == codecSelferValueTypeMap1234 { + yyl1305 := r.ReadMapStart() + if yyl1305 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1305, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1305 == codecSelferValueTypeArray1234 { + yyl1305 := r.ReadArrayStart() + if yyl1305 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1305, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15704,12 +15714,12 @@ func (x *StorageClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1306Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1306Slc + var yyhl1306 bool = l >= 0 + for yyj1306 := 0; ; yyj1306++ { + if yyhl1306 { + if yyj1306 >= l { break } } else { @@ -15718,35 +15728,10 @@ func (x *StorageClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1306Slc = r.DecodeBytes(yys1306Slc, true, true) + yys1306 := string(yys1306Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "provisioner": - if r.TryDecodeAsNil() { - x.Provisioner = "" - } else { - x.Provisioner = string(r.DecodeString()) - } - case "parameters": - if r.TryDecodeAsNil() { - x.Parameters = nil - } else { - yyv6 := &x.Parameters - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - z.F.DecMapStringStringX(yyv6, false, d) - } - } + switch yys1306 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -15759,10 +15744,35 @@ func (x *StorageClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv1309 := &x.ObjectMeta + yyv1309.CodecDecodeSelf(d) + } + case "provisioner": + if r.TryDecodeAsNil() { + x.Provisioner = "" + } else { + x.Provisioner = string(r.DecodeString()) + } + case "parameters": + if r.TryDecodeAsNil() { + x.Parameters = nil + } else { + yyv1311 := &x.Parameters + yym1312 := z.DecBinary() + _ = yym1312 + if false { + } else { + z.F.DecMapStringStringX(yyv1311, false, d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1306) + } // end switch yys1306 + } // end for yyj1306 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15770,71 +15780,16 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj1313 int + var yyb1313 bool + var yyhl1313 bool = l >= 0 + yyj1313++ + if yyhl1313 { + yyb1313 = yyj1313 > l } else { - yyb10 = r.CheckBreak() + yyb1313 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_api.ObjectMeta{} - } else { - yyv11 := &x.ObjectMeta - yyv11.CodecDecodeSelf(d) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Provisioner = "" - } else { - x.Provisioner = string(r.DecodeString()) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Parameters = nil - } else { - yyv13 := &x.Parameters - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - z.F.DecMapStringStringX(yyv13, false, d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb1313 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15844,13 +15799,13 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1313++ + if yyhl1313 { + yyb1313 = yyj1313 > l } else { - yyb10 = r.CheckBreak() + yyb1313 = r.CheckBreak() } - if yyb10 { + if yyb1313 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15860,18 +15815,73 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1313++ + if yyhl1313 { + yyb1313 = yyj1313 > l + } else { + yyb1313 = r.CheckBreak() + } + if yyb1313 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_api.ObjectMeta{} + } else { + yyv1316 := &x.ObjectMeta + yyv1316.CodecDecodeSelf(d) + } + yyj1313++ + if yyhl1313 { + yyb1313 = yyj1313 > l + } else { + yyb1313 = r.CheckBreak() + } + if yyb1313 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Provisioner = "" + } else { + x.Provisioner = string(r.DecodeString()) + } + yyj1313++ + if yyhl1313 { + yyb1313 = yyj1313 > l + } else { + yyb1313 = r.CheckBreak() + } + if yyb1313 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Parameters = nil + } else { + yyv1318 := &x.Parameters + yym1319 := z.DecBinary() + _ = yym1319 + if false { } else { - yyb10 = r.CheckBreak() + z.F.DecMapStringStringX(yyv1318, false, d) } - if yyb10 { + } + for { + yyj1313++ + if yyhl1313 { + yyb1313 = yyj1313 > l + } else { + yyb1313 = r.CheckBreak() + } + if yyb1313 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj1313-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15883,68 +15893,118 @@ func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1320 := z.EncBinary() + _ = yym1320 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1321 := !z.EncBinary() + yy2arr1321 := z.EncBasicHandle().StructToArray + var yyq1321 [4]bool + _, _, _ = yysep1321, yyq1321, yy2arr1321 + const yyr1321 bool = false + yyq1321[0] = x.Kind != "" + yyq1321[1] = x.APIVersion != "" + yyq1321[2] = true + var yynn1321 int + if yyr1321 || yy2arr1321 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1321 = 1 + for _, b := range yyq1321 { if b { - yynn2++ + yynn1321++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1321) + yynn1321 = 0 } - if yyr2 || yy2arr2 { + if yyr1321 || yy2arr1321 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq1321[0] { + yym1323 := z.EncBinary() + _ = yym1323 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1321[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1324 := z.EncBinary() + _ = yym1324 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1321 || yy2arr1321 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1321[1] { + yym1326 := z.EncBinary() + _ = yym1326 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1321[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1327 := z.EncBinary() + _ = yym1327 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1321 || yy2arr1321 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1321[2] { + yy1329 := &x.ListMeta + yym1330 := z.EncBinary() + _ = yym1330 + if false { + } else if z.HasExtensions() && z.EncExt(yy1329) { + } else { + z.EncFallback(yy1329) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1321[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy1331 := &x.ListMeta + yym1332 := z.EncBinary() + _ = yym1332 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy1331) { } else { - z.EncFallback(yy6) + z.EncFallback(yy1331) } } } - if yyr2 || yy2arr2 { + if yyr1321 || yy2arr1321 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym1334 := z.EncBinary() + _ = yym1334 if false { } else { h.encSliceStorageClass(([]StorageClass)(x.Items), e) @@ -15957,65 +16017,15 @@ func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1335 := z.EncBinary() + _ = yym1335 if false { } else { h.encSliceStorageClass(([]StorageClass)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr1321 || yy2arr1321 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16028,25 +16038,25 @@ func (x *StorageClassList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1336 := z.DecBinary() + _ = yym1336 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1337 := r.ContainerType() + if yyct1337 == codecSelferValueTypeMap1234 { + yyl1337 := r.ReadMapStart() + if yyl1337 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1337, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1337 == codecSelferValueTypeArray1234 { + yyl1337 := r.ReadArrayStart() + if yyl1337 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1337, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16058,12 +16068,12 @@ func (x *StorageClassList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -16072,35 +16082,10 @@ func (x *StorageClassList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1338Slc = r.DecodeBytes(yys1338Slc, true, true) + yys1338 := string(yys1338Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceStorageClass((*[]StorageClass)(yyv6), d) - } - } + switch yys1338 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -16113,10 +16098,35 @@ func (x *StorageClassList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1341 := &x.ListMeta + yym1342 := z.DecBinary() + _ = yym1342 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1341) { + } else { + z.DecFallback(yyv1341, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1343 := &x.Items + yym1344 := z.DecBinary() + _ = yym1344 + if false { + } else { + h.decSliceStorageClass((*[]StorageClass)(yyv1343), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1338) + } // end switch yys1338 + } // end for yyj1338 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16124,61 +16134,16 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj1345 int + var yyb1345 bool + var yyhl1345 bool = l >= 0 + yyj1345++ + if yyhl1345 { + yyb1345 = yyj1345 > l } else { - yyb10 = r.CheckBreak() + yyb1345 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceStorageClass((*[]StorageClass)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb1345 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16188,13 +16153,13 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1345++ + if yyhl1345 { + yyb1345 = yyj1345 > l } else { - yyb10 = r.CheckBreak() + yyb1345 = r.CheckBreak() } - if yyb10 { + if yyb1345 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16204,18 +16169,63 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1345++ + if yyhl1345 { + yyb1345 = yyj1345 > l + } else { + yyb1345 = r.CheckBreak() + } + if yyb1345 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1348 := &x.ListMeta + yym1349 := z.DecBinary() + _ = yym1349 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1348) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv1348, false) } - if yyb10 { + } + yyj1345++ + if yyhl1345 { + yyb1345 = yyj1345 > l + } else { + yyb1345 = r.CheckBreak() + } + if yyb1345 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1350 := &x.Items + yym1351 := z.DecBinary() + _ = yym1351 + if false { + } else { + h.decSliceStorageClass((*[]StorageClass)(yyv1350), d) + } + } + for { + yyj1345++ + if yyhl1345 { + yyb1345 = yyj1345 > l + } else { + yyb1345 = r.CheckBreak() + } + if yyb1345 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj1345-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16225,10 +16235,10 @@ func (x codecSelfer1234) encSliceCustomMetricTarget(v []CustomMetricTarget, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1352 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1353 := &yyv1352 + yy1353.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16238,86 +16248,83 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []CustomMetricTarget{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1354 := *v + yyh1354, yyl1354 := z.DecSliceHelperStart() + var yyc1354 bool + if yyl1354 == 0 { + if yyv1354 == nil { + yyv1354 = []CustomMetricTarget{} + yyc1354 = true + } else if len(yyv1354) != 0 { + yyv1354 = yyv1354[:0] + yyc1354 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1354 > 0 { + var yyrr1354, yyrl1354 int + var yyrt1354 bool + if yyl1354 > cap(yyv1354) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1354 := len(yyv1354) > 0 + yyv21354 := yyv1354 + yyrl1354, yyrt1354 = z.DecInferLen(yyl1354, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1354 { + if yyrl1354 <= cap(yyv1354) { + yyv1354 = yyv1354[:yyrl1354] } else { - yyv1 = make([]CustomMetricTarget, yyrl1) + yyv1354 = make([]CustomMetricTarget, yyrl1354) } } else { - yyv1 = make([]CustomMetricTarget, yyrl1) + yyv1354 = make([]CustomMetricTarget, yyrl1354) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1354 = true + yyrr1354 = len(yyv1354) + if yyrg1354 { + copy(yyv1354, yyv21354) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1354 != len(yyv1354) { + yyv1354 = yyv1354[:yyl1354] + yyc1354 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1354 := 0 + for ; yyj1354 < yyrr1354; yyj1354++ { + yyh1354.ElemContainerState(yyj1354) if r.TryDecodeAsNil() { - yyv1[yyj1] = CustomMetricTarget{} + yyv1354[yyj1354] = CustomMetricTarget{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1355 := &yyv1354[yyj1354] + yyv1355.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, CustomMetricTarget{}) - yyh1.ElemContainerState(yyj1) + if yyrt1354 { + for ; yyj1354 < yyl1354; yyj1354++ { + yyv1354 = append(yyv1354, CustomMetricTarget{}) + yyh1354.ElemContainerState(yyj1354) if r.TryDecodeAsNil() { - yyv1[yyj1] = CustomMetricTarget{} + yyv1354[yyj1354] = CustomMetricTarget{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1356 := &yyv1354[yyj1354] + yyv1356.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1354 := 0 + for ; !r.CheckBreak(); yyj1354++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, CustomMetricTarget{}) // var yyz1 CustomMetricTarget - yyc1 = true + if yyj1354 >= len(yyv1354) { + yyv1354 = append(yyv1354, CustomMetricTarget{}) // var yyz1354 CustomMetricTarget + yyc1354 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1354.ElemContainerState(yyj1354) + if yyj1354 < len(yyv1354) { if r.TryDecodeAsNil() { - yyv1[yyj1] = CustomMetricTarget{} + yyv1354[yyj1354] = CustomMetricTarget{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1357 := &yyv1354[yyj1354] + yyv1357.CodecDecodeSelf(d) } } else { @@ -16325,17 +16332,17 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []CustomMetricTarget{} - yyc1 = true + if yyj1354 < len(yyv1354) { + yyv1354 = yyv1354[:yyj1354] + yyc1354 = true + } else if yyj1354 == 0 && yyv1354 == nil { + yyv1354 = []CustomMetricTarget{} + yyc1354 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1354.End() + if yyc1354 { + *v = yyv1354 } } @@ -16344,10 +16351,10 @@ func (x codecSelfer1234) encSliceCustomMetricCurrentStatus(v []CustomMetricCurre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1358 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1359 := &yyv1358 + yy1359.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16357,86 +16364,83 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []CustomMetricCurrentStatus{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1360 := *v + yyh1360, yyl1360 := z.DecSliceHelperStart() + var yyc1360 bool + if yyl1360 == 0 { + if yyv1360 == nil { + yyv1360 = []CustomMetricCurrentStatus{} + yyc1360 = true + } else if len(yyv1360) != 0 { + yyv1360 = yyv1360[:0] + yyc1360 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1360 > 0 { + var yyrr1360, yyrl1360 int + var yyrt1360 bool + if yyl1360 > cap(yyv1360) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1360 := len(yyv1360) > 0 + yyv21360 := yyv1360 + yyrl1360, yyrt1360 = z.DecInferLen(yyl1360, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1360 { + if yyrl1360 <= cap(yyv1360) { + yyv1360 = yyv1360[:yyrl1360] } else { - yyv1 = make([]CustomMetricCurrentStatus, yyrl1) + yyv1360 = make([]CustomMetricCurrentStatus, yyrl1360) } } else { - yyv1 = make([]CustomMetricCurrentStatus, yyrl1) + yyv1360 = make([]CustomMetricCurrentStatus, yyrl1360) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1360 = true + yyrr1360 = len(yyv1360) + if yyrg1360 { + copy(yyv1360, yyv21360) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1360 != len(yyv1360) { + yyv1360 = yyv1360[:yyl1360] + yyc1360 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1360 := 0 + for ; yyj1360 < yyrr1360; yyj1360++ { + yyh1360.ElemContainerState(yyj1360) if r.TryDecodeAsNil() { - yyv1[yyj1] = CustomMetricCurrentStatus{} + yyv1360[yyj1360] = CustomMetricCurrentStatus{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1361 := &yyv1360[yyj1360] + yyv1361.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, CustomMetricCurrentStatus{}) - yyh1.ElemContainerState(yyj1) + if yyrt1360 { + for ; yyj1360 < yyl1360; yyj1360++ { + yyv1360 = append(yyv1360, CustomMetricCurrentStatus{}) + yyh1360.ElemContainerState(yyj1360) if r.TryDecodeAsNil() { - yyv1[yyj1] = CustomMetricCurrentStatus{} + yyv1360[yyj1360] = CustomMetricCurrentStatus{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1362 := &yyv1360[yyj1360] + yyv1362.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1360 := 0 + for ; !r.CheckBreak(); yyj1360++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, CustomMetricCurrentStatus{}) // var yyz1 CustomMetricCurrentStatus - yyc1 = true + if yyj1360 >= len(yyv1360) { + yyv1360 = append(yyv1360, CustomMetricCurrentStatus{}) // var yyz1360 CustomMetricCurrentStatus + yyc1360 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1360.ElemContainerState(yyj1360) + if yyj1360 < len(yyv1360) { if r.TryDecodeAsNil() { - yyv1[yyj1] = CustomMetricCurrentStatus{} + yyv1360[yyj1360] = CustomMetricCurrentStatus{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1363 := &yyv1360[yyj1360] + yyv1363.CodecDecodeSelf(d) } } else { @@ -16444,17 +16448,17 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []CustomMetricCurrentStatus{} - yyc1 = true + if yyj1360 < len(yyv1360) { + yyv1360 = yyv1360[:yyj1360] + yyc1360 = true + } else if yyj1360 == 0 && yyv1360 == nil { + yyv1360 = []CustomMetricCurrentStatus{} + yyc1360 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1360.End() + if yyc1360 { + *v = yyv1360 } } @@ -16463,10 +16467,10 @@ func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1364 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1365 := &yyv1364 + yy1365.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16476,86 +16480,83 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []APIVersion{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1366 := *v + yyh1366, yyl1366 := z.DecSliceHelperStart() + var yyc1366 bool + if yyl1366 == 0 { + if yyv1366 == nil { + yyv1366 = []APIVersion{} + yyc1366 = true + } else if len(yyv1366) != 0 { + yyv1366 = yyv1366[:0] + yyc1366 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1366 > 0 { + var yyrr1366, yyrl1366 int + var yyrt1366 bool + if yyl1366 > cap(yyv1366) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1366 := len(yyv1366) > 0 + yyv21366 := yyv1366 + yyrl1366, yyrt1366 = z.DecInferLen(yyl1366, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1366 { + if yyrl1366 <= cap(yyv1366) { + yyv1366 = yyv1366[:yyrl1366] } else { - yyv1 = make([]APIVersion, yyrl1) + yyv1366 = make([]APIVersion, yyrl1366) } } else { - yyv1 = make([]APIVersion, yyrl1) + yyv1366 = make([]APIVersion, yyrl1366) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1366 = true + yyrr1366 = len(yyv1366) + if yyrg1366 { + copy(yyv1366, yyv21366) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1366 != len(yyv1366) { + yyv1366 = yyv1366[:yyl1366] + yyc1366 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1366 := 0 + for ; yyj1366 < yyrr1366; yyj1366++ { + yyh1366.ElemContainerState(yyj1366) if r.TryDecodeAsNil() { - yyv1[yyj1] = APIVersion{} + yyv1366[yyj1366] = APIVersion{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1367 := &yyv1366[yyj1366] + yyv1367.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, APIVersion{}) - yyh1.ElemContainerState(yyj1) + if yyrt1366 { + for ; yyj1366 < yyl1366; yyj1366++ { + yyv1366 = append(yyv1366, APIVersion{}) + yyh1366.ElemContainerState(yyj1366) if r.TryDecodeAsNil() { - yyv1[yyj1] = APIVersion{} + yyv1366[yyj1366] = APIVersion{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1368 := &yyv1366[yyj1366] + yyv1368.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1366 := 0 + for ; !r.CheckBreak(); yyj1366++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, APIVersion{}) // var yyz1 APIVersion - yyc1 = true + if yyj1366 >= len(yyv1366) { + yyv1366 = append(yyv1366, APIVersion{}) // var yyz1366 APIVersion + yyc1366 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1366.ElemContainerState(yyj1366) + if yyj1366 < len(yyv1366) { if r.TryDecodeAsNil() { - yyv1[yyj1] = APIVersion{} + yyv1366[yyj1366] = APIVersion{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1369 := &yyv1366[yyj1366] + yyv1369.CodecDecodeSelf(d) } } else { @@ -16563,17 +16564,17 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []APIVersion{} - yyc1 = true + if yyj1366 < len(yyv1366) { + yyv1366 = yyv1366[:yyj1366] + yyc1366 = true + } else if yyj1366 == 0 && yyv1366 == nil { + yyv1366 = []APIVersion{} + yyc1366 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1366.End() + if yyc1366 { + *v = yyv1366 } } @@ -16582,10 +16583,10 @@ func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1370 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1371 := &yyv1370 + yy1371.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16595,86 +16596,83 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ThirdPartyResource{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1372 := *v + yyh1372, yyl1372 := z.DecSliceHelperStart() + var yyc1372 bool + if yyl1372 == 0 { + if yyv1372 == nil { + yyv1372 = []ThirdPartyResource{} + yyc1372 = true + } else if len(yyv1372) != 0 { + yyv1372 = yyv1372[:0] + yyc1372 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1372 > 0 { + var yyrr1372, yyrl1372 int + var yyrt1372 bool + if yyl1372 > cap(yyv1372) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1372 := len(yyv1372) > 0 + yyv21372 := yyv1372 + yyrl1372, yyrt1372 = z.DecInferLen(yyl1372, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1372 { + if yyrl1372 <= cap(yyv1372) { + yyv1372 = yyv1372[:yyrl1372] } else { - yyv1 = make([]ThirdPartyResource, yyrl1) + yyv1372 = make([]ThirdPartyResource, yyrl1372) } } else { - yyv1 = make([]ThirdPartyResource, yyrl1) + yyv1372 = make([]ThirdPartyResource, yyrl1372) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1372 = true + yyrr1372 = len(yyv1372) + if yyrg1372 { + copy(yyv1372, yyv21372) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1372 != len(yyv1372) { + yyv1372 = yyv1372[:yyl1372] + yyc1372 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1372 := 0 + for ; yyj1372 < yyrr1372; yyj1372++ { + yyh1372.ElemContainerState(yyj1372) if r.TryDecodeAsNil() { - yyv1[yyj1] = ThirdPartyResource{} + yyv1372[yyj1372] = ThirdPartyResource{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1373 := &yyv1372[yyj1372] + yyv1373.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ThirdPartyResource{}) - yyh1.ElemContainerState(yyj1) + if yyrt1372 { + for ; yyj1372 < yyl1372; yyj1372++ { + yyv1372 = append(yyv1372, ThirdPartyResource{}) + yyh1372.ElemContainerState(yyj1372) if r.TryDecodeAsNil() { - yyv1[yyj1] = ThirdPartyResource{} + yyv1372[yyj1372] = ThirdPartyResource{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1374 := &yyv1372[yyj1372] + yyv1374.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1372 := 0 + for ; !r.CheckBreak(); yyj1372++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ThirdPartyResource{}) // var yyz1 ThirdPartyResource - yyc1 = true + if yyj1372 >= len(yyv1372) { + yyv1372 = append(yyv1372, ThirdPartyResource{}) // var yyz1372 ThirdPartyResource + yyc1372 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1372.ElemContainerState(yyj1372) + if yyj1372 < len(yyv1372) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ThirdPartyResource{} + yyv1372[yyj1372] = ThirdPartyResource{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1375 := &yyv1372[yyj1372] + yyv1375.CodecDecodeSelf(d) } } else { @@ -16682,17 +16680,17 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ThirdPartyResource{} - yyc1 = true + if yyj1372 < len(yyv1372) { + yyv1372 = yyv1372[:yyj1372] + yyc1372 = true + } else if yyj1372 == 0 && yyv1372 == nil { + yyv1372 = []ThirdPartyResource{} + yyc1372 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1372.End() + if yyc1372 { + *v = yyv1372 } } @@ -16701,10 +16699,10 @@ func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1376 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1377 := &yyv1376 + yy1377.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16714,86 +16712,83 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Deployment{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1378 := *v + yyh1378, yyl1378 := z.DecSliceHelperStart() + var yyc1378 bool + if yyl1378 == 0 { + if yyv1378 == nil { + yyv1378 = []Deployment{} + yyc1378 = true + } else if len(yyv1378) != 0 { + yyv1378 = yyv1378[:0] + yyc1378 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1378 > 0 { + var yyrr1378, yyrl1378 int + var yyrt1378 bool + if yyl1378 > cap(yyv1378) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 768) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1378 := len(yyv1378) > 0 + yyv21378 := yyv1378 + yyrl1378, yyrt1378 = z.DecInferLen(yyl1378, z.DecBasicHandle().MaxInitLen, 768) + if yyrt1378 { + if yyrl1378 <= cap(yyv1378) { + yyv1378 = yyv1378[:yyrl1378] } else { - yyv1 = make([]Deployment, yyrl1) + yyv1378 = make([]Deployment, yyrl1378) } } else { - yyv1 = make([]Deployment, yyrl1) + yyv1378 = make([]Deployment, yyrl1378) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1378 = true + yyrr1378 = len(yyv1378) + if yyrg1378 { + copy(yyv1378, yyv21378) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1378 != len(yyv1378) { + yyv1378 = yyv1378[:yyl1378] + yyc1378 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1378 := 0 + for ; yyj1378 < yyrr1378; yyj1378++ { + yyh1378.ElemContainerState(yyj1378) if r.TryDecodeAsNil() { - yyv1[yyj1] = Deployment{} + yyv1378[yyj1378] = Deployment{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1379 := &yyv1378[yyj1378] + yyv1379.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Deployment{}) - yyh1.ElemContainerState(yyj1) + if yyrt1378 { + for ; yyj1378 < yyl1378; yyj1378++ { + yyv1378 = append(yyv1378, Deployment{}) + yyh1378.ElemContainerState(yyj1378) if r.TryDecodeAsNil() { - yyv1[yyj1] = Deployment{} + yyv1378[yyj1378] = Deployment{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1380 := &yyv1378[yyj1378] + yyv1380.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1378 := 0 + for ; !r.CheckBreak(); yyj1378++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Deployment{}) // var yyz1 Deployment - yyc1 = true + if yyj1378 >= len(yyv1378) { + yyv1378 = append(yyv1378, Deployment{}) // var yyz1378 Deployment + yyc1378 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1378.ElemContainerState(yyj1378) + if yyj1378 < len(yyv1378) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Deployment{} + yyv1378[yyj1378] = Deployment{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1381 := &yyv1378[yyj1378] + yyv1381.CodecDecodeSelf(d) } } else { @@ -16801,17 +16796,17 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Deployment{} - yyc1 = true + if yyj1378 < len(yyv1378) { + yyv1378 = yyv1378[:yyj1378] + yyc1378 = true + } else if yyj1378 == 0 && yyv1378 == nil { + yyv1378 = []Deployment{} + yyc1378 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1378.End() + if yyc1378 { + *v = yyv1378 } } @@ -16820,10 +16815,10 @@ func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1382 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1383 := &yyv1382 + yy1383.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16833,86 +16828,83 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []DaemonSet{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1384 := *v + yyh1384, yyl1384 := z.DecSliceHelperStart() + var yyc1384 bool + if yyl1384 == 0 { + if yyv1384 == nil { + yyv1384 = []DaemonSet{} + yyc1384 = true + } else if len(yyv1384) != 0 { + yyv1384 = yyv1384[:0] + yyc1384 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1384 > 0 { + var yyrr1384, yyrl1384 int + var yyrt1384 bool + if yyl1384 > cap(yyv1384) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 696) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1384 := len(yyv1384) > 0 + yyv21384 := yyv1384 + yyrl1384, yyrt1384 = z.DecInferLen(yyl1384, z.DecBasicHandle().MaxInitLen, 696) + if yyrt1384 { + if yyrl1384 <= cap(yyv1384) { + yyv1384 = yyv1384[:yyrl1384] } else { - yyv1 = make([]DaemonSet, yyrl1) + yyv1384 = make([]DaemonSet, yyrl1384) } } else { - yyv1 = make([]DaemonSet, yyrl1) + yyv1384 = make([]DaemonSet, yyrl1384) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1384 = true + yyrr1384 = len(yyv1384) + if yyrg1384 { + copy(yyv1384, yyv21384) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1384 != len(yyv1384) { + yyv1384 = yyv1384[:yyl1384] + yyc1384 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1384 := 0 + for ; yyj1384 < yyrr1384; yyj1384++ { + yyh1384.ElemContainerState(yyj1384) if r.TryDecodeAsNil() { - yyv1[yyj1] = DaemonSet{} + yyv1384[yyj1384] = DaemonSet{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1385 := &yyv1384[yyj1384] + yyv1385.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, DaemonSet{}) - yyh1.ElemContainerState(yyj1) + if yyrt1384 { + for ; yyj1384 < yyl1384; yyj1384++ { + yyv1384 = append(yyv1384, DaemonSet{}) + yyh1384.ElemContainerState(yyj1384) if r.TryDecodeAsNil() { - yyv1[yyj1] = DaemonSet{} + yyv1384[yyj1384] = DaemonSet{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1386 := &yyv1384[yyj1384] + yyv1386.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1384 := 0 + for ; !r.CheckBreak(); yyj1384++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, DaemonSet{}) // var yyz1 DaemonSet - yyc1 = true + if yyj1384 >= len(yyv1384) { + yyv1384 = append(yyv1384, DaemonSet{}) // var yyz1384 DaemonSet + yyc1384 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1384.ElemContainerState(yyj1384) + if yyj1384 < len(yyv1384) { if r.TryDecodeAsNil() { - yyv1[yyj1] = DaemonSet{} + yyv1384[yyj1384] = DaemonSet{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1387 := &yyv1384[yyj1384] + yyv1387.CodecDecodeSelf(d) } } else { @@ -16920,17 +16912,17 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []DaemonSet{} - yyc1 = true + if yyj1384 < len(yyv1384) { + yyv1384 = yyv1384[:yyj1384] + yyc1384 = true + } else if yyj1384 == 0 && yyv1384 == nil { + yyv1384 = []DaemonSet{} + yyc1384 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1384.End() + if yyc1384 { + *v = yyv1384 } } @@ -16939,10 +16931,10 @@ func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceDa z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1388 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1389 := &yyv1388 + yy1389.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16952,86 +16944,83 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ThirdPartyResourceData{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1390 := *v + yyh1390, yyl1390 := z.DecSliceHelperStart() + var yyc1390 bool + if yyl1390 == 0 { + if yyv1390 == nil { + yyv1390 = []ThirdPartyResourceData{} + yyc1390 = true + } else if len(yyv1390) != 0 { + yyv1390 = yyv1390[:0] + yyc1390 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1390 > 0 { + var yyrr1390, yyrl1390 int + var yyrt1390 bool + if yyl1390 > cap(yyv1390) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 264) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1390 := len(yyv1390) > 0 + yyv21390 := yyv1390 + yyrl1390, yyrt1390 = z.DecInferLen(yyl1390, z.DecBasicHandle().MaxInitLen, 264) + if yyrt1390 { + if yyrl1390 <= cap(yyv1390) { + yyv1390 = yyv1390[:yyrl1390] } else { - yyv1 = make([]ThirdPartyResourceData, yyrl1) + yyv1390 = make([]ThirdPartyResourceData, yyrl1390) } } else { - yyv1 = make([]ThirdPartyResourceData, yyrl1) + yyv1390 = make([]ThirdPartyResourceData, yyrl1390) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1390 = true + yyrr1390 = len(yyv1390) + if yyrg1390 { + copy(yyv1390, yyv21390) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1390 != len(yyv1390) { + yyv1390 = yyv1390[:yyl1390] + yyc1390 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1390 := 0 + for ; yyj1390 < yyrr1390; yyj1390++ { + yyh1390.ElemContainerState(yyj1390) if r.TryDecodeAsNil() { - yyv1[yyj1] = ThirdPartyResourceData{} + yyv1390[yyj1390] = ThirdPartyResourceData{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1391 := &yyv1390[yyj1390] + yyv1391.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ThirdPartyResourceData{}) - yyh1.ElemContainerState(yyj1) + if yyrt1390 { + for ; yyj1390 < yyl1390; yyj1390++ { + yyv1390 = append(yyv1390, ThirdPartyResourceData{}) + yyh1390.ElemContainerState(yyj1390) if r.TryDecodeAsNil() { - yyv1[yyj1] = ThirdPartyResourceData{} + yyv1390[yyj1390] = ThirdPartyResourceData{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1392 := &yyv1390[yyj1390] + yyv1392.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1390 := 0 + for ; !r.CheckBreak(); yyj1390++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ThirdPartyResourceData{}) // var yyz1 ThirdPartyResourceData - yyc1 = true + if yyj1390 >= len(yyv1390) { + yyv1390 = append(yyv1390, ThirdPartyResourceData{}) // var yyz1390 ThirdPartyResourceData + yyc1390 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1390.ElemContainerState(yyj1390) + if yyj1390 < len(yyv1390) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ThirdPartyResourceData{} + yyv1390[yyj1390] = ThirdPartyResourceData{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1393 := &yyv1390[yyj1390] + yyv1393.CodecDecodeSelf(d) } } else { @@ -17039,17 +17028,17 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ThirdPartyResourceData{} - yyc1 = true + if yyj1390 < len(yyv1390) { + yyv1390 = yyv1390[:yyj1390] + yyc1390 = true + } else if yyj1390 == 0 && yyv1390 == nil { + yyv1390 = []ThirdPartyResourceData{} + yyc1390 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1390.End() + if yyc1390 { + *v = yyv1390 } } @@ -17058,10 +17047,10 @@ func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1394 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1395 := &yyv1394 + yy1395.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17071,86 +17060,83 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Ingress{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1396 := *v + yyh1396, yyl1396 := z.DecSliceHelperStart() + var yyc1396 bool + if yyl1396 == 0 { + if yyv1396 == nil { + yyv1396 = []Ingress{} + yyc1396 = true + } else if len(yyv1396) != 0 { + yyv1396 = yyv1396[:0] + yyc1396 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1396 > 0 { + var yyrr1396, yyrl1396 int + var yyrt1396 bool + if yyl1396 > cap(yyv1396) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 320) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1396 := len(yyv1396) > 0 + yyv21396 := yyv1396 + yyrl1396, yyrt1396 = z.DecInferLen(yyl1396, z.DecBasicHandle().MaxInitLen, 320) + if yyrt1396 { + if yyrl1396 <= cap(yyv1396) { + yyv1396 = yyv1396[:yyrl1396] } else { - yyv1 = make([]Ingress, yyrl1) + yyv1396 = make([]Ingress, yyrl1396) } } else { - yyv1 = make([]Ingress, yyrl1) + yyv1396 = make([]Ingress, yyrl1396) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1396 = true + yyrr1396 = len(yyv1396) + if yyrg1396 { + copy(yyv1396, yyv21396) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1396 != len(yyv1396) { + yyv1396 = yyv1396[:yyl1396] + yyc1396 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1396 := 0 + for ; yyj1396 < yyrr1396; yyj1396++ { + yyh1396.ElemContainerState(yyj1396) if r.TryDecodeAsNil() { - yyv1[yyj1] = Ingress{} + yyv1396[yyj1396] = Ingress{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1397 := &yyv1396[yyj1396] + yyv1397.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Ingress{}) - yyh1.ElemContainerState(yyj1) + if yyrt1396 { + for ; yyj1396 < yyl1396; yyj1396++ { + yyv1396 = append(yyv1396, Ingress{}) + yyh1396.ElemContainerState(yyj1396) if r.TryDecodeAsNil() { - yyv1[yyj1] = Ingress{} + yyv1396[yyj1396] = Ingress{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1398 := &yyv1396[yyj1396] + yyv1398.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1396 := 0 + for ; !r.CheckBreak(); yyj1396++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Ingress{}) // var yyz1 Ingress - yyc1 = true + if yyj1396 >= len(yyv1396) { + yyv1396 = append(yyv1396, Ingress{}) // var yyz1396 Ingress + yyc1396 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1396.ElemContainerState(yyj1396) + if yyj1396 < len(yyv1396) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Ingress{} + yyv1396[yyj1396] = Ingress{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1399 := &yyv1396[yyj1396] + yyv1399.CodecDecodeSelf(d) } } else { @@ -17158,17 +17144,17 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Ingress{} - yyc1 = true + if yyj1396 < len(yyv1396) { + yyv1396 = yyv1396[:yyj1396] + yyc1396 = true + } else if yyj1396 == 0 && yyv1396 == nil { + yyv1396 = []Ingress{} + yyc1396 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1396.End() + if yyc1396 { + *v = yyv1396 } } @@ -17177,10 +17163,10 @@ func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1400 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1401 := &yyv1400 + yy1401.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17190,86 +17176,83 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []IngressTLS{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1402 := *v + yyh1402, yyl1402 := z.DecSliceHelperStart() + var yyc1402 bool + if yyl1402 == 0 { + if yyv1402 == nil { + yyv1402 = []IngressTLS{} + yyc1402 = true + } else if len(yyv1402) != 0 { + yyv1402 = yyv1402[:0] + yyc1402 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1402 > 0 { + var yyrr1402, yyrl1402 int + var yyrt1402 bool + if yyl1402 > cap(yyv1402) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1402 := len(yyv1402) > 0 + yyv21402 := yyv1402 + yyrl1402, yyrt1402 = z.DecInferLen(yyl1402, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1402 { + if yyrl1402 <= cap(yyv1402) { + yyv1402 = yyv1402[:yyrl1402] } else { - yyv1 = make([]IngressTLS, yyrl1) + yyv1402 = make([]IngressTLS, yyrl1402) } } else { - yyv1 = make([]IngressTLS, yyrl1) + yyv1402 = make([]IngressTLS, yyrl1402) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1402 = true + yyrr1402 = len(yyv1402) + if yyrg1402 { + copy(yyv1402, yyv21402) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1402 != len(yyv1402) { + yyv1402 = yyv1402[:yyl1402] + yyc1402 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1402 := 0 + for ; yyj1402 < yyrr1402; yyj1402++ { + yyh1402.ElemContainerState(yyj1402) if r.TryDecodeAsNil() { - yyv1[yyj1] = IngressTLS{} + yyv1402[yyj1402] = IngressTLS{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1403 := &yyv1402[yyj1402] + yyv1403.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, IngressTLS{}) - yyh1.ElemContainerState(yyj1) + if yyrt1402 { + for ; yyj1402 < yyl1402; yyj1402++ { + yyv1402 = append(yyv1402, IngressTLS{}) + yyh1402.ElemContainerState(yyj1402) if r.TryDecodeAsNil() { - yyv1[yyj1] = IngressTLS{} + yyv1402[yyj1402] = IngressTLS{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1404 := &yyv1402[yyj1402] + yyv1404.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1402 := 0 + for ; !r.CheckBreak(); yyj1402++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, IngressTLS{}) // var yyz1 IngressTLS - yyc1 = true + if yyj1402 >= len(yyv1402) { + yyv1402 = append(yyv1402, IngressTLS{}) // var yyz1402 IngressTLS + yyc1402 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1402.ElemContainerState(yyj1402) + if yyj1402 < len(yyv1402) { if r.TryDecodeAsNil() { - yyv1[yyj1] = IngressTLS{} + yyv1402[yyj1402] = IngressTLS{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1405 := &yyv1402[yyj1402] + yyv1405.CodecDecodeSelf(d) } } else { @@ -17277,17 +17260,17 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []IngressTLS{} - yyc1 = true + if yyj1402 < len(yyv1402) { + yyv1402 = yyv1402[:yyj1402] + yyc1402 = true + } else if yyj1402 == 0 && yyv1402 == nil { + yyv1402 = []IngressTLS{} + yyc1402 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1402.End() + if yyc1402 { + *v = yyv1402 } } @@ -17296,10 +17279,10 @@ func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1406 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1407 := &yyv1406 + yy1407.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17309,86 +17292,83 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []IngressRule{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1408 := *v + yyh1408, yyl1408 := z.DecSliceHelperStart() + var yyc1408 bool + if yyl1408 == 0 { + if yyv1408 == nil { + yyv1408 = []IngressRule{} + yyc1408 = true + } else if len(yyv1408) != 0 { + yyv1408 = yyv1408[:0] + yyc1408 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1408 > 0 { + var yyrr1408, yyrl1408 int + var yyrt1408 bool + if yyl1408 > cap(yyv1408) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1408 := len(yyv1408) > 0 + yyv21408 := yyv1408 + yyrl1408, yyrt1408 = z.DecInferLen(yyl1408, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1408 { + if yyrl1408 <= cap(yyv1408) { + yyv1408 = yyv1408[:yyrl1408] } else { - yyv1 = make([]IngressRule, yyrl1) + yyv1408 = make([]IngressRule, yyrl1408) } } else { - yyv1 = make([]IngressRule, yyrl1) + yyv1408 = make([]IngressRule, yyrl1408) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1408 = true + yyrr1408 = len(yyv1408) + if yyrg1408 { + copy(yyv1408, yyv21408) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1408 != len(yyv1408) { + yyv1408 = yyv1408[:yyl1408] + yyc1408 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1408 := 0 + for ; yyj1408 < yyrr1408; yyj1408++ { + yyh1408.ElemContainerState(yyj1408) if r.TryDecodeAsNil() { - yyv1[yyj1] = IngressRule{} + yyv1408[yyj1408] = IngressRule{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1409 := &yyv1408[yyj1408] + yyv1409.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, IngressRule{}) - yyh1.ElemContainerState(yyj1) + if yyrt1408 { + for ; yyj1408 < yyl1408; yyj1408++ { + yyv1408 = append(yyv1408, IngressRule{}) + yyh1408.ElemContainerState(yyj1408) if r.TryDecodeAsNil() { - yyv1[yyj1] = IngressRule{} + yyv1408[yyj1408] = IngressRule{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1410 := &yyv1408[yyj1408] + yyv1410.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1408 := 0 + for ; !r.CheckBreak(); yyj1408++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, IngressRule{}) // var yyz1 IngressRule - yyc1 = true + if yyj1408 >= len(yyv1408) { + yyv1408 = append(yyv1408, IngressRule{}) // var yyz1408 IngressRule + yyc1408 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1408.ElemContainerState(yyj1408) + if yyj1408 < len(yyv1408) { if r.TryDecodeAsNil() { - yyv1[yyj1] = IngressRule{} + yyv1408[yyj1408] = IngressRule{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1411 := &yyv1408[yyj1408] + yyv1411.CodecDecodeSelf(d) } } else { @@ -17396,17 +17376,17 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []IngressRule{} - yyc1 = true + if yyj1408 < len(yyv1408) { + yyv1408 = yyv1408[:yyj1408] + yyc1408 = true + } else if yyj1408 == 0 && yyv1408 == nil { + yyv1408 = []IngressRule{} + yyc1408 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1408.End() + if yyc1408 { + *v = yyv1408 } } @@ -17415,10 +17395,10 @@ func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1412 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1413 := &yyv1412 + yy1413.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17428,86 +17408,83 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []HTTPIngressPath{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1414 := *v + yyh1414, yyl1414 := z.DecSliceHelperStart() + var yyc1414 bool + if yyl1414 == 0 { + if yyv1414 == nil { + yyv1414 = []HTTPIngressPath{} + yyc1414 = true + } else if len(yyv1414) != 0 { + yyv1414 = yyv1414[:0] + yyc1414 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1414 > 0 { + var yyrr1414, yyrl1414 int + var yyrt1414 bool + if yyl1414 > cap(yyv1414) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1414 := len(yyv1414) > 0 + yyv21414 := yyv1414 + yyrl1414, yyrt1414 = z.DecInferLen(yyl1414, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1414 { + if yyrl1414 <= cap(yyv1414) { + yyv1414 = yyv1414[:yyrl1414] } else { - yyv1 = make([]HTTPIngressPath, yyrl1) + yyv1414 = make([]HTTPIngressPath, yyrl1414) } } else { - yyv1 = make([]HTTPIngressPath, yyrl1) + yyv1414 = make([]HTTPIngressPath, yyrl1414) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1414 = true + yyrr1414 = len(yyv1414) + if yyrg1414 { + copy(yyv1414, yyv21414) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1414 != len(yyv1414) { + yyv1414 = yyv1414[:yyl1414] + yyc1414 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1414 := 0 + for ; yyj1414 < yyrr1414; yyj1414++ { + yyh1414.ElemContainerState(yyj1414) if r.TryDecodeAsNil() { - yyv1[yyj1] = HTTPIngressPath{} + yyv1414[yyj1414] = HTTPIngressPath{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1415 := &yyv1414[yyj1414] + yyv1415.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, HTTPIngressPath{}) - yyh1.ElemContainerState(yyj1) + if yyrt1414 { + for ; yyj1414 < yyl1414; yyj1414++ { + yyv1414 = append(yyv1414, HTTPIngressPath{}) + yyh1414.ElemContainerState(yyj1414) if r.TryDecodeAsNil() { - yyv1[yyj1] = HTTPIngressPath{} + yyv1414[yyj1414] = HTTPIngressPath{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1416 := &yyv1414[yyj1414] + yyv1416.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1414 := 0 + for ; !r.CheckBreak(); yyj1414++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, HTTPIngressPath{}) // var yyz1 HTTPIngressPath - yyc1 = true + if yyj1414 >= len(yyv1414) { + yyv1414 = append(yyv1414, HTTPIngressPath{}) // var yyz1414 HTTPIngressPath + yyc1414 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1414.ElemContainerState(yyj1414) + if yyj1414 < len(yyv1414) { if r.TryDecodeAsNil() { - yyv1[yyj1] = HTTPIngressPath{} + yyv1414[yyj1414] = HTTPIngressPath{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1417 := &yyv1414[yyj1414] + yyv1417.CodecDecodeSelf(d) } } else { @@ -17515,17 +17492,17 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []HTTPIngressPath{} - yyc1 = true + if yyj1414 < len(yyv1414) { + yyv1414 = yyv1414[:yyj1414] + yyc1414 = true + } else if yyj1414 == 0 && yyv1414 == nil { + yyv1414 = []HTTPIngressPath{} + yyc1414 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1414.End() + if yyc1414 { + *v = yyv1414 } } @@ -17534,10 +17511,10 @@ func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1418 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1419 := &yyv1418 + yy1419.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17547,86 +17524,83 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ReplicaSet{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1420 := *v + yyh1420, yyl1420 := z.DecSliceHelperStart() + var yyc1420 bool + if yyl1420 == 0 { + if yyv1420 == nil { + yyv1420 = []ReplicaSet{} + yyc1420 = true + } else if len(yyv1420) != 0 { + yyv1420 = yyv1420[:0] + yyc1420 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1420 > 0 { + var yyrr1420, yyrl1420 int + var yyrt1420 bool + if yyl1420 > cap(yyv1420) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 704) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1420 := len(yyv1420) > 0 + yyv21420 := yyv1420 + yyrl1420, yyrt1420 = z.DecInferLen(yyl1420, z.DecBasicHandle().MaxInitLen, 704) + if yyrt1420 { + if yyrl1420 <= cap(yyv1420) { + yyv1420 = yyv1420[:yyrl1420] } else { - yyv1 = make([]ReplicaSet, yyrl1) + yyv1420 = make([]ReplicaSet, yyrl1420) } } else { - yyv1 = make([]ReplicaSet, yyrl1) + yyv1420 = make([]ReplicaSet, yyrl1420) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1420 = true + yyrr1420 = len(yyv1420) + if yyrg1420 { + copy(yyv1420, yyv21420) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1420 != len(yyv1420) { + yyv1420 = yyv1420[:yyl1420] + yyc1420 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1420 := 0 + for ; yyj1420 < yyrr1420; yyj1420++ { + yyh1420.ElemContainerState(yyj1420) if r.TryDecodeAsNil() { - yyv1[yyj1] = ReplicaSet{} + yyv1420[yyj1420] = ReplicaSet{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1421 := &yyv1420[yyj1420] + yyv1421.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ReplicaSet{}) - yyh1.ElemContainerState(yyj1) + if yyrt1420 { + for ; yyj1420 < yyl1420; yyj1420++ { + yyv1420 = append(yyv1420, ReplicaSet{}) + yyh1420.ElemContainerState(yyj1420) if r.TryDecodeAsNil() { - yyv1[yyj1] = ReplicaSet{} + yyv1420[yyj1420] = ReplicaSet{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1422 := &yyv1420[yyj1420] + yyv1422.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1420 := 0 + for ; !r.CheckBreak(); yyj1420++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ReplicaSet{}) // var yyz1 ReplicaSet - yyc1 = true + if yyj1420 >= len(yyv1420) { + yyv1420 = append(yyv1420, ReplicaSet{}) // var yyz1420 ReplicaSet + yyc1420 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1420.ElemContainerState(yyj1420) + if yyj1420 < len(yyv1420) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ReplicaSet{} + yyv1420[yyj1420] = ReplicaSet{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1423 := &yyv1420[yyj1420] + yyv1423.CodecDecodeSelf(d) } } else { @@ -17634,17 +17608,17 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ReplicaSet{} - yyc1 = true + if yyj1420 < len(yyv1420) { + yyv1420 = yyv1420[:yyj1420] + yyc1420 = true + } else if yyj1420 == 0 && yyv1420 == nil { + yyv1420 = []ReplicaSet{} + yyc1420 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1420.End() + if yyc1420 { + *v = yyv1420 } } @@ -17653,10 +17627,15 @@ func (x codecSelfer1234) encSliceapi_Capability(v []pkg2_api.Capability, e *code z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1424 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yysf2 := &yyv1 - yysf2.CodecEncodeSelf(e) + yym1425 := z.EncBinary() + _ = yym1425 + if false { + } else if z.HasExtensions() && z.EncExt(yyv1424) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yyv1424)) + } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17666,78 +17645,75 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []pkg2_api.Capability{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1426 := *v + yyh1426, yyl1426 := z.DecSliceHelperStart() + var yyc1426 bool + if yyl1426 == 0 { + if yyv1426 == nil { + yyv1426 = []pkg2_api.Capability{} + yyc1426 = true + } else if len(yyv1426) != 0 { + yyv1426 = yyv1426[:0] + yyc1426 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1426 > 0 { + var yyrr1426, yyrl1426 int + var yyrt1426 bool + if yyl1426 > cap(yyv1426) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl1426, yyrt1426 = z.DecInferLen(yyl1426, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1426 { + if yyrl1426 <= cap(yyv1426) { + yyv1426 = yyv1426[:yyrl1426] } else { - yyv1 = make([]pkg2_api.Capability, yyrl1) + yyv1426 = make([]pkg2_api.Capability, yyrl1426) } } else { - yyv1 = make([]pkg2_api.Capability, yyrl1) + yyv1426 = make([]pkg2_api.Capability, yyrl1426) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc1426 = true + yyrr1426 = len(yyv1426) + } else if yyl1426 != len(yyv1426) { + yyv1426 = yyv1426[:yyl1426] + yyc1426 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1426 := 0 + for ; yyj1426 < yyrr1426; yyj1426++ { + yyh1426.ElemContainerState(yyj1426) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv1426[yyj1426] = "" } else { - yyv1[yyj1] = pkg2_api.Capability(r.DecodeString()) + yyv1426[yyj1426] = pkg2_api.Capability(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt1426 { + for ; yyj1426 < yyl1426; yyj1426++ { + yyv1426 = append(yyv1426, "") + yyh1426.ElemContainerState(yyj1426) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv1426[yyj1426] = "" } else { - yyv1[yyj1] = pkg2_api.Capability(r.DecodeString()) + yyv1426[yyj1426] = pkg2_api.Capability(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1426 := 0 + for ; !r.CheckBreak(); yyj1426++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 pkg2_api.Capability - yyc1 = true + if yyj1426 >= len(yyv1426) { + yyv1426 = append(yyv1426, "") // var yyz1426 pkg2_api.Capability + yyc1426 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1426.ElemContainerState(yyj1426) + if yyj1426 < len(yyv1426) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv1426[yyj1426] = "" } else { - yyv1[yyj1] = pkg2_api.Capability(r.DecodeString()) + yyv1426[yyj1426] = pkg2_api.Capability(r.DecodeString()) } } else { @@ -17745,17 +17721,17 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []pkg2_api.Capability{} - yyc1 = true + if yyj1426 < len(yyv1426) { + yyv1426 = yyv1426[:yyj1426] + yyc1426 = true + } else if yyj1426 == 0 && yyv1426 == nil { + yyv1426 = []pkg2_api.Capability{} + yyc1426 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1426.End() + if yyc1426 { + *v = yyv1426 } } @@ -17764,9 +17740,9 @@ func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1430 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1.CodecEncodeSelf(e) + yyv1430.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17776,78 +17752,75 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []FSType{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1431 := *v + yyh1431, yyl1431 := z.DecSliceHelperStart() + var yyc1431 bool + if yyl1431 == 0 { + if yyv1431 == nil { + yyv1431 = []FSType{} + yyc1431 = true + } else if len(yyv1431) != 0 { + yyv1431 = yyv1431[:0] + yyc1431 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1431 > 0 { + var yyrr1431, yyrl1431 int + var yyrt1431 bool + if yyl1431 > cap(yyv1431) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl1431, yyrt1431 = z.DecInferLen(yyl1431, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1431 { + if yyrl1431 <= cap(yyv1431) { + yyv1431 = yyv1431[:yyrl1431] } else { - yyv1 = make([]FSType, yyrl1) + yyv1431 = make([]FSType, yyrl1431) } } else { - yyv1 = make([]FSType, yyrl1) + yyv1431 = make([]FSType, yyrl1431) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc1431 = true + yyrr1431 = len(yyv1431) + } else if yyl1431 != len(yyv1431) { + yyv1431 = yyv1431[:yyl1431] + yyc1431 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1431 := 0 + for ; yyj1431 < yyrr1431; yyj1431++ { + yyh1431.ElemContainerState(yyj1431) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv1431[yyj1431] = "" } else { - yyv1[yyj1] = FSType(r.DecodeString()) + yyv1431[yyj1431] = FSType(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt1431 { + for ; yyj1431 < yyl1431; yyj1431++ { + yyv1431 = append(yyv1431, "") + yyh1431.ElemContainerState(yyj1431) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv1431[yyj1431] = "" } else { - yyv1[yyj1] = FSType(r.DecodeString()) + yyv1431[yyj1431] = FSType(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1431 := 0 + for ; !r.CheckBreak(); yyj1431++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 FSType - yyc1 = true + if yyj1431 >= len(yyv1431) { + yyv1431 = append(yyv1431, "") // var yyz1431 FSType + yyc1431 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1431.ElemContainerState(yyj1431) + if yyj1431 < len(yyv1431) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv1431[yyj1431] = "" } else { - yyv1[yyj1] = FSType(r.DecodeString()) + yyv1431[yyj1431] = FSType(r.DecodeString()) } } else { @@ -17855,17 +17828,17 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []FSType{} - yyc1 = true + if yyj1431 < len(yyv1431) { + yyv1431 = yyv1431[:yyj1431] + yyc1431 = true + } else if yyj1431 == 0 && yyv1431 == nil { + yyv1431 = []FSType{} + yyc1431 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1431.End() + if yyc1431 { + *v = yyv1431 } } @@ -17874,10 +17847,10 @@ func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1435 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1436 := &yyv1435 + yy1436.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17887,86 +17860,83 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []HostPortRange{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1437 := *v + yyh1437, yyl1437 := z.DecSliceHelperStart() + var yyc1437 bool + if yyl1437 == 0 { + if yyv1437 == nil { + yyv1437 = []HostPortRange{} + yyc1437 = true + } else if len(yyv1437) != 0 { + yyv1437 = yyv1437[:0] + yyc1437 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1437 > 0 { + var yyrr1437, yyrl1437 int + var yyrt1437 bool + if yyl1437 > cap(yyv1437) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1437 := len(yyv1437) > 0 + yyv21437 := yyv1437 + yyrl1437, yyrt1437 = z.DecInferLen(yyl1437, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1437 { + if yyrl1437 <= cap(yyv1437) { + yyv1437 = yyv1437[:yyrl1437] } else { - yyv1 = make([]HostPortRange, yyrl1) + yyv1437 = make([]HostPortRange, yyrl1437) } } else { - yyv1 = make([]HostPortRange, yyrl1) + yyv1437 = make([]HostPortRange, yyrl1437) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1437 = true + yyrr1437 = len(yyv1437) + if yyrg1437 { + copy(yyv1437, yyv21437) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1437 != len(yyv1437) { + yyv1437 = yyv1437[:yyl1437] + yyc1437 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1437 := 0 + for ; yyj1437 < yyrr1437; yyj1437++ { + yyh1437.ElemContainerState(yyj1437) if r.TryDecodeAsNil() { - yyv1[yyj1] = HostPortRange{} + yyv1437[yyj1437] = HostPortRange{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1438 := &yyv1437[yyj1437] + yyv1438.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, HostPortRange{}) - yyh1.ElemContainerState(yyj1) + if yyrt1437 { + for ; yyj1437 < yyl1437; yyj1437++ { + yyv1437 = append(yyv1437, HostPortRange{}) + yyh1437.ElemContainerState(yyj1437) if r.TryDecodeAsNil() { - yyv1[yyj1] = HostPortRange{} + yyv1437[yyj1437] = HostPortRange{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1439 := &yyv1437[yyj1437] + yyv1439.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1437 := 0 + for ; !r.CheckBreak(); yyj1437++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, HostPortRange{}) // var yyz1 HostPortRange - yyc1 = true + if yyj1437 >= len(yyv1437) { + yyv1437 = append(yyv1437, HostPortRange{}) // var yyz1437 HostPortRange + yyc1437 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1437.ElemContainerState(yyj1437) + if yyj1437 < len(yyv1437) { if r.TryDecodeAsNil() { - yyv1[yyj1] = HostPortRange{} + yyv1437[yyj1437] = HostPortRange{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1440 := &yyv1437[yyj1437] + yyv1440.CodecDecodeSelf(d) } } else { @@ -17974,17 +17944,17 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []HostPortRange{} - yyc1 = true + if yyj1437 < len(yyv1437) { + yyv1437 = yyv1437[:yyj1437] + yyc1437 = true + } else if yyj1437 == 0 && yyv1437 == nil { + yyv1437 = []HostPortRange{} + yyc1437 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1437.End() + if yyc1437 { + *v = yyv1437 } } @@ -17993,10 +17963,10 @@ func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1441 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1442 := &yyv1441 + yy1442.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18006,86 +17976,83 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []IDRange{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1443 := *v + yyh1443, yyl1443 := z.DecSliceHelperStart() + var yyc1443 bool + if yyl1443 == 0 { + if yyv1443 == nil { + yyv1443 = []IDRange{} + yyc1443 = true + } else if len(yyv1443) != 0 { + yyv1443 = yyv1443[:0] + yyc1443 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1443 > 0 { + var yyrr1443, yyrl1443 int + var yyrt1443 bool + if yyl1443 > cap(yyv1443) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1443 := len(yyv1443) > 0 + yyv21443 := yyv1443 + yyrl1443, yyrt1443 = z.DecInferLen(yyl1443, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1443 { + if yyrl1443 <= cap(yyv1443) { + yyv1443 = yyv1443[:yyrl1443] } else { - yyv1 = make([]IDRange, yyrl1) + yyv1443 = make([]IDRange, yyrl1443) } } else { - yyv1 = make([]IDRange, yyrl1) + yyv1443 = make([]IDRange, yyrl1443) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1443 = true + yyrr1443 = len(yyv1443) + if yyrg1443 { + copy(yyv1443, yyv21443) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1443 != len(yyv1443) { + yyv1443 = yyv1443[:yyl1443] + yyc1443 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1443 := 0 + for ; yyj1443 < yyrr1443; yyj1443++ { + yyh1443.ElemContainerState(yyj1443) if r.TryDecodeAsNil() { - yyv1[yyj1] = IDRange{} + yyv1443[yyj1443] = IDRange{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1444 := &yyv1443[yyj1443] + yyv1444.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, IDRange{}) - yyh1.ElemContainerState(yyj1) + if yyrt1443 { + for ; yyj1443 < yyl1443; yyj1443++ { + yyv1443 = append(yyv1443, IDRange{}) + yyh1443.ElemContainerState(yyj1443) if r.TryDecodeAsNil() { - yyv1[yyj1] = IDRange{} + yyv1443[yyj1443] = IDRange{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1445 := &yyv1443[yyj1443] + yyv1445.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1443 := 0 + for ; !r.CheckBreak(); yyj1443++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, IDRange{}) // var yyz1 IDRange - yyc1 = true + if yyj1443 >= len(yyv1443) { + yyv1443 = append(yyv1443, IDRange{}) // var yyz1443 IDRange + yyc1443 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1443.ElemContainerState(yyj1443) + if yyj1443 < len(yyv1443) { if r.TryDecodeAsNil() { - yyv1[yyj1] = IDRange{} + yyv1443[yyj1443] = IDRange{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1446 := &yyv1443[yyj1443] + yyv1446.CodecDecodeSelf(d) } } else { @@ -18093,17 +18060,17 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []IDRange{} - yyc1 = true + if yyj1443 < len(yyv1443) { + yyv1443 = yyv1443[:yyj1443] + yyc1443 = true + } else if yyj1443 == 0 && yyv1443 == nil { + yyv1443 = []IDRange{} + yyc1443 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1443.End() + if yyc1443 { + *v = yyv1443 } } @@ -18112,10 +18079,10 @@ func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1447 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1448 := &yyv1447 + yy1448.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18125,86 +18092,83 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PodSecurityPolicy{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1449 := *v + yyh1449, yyl1449 := z.DecSliceHelperStart() + var yyc1449 bool + if yyl1449 == 0 { + if yyv1449 == nil { + yyv1449 = []PodSecurityPolicy{} + yyc1449 = true + } else if len(yyv1449) != 0 { + yyv1449 = yyv1449[:0] + yyc1449 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1449 > 0 { + var yyrr1449, yyrl1449 int + var yyrt1449 bool + if yyl1449 > cap(yyv1449) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 536) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1449 := len(yyv1449) > 0 + yyv21449 := yyv1449 + yyrl1449, yyrt1449 = z.DecInferLen(yyl1449, z.DecBasicHandle().MaxInitLen, 536) + if yyrt1449 { + if yyrl1449 <= cap(yyv1449) { + yyv1449 = yyv1449[:yyrl1449] } else { - yyv1 = make([]PodSecurityPolicy, yyrl1) + yyv1449 = make([]PodSecurityPolicy, yyrl1449) } } else { - yyv1 = make([]PodSecurityPolicy, yyrl1) + yyv1449 = make([]PodSecurityPolicy, yyrl1449) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1449 = true + yyrr1449 = len(yyv1449) + if yyrg1449 { + copy(yyv1449, yyv21449) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1449 != len(yyv1449) { + yyv1449 = yyv1449[:yyl1449] + yyc1449 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1449 := 0 + for ; yyj1449 < yyrr1449; yyj1449++ { + yyh1449.ElemContainerState(yyj1449) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodSecurityPolicy{} + yyv1449[yyj1449] = PodSecurityPolicy{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1450 := &yyv1449[yyj1449] + yyv1450.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PodSecurityPolicy{}) - yyh1.ElemContainerState(yyj1) + if yyrt1449 { + for ; yyj1449 < yyl1449; yyj1449++ { + yyv1449 = append(yyv1449, PodSecurityPolicy{}) + yyh1449.ElemContainerState(yyj1449) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodSecurityPolicy{} + yyv1449[yyj1449] = PodSecurityPolicy{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1451 := &yyv1449[yyj1449] + yyv1451.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1449 := 0 + for ; !r.CheckBreak(); yyj1449++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PodSecurityPolicy{}) // var yyz1 PodSecurityPolicy - yyc1 = true + if yyj1449 >= len(yyv1449) { + yyv1449 = append(yyv1449, PodSecurityPolicy{}) // var yyz1449 PodSecurityPolicy + yyc1449 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1449.ElemContainerState(yyj1449) + if yyj1449 < len(yyv1449) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PodSecurityPolicy{} + yyv1449[yyj1449] = PodSecurityPolicy{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1452 := &yyv1449[yyj1449] + yyv1452.CodecDecodeSelf(d) } } else { @@ -18212,17 +18176,17 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PodSecurityPolicy{} - yyc1 = true + if yyj1449 < len(yyv1449) { + yyv1449 = yyv1449[:yyj1449] + yyc1449 = true + } else if yyj1449 == 0 && yyv1449 == nil { + yyv1449 = []PodSecurityPolicy{} + yyc1449 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1449.End() + if yyc1449 { + *v = yyv1449 } } @@ -18231,10 +18195,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1453 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1454 := &yyv1453 + yy1454.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18244,86 +18208,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NetworkPolicyIngressRule{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1455 := *v + yyh1455, yyl1455 := z.DecSliceHelperStart() + var yyc1455 bool + if yyl1455 == 0 { + if yyv1455 == nil { + yyv1455 = []NetworkPolicyIngressRule{} + yyc1455 = true + } else if len(yyv1455) != 0 { + yyv1455 = yyv1455[:0] + yyc1455 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1455 > 0 { + var yyrr1455, yyrl1455 int + var yyrt1455 bool + if yyl1455 > cap(yyv1455) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 48) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1455 := len(yyv1455) > 0 + yyv21455 := yyv1455 + yyrl1455, yyrt1455 = z.DecInferLen(yyl1455, z.DecBasicHandle().MaxInitLen, 48) + if yyrt1455 { + if yyrl1455 <= cap(yyv1455) { + yyv1455 = yyv1455[:yyrl1455] } else { - yyv1 = make([]NetworkPolicyIngressRule, yyrl1) + yyv1455 = make([]NetworkPolicyIngressRule, yyrl1455) } } else { - yyv1 = make([]NetworkPolicyIngressRule, yyrl1) + yyv1455 = make([]NetworkPolicyIngressRule, yyrl1455) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1455 = true + yyrr1455 = len(yyv1455) + if yyrg1455 { + copy(yyv1455, yyv21455) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1455 != len(yyv1455) { + yyv1455 = yyv1455[:yyl1455] + yyc1455 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1455 := 0 + for ; yyj1455 < yyrr1455; yyj1455++ { + yyh1455.ElemContainerState(yyj1455) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyIngressRule{} + yyv1455[yyj1455] = NetworkPolicyIngressRule{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1456 := &yyv1455[yyj1455] + yyv1456.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NetworkPolicyIngressRule{}) - yyh1.ElemContainerState(yyj1) + if yyrt1455 { + for ; yyj1455 < yyl1455; yyj1455++ { + yyv1455 = append(yyv1455, NetworkPolicyIngressRule{}) + yyh1455.ElemContainerState(yyj1455) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyIngressRule{} + yyv1455[yyj1455] = NetworkPolicyIngressRule{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1457 := &yyv1455[yyj1455] + yyv1457.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1455 := 0 + for ; !r.CheckBreak(); yyj1455++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NetworkPolicyIngressRule{}) // var yyz1 NetworkPolicyIngressRule - yyc1 = true + if yyj1455 >= len(yyv1455) { + yyv1455 = append(yyv1455, NetworkPolicyIngressRule{}) // var yyz1455 NetworkPolicyIngressRule + yyc1455 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1455.ElemContainerState(yyj1455) + if yyj1455 < len(yyv1455) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyIngressRule{} + yyv1455[yyj1455] = NetworkPolicyIngressRule{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1458 := &yyv1455[yyj1455] + yyv1458.CodecDecodeSelf(d) } } else { @@ -18331,17 +18292,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NetworkPolicyIngressRule{} - yyc1 = true + if yyj1455 < len(yyv1455) { + yyv1455 = yyv1455[:yyj1455] + yyc1455 = true + } else if yyj1455 == 0 && yyv1455 == nil { + yyv1455 = []NetworkPolicyIngressRule{} + yyc1455 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1455.End() + if yyc1455 { + *v = yyv1455 } } @@ -18350,10 +18311,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1459 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1460 := &yyv1459 + yy1460.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18363,86 +18324,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NetworkPolicyPort{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1461 := *v + yyh1461, yyl1461 := z.DecSliceHelperStart() + var yyc1461 bool + if yyl1461 == 0 { + if yyv1461 == nil { + yyv1461 = []NetworkPolicyPort{} + yyc1461 = true + } else if len(yyv1461) != 0 { + yyv1461 = yyv1461[:0] + yyc1461 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1461 > 0 { + var yyrr1461, yyrl1461 int + var yyrt1461 bool + if yyl1461 > cap(yyv1461) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1461 := len(yyv1461) > 0 + yyv21461 := yyv1461 + yyrl1461, yyrt1461 = z.DecInferLen(yyl1461, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1461 { + if yyrl1461 <= cap(yyv1461) { + yyv1461 = yyv1461[:yyrl1461] } else { - yyv1 = make([]NetworkPolicyPort, yyrl1) + yyv1461 = make([]NetworkPolicyPort, yyrl1461) } } else { - yyv1 = make([]NetworkPolicyPort, yyrl1) + yyv1461 = make([]NetworkPolicyPort, yyrl1461) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1461 = true + yyrr1461 = len(yyv1461) + if yyrg1461 { + copy(yyv1461, yyv21461) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1461 != len(yyv1461) { + yyv1461 = yyv1461[:yyl1461] + yyc1461 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1461 := 0 + for ; yyj1461 < yyrr1461; yyj1461++ { + yyh1461.ElemContainerState(yyj1461) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyPort{} + yyv1461[yyj1461] = NetworkPolicyPort{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1462 := &yyv1461[yyj1461] + yyv1462.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NetworkPolicyPort{}) - yyh1.ElemContainerState(yyj1) + if yyrt1461 { + for ; yyj1461 < yyl1461; yyj1461++ { + yyv1461 = append(yyv1461, NetworkPolicyPort{}) + yyh1461.ElemContainerState(yyj1461) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyPort{} + yyv1461[yyj1461] = NetworkPolicyPort{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1463 := &yyv1461[yyj1461] + yyv1463.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1461 := 0 + for ; !r.CheckBreak(); yyj1461++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NetworkPolicyPort{}) // var yyz1 NetworkPolicyPort - yyc1 = true + if yyj1461 >= len(yyv1461) { + yyv1461 = append(yyv1461, NetworkPolicyPort{}) // var yyz1461 NetworkPolicyPort + yyc1461 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1461.ElemContainerState(yyj1461) + if yyj1461 < len(yyv1461) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyPort{} + yyv1461[yyj1461] = NetworkPolicyPort{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1464 := &yyv1461[yyj1461] + yyv1464.CodecDecodeSelf(d) } } else { @@ -18450,17 +18408,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NetworkPolicyPort{} - yyc1 = true + if yyj1461 < len(yyv1461) { + yyv1461 = yyv1461[:yyj1461] + yyc1461 = true + } else if yyj1461 == 0 && yyv1461 == nil { + yyv1461 = []NetworkPolicyPort{} + yyc1461 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1461.End() + if yyc1461 { + *v = yyv1461 } } @@ -18469,10 +18427,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1465 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1466 := &yyv1465 + yy1466.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18482,86 +18440,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NetworkPolicyPeer{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1467 := *v + yyh1467, yyl1467 := z.DecSliceHelperStart() + var yyc1467 bool + if yyl1467 == 0 { + if yyv1467 == nil { + yyv1467 = []NetworkPolicyPeer{} + yyc1467 = true + } else if len(yyv1467) != 0 { + yyv1467 = yyv1467[:0] + yyc1467 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1467 > 0 { + var yyrr1467, yyrl1467 int + var yyrt1467 bool + if yyl1467 > cap(yyv1467) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1467 := len(yyv1467) > 0 + yyv21467 := yyv1467 + yyrl1467, yyrt1467 = z.DecInferLen(yyl1467, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1467 { + if yyrl1467 <= cap(yyv1467) { + yyv1467 = yyv1467[:yyrl1467] } else { - yyv1 = make([]NetworkPolicyPeer, yyrl1) + yyv1467 = make([]NetworkPolicyPeer, yyrl1467) } } else { - yyv1 = make([]NetworkPolicyPeer, yyrl1) + yyv1467 = make([]NetworkPolicyPeer, yyrl1467) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1467 = true + yyrr1467 = len(yyv1467) + if yyrg1467 { + copy(yyv1467, yyv21467) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1467 != len(yyv1467) { + yyv1467 = yyv1467[:yyl1467] + yyc1467 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1467 := 0 + for ; yyj1467 < yyrr1467; yyj1467++ { + yyh1467.ElemContainerState(yyj1467) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyPeer{} + yyv1467[yyj1467] = NetworkPolicyPeer{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1468 := &yyv1467[yyj1467] + yyv1468.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NetworkPolicyPeer{}) - yyh1.ElemContainerState(yyj1) + if yyrt1467 { + for ; yyj1467 < yyl1467; yyj1467++ { + yyv1467 = append(yyv1467, NetworkPolicyPeer{}) + yyh1467.ElemContainerState(yyj1467) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyPeer{} + yyv1467[yyj1467] = NetworkPolicyPeer{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1469 := &yyv1467[yyj1467] + yyv1469.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1467 := 0 + for ; !r.CheckBreak(); yyj1467++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NetworkPolicyPeer{}) // var yyz1 NetworkPolicyPeer - yyc1 = true + if yyj1467 >= len(yyv1467) { + yyv1467 = append(yyv1467, NetworkPolicyPeer{}) // var yyz1467 NetworkPolicyPeer + yyc1467 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1467.ElemContainerState(yyj1467) + if yyj1467 < len(yyv1467) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyPeer{} + yyv1467[yyj1467] = NetworkPolicyPeer{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1470 := &yyv1467[yyj1467] + yyv1470.CodecDecodeSelf(d) } } else { @@ -18569,17 +18524,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NetworkPolicyPeer{} - yyc1 = true + if yyj1467 < len(yyv1467) { + yyv1467 = yyv1467[:yyj1467] + yyc1467 = true + } else if yyj1467 == 0 && yyv1467 == nil { + yyv1467 = []NetworkPolicyPeer{} + yyc1467 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1467.End() + if yyc1467 { + *v = yyv1467 } } @@ -18588,10 +18543,10 @@ func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1471 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1472 := &yyv1471 + yy1472.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18601,86 +18556,83 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NetworkPolicy{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1473 := *v + yyh1473, yyl1473 := z.DecSliceHelperStart() + var yyc1473 bool + if yyl1473 == 0 { + if yyv1473 == nil { + yyv1473 = []NetworkPolicy{} + yyc1473 = true + } else if len(yyv1473) != 0 { + yyv1473 = yyv1473[:0] + yyc1473 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1473 > 0 { + var yyrr1473, yyrl1473 int + var yyrt1473 bool + if yyl1473 > cap(yyv1473) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 296) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1473 := len(yyv1473) > 0 + yyv21473 := yyv1473 + yyrl1473, yyrt1473 = z.DecInferLen(yyl1473, z.DecBasicHandle().MaxInitLen, 296) + if yyrt1473 { + if yyrl1473 <= cap(yyv1473) { + yyv1473 = yyv1473[:yyrl1473] } else { - yyv1 = make([]NetworkPolicy, yyrl1) + yyv1473 = make([]NetworkPolicy, yyrl1473) } } else { - yyv1 = make([]NetworkPolicy, yyrl1) + yyv1473 = make([]NetworkPolicy, yyrl1473) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1473 = true + yyrr1473 = len(yyv1473) + if yyrg1473 { + copy(yyv1473, yyv21473) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1473 != len(yyv1473) { + yyv1473 = yyv1473[:yyl1473] + yyc1473 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1473 := 0 + for ; yyj1473 < yyrr1473; yyj1473++ { + yyh1473.ElemContainerState(yyj1473) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicy{} + yyv1473[yyj1473] = NetworkPolicy{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1474 := &yyv1473[yyj1473] + yyv1474.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NetworkPolicy{}) - yyh1.ElemContainerState(yyj1) + if yyrt1473 { + for ; yyj1473 < yyl1473; yyj1473++ { + yyv1473 = append(yyv1473, NetworkPolicy{}) + yyh1473.ElemContainerState(yyj1473) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicy{} + yyv1473[yyj1473] = NetworkPolicy{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1475 := &yyv1473[yyj1473] + yyv1475.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1473 := 0 + for ; !r.CheckBreak(); yyj1473++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NetworkPolicy{}) // var yyz1 NetworkPolicy - yyc1 = true + if yyj1473 >= len(yyv1473) { + yyv1473 = append(yyv1473, NetworkPolicy{}) // var yyz1473 NetworkPolicy + yyc1473 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1473.ElemContainerState(yyj1473) + if yyj1473 < len(yyv1473) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicy{} + yyv1473[yyj1473] = NetworkPolicy{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1476 := &yyv1473[yyj1473] + yyv1476.CodecDecodeSelf(d) } } else { @@ -18688,17 +18640,17 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NetworkPolicy{} - yyc1 = true + if yyj1473 < len(yyv1473) { + yyv1473 = yyv1473[:yyj1473] + yyc1473 = true + } else if yyj1473 == 0 && yyv1473 == nil { + yyv1473 = []NetworkPolicy{} + yyc1473 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1473.End() + if yyc1473 { + *v = yyv1473 } } @@ -18707,10 +18659,10 @@ func (x codecSelfer1234) encSliceStorageClass(v []StorageClass, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1477 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1478 := &yyv1477 + yy1478.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18720,86 +18672,83 @@ func (x codecSelfer1234) decSliceStorageClass(v *[]StorageClass, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []StorageClass{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1479 := *v + yyh1479, yyl1479 := z.DecSliceHelperStart() + var yyc1479 bool + if yyl1479 == 0 { + if yyv1479 == nil { + yyv1479 = []StorageClass{} + yyc1479 = true + } else if len(yyv1479) != 0 { + yyv1479 = yyv1479[:0] + yyc1479 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1479 > 0 { + var yyrr1479, yyrl1479 int + var yyrt1479 bool + if yyl1479 > cap(yyv1479) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 264) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1479 := len(yyv1479) > 0 + yyv21479 := yyv1479 + yyrl1479, yyrt1479 = z.DecInferLen(yyl1479, z.DecBasicHandle().MaxInitLen, 264) + if yyrt1479 { + if yyrl1479 <= cap(yyv1479) { + yyv1479 = yyv1479[:yyrl1479] } else { - yyv1 = make([]StorageClass, yyrl1) + yyv1479 = make([]StorageClass, yyrl1479) } } else { - yyv1 = make([]StorageClass, yyrl1) + yyv1479 = make([]StorageClass, yyrl1479) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1479 = true + yyrr1479 = len(yyv1479) + if yyrg1479 { + copy(yyv1479, yyv21479) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1479 != len(yyv1479) { + yyv1479 = yyv1479[:yyl1479] + yyc1479 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1479 := 0 + for ; yyj1479 < yyrr1479; yyj1479++ { + yyh1479.ElemContainerState(yyj1479) if r.TryDecodeAsNil() { - yyv1[yyj1] = StorageClass{} + yyv1479[yyj1479] = StorageClass{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1480 := &yyv1479[yyj1479] + yyv1480.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, StorageClass{}) - yyh1.ElemContainerState(yyj1) + if yyrt1479 { + for ; yyj1479 < yyl1479; yyj1479++ { + yyv1479 = append(yyv1479, StorageClass{}) + yyh1479.ElemContainerState(yyj1479) if r.TryDecodeAsNil() { - yyv1[yyj1] = StorageClass{} + yyv1479[yyj1479] = StorageClass{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1481 := &yyv1479[yyj1479] + yyv1481.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1479 := 0 + for ; !r.CheckBreak(); yyj1479++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, StorageClass{}) // var yyz1 StorageClass - yyc1 = true + if yyj1479 >= len(yyv1479) { + yyv1479 = append(yyv1479, StorageClass{}) // var yyz1479 StorageClass + yyc1479 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1479.ElemContainerState(yyj1479) + if yyj1479 < len(yyv1479) { if r.TryDecodeAsNil() { - yyv1[yyj1] = StorageClass{} + yyv1479[yyj1479] = StorageClass{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1482 := &yyv1479[yyj1479] + yyv1482.CodecDecodeSelf(d) } } else { @@ -18807,16 +18756,16 @@ func (x codecSelfer1234) decSliceStorageClass(v *[]StorageClass, d *codec1978.De } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []StorageClass{} - yyc1 = true + if yyj1479 < len(yyv1479) { + yyv1479 = yyv1479[:yyj1479] + yyc1479 = true + } else if yyj1479 == 0 && yyv1479 == nil { + yyv1479 = []StorageClass{} + yyc1479 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1479.End() + if yyc1479 { + *v = yyv1479 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/conversion.go index 747b87f00c8..3f93f3167d1 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/conversion.go @@ -30,7 +30,7 @@ import ( "k8s.io/client-go/1.4/pkg/util/intstr" ) -func addConversionFuncs(scheme *runtime.Scheme) { +func addConversionFuncs(scheme *runtime.Scheme) error { // Add non-generated conversion functions err := scheme.AddConversionFuncs( Convert_extensions_ScaleStatus_To_v1beta1_ScaleStatus, @@ -53,8 +53,7 @@ func addConversionFuncs(scheme *runtime.Scheme) { Convert_v1beta1_JobSpec_To_batch_JobSpec, ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } // Add field label conversions for kinds having selectable nothing but ObjectMeta fields. @@ -67,14 +66,14 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label %q not supported for %q", label, kind) } - }) + }, + ) if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) + return err } } - err = api.Scheme.AddFieldLabelConversionFunc("extensions/v1beta1", "Job", + return api.Scheme.AddFieldLabelConversionFunc("extensions/v1beta1", "Job", func(label, value string) (string, string, error) { switch label { case "metadata.name", "metadata.namespace", "status.successful": @@ -82,11 +81,8 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } + }, + ) } func Convert_extensions_ScaleStatus_To_v1beta1_ScaleStatus(in *extensions.ScaleStatus, out *ScaleStatus, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/defaults.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/defaults.go index 77cd7378ab0..2075f5e202a 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/defaults.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/defaults.go @@ -22,8 +22,8 @@ import ( "k8s.io/client-go/1.4/pkg/util/intstr" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { - scheme.AddDefaultingFuncs( +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return scheme.AddDefaultingFuncs( SetDefaults_DaemonSet, SetDefaults_Deployment, SetDefaults_Job, diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/generated.pb.go index d57fb85f14e..e94d5a060aa 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/generated.pb.go @@ -119,218 +119,319 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf -func (m *APIVersion) Reset() { *m = APIVersion{} } -func (*APIVersion) ProtoMessage() {} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 -func (m *CPUTargetUtilization) Reset() { *m = CPUTargetUtilization{} } -func (*CPUTargetUtilization) ProtoMessage() {} +func (m *APIVersion) Reset() { *m = APIVersion{} } +func (*APIVersion) ProtoMessage() {} +func (*APIVersion) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } + +func (m *CPUTargetUtilization) Reset() { *m = CPUTargetUtilization{} } +func (*CPUTargetUtilization) ProtoMessage() {} +func (*CPUTargetUtilization) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } func (m *CustomMetricCurrentStatus) Reset() { *m = CustomMetricCurrentStatus{} } func (*CustomMetricCurrentStatus) ProtoMessage() {} +func (*CustomMetricCurrentStatus) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{2} +} func (m *CustomMetricCurrentStatusList) Reset() { *m = CustomMetricCurrentStatusList{} } func (*CustomMetricCurrentStatusList) ProtoMessage() {} +func (*CustomMetricCurrentStatusList) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{3} +} -func (m *CustomMetricTarget) Reset() { *m = CustomMetricTarget{} } -func (*CustomMetricTarget) ProtoMessage() {} +func (m *CustomMetricTarget) Reset() { *m = CustomMetricTarget{} } +func (*CustomMetricTarget) ProtoMessage() {} +func (*CustomMetricTarget) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } -func (m *CustomMetricTargetList) Reset() { *m = CustomMetricTargetList{} } -func (*CustomMetricTargetList) ProtoMessage() {} +func (m *CustomMetricTargetList) Reset() { *m = CustomMetricTargetList{} } +func (*CustomMetricTargetList) ProtoMessage() {} +func (*CustomMetricTargetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } -func (m *DaemonSet) Reset() { *m = DaemonSet{} } -func (*DaemonSet) ProtoMessage() {} +func (m *DaemonSet) Reset() { *m = DaemonSet{} } +func (*DaemonSet) ProtoMessage() {} +func (*DaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } -func (m *DaemonSetList) Reset() { *m = DaemonSetList{} } -func (*DaemonSetList) ProtoMessage() {} +func (m *DaemonSetList) Reset() { *m = DaemonSetList{} } +func (*DaemonSetList) ProtoMessage() {} +func (*DaemonSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } -func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} } -func (*DaemonSetSpec) ProtoMessage() {} +func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} } +func (*DaemonSetSpec) ProtoMessage() {} +func (*DaemonSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } -func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} } -func (*DaemonSetStatus) ProtoMessage() {} +func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} } +func (*DaemonSetStatus) ProtoMessage() {} +func (*DaemonSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } -func (m *Deployment) Reset() { *m = Deployment{} } -func (*Deployment) ProtoMessage() {} +func (m *Deployment) Reset() { *m = Deployment{} } +func (*Deployment) ProtoMessage() {} +func (*Deployment) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } -func (m *DeploymentList) Reset() { *m = DeploymentList{} } -func (*DeploymentList) ProtoMessage() {} +func (m *DeploymentList) Reset() { *m = DeploymentList{} } +func (*DeploymentList) ProtoMessage() {} +func (*DeploymentList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} } -func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} } -func (*DeploymentRollback) ProtoMessage() {} +func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} } +func (*DeploymentRollback) ProtoMessage() {} +func (*DeploymentRollback) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } -func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} } -func (*DeploymentSpec) ProtoMessage() {} +func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} } +func (*DeploymentSpec) ProtoMessage() {} +func (*DeploymentSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} } -func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} } -func (*DeploymentStatus) ProtoMessage() {} +func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} } +func (*DeploymentStatus) ProtoMessage() {} +func (*DeploymentStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} } -func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} } -func (*DeploymentStrategy) ProtoMessage() {} +func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} } +func (*DeploymentStrategy) ProtoMessage() {} +func (*DeploymentStrategy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} } -func (m *ExportOptions) Reset() { *m = ExportOptions{} } -func (*ExportOptions) ProtoMessage() {} +func (m *ExportOptions) Reset() { *m = ExportOptions{} } +func (*ExportOptions) ProtoMessage() {} +func (*ExportOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} } -func (m *FSGroupStrategyOptions) Reset() { *m = FSGroupStrategyOptions{} } -func (*FSGroupStrategyOptions) ProtoMessage() {} +func (m *FSGroupStrategyOptions) Reset() { *m = FSGroupStrategyOptions{} } +func (*FSGroupStrategyOptions) ProtoMessage() {} +func (*FSGroupStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} } -func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} } -func (*HTTPIngressPath) ProtoMessage() {} +func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} } +func (*HTTPIngressPath) ProtoMessage() {} +func (*HTTPIngressPath) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{18} } -func (m *HTTPIngressRuleValue) Reset() { *m = HTTPIngressRuleValue{} } -func (*HTTPIngressRuleValue) ProtoMessage() {} +func (m *HTTPIngressRuleValue) Reset() { *m = HTTPIngressRuleValue{} } +func (*HTTPIngressRuleValue) ProtoMessage() {} +func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} } func (m *HorizontalPodAutoscaler) Reset() { *m = HorizontalPodAutoscaler{} } func (*HorizontalPodAutoscaler) ProtoMessage() {} +func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{20} +} func (m *HorizontalPodAutoscalerList) Reset() { *m = HorizontalPodAutoscalerList{} } func (*HorizontalPodAutoscalerList) ProtoMessage() {} +func (*HorizontalPodAutoscalerList) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{21} +} func (m *HorizontalPodAutoscalerSpec) Reset() { *m = HorizontalPodAutoscalerSpec{} } func (*HorizontalPodAutoscalerSpec) ProtoMessage() {} +func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{22} +} func (m *HorizontalPodAutoscalerStatus) Reset() { *m = HorizontalPodAutoscalerStatus{} } func (*HorizontalPodAutoscalerStatus) ProtoMessage() {} +func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{23} +} -func (m *HostPortRange) Reset() { *m = HostPortRange{} } -func (*HostPortRange) ProtoMessage() {} +func (m *HostPortRange) Reset() { *m = HostPortRange{} } +func (*HostPortRange) ProtoMessage() {} +func (*HostPortRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{24} } -func (m *IDRange) Reset() { *m = IDRange{} } -func (*IDRange) ProtoMessage() {} +func (m *IDRange) Reset() { *m = IDRange{} } +func (*IDRange) ProtoMessage() {} +func (*IDRange) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{25} } -func (m *Ingress) Reset() { *m = Ingress{} } -func (*Ingress) ProtoMessage() {} +func (m *Ingress) Reset() { *m = Ingress{} } +func (*Ingress) ProtoMessage() {} +func (*Ingress) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{26} } -func (m *IngressBackend) Reset() { *m = IngressBackend{} } -func (*IngressBackend) ProtoMessage() {} +func (m *IngressBackend) Reset() { *m = IngressBackend{} } +func (*IngressBackend) ProtoMessage() {} +func (*IngressBackend) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{27} } -func (m *IngressList) Reset() { *m = IngressList{} } -func (*IngressList) ProtoMessage() {} +func (m *IngressList) Reset() { *m = IngressList{} } +func (*IngressList) ProtoMessage() {} +func (*IngressList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{28} } -func (m *IngressRule) Reset() { *m = IngressRule{} } -func (*IngressRule) ProtoMessage() {} +func (m *IngressRule) Reset() { *m = IngressRule{} } +func (*IngressRule) ProtoMessage() {} +func (*IngressRule) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{29} } -func (m *IngressRuleValue) Reset() { *m = IngressRuleValue{} } -func (*IngressRuleValue) ProtoMessage() {} +func (m *IngressRuleValue) Reset() { *m = IngressRuleValue{} } +func (*IngressRuleValue) ProtoMessage() {} +func (*IngressRuleValue) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{30} } -func (m *IngressSpec) Reset() { *m = IngressSpec{} } -func (*IngressSpec) ProtoMessage() {} +func (m *IngressSpec) Reset() { *m = IngressSpec{} } +func (*IngressSpec) ProtoMessage() {} +func (*IngressSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{31} } -func (m *IngressStatus) Reset() { *m = IngressStatus{} } -func (*IngressStatus) ProtoMessage() {} +func (m *IngressStatus) Reset() { *m = IngressStatus{} } +func (*IngressStatus) ProtoMessage() {} +func (*IngressStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{32} } -func (m *IngressTLS) Reset() { *m = IngressTLS{} } -func (*IngressTLS) ProtoMessage() {} +func (m *IngressTLS) Reset() { *m = IngressTLS{} } +func (*IngressTLS) ProtoMessage() {} +func (*IngressTLS) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{33} } -func (m *Job) Reset() { *m = Job{} } -func (*Job) ProtoMessage() {} +func (m *Job) Reset() { *m = Job{} } +func (*Job) ProtoMessage() {} +func (*Job) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{34} } -func (m *JobCondition) Reset() { *m = JobCondition{} } -func (*JobCondition) ProtoMessage() {} +func (m *JobCondition) Reset() { *m = JobCondition{} } +func (*JobCondition) ProtoMessage() {} +func (*JobCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{35} } -func (m *JobList) Reset() { *m = JobList{} } -func (*JobList) ProtoMessage() {} +func (m *JobList) Reset() { *m = JobList{} } +func (*JobList) ProtoMessage() {} +func (*JobList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{36} } -func (m *JobSpec) Reset() { *m = JobSpec{} } -func (*JobSpec) ProtoMessage() {} +func (m *JobSpec) Reset() { *m = JobSpec{} } +func (*JobSpec) ProtoMessage() {} +func (*JobSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{37} } -func (m *JobStatus) Reset() { *m = JobStatus{} } -func (*JobStatus) ProtoMessage() {} +func (m *JobStatus) Reset() { *m = JobStatus{} } +func (*JobStatus) ProtoMessage() {} +func (*JobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{38} } -func (m *LabelSelector) Reset() { *m = LabelSelector{} } -func (*LabelSelector) ProtoMessage() {} +func (m *LabelSelector) Reset() { *m = LabelSelector{} } +func (*LabelSelector) ProtoMessage() {} +func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{39} } func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} } func (*LabelSelectorRequirement) ProtoMessage() {} +func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{40} +} -func (m *ListOptions) Reset() { *m = ListOptions{} } -func (*ListOptions) ProtoMessage() {} +func (m *ListOptions) Reset() { *m = ListOptions{} } +func (*ListOptions) ProtoMessage() {} +func (*ListOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} } -func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} } -func (*NetworkPolicy) ProtoMessage() {} +func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} } +func (*NetworkPolicy) ProtoMessage() {} +func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} } func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} } func (*NetworkPolicyIngressRule) ProtoMessage() {} +func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{43} +} -func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} } -func (*NetworkPolicyList) ProtoMessage() {} +func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} } +func (*NetworkPolicyList) ProtoMessage() {} +func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} } -func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} } -func (*NetworkPolicyPeer) ProtoMessage() {} +func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} } +func (*NetworkPolicyPeer) ProtoMessage() {} +func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} } -func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} } -func (*NetworkPolicyPort) ProtoMessage() {} +func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} } +func (*NetworkPolicyPort) ProtoMessage() {} +func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} } -func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} } -func (*NetworkPolicySpec) ProtoMessage() {} +func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} } +func (*NetworkPolicySpec) ProtoMessage() {} +func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} } -func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} } -func (*PodSecurityPolicy) ProtoMessage() {} +func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} } +func (*PodSecurityPolicy) ProtoMessage() {} +func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} } -func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} } -func (*PodSecurityPolicyList) ProtoMessage() {} +func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} } +func (*PodSecurityPolicyList) ProtoMessage() {} +func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} } -func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} } -func (*PodSecurityPolicySpec) ProtoMessage() {} +func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} } +func (*PodSecurityPolicySpec) ProtoMessage() {} +func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} } -func (m *ReplicaSet) Reset() { *m = ReplicaSet{} } -func (*ReplicaSet) ProtoMessage() {} +func (m *ReplicaSet) Reset() { *m = ReplicaSet{} } +func (*ReplicaSet) ProtoMessage() {} +func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} } -func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} } -func (*ReplicaSetList) ProtoMessage() {} +func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} } +func (*ReplicaSetList) ProtoMessage() {} +func (*ReplicaSetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{52} } -func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} } -func (*ReplicaSetSpec) ProtoMessage() {} +func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} } +func (*ReplicaSetSpec) ProtoMessage() {} +func (*ReplicaSetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{53} } -func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} } -func (*ReplicaSetStatus) ProtoMessage() {} +func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} } +func (*ReplicaSetStatus) ProtoMessage() {} +func (*ReplicaSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{54} } func (m *ReplicationControllerDummy) Reset() { *m = ReplicationControllerDummy{} } func (*ReplicationControllerDummy) ProtoMessage() {} +func (*ReplicationControllerDummy) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{55} +} -func (m *RollbackConfig) Reset() { *m = RollbackConfig{} } -func (*RollbackConfig) ProtoMessage() {} +func (m *RollbackConfig) Reset() { *m = RollbackConfig{} } +func (*RollbackConfig) ProtoMessage() {} +func (*RollbackConfig) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{56} } func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} } func (*RollingUpdateDeployment) ProtoMessage() {} +func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{57} +} func (m *RunAsUserStrategyOptions) Reset() { *m = RunAsUserStrategyOptions{} } func (*RunAsUserStrategyOptions) ProtoMessage() {} +func (*RunAsUserStrategyOptions) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{58} +} -func (m *SELinuxStrategyOptions) Reset() { *m = SELinuxStrategyOptions{} } -func (*SELinuxStrategyOptions) ProtoMessage() {} +func (m *SELinuxStrategyOptions) Reset() { *m = SELinuxStrategyOptions{} } +func (*SELinuxStrategyOptions) ProtoMessage() {} +func (*SELinuxStrategyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{59} } -func (m *Scale) Reset() { *m = Scale{} } -func (*Scale) ProtoMessage() {} +func (m *Scale) Reset() { *m = Scale{} } +func (*Scale) ProtoMessage() {} +func (*Scale) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{60} } -func (m *ScaleSpec) Reset() { *m = ScaleSpec{} } -func (*ScaleSpec) ProtoMessage() {} +func (m *ScaleSpec) Reset() { *m = ScaleSpec{} } +func (*ScaleSpec) ProtoMessage() {} +func (*ScaleSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{61} } -func (m *ScaleStatus) Reset() { *m = ScaleStatus{} } -func (*ScaleStatus) ProtoMessage() {} +func (m *ScaleStatus) Reset() { *m = ScaleStatus{} } +func (*ScaleStatus) ProtoMessage() {} +func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{62} } -func (m *StorageClass) Reset() { *m = StorageClass{} } -func (*StorageClass) ProtoMessage() {} +func (m *StorageClass) Reset() { *m = StorageClass{} } +func (*StorageClass) ProtoMessage() {} +func (*StorageClass) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{63} } -func (m *StorageClassList) Reset() { *m = StorageClassList{} } -func (*StorageClassList) ProtoMessage() {} +func (m *StorageClassList) Reset() { *m = StorageClassList{} } +func (*StorageClassList) ProtoMessage() {} +func (*StorageClassList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{64} } -func (m *SubresourceReference) Reset() { *m = SubresourceReference{} } -func (*SubresourceReference) ProtoMessage() {} +func (m *SubresourceReference) Reset() { *m = SubresourceReference{} } +func (*SubresourceReference) ProtoMessage() {} +func (*SubresourceReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{65} } func (m *SupplementalGroupsStrategyOptions) Reset() { *m = SupplementalGroupsStrategyOptions{} } func (*SupplementalGroupsStrategyOptions) ProtoMessage() {} +func (*SupplementalGroupsStrategyOptions) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{66} +} -func (m *ThirdPartyResource) Reset() { *m = ThirdPartyResource{} } -func (*ThirdPartyResource) ProtoMessage() {} +func (m *ThirdPartyResource) Reset() { *m = ThirdPartyResource{} } +func (*ThirdPartyResource) ProtoMessage() {} +func (*ThirdPartyResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{67} } -func (m *ThirdPartyResourceData) Reset() { *m = ThirdPartyResourceData{} } -func (*ThirdPartyResourceData) ProtoMessage() {} +func (m *ThirdPartyResourceData) Reset() { *m = ThirdPartyResourceData{} } +func (*ThirdPartyResourceData) ProtoMessage() {} +func (*ThirdPartyResourceData) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{68} } func (m *ThirdPartyResourceDataList) Reset() { *m = ThirdPartyResourceDataList{} } func (*ThirdPartyResourceDataList) ProtoMessage() {} +func (*ThirdPartyResourceDataList) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{69} +} -func (m *ThirdPartyResourceList) Reset() { *m = ThirdPartyResourceList{} } -func (*ThirdPartyResourceList) ProtoMessage() {} +func (m *ThirdPartyResourceList) Reset() { *m = ThirdPartyResourceList{} } +func (*ThirdPartyResourceList) ProtoMessage() {} +func (*ThirdPartyResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{70} } func init() { proto.RegisterType((*APIVersion)(nil), "k8s.io.client-go.1.4.pkg.apis.extensions.v1beta1.APIVersion") @@ -14273,3 +14374,257 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 3999 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe4, 0x5c, 0xdb, 0x8f, 0x1c, 0x47, + 0x57, 0xcf, 0xcc, 0xec, 0x65, 0xa6, 0xf6, 0xea, 0xf2, 0xda, 0x9e, 0x6c, 0x12, 0x3b, 0xe9, 0x88, + 0x90, 0x88, 0x78, 0x16, 0x9b, 0x24, 0x38, 0x76, 0xe2, 0x64, 0x67, 0x2f, 0xb6, 0x93, 0x5d, 0x7b, + 0x52, 0xb3, 0x76, 0x42, 0xee, 0xbd, 0x33, 0xb5, 0xb3, 0xed, 0xed, 0x99, 0x9e, 0xf4, 0x65, 0xbd, + 0x13, 0x84, 0x12, 0x04, 0x48, 0xbc, 0x24, 0xe4, 0x8d, 0x48, 0xc0, 0x03, 0x12, 0x88, 0x07, 0x44, + 0x04, 0x12, 0x52, 0x1e, 0x78, 0x01, 0x24, 0x84, 0x79, 0x40, 0x84, 0x9b, 0xe0, 0x85, 0x04, 0x82, + 0x20, 0xfa, 0xfe, 0x85, 0x7c, 0x9f, 0xf4, 0x7d, 0xa7, 0xaa, 0xab, 0xbb, 0xab, 0x7a, 0xba, 0xc7, + 0xee, 0xd9, 0x8b, 0xf4, 0xe9, 0x7b, 0x58, 0xc5, 0x5d, 0xe7, 0x9c, 0xdf, 0x39, 0x55, 0x75, 0xea, + 0x9c, 0x53, 0x97, 0x09, 0x7a, 0x71, 0xe7, 0x82, 0x53, 0x31, 0xac, 0x85, 0x1d, 0x6f, 0x93, 0xda, + 0x1d, 0xea, 0x52, 0x67, 0xa1, 0xbb, 0xd3, 0x5a, 0xd0, 0xbb, 0x86, 0xb3, 0x40, 0xf7, 0x5c, 0xda, + 0x71, 0x0c, 0xab, 0xe3, 0x2c, 0xec, 0x9e, 0xdb, 0xa4, 0xae, 0x7e, 0x6e, 0xa1, 0x45, 0x3b, 0xd4, + 0xd6, 0x5d, 0xda, 0xac, 0x74, 0x6d, 0xcb, 0xb5, 0xf0, 0x59, 0x5f, 0xbc, 0x12, 0x89, 0x57, 0x40, + 0xbc, 0xc2, 0xc4, 0x2b, 0x91, 0x78, 0x45, 0x88, 0xcf, 0x9f, 0x6d, 0x19, 0xee, 0xb6, 0xb7, 0x59, + 0x69, 0x58, 0xed, 0x85, 0x96, 0xd5, 0xb2, 0x16, 0x38, 0xca, 0xa6, 0xb7, 0xc5, 0xbf, 0xf8, 0x07, + 0xff, 0x97, 0x8f, 0x3e, 0x7f, 0x3e, 0xd5, 0xb8, 0x05, 0x9b, 0x3a, 0x96, 0x67, 0x37, 0x68, 0xdc, + 0xa2, 0xf9, 0x67, 0xd3, 0x65, 0xbc, 0xce, 0x2e, 0xb5, 0x99, 0x41, 0xb4, 0xd9, 0x27, 0xf6, 0x74, + 0xba, 0xd8, 0x6e, 0x5f, 0xb7, 0xe7, 0xcf, 0x26, 0x73, 0xdb, 0x5e, 0xc7, 0x35, 0xda, 0xfd, 0x36, + 0x9d, 0x4b, 0x66, 0xf7, 0x5c, 0xc3, 0x5c, 0x30, 0x3a, 0xae, 0xe3, 0xda, 0x71, 0x11, 0xad, 0x82, + 0xd0, 0x62, 0xed, 0xda, 0x2d, 0xdf, 0x5e, 0xfc, 0x28, 0x1a, 0xe9, 0xe8, 0x6d, 0x5a, 0xce, 0x3d, + 0x9a, 0x7b, 0xb2, 0x54, 0x9d, 0xbc, 0xfb, 0xf5, 0x99, 0x07, 0xbe, 0xfd, 0xfa, 0xcc, 0xc8, 0x75, + 0x68, 0x23, 0x9c, 0xa2, 0xbd, 0x8d, 0xe6, 0x96, 0x6a, 0x37, 0x37, 0x74, 0xbb, 0x45, 0xdd, 0x9b, + 0x80, 0x6b, 0x7c, 0xa8, 0xbb, 0x4c, 0x72, 0x19, 0xcd, 0xba, 0xbc, 0xb1, 0x46, 0x61, 0xb4, 0x3a, + 0xae, 0xde, 0xf2, 0x51, 0x46, 0xab, 0x65, 0x81, 0x32, 0xbb, 0x11, 0xa3, 0x93, 0x3e, 0x09, 0xed, + 0x77, 0x73, 0xe8, 0xc1, 0x25, 0xcf, 0x71, 0xad, 0xf6, 0x3a, 0x75, 0x6d, 0xa3, 0xb1, 0xe4, 0xd9, + 0x36, 0x90, 0xea, 0xae, 0xee, 0x7a, 0xce, 0xbd, 0xad, 0xc3, 0x6f, 0xa0, 0xd1, 0x5d, 0xdd, 0xf4, + 0x68, 0x39, 0x0f, 0x2c, 0x13, 0xe7, 0x9f, 0xae, 0xa4, 0xba, 0x4d, 0x25, 0x98, 0xd8, 0xca, 0x6b, + 0x9e, 0x0e, 0xa3, 0xe9, 0xf6, 0xaa, 0x73, 0x02, 0x70, 0x52, 0x68, 0xbd, 0xc5, 0x90, 0x88, 0x0f, + 0xa8, 0x7d, 0x9a, 0x43, 0x8f, 0xa4, 0x5a, 0xb6, 0x66, 0x38, 0x2e, 0x6e, 0xa3, 0x51, 0xc3, 0xa5, + 0x6d, 0x07, 0xcc, 0x2b, 0x80, 0xee, 0xab, 0x95, 0x4c, 0x2e, 0x5b, 0x49, 0x05, 0xaf, 0x4e, 0x09, + 0xbb, 0x46, 0xaf, 0x31, 0x78, 0xe2, 0x6b, 0xd1, 0x7e, 0x27, 0x87, 0xb0, 0x2c, 0xe3, 0x8f, 0xee, + 0x7d, 0x8c, 0xd1, 0xeb, 0xfb, 0x19, 0xa3, 0xe3, 0x02, 0x70, 0xc2, 0x57, 0xa7, 0x0c, 0xd1, 0xc7, + 0x39, 0x74, 0xb2, 0xdf, 0x22, 0x3e, 0x36, 0x5b, 0xea, 0xd8, 0x2c, 0xee, 0x63, 0x6c, 0x7c, 0xd4, + 0x94, 0x41, 0xf9, 0xb3, 0x3c, 0x2a, 0x2d, 0xeb, 0xb4, 0x6d, 0x75, 0xea, 0x30, 0x16, 0x6f, 0xa0, + 0x62, 0x1b, 0xe4, 0x9b, 0xba, 0xab, 0xf3, 0xf1, 0x98, 0x38, 0xff, 0xe4, 0x80, 0xce, 0xee, 0x9e, + 0xab, 0xdc, 0xd8, 0xbc, 0x4d, 0x1b, 0x2e, 0xe8, 0xd1, 0xab, 0x58, 0xe0, 0xa3, 0xa8, 0x8d, 0x84, + 0x68, 0xf8, 0x5d, 0x34, 0xe2, 0x74, 0x69, 0x43, 0x0c, 0xe1, 0x0b, 0x19, 0xbb, 0x13, 0x5a, 0x58, + 0x07, 0x8c, 0x68, 0x8e, 0xd8, 0x17, 0xe1, 0xb8, 0x30, 0x5e, 0x63, 0x0e, 0x9f, 0xfc, 0x72, 0x81, + 0x6b, 0xb8, 0x3c, 0xb4, 0x06, 0xdf, 0x85, 0xa6, 0x85, 0x8e, 0x31, 0xff, 0x9b, 0x08, 0x74, 0xed, + 0x1f, 0x73, 0x68, 0x2a, 0xe4, 0xe5, 0x33, 0xf5, 0x4e, 0xdf, 0x98, 0x2d, 0x0c, 0x18, 0x33, 0x29, + 0xd2, 0x55, 0x98, 0x38, 0x1f, 0xba, 0x59, 0xa1, 0xac, 0x18, 0xb4, 0x48, 0x03, 0xf7, 0x4e, 0xe0, + 0x08, 0x79, 0xee, 0x08, 0x17, 0x86, 0xed, 0x57, 0xca, 0xfc, 0xff, 0x9b, 0xdc, 0x9f, 0xba, 0x3f, + 0x92, 0x45, 0x87, 0x9a, 0x30, 0x83, 0x96, 0x2d, 0xfa, 0x93, 0x75, 0xb6, 0xd6, 0xf4, 0x4d, 0x6a, + 0xd6, 0x05, 0x46, 0x75, 0x92, 0x75, 0x2c, 0xf8, 0x22, 0x21, 0x36, 0x7e, 0x0b, 0x15, 0xc1, 0x82, + 0xae, 0x09, 0xa1, 0x55, 0x78, 0xc5, 0xd9, 0xc1, 0xbe, 0x56, 0xb3, 0x9a, 0x1b, 0x42, 0x80, 0xbb, + 0x41, 0x38, 0x6a, 0x41, 0x2b, 0x09, 0x01, 0xb5, 0x4f, 0xf2, 0x68, 0x26, 0x36, 0xa5, 0xf8, 0x16, + 0x3a, 0xd9, 0xf0, 0xc3, 0xc4, 0x75, 0xaf, 0x0d, 0x0a, 0xea, 0x8d, 0x6d, 0xda, 0xf4, 0x4c, 0xda, + 0x14, 0x61, 0xf7, 0xb4, 0xc0, 0x3b, 0xb9, 0x94, 0xc8, 0x45, 0x52, 0xa4, 0xf1, 0x2b, 0x08, 0x77, + 0x78, 0xd3, 0xba, 0xe1, 0x38, 0x21, 0x66, 0x9e, 0x63, 0xce, 0x0b, 0x4c, 0x7c, 0xbd, 0x8f, 0x83, + 0x24, 0x48, 0x31, 0x1b, 0x9b, 0xd4, 0x31, 0x6c, 0xda, 0x8c, 0xdb, 0x58, 0x50, 0x6d, 0x5c, 0x4e, + 0xe4, 0x22, 0x29, 0xd2, 0xda, 0x9f, 0xe7, 0x11, 0x5a, 0xa6, 0x5d, 0xd3, 0xea, 0xb5, 0xa1, 0x07, + 0x87, 0xb8, 0xce, 0xdf, 0x53, 0xd6, 0xf9, 0x8b, 0x59, 0xbd, 0x35, 0x34, 0x31, 0x75, 0xa1, 0xb7, + 0x62, 0x0b, 0xfd, 0xa5, 0xe1, 0x55, 0x0c, 0x5e, 0xe9, 0xff, 0x94, 0x43, 0xd3, 0x11, 0xf3, 0x51, + 0x2c, 0xf5, 0x77, 0xd5, 0xa5, 0xfe, 0xfc, 0xd0, 0x3d, 0x4b, 0x59, 0xeb, 0x9f, 0x17, 0x10, 0x8e, + 0x98, 0x88, 0x65, 0x9a, 0x9b, 0x7a, 0x63, 0xe7, 0x3e, 0x12, 0xe0, 0x1f, 0x43, 0xe6, 0xf4, 0xba, + 0x4d, 0x56, 0x04, 0x2d, 0x76, 0x3a, 0x96, 0xcb, 0x0b, 0x98, 0xc0, 0xcc, 0x5f, 0x19, 0xda, 0xcc, + 0xc0, 0x82, 0xca, 0xcd, 0x3e, 0xec, 0x95, 0x8e, 0x6b, 0xf7, 0xa2, 0xd5, 0xd3, 0xcf, 0x40, 0x12, + 0x0c, 0xc2, 0x1f, 0x20, 0x64, 0x0b, 0xcc, 0x0d, 0x4b, 0xf8, 0x47, 0x56, 0x17, 0x0c, 0x8c, 0x5a, + 0xb2, 0x3a, 0x5b, 0x46, 0x2b, 0xf2, 0x76, 0x12, 0x02, 0x13, 0x49, 0xc9, 0xfc, 0x0a, 0x3a, 0x95, + 0x62, 0x3d, 0x9e, 0x45, 0x85, 0x1d, 0xda, 0xf3, 0x87, 0x95, 0xb0, 0x7f, 0xe2, 0x39, 0xb9, 0x90, + 0x28, 0x89, 0x2a, 0xe0, 0x62, 0xfe, 0x42, 0x4e, 0xfb, 0x7c, 0x54, 0x76, 0x36, 0x1e, 0x87, 0x9f, + 0x44, 0x45, 0x1b, 0x5a, 0x8c, 0x86, 0xee, 0x88, 0x00, 0xc5, 0x23, 0x29, 0x11, 0x6d, 0x24, 0xa4, + 0x2a, 0x11, 0x3b, 0x7f, 0x44, 0x11, 0xbb, 0x70, 0xc0, 0x11, 0x1b, 0x5b, 0xd0, 0x09, 0x97, 0xd5, + 0xd9, 0xad, 0x5e, 0x79, 0x84, 0x83, 0x2f, 0xee, 0x63, 0x65, 0xfb, 0x40, 0x91, 0xc2, 0xa0, 0x85, + 0x84, 0x4a, 0xf0, 0x22, 0x9a, 0x69, 0x1b, 0x1d, 0x42, 0xf5, 0x66, 0xaf, 0x4e, 0x1b, 0x56, 0xa7, + 0xe9, 0x94, 0x47, 0xf9, 0x30, 0x9f, 0x12, 0x42, 0x33, 0xeb, 0x2a, 0x99, 0xc4, 0xf9, 0xf1, 0x1a, + 0x9a, 0xb3, 0xe9, 0xae, 0xc1, 0xcc, 0xb8, 0x0a, 0xcb, 0xd9, 0xb2, 0x7b, 0x6b, 0x46, 0xdb, 0x70, + 0xcb, 0x63, 0x7e, 0x19, 0x0f, 0x18, 0x73, 0x24, 0x81, 0x4e, 0x12, 0xa5, 0xf0, 0x13, 0x68, 0xac, + 0xab, 0x7b, 0x0e, 0xc4, 0xfa, 0x71, 0x90, 0x2f, 0x46, 0x81, 0xa9, 0xc6, 0x5b, 0x89, 0xa0, 0x42, + 0xd9, 0x2c, 0x7b, 0x79, 0xf1, 0x20, 0xbc, 0x7c, 0x3a, 0xdd, 0xc3, 0xb5, 0xef, 0xf2, 0x68, 0x36, + 0x1e, 0x34, 0x59, 0xce, 0xb3, 0x36, 0x1d, 0x6a, 0xef, 0xd2, 0xe6, 0x15, 0x7f, 0x7f, 0x04, 0xf0, + 0xdc, 0x4d, 0x0b, 0xd1, 0xaa, 0xbd, 0xd1, 0xc7, 0x41, 0x12, 0xa4, 0xf0, 0xd3, 0x92, 0xa3, 0xfb, + 0x59, 0x33, 0x9c, 0xb6, 0x04, 0x67, 0x87, 0x69, 0x13, 0x2b, 0x3f, 0x20, 0x8a, 0xd4, 0x18, 0x4e, + 0xdb, 0x4d, 0x95, 0x4c, 0xe2, 0xfc, 0xf8, 0x0a, 0x3a, 0xa6, 0xef, 0xea, 0x86, 0xa9, 0x6f, 0x9a, + 0x34, 0x04, 0x19, 0xe1, 0x20, 0x0f, 0x0a, 0x90, 0x63, 0x8b, 0x71, 0x06, 0xd2, 0x2f, 0x83, 0xd7, + 0xd1, 0x71, 0xaf, 0xd3, 0x0f, 0xe5, 0xbb, 0xd1, 0x43, 0x02, 0xea, 0xf8, 0xcd, 0x7e, 0x16, 0x92, + 0x24, 0xa7, 0xfd, 0x73, 0x4e, 0x8e, 0xcf, 0x81, 0xcb, 0xe2, 0x8b, 0x68, 0xc4, 0xed, 0x75, 0x83, + 0xf8, 0xfc, 0x44, 0x10, 0x9f, 0x37, 0xa0, 0xed, 0x7b, 0x5e, 0x09, 0xc4, 0x25, 0x18, 0x85, 0x70, + 0x19, 0xfc, 0x11, 0x9a, 0x62, 0x53, 0x69, 0x74, 0x5a, 0xfe, 0xa8, 0x88, 0xf8, 0xb0, 0x3a, 0x84, + 0xbb, 0x84, 0x18, 0x52, 0x9e, 0x39, 0x06, 0x86, 0x4c, 0x29, 0x44, 0xa2, 0xea, 0x83, 0xdd, 0xef, + 0xd4, 0xca, 0x5e, 0xd7, 0xb2, 0xdd, 0x1b, 0x5d, 0x3f, 0x46, 0x83, 0x97, 0x53, 0xde, 0xc0, 0xfb, + 0x23, 0x79, 0xb9, 0xcf, 0x46, 0x04, 0x15, 0x3f, 0x8e, 0x46, 0xe9, 0x9e, 0xde, 0x70, 0xb9, 0xc5, + 0xc5, 0x28, 0xa3, 0xad, 0xb0, 0x46, 0xe2, 0xd3, 0xb4, 0xbf, 0x80, 0x0d, 0xd4, 0x6a, 0xfd, 0x8a, + 0x6d, 0x79, 0xdd, 0xa0, 0xf3, 0x81, 0x9e, 0x5f, 0x46, 0x23, 0x36, 0x94, 0x3e, 0x62, 0xd4, 0x1e, + 0x0f, 0x46, 0x8d, 0x40, 0x1b, 0x8c, 0xda, 0xf1, 0x98, 0x94, 0x3f, 0x64, 0x4c, 0x00, 0xb2, 0xf0, + 0x98, 0xad, 0x77, 0x5a, 0x34, 0xc8, 0x6f, 0xcf, 0x65, 0x1c, 0xab, 0x6b, 0xcb, 0x84, 0x89, 0x47, + 0x1d, 0xe3, 0x9f, 0x50, 0x57, 0xf8, 0xa8, 0xda, 0x1f, 0xe4, 0xd0, 0xcc, 0xd5, 0x8d, 0x8d, 0xda, + 0xb5, 0x4e, 0x0b, 0x76, 0x8b, 0x4e, 0x4d, 0x77, 0xb7, 0x59, 0x0a, 0xee, 0xc2, 0x7f, 0xe3, 0x29, + 0x98, 0xd1, 0x08, 0xa7, 0xe0, 0x6d, 0x34, 0xce, 0xd6, 0x23, 0xed, 0x34, 0x87, 0x2c, 0xad, 0x84, + 0xba, 0xaa, 0x0f, 0x52, 0x9d, 0x11, 0x3a, 0xc6, 0x45, 0x03, 0x09, 0xe0, 0xb5, 0x5f, 0x45, 0x73, + 0x92, 0x79, 0x6c, 0xbc, 0xf8, 0x9e, 0x15, 0x37, 0xd0, 0x28, 0xb3, 0x24, 0xd8, 0x91, 0x66, 0xdd, + 0x60, 0xc5, 0xba, 0x1c, 0x4d, 0x28, 0xfb, 0x82, 0x12, 0x85, 0x63, 0x6b, 0xff, 0x91, 0x47, 0xa7, + 0xae, 0x5a, 0xb6, 0xf1, 0xa1, 0xd5, 0x71, 0x75, 0x13, 0xf2, 0xc7, 0xa2, 0xe7, 0x5a, 0x4e, 0x43, + 0x37, 0xa9, 0x7d, 0x88, 0x45, 0xab, 0xa9, 0x14, 0xad, 0xaf, 0x64, 0xed, 0x59, 0xb2, 0xbd, 0xa9, + 0x15, 0xac, 0x1b, 0xab, 0x60, 0xd7, 0x0e, 0x48, 0xdf, 0xe0, 0x72, 0xf6, 0x07, 0x39, 0xf4, 0x50, + 0x8a, 0xe4, 0x51, 0xd4, 0xb6, 0x3b, 0x6a, 0x6d, 0xbb, 0x7a, 0x30, 0x7d, 0x4e, 0x29, 0x74, 0x7f, + 0x98, 0x4f, 0xed, 0x2b, 0x2f, 0xad, 0x3e, 0x80, 0x5a, 0x83, 0x7d, 0x11, 0xba, 0x25, 0xfa, 0xba, + 0x94, 0xd1, 0x9e, 0xba, 0xb7, 0x19, 0x1c, 0xf5, 0x00, 0x08, 0x85, 0x6d, 0x61, 0x83, 0x4a, 0xd5, + 0x86, 0x00, 0x27, 0xa1, 0x1a, 0x7c, 0x0e, 0x4d, 0xf0, 0xea, 0x41, 0xc9, 0x73, 0x33, 0xec, 0x5c, + 0x68, 0x3d, 0x6a, 0x26, 0x32, 0x0f, 0x7e, 0x16, 0x44, 0xf4, 0xbd, 0x58, 0x96, 0x0b, 0x8f, 0x93, + 0xd6, 0x23, 0x12, 0x91, 0xf9, 0x20, 0xe4, 0x4f, 0x37, 0xba, 0x9e, 0x74, 0xd2, 0x28, 0xca, 0xa9, + 0xac, 0x5d, 0x4c, 0x3a, 0xb4, 0xac, 0x62, 0x50, 0x3d, 0x0d, 0x14, 0xa9, 0x8d, 0xc4, 0xd4, 0x69, + 0x7f, 0x5b, 0x40, 0x8f, 0x0c, 0xf4, 0x51, 0xbc, 0x3a, 0xa0, 0x7a, 0x38, 0x99, 0xa1, 0x72, 0x68, + 0xa2, 0x29, 0x53, 0x77, 0x5c, 0x3e, 0xdc, 0x1b, 0x46, 0x3b, 0xc8, 0x6e, 0xbf, 0x70, 0x9f, 0x8e, + 0xcb, 0x44, 0xfc, 0x14, 0xb6, 0x26, 0xa3, 0x10, 0x15, 0x94, 0x55, 0x1c, 0x62, 0xe7, 0x9f, 0x56, + 0x71, 0x2c, 0xa9, 0x64, 0x12, 0xe7, 0x67, 0x10, 0x62, 0x63, 0x1e, 0xab, 0x37, 0x42, 0x88, 0x65, + 0x95, 0x4c, 0xe2, 0xfc, 0x50, 0xf5, 0x9d, 0x11, 0xa8, 0xea, 0xf0, 0x4b, 0xa7, 0xc7, 0x7e, 0xdd, + 0xf1, 0x38, 0xc0, 0x9d, 0x59, 0x1a, 0xcc, 0x4a, 0xee, 0x85, 0xa5, 0xad, 0xa3, 0xa9, 0xab, 0x96, + 0xe3, 0xd6, 0x58, 0x4a, 0x66, 0x79, 0x0b, 0x3f, 0x82, 0x0a, 0xe0, 0x9c, 0x62, 0x27, 0x32, 0x21, + 0xcc, 0x2e, 0x30, 0xe7, 0x65, 0xed, 0x9c, 0xac, 0xef, 0x09, 0xbf, 0x8e, 0xc8, 0xe0, 0x97, 0xac, + 0x5d, 0xbb, 0x82, 0xc6, 0x45, 0x5e, 0x94, 0x81, 0x0a, 0x83, 0x81, 0x0a, 0x09, 0x40, 0x7f, 0x92, + 0x07, 0x24, 0x3f, 0x8d, 0x1c, 0x62, 0x42, 0x78, 0x5b, 0x49, 0x08, 0x17, 0x87, 0x4b, 0xb5, 0xa9, + 0x09, 0xa0, 0x19, 0x4b, 0x00, 0x2f, 0x0c, 0x89, 0x3f, 0x38, 0xe0, 0x7f, 0x91, 0x43, 0xd3, 0x6a, + 0xd2, 0x67, 0x11, 0x85, 0xad, 0x21, 0xa3, 0x41, 0xaf, 0x47, 0x1b, 0xfe, 0x30, 0xa2, 0xd4, 0x23, + 0x12, 0x91, 0xf9, 0x30, 0x0d, 0xc5, 0x98, 0x3b, 0x88, 0x41, 0xa9, 0xa4, 0x18, 0xcd, 0xae, 0x4e, + 0x2a, 0xfe, 0xd5, 0x09, 0x18, 0xea, 0xde, 0x80, 0x35, 0x6f, 0x43, 0x39, 0xd8, 0xa7, 0x86, 0x7b, + 0x96, 0x8c, 0xab, 0xfd, 0x43, 0x0e, 0x4d, 0x08, 0x83, 0x8f, 0x22, 0x23, 0xbd, 0xa5, 0x66, 0xa4, + 0xe7, 0x86, 0xac, 0xa7, 0x92, 0x33, 0xd0, 0x97, 0x51, 0x5f, 0x58, 0x05, 0xc5, 0x0a, 0xbc, 0x6d, + 0x58, 0x4e, 0xf1, 0x02, 0x8f, 0x2d, 0x31, 0xc2, 0x29, 0xf8, 0xb7, 0x72, 0x68, 0xd6, 0x88, 0xd5, + 0x5c, 0x62, 0xa8, 0x5f, 0x1a, 0xce, 0xb4, 0x10, 0x26, 0xba, 0x50, 0x8a, 0x53, 0x48, 0x9f, 0x4a, + 0xcd, 0x43, 0x7d, 0x5c, 0x58, 0x07, 0xeb, 0x5d, 0xb7, 0x3b, 0x64, 0xae, 0x4c, 0xaa, 0x26, 0xab, + 0x45, 0xde, 0x7d, 0xa0, 0x10, 0x0e, 0xad, 0x7d, 0x91, 0x0f, 0x07, 0xac, 0xee, 0xaf, 0x91, 0xb0, + 0xde, 0xcd, 0x1d, 0x44, 0xbd, 0x3b, 0x91, 0x54, 0xeb, 0x42, 0x04, 0x29, 0xb8, 0xe6, 0xb0, 0xe7, + 0x6d, 0x42, 0xc3, 0xc6, 0x5a, 0x3d, 0x8a, 0x53, 0xf0, 0x41, 0x18, 0x24, 0x7e, 0x0f, 0x8d, 0xb2, + 0xdd, 0x04, 0x5b, 0xe2, 0x85, 0xe1, 0x43, 0x08, 0x1b, 0xaf, 0xc8, 0xc3, 0xd8, 0x17, 0x78, 0x18, + 0xc7, 0x85, 0x32, 0x7d, 0x4a, 0x89, 0x03, 0xf8, 0x36, 0x9a, 0x34, 0x2d, 0xbd, 0x59, 0xd5, 0x4d, + 0x1d, 0x8a, 0x91, 0xe0, 0xec, 0xfe, 0x17, 0x07, 0x47, 0xc4, 0x35, 0x49, 0x42, 0xc4, 0x93, 0xf0, + 0x52, 0x4f, 0xa6, 0x11, 0x05, 0x5b, 0xd3, 0x11, 0x8a, 0x7a, 0x8f, 0xcf, 0xa0, 0x51, 0xe6, 0xc2, + 0xfe, 0xce, 0xa0, 0x54, 0x2d, 0x31, 0x5b, 0x99, 0x67, 0x83, 0xad, 0xbc, 0x1d, 0x9f, 0x47, 0xc8, + 0xa1, 0x0d, 0x9b, 0xba, 0x3c, 0xec, 0xf0, 0xc3, 0xaf, 0x28, 0x00, 0xd7, 0x43, 0x0a, 0x91, 0xb8, + 0xb4, 0xdf, 0xcb, 0xa3, 0xc2, 0x2b, 0xd6, 0xe6, 0x21, 0x06, 0xf9, 0x37, 0x94, 0x20, 0x9f, 0x75, + 0xfd, 0x83, 0x6d, 0xa9, 0x01, 0xfe, 0xfd, 0x58, 0x80, 0xbf, 0x30, 0x04, 0xf6, 0xe0, 0xe0, 0xfe, + 0x2f, 0x05, 0x34, 0x09, 0x5c, 0x4b, 0x56, 0xa7, 0x69, 0xf0, 0x52, 0xe8, 0x19, 0xe5, 0x90, 0xe0, + 0xd1, 0xd8, 0x21, 0xc1, 0xac, 0xcc, 0x2b, 0x1d, 0x0f, 0xdc, 0x0a, 0x0d, 0xf5, 0x27, 0xe5, 0xb2, + 0xaa, 0x0e, 0x24, 0x07, 0xde, 0xbe, 0x57, 0x42, 0x4c, 0xd5, 0x3c, 0xd8, 0xad, 0xf2, 0x1a, 0xaa, + 0x66, 0x5b, 0x9b, 0x7e, 0x61, 0x56, 0xc8, 0x5e, 0x98, 0x9d, 0x10, 0xb6, 0xf0, 0xe2, 0x2c, 0x44, + 0x22, 0x2a, 0x30, 0xbe, 0x83, 0x30, 0x6b, 0xd8, 0x80, 0xcd, 0xb5, 0xe3, 0xf7, 0x8e, 0xa9, 0x1b, + 0xc9, 0xae, 0x2e, 0x3c, 0xb5, 0x5a, 0xeb, 0x83, 0x23, 0x09, 0x2a, 0xd8, 0x39, 0x86, 0x4d, 0x75, + 0x07, 0xea, 0xd6, 0x51, 0x3e, 0x74, 0xd1, 0x76, 0x9f, 0xb7, 0x12, 0x41, 0xc5, 0x4f, 0xa1, 0xf1, + 0x36, 0xac, 0x13, 0x56, 0x9f, 0x8d, 0x71, 0xc6, 0x70, 0xe7, 0xbd, 0xee, 0x37, 0x93, 0x80, 0xae, + 0xfd, 0x4d, 0x0e, 0x8d, 0xc3, 0x44, 0x1d, 0x45, 0xf2, 0x7b, 0x5d, 0x4d, 0x7e, 0xe7, 0xb3, 0x3b, + 0x68, 0x4a, 0xe2, 0xfb, 0xab, 0x02, 0xef, 0x03, 0x8f, 0xe1, 0xb0, 0xe7, 0xe9, 0xea, 0xb6, 0x6e, + 0x9a, 0xd4, 0x34, 0x9c, 0xb6, 0x28, 0x1d, 0xf9, 0x9e, 0xa7, 0x16, 0x35, 0x13, 0x99, 0x87, 0x89, + 0x34, 0xac, 0x76, 0xd7, 0xa4, 0xc1, 0x0d, 0x43, 0x28, 0xb2, 0x14, 0x35, 0x13, 0x99, 0x07, 0xdf, + 0x40, 0x27, 0xf4, 0x86, 0x6b, 0xec, 0xd2, 0x65, 0xaa, 0x37, 0x4d, 0xa3, 0x43, 0x83, 0xd3, 0xdc, + 0x02, 0x2f, 0x21, 0x1f, 0x04, 0xe1, 0x13, 0x8b, 0x49, 0x0c, 0x24, 0x59, 0x4e, 0x39, 0x4e, 0x1f, + 0x39, 0xc4, 0xe3, 0xf4, 0x67, 0xd0, 0xa4, 0x0e, 0x3b, 0xa3, 0x80, 0xc2, 0xfd, 0xa8, 0x58, 0x9d, + 0x65, 0xa1, 0x77, 0x51, 0x6a, 0x27, 0x0a, 0x97, 0x72, 0x08, 0x3f, 0x76, 0xd0, 0xd7, 0xa6, 0x7f, + 0x5d, 0x40, 0xa5, 0x30, 0xf8, 0x60, 0x0b, 0xa1, 0x46, 0xb0, 0xc0, 0x83, 0x63, 0x9f, 0x4b, 0xd9, + 0x3d, 0x25, 0x0c, 0x12, 0x51, 0x3c, 0x0e, 0x9b, 0x1c, 0x22, 0xa9, 0x80, 0x88, 0x5c, 0x82, 0x00, + 0x62, 0xbb, 0xc3, 0xee, 0xe5, 0xa6, 0x00, 0xbb, 0x54, 0x0f, 0x10, 0x48, 0x04, 0x86, 0x5b, 0xb0, + 0x29, 0x0e, 0x7d, 0x66, 0xd8, 0x88, 0xe4, 0x6f, 0x7e, 0x15, 0x18, 0x12, 0x83, 0x65, 0x61, 0xc1, + 0xf7, 0x2a, 0xb1, 0xc1, 0x0b, 0xc3, 0x82, 0xef, 0x82, 0x44, 0x50, 0xf1, 0x02, 0x74, 0xd5, 0x6b, + 0x34, 0x28, 0x6d, 0xd2, 0xa6, 0xd8, 0xb8, 0x1d, 0x13, 0xac, 0xa5, 0x7a, 0x40, 0x20, 0x11, 0x0f, + 0x03, 0xde, 0xd2, 0x0d, 0x76, 0x13, 0x3c, 0xa6, 0x02, 0xaf, 0xf2, 0x56, 0x22, 0xa8, 0xda, 0xff, + 0xe7, 0xd1, 0x94, 0xe2, 0x7f, 0xf8, 0x37, 0x73, 0xec, 0x20, 0xc1, 0x6d, 0x6c, 0xf3, 0xe6, 0x60, + 0x22, 0xd7, 0xf7, 0xe3, 0xd3, 0x95, 0xf5, 0x08, 0xcf, 0xbf, 0xaa, 0x93, 0xce, 0x25, 0x42, 0x0a, + 0x91, 0xd5, 0xe2, 0x4f, 0xa0, 0xc0, 0xe5, 0xdf, 0x2b, 0x7b, 0x5d, 0x56, 0x39, 0x48, 0x57, 0x88, + 0x57, 0xf6, 0x63, 0x0b, 0xa1, 0x1f, 0x78, 0xb0, 0x53, 0xe6, 0xe7, 0xd1, 0x61, 0xa1, 0xbb, 0x1e, + 0x53, 0x44, 0xfa, 0x54, 0xcf, 0x5f, 0x46, 0xb3, 0xf1, 0x5e, 0x64, 0xba, 0xb2, 0xfb, 0xa3, 0x1c, + 0x2a, 0xa7, 0x19, 0xc2, 0x76, 0xb1, 0x21, 0x50, 0x54, 0x1d, 0xbe, 0x4a, 0x7b, 0x3e, 0xea, 0x0a, + 0x2a, 0x5a, 0x5d, 0x76, 0x8a, 0x21, 0x6e, 0xec, 0x4a, 0xd5, 0xa7, 0x82, 0x55, 0x79, 0x43, 0xb4, + 0x43, 0xee, 0x3d, 0xa1, 0xc0, 0x07, 0x04, 0x12, 0x8a, 0x62, 0x0d, 0x8d, 0x71, 0x7b, 0xfc, 0x2a, + 0xb3, 0x54, 0x45, 0xcc, 0x1f, 0x78, 0x7d, 0x0d, 0xa9, 0xd8, 0xa7, 0x68, 0x7f, 0x0a, 0x85, 0x35, + 0x4b, 0x00, 0xc1, 0xb9, 0xf8, 0x25, 0x96, 0x9a, 0x25, 0x58, 0x61, 0xa3, 0x94, 0x6d, 0xe5, 0x2e, + 0xa9, 0xbc, 0x4c, 0x78, 0xcb, 0xa0, 0x66, 0xb3, 0x2e, 0x5f, 0x37, 0x4a, 0xc2, 0xab, 0x32, 0x91, + 0xa8, 0xbc, 0xec, 0x44, 0xff, 0x0e, 0x1b, 0x70, 0xbe, 0xf4, 0xa4, 0x13, 0xfd, 0xd7, 0x59, 0x23, + 0xf1, 0x69, 0xec, 0xa4, 0x24, 0x38, 0x58, 0x13, 0x4f, 0xec, 0xf8, 0x42, 0x2a, 0x45, 0x27, 0x25, + 0x44, 0x25, 0x93, 0x38, 0x3f, 0xbe, 0x88, 0xa6, 0xd9, 0x5b, 0x3f, 0xcb, 0x73, 0xe5, 0x7b, 0xbd, + 0x82, 0xbf, 0x7c, 0x37, 0x14, 0x0a, 0x89, 0x71, 0xf2, 0xe7, 0x3d, 0xd7, 0xa9, 0x7b, 0xc7, 0xb2, + 0x77, 0x6a, 0x96, 0x69, 0x34, 0x7a, 0x87, 0x58, 0x7f, 0x6e, 0x2a, 0xf5, 0xe7, 0xcb, 0x19, 0xd7, + 0x80, 0x62, 0x65, 0x5a, 0x25, 0xaa, 0xfd, 0x1f, 0x38, 0xa9, 0xc2, 0x29, 0x6f, 0x4a, 0x29, 0x1a, + 0x65, 0x57, 0x2d, 0x41, 0x44, 0xd8, 0x97, 0x05, 0x6c, 0x07, 0x2f, 0x9d, 0xe9, 0x33, 0x58, 0xe2, + 0xa3, 0xb3, 0x7e, 0x6e, 0xd9, 0x56, 0x5b, 0xac, 0xf5, 0xfd, 0x69, 0xa1, 0xd4, 0x8e, 0xfa, 0xb9, + 0x0a, 0xa8, 0x84, 0x63, 0x6b, 0xff, 0x9e, 0x43, 0xc7, 0x14, 0xce, 0xa3, 0x28, 0xa2, 0x74, 0xb5, + 0x88, 0x7a, 0x61, 0x3f, 0x3d, 0x4b, 0x29, 0xa7, 0x7e, 0x3b, 0x1f, 0xeb, 0x17, 0x1b, 0x01, 0x48, + 0xcc, 0x13, 0x5d, 0xab, 0x59, 0x3f, 0xc8, 0x57, 0x5a, 0x7e, 0x59, 0x16, 0x81, 0x12, 0x59, 0x03, + 0xfe, 0x75, 0x18, 0x5e, 0xf6, 0x12, 0xc4, 0xe9, 0xea, 0x0d, 0x5a, 0x3f, 0xc8, 0xb7, 0x06, 0x27, + 0xd8, 0x65, 0xeb, 0xf5, 0x38, 0x34, 0xe9, 0xd7, 0xa6, 0xfd, 0x65, 0x7c, 0x8a, 0x99, 0x93, 0xe1, + 0xd7, 0x50, 0x91, 0x3f, 0xcb, 0x6d, 0x58, 0xa6, 0x88, 0x64, 0xcf, 0xb2, 0xd9, 0xaa, 0x89, 0x36, + 0x88, 0xa2, 0x3f, 0x37, 0x70, 0x07, 0x13, 0x30, 0x92, 0x10, 0x06, 0xaf, 0xa1, 0x91, 0xee, 0xf0, + 0xe7, 0x5c, 0xfc, 0x60, 0x83, 0x1f, 0x6e, 0x71, 0x14, 0xed, 0x47, 0x71, 0xb3, 0x79, 0x69, 0xec, + 0x1c, 0xfc, 0x0c, 0x86, 0x19, 0x38, 0x75, 0x16, 0x6d, 0x34, 0x2e, 0x8e, 0x7b, 0x86, 0xcc, 0xbb, + 0x69, 0x91, 0x24, 0xda, 0xd3, 0x04, 0x8d, 0x81, 0x22, 0xbe, 0x30, 0xb9, 0x41, 0x0d, 0xcf, 0x36, + 0xdc, 0xde, 0xa1, 0x07, 0xd5, 0x2d, 0x25, 0xa8, 0x2e, 0x67, 0xec, 0x60, 0x9f, 0xa5, 0xa9, 0x81, + 0xf5, 0xbf, 0x72, 0xe8, 0x44, 0x1f, 0xf7, 0x51, 0x04, 0x1d, 0xaa, 0x06, 0x9d, 0x97, 0xf7, 0xdb, + 0xc3, 0x94, 0xc0, 0x73, 0x17, 0x25, 0xf4, 0x8f, 0xbb, 0xee, 0x79, 0x84, 0xba, 0xb6, 0xb1, 0x0b, + 0xc5, 0x66, 0x4b, 0x3c, 0x9d, 0x2c, 0x46, 0x73, 0x52, 0x0b, 0x29, 0x44, 0xe2, 0xc2, 0xbf, 0xc6, + 0x9e, 0x35, 0x6e, 0xe9, 0x9e, 0xe9, 0x2e, 0x36, 0x9b, 0x4b, 0x7a, 0x57, 0xdf, 0x34, 0x4c, 0xa8, + 0xf9, 0xc5, 0x1d, 0x7b, 0xa9, 0xba, 0xe2, 0x3f, 0x69, 0x4c, 0xe2, 0x80, 0x15, 0xfc, 0xf3, 0x83, + 0xcf, 0x20, 0x02, 0xe6, 0x1e, 0x49, 0x51, 0x82, 0x7f, 0x03, 0xb2, 0xa0, 0xed, 0x57, 0x67, 0xcd, + 0x65, 0xdb, 0xea, 0x2a, 0x16, 0xf8, 0xa5, 0xd3, 0x15, 0xb0, 0xa0, 0x4c, 0x52, 0x78, 0xb2, 0xd8, + 0x90, 0xaa, 0x08, 0xbb, 0xe8, 0x38, 0xec, 0x73, 0xad, 0x3b, 0x54, 0x1d, 0x81, 0x11, 0xae, 0xbf, + 0xca, 0x5e, 0x8a, 0x2c, 0xf6, 0x93, 0xb3, 0xa8, 0x4e, 0x82, 0x87, 0x8d, 0xc6, 0xf8, 0xae, 0x65, + 0x7a, 0x10, 0x4d, 0xa1, 0x0c, 0x62, 0x9a, 0x58, 0xc4, 0x1d, 0xbf, 0xe5, 0x37, 0x7d, 0xcf, 0xf6, + 0x0f, 0x75, 0x7e, 0x20, 0x14, 0x70, 0xb1, 0x4b, 0x02, 0x76, 0x6a, 0x27, 0xd6, 0x3a, 0xdf, 0x6d, + 0x14, 0xa3, 0xe0, 0x72, 0x35, 0x22, 0x11, 0x99, 0x0f, 0xb7, 0x51, 0x69, 0x5b, 0x5c, 0x18, 0x39, + 0xe5, 0xf1, 0xa1, 0x12, 0xa2, 0x72, 0xe1, 0x14, 0x6d, 0x87, 0x82, 0x66, 0x87, 0x44, 0x1a, 0xd8, + 0xb1, 0x0a, 0xff, 0xb8, 0xb6, 0xcc, 0x5f, 0x40, 0x15, 0xa3, 0x10, 0x74, 0xd5, 0x6f, 0x26, 0x01, + 0x3d, 0x60, 0xbd, 0x56, 0x5b, 0x2a, 0x97, 0xfa, 0x59, 0xa1, 0x99, 0x04, 0x74, 0xdc, 0x45, 0xe3, + 0x0e, 0x5d, 0x33, 0x3a, 0xde, 0x5e, 0x19, 0xf1, 0xa5, 0xbb, 0x92, 0xf5, 0x5e, 0x78, 0x85, 0x4b, + 0xc7, 0x1e, 0xa3, 0x44, 0x1a, 0x05, 0x9d, 0x04, 0x6a, 0xf0, 0x1e, 0x2a, 0xd9, 0x5e, 0x67, 0xd1, + 0xb9, 0xe9, 0x50, 0xbb, 0x3c, 0xc1, 0x75, 0x66, 0x8d, 0xca, 0x24, 0x90, 0x8f, 0x6b, 0x0d, 0x47, + 0x30, 0xe4, 0x20, 0x91, 0x32, 0xfc, 0xfb, 0x39, 0x84, 0x1d, 0xaf, 0x0b, 0x9b, 0x57, 0xb6, 0x63, + 0xd1, 0x4d, 0xfe, 0x1e, 0xc6, 0x29, 0x4f, 0x72, 0x1b, 0x6a, 0x99, 0xef, 0xc3, 0xe3, 0x40, 0x71, + 0x63, 0xc2, 0xf3, 0xb5, 0x7e, 0x56, 0x92, 0x60, 0x07, 0x9b, 0x8a, 0x2d, 0x87, 0xff, 0xbb, 0x3c, + 0x35, 0xd4, 0x54, 0x24, 0xbf, 0x0b, 0x8a, 0xa6, 0x42, 0xd0, 0x49, 0xa0, 0x86, 0xbd, 0xbd, 0xb6, + 0xa9, 0xde, 0xbc, 0xd1, 0x31, 0x7b, 0xc4, 0xb2, 0xdc, 0x55, 0x88, 0x5d, 0x4e, 0xcf, 0x81, 0x68, + 0x58, 0x9e, 0xe6, 0x6e, 0x13, 0xbe, 0xbd, 0x26, 0x89, 0x5c, 0x24, 0x45, 0x9a, 0xbf, 0xbd, 0x16, + 0xd7, 0xb8, 0x87, 0xfb, 0x1b, 0x8b, 0xfd, 0xbd, 0xbd, 0x8e, 0x4c, 0x3c, 0xb4, 0xb7, 0xd7, 0x92, + 0x8a, 0x7b, 0xbf, 0xbd, 0x8e, 0x98, 0x7f, 0x0a, 0xde, 0x5e, 0x47, 0xc6, 0xa6, 0xe4, 0xd3, 0x1f, + 0x2b, 0x3d, 0xfa, 0x19, 0x7c, 0xe0, 0xab, 0x7d, 0x9d, 0x43, 0xb3, 0x71, 0x07, 0x50, 0xde, 0x7e, + 0xe6, 0xee, 0xf9, 0xf6, 0xb3, 0x86, 0xe6, 0xb6, 0x3c, 0xd3, 0xec, 0xf1, 0xde, 0x48, 0x6f, 0x29, + 0xfc, 0x63, 0xe2, 0x87, 0x85, 0xe4, 0xdc, 0x6a, 0x02, 0x0f, 0x49, 0x94, 0x4c, 0x79, 0xc7, 0x5a, + 0x18, 0xe6, 0x1d, 0xab, 0xf6, 0x30, 0x9a, 0x17, 0xb8, 0xec, 0x73, 0xc9, 0xea, 0xb8, 0xec, 0x29, + 0x24, 0xb5, 0x97, 0xbd, 0x76, 0xbb, 0xa7, 0x5d, 0x86, 0xf9, 0x57, 0x1e, 0xdd, 0xfa, 0x7d, 0xf7, + 0xdf, 0x01, 0x8b, 0xd7, 0x10, 0x52, 0xdf, 0xfd, 0x76, 0x12, 0x72, 0x68, 0xdf, 0xe4, 0xd0, 0xa9, + 0x94, 0x67, 0x98, 0xf8, 0x36, 0x9a, 0x6e, 0xeb, 0x7b, 0xd2, 0x3b, 0x53, 0xb1, 0x42, 0xb2, 0xee, + 0x5d, 0xf8, 0x09, 0xc9, 0xba, 0x82, 0x44, 0x62, 0xc8, 0x3c, 0x7c, 0xe9, 0x7b, 0x75, 0xcf, 0x6e, + 0xd1, 0x21, 0x77, 0x48, 0xdc, 0xfb, 0xd6, 0x05, 0x06, 0x09, 0xd1, 0xd8, 0x63, 0xce, 0x72, 0x5a, + 0x2e, 0x83, 0xaa, 0x44, 0x7e, 0xce, 0xf9, 0x58, 0xec, 0x39, 0xe7, 0xb1, 0x3e, 0xb9, 0x23, 0x7a, + 0xcc, 0xf9, 0x65, 0x0e, 0x9d, 0x4c, 0xce, 0xf9, 0xf8, 0x97, 0x14, 0x8b, 0xcf, 0xc4, 0x2c, 0x9e, + 0x89, 0x49, 0x09, 0x7b, 0xb7, 0xd1, 0xb4, 0xa8, 0x0c, 0x04, 0xcc, 0x7d, 0xfc, 0xe6, 0x70, 0x37, + 0x2c, 0x3b, 0x82, 0x1c, 0xc7, 0xe7, 0x51, 0x6d, 0x23, 0x31, 0x5c, 0xed, 0x0f, 0xf3, 0x68, 0x94, + 0xbf, 0x71, 0x3a, 0xc4, 0x84, 0xf4, 0xa6, 0x92, 0x90, 0xb2, 0xde, 0x82, 0x72, 0xeb, 0x52, 0x73, + 0xd1, 0x66, 0x2c, 0x17, 0x5d, 0x1c, 0x0a, 0x7d, 0x70, 0x1a, 0x7a, 0x1e, 0x95, 0x42, 0x23, 0xb2, + 0x85, 0x2a, 0x96, 0xf4, 0x27, 0x24, 0x15, 0x19, 0x03, 0xdd, 0xae, 0x12, 0xf0, 0x87, 0xf9, 0x71, + 0xac, 0xa4, 0xbb, 0x12, 0x44, 0x7a, 0xff, 0xa4, 0x3e, 0x7a, 0xa5, 0xd8, 0x9f, 0x00, 0x20, 0x48, + 0xf9, 0xbf, 0x30, 0x0e, 0x4f, 0x26, 0x0a, 0xdc, 0x7b, 0x4f, 0x0a, 0x99, 0xe9, 0x0d, 0x85, 0x4a, + 0x62, 0xdc, 0xf3, 0x97, 0xd0, 0x94, 0xa2, 0x2c, 0xd3, 0x81, 0xfa, 0x37, 0x79, 0x34, 0x59, 0x07, + 0x49, 0xbd, 0x45, 0x97, 0x4c, 0xfd, 0x50, 0xdf, 0x77, 0xc1, 0x1e, 0xa7, 0x6b, 0x5b, 0x7e, 0x64, + 0xa5, 0xc1, 0x29, 0x76, 0x74, 0x80, 0x12, 0x91, 0x88, 0xcc, 0x87, 0x3f, 0x82, 0xad, 0xaf, 0x6e, + 0xeb, 0x00, 0x03, 0xc5, 0x85, 0x78, 0xd9, 0xf1, 0x6a, 0xd6, 0x89, 0x91, 0x7a, 0x58, 0xa9, 0x85, + 0x68, 0xfe, 0xdc, 0x44, 0xfb, 0xe8, 0x90, 0x40, 0x24, 0x95, 0xf3, 0x2f, 0xa2, 0x99, 0x98, 0x48, + 0xa6, 0x11, 0xfe, 0x57, 0x48, 0xc1, 0xb2, 0xfe, 0xa3, 0x28, 0xac, 0xde, 0x57, 0x0b, 0xab, 0x4b, + 0xfb, 0x18, 0xae, 0x94, 0xd2, 0xea, 0xef, 0x72, 0x68, 0x2e, 0xe9, 0x3d, 0x2e, 0x7b, 0x74, 0xb5, + 0x63, 0x88, 0x07, 0x44, 0xd2, 0xa3, 0xab, 0x57, 0xa1, 0x8d, 0x70, 0x4a, 0xf8, 0xd3, 0xb7, 0x7c, + 0xea, 0x4f, 0xdf, 0xce, 0x23, 0x04, 0xa6, 0x05, 0x57, 0x11, 0x05, 0xf5, 0xe9, 0x4a, 0xf4, 0xff, + 0x01, 0x20, 0x12, 0x17, 0x7f, 0x66, 0x17, 0xd9, 0x23, 0xee, 0x2f, 0xa2, 0xf7, 0x6f, 0x92, 0xa9, + 0x32, 0x9f, 0xf6, 0xf7, 0x39, 0xf4, 0xd8, 0x3d, 0xf7, 0x51, 0xb8, 0xaa, 0xa4, 0x95, 0x4a, 0x2c, + 0xad, 0x9c, 0x4e, 0x07, 0x38, 0xc2, 0x9f, 0x38, 0x7c, 0x9a, 0x47, 0x78, 0x63, 0xdb, 0xb0, 0x9b, + 0xe0, 0xac, 0x6e, 0x2f, 0xb8, 0xb0, 0x39, 0xdc, 0xf5, 0xdc, 0xa4, 0x4e, 0xc3, 0x36, 0xf8, 0x20, + 0xc5, 0xd7, 0xf3, 0x72, 0x44, 0x22, 0x32, 0x1f, 0xec, 0x67, 0x8a, 0xc2, 0x9b, 0x83, 0xd5, 0x9c, + 0xb5, 0xee, 0x8f, 0x3c, 0x20, 0x5a, 0x04, 0xa2, 0x01, 0xe2, 0x79, 0x00, 0xae, 0x7d, 0x06, 0x65, + 0x42, 0xff, 0x80, 0x2c, 0xfb, 0xaf, 0x90, 0x0e, 0x6b, 0x50, 0x1e, 0x46, 0x23, 0x1c, 0x95, 0x8d, + 0xc6, 0xa4, 0x7f, 0x2e, 0xcd, 0x34, 0x12, 0xde, 0xaa, 0x7d, 0x97, 0x43, 0xf3, 0xc9, 0x26, 0x1d, + 0x45, 0x54, 0xb8, 0xad, 0x46, 0x85, 0xac, 0x7b, 0xfb, 0x64, 0xc3, 0x53, 0xe2, 0xc3, 0x37, 0x89, + 0x83, 0x7f, 0x14, 0xbd, 0xdc, 0x52, 0x7b, 0xb9, 0xb8, 0xef, 0x5e, 0x26, 0xf7, 0xb0, 0xfa, 0xd4, + 0xdd, 0xff, 0x39, 0xfd, 0xc0, 0x57, 0xf0, 0xf7, 0x9f, 0xf0, 0xf7, 0xf1, 0xb7, 0xa7, 0x73, 0x77, + 0xe1, 0xef, 0x2b, 0xf8, 0xfb, 0x6f, 0xf8, 0xfb, 0xec, 0x7f, 0x4f, 0x3f, 0xf0, 0xe6, 0xb8, 0xc0, + 0xfc, 0x49, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x16, 0x2d, 0x53, 0x56, 0x46, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/register.go index eabc5f3414d..3ca70ed60f9 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/register.go @@ -29,14 +29,13 @@ const GroupName = "extensions" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1beta1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Deployment{}, &DeploymentList{}, @@ -68,4 +67,5 @@ func addKnownTypes(scheme *runtime.Scheme) { ) // Add the watch version that applies versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/types.generated.go index 300270a32b9..1caf93dbed5 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/types.generated.go @@ -144,25 +144,25 @@ func (x *ScaleSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym6 := z.DecBinary() + _ = yym6 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct7 := r.ContainerType() + if yyct7 == codecSelferValueTypeMap1234 { + yyl7 := r.ReadMapStart() + if yyl7 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl7, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct7 == codecSelferValueTypeArray1234 { + yyl7 := r.ReadArrayStart() + if yyl7 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl7, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -174,12 +174,12 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys8Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys8Slc + var yyhl8 bool = l >= 0 + for yyj8 := 0; ; yyj8++ { + if yyhl8 { + if yyj8 >= l { break } } else { @@ -188,10 +188,10 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys8Slc = r.DecodeBytes(yys8Slc, true, true) + yys8 := string(yys8Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys8 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -199,9 +199,9 @@ func (x *ScaleSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Replicas = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys8) + } // end switch yys8 + } // end for yyj8 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -209,16 +209,16 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj10 int + var yyb10 bool + var yyhl10 bool = l >= 0 + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb5 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb5 { + if yyb10 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -229,17 +229,17 @@ func (x *ScaleSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Replicas = int32(r.DecodeInt(32)) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj10++ + if yyhl10 { + yyb10 = yyj10 > l } else { - yyb5 = r.CheckBreak() + yyb10 = r.CheckBreak() } - if yyb5 { + if yyb10 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj10-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -251,35 +251,35 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym12 := z.EncBinary() + _ = yym12 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = len(x.Selector) != 0 - yyq2[2] = x.TargetSelector != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep13 := !z.EncBinary() + yy2arr13 := z.EncBasicHandle().StructToArray + var yyq13 [3]bool + _, _, _ = yysep13, yyq13, yy2arr13 + const yyr13 bool = false + yyq13[1] = len(x.Selector) != 0 + yyq13[2] = x.TargetSelector != "" + var yynn13 int + if yyr13 || yy2arr13 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn13 = 1 + for _, b := range yyq13 { if b { - yynn2++ + yynn13++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn13) + yynn13 = 0 } - if yyr2 || yy2arr2 { + if yyr13 || yy2arr13 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym15 := z.EncBinary() + _ = yym15 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -288,21 +288,21 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym16 := z.EncBinary() + _ = yym16 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2 || yy2arr2 { + if yyr13 || yy2arr13 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq13[1] { if x.Selector == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym18 := z.EncBinary() + _ = yym18 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -312,15 +312,15 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq13[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym19 := z.EncBinary() + _ = yym19 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -328,11 +328,11 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr13 || yy2arr13 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq13[2] { + yym21 := z.EncBinary() + _ = yym21 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetSelector)) @@ -341,19 +341,19 @@ func (x *ScaleStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq13[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym22 := z.EncBinary() + _ = yym22 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetSelector)) } } } - if yyr2 || yy2arr2 { + if yyr13 || yy2arr13 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -366,25 +366,25 @@ func (x *ScaleStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym23 := z.DecBinary() + _ = yym23 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct24 := r.ContainerType() + if yyct24 == codecSelferValueTypeMap1234 { + yyl24 := r.ReadMapStart() + if yyl24 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl24, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct24 == codecSelferValueTypeArray1234 { + yyl24 := r.ReadArrayStart() + if yyl24 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl24, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -396,12 +396,12 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys25Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys25Slc + var yyhl25 bool = l >= 0 + for yyj25 := 0; ; yyj25++ { + if yyhl25 { + if yyj25 >= l { break } } else { @@ -410,10 +410,10 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys25Slc = r.DecodeBytes(yys25Slc, true, true) + yys25 := string(yys25Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys25 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -424,12 +424,12 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv5 := &x.Selector - yym6 := z.DecBinary() - _ = yym6 + yyv27 := &x.Selector + yym28 := z.DecBinary() + _ = yym28 if false { } else { - z.F.DecMapStringStringX(yyv5, false, d) + z.F.DecMapStringStringX(yyv27, false, d) } } case "targetSelector": @@ -439,9 +439,9 @@ func (x *ScaleStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TargetSelector = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys25) + } // end switch yys25 + } // end for yyj25 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -449,16 +449,16 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj30 int + var yyb30 bool + var yyhl30 bool = l >= 0 + yyj30++ + if yyhl30 { + yyb30 = yyj30 > l } else { - yyb8 = r.CheckBreak() + yyb30 = r.CheckBreak() } - if yyb8 { + if yyb30 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -468,13 +468,13 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj30++ + if yyhl30 { + yyb30 = yyj30 > l } else { - yyb8 = r.CheckBreak() + yyb30 = r.CheckBreak() } - if yyb8 { + if yyb30 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -482,21 +482,21 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv10 := &x.Selector - yym11 := z.DecBinary() - _ = yym11 + yyv32 := &x.Selector + yym33 := z.DecBinary() + _ = yym33 if false { } else { - z.F.DecMapStringStringX(yyv10, false, d) + z.F.DecMapStringStringX(yyv32, false, d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj30++ + if yyhl30 { + yyb30 = yyj30 > l } else { - yyb8 = r.CheckBreak() + yyb30 = r.CheckBreak() } - if yyb8 { + if yyb30 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -507,17 +507,17 @@ func (x *ScaleStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TargetSelector = string(r.DecodeString()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj30++ + if yyhl30 { + yyb30 = yyj30 > l } else { - yyb8 = r.CheckBreak() + yyb30 = r.CheckBreak() } - if yyb8 { + if yyb30 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj30-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -529,90 +529,39 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym35 := z.EncBinary() + _ = yym35 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep36 := !z.EncBinary() + yy2arr36 := z.EncBasicHandle().StructToArray + var yyq36 [5]bool + _, _, _ = yysep36, yyq36, yy2arr36 + const yyr36 bool = false + yyq36[0] = x.Kind != "" + yyq36[1] = x.APIVersion != "" + yyq36[2] = true + yyq36[3] = true + yyq36[4] = true + var yynn36 int + if yyr36 || yy2arr36 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn36 = 0 + for _, b := range yyq36 { if b { - yynn2++ + yynn36++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn36) + yynn36 = 0 } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq36[0] { + yym38 := z.EncBinary() + _ = yym38 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -621,23 +570,23 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq36[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym39 := z.EncBinary() + _ = yym39 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq36[1] { + yym41 := z.EncBinary() + _ = yym41 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -646,19 +595,70 @@ func (x *Scale) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq36[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym42 := z.EncBinary() + _ = yym42 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq36[2] { + yy44 := &x.ObjectMeta + yy44.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq36[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy45 := &x.ObjectMeta + yy45.CodecEncodeSelf(e) + } + } + if yyr36 || yy2arr36 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq36[3] { + yy47 := &x.Spec + yy47.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq36[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy48 := &x.Spec + yy48.CodecEncodeSelf(e) + } + } + if yyr36 || yy2arr36 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq36[4] { + yy50 := &x.Status + yy50.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq36[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy51 := &x.Status + yy51.CodecEncodeSelf(e) + } + } + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -671,25 +671,25 @@ func (x *Scale) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym52 := z.DecBinary() + _ = yym52 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct53 := r.ContainerType() + if yyct53 == codecSelferValueTypeMap1234 { + yyl53 := r.ReadMapStart() + if yyl53 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl53, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct53 == codecSelferValueTypeArray1234 { + yyl53 := r.ReadArrayStart() + if yyl53 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl53, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -701,12 +701,12 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys54Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys54Slc + var yyhl54 bool = l >= 0 + for yyj54 := 0; ; yyj54++ { + if yyhl54 { + if yyj54 >= l { break } } else { @@ -715,31 +715,10 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys54Slc = r.DecodeBytes(yys54Slc, true, true) + yys54 := string(yys54Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ScaleSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ScaleStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys54 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -752,10 +731,31 @@ func (x *Scale) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv57 := &x.ObjectMeta + yyv57.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ScaleSpec{} + } else { + yyv58 := &x.Spec + yyv58.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ScaleStatus{} + } else { + yyv59 := &x.Status + yyv59.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys54) + } // end switch yys54 + } // end for yyj54 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -763,67 +763,16 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj60 int + var yyb60 bool + var yyhl60 bool = l >= 0 + yyj60++ + if yyhl60 { + yyb60 = yyj60 > l } else { - yyb9 = r.CheckBreak() + yyb60 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ScaleSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ScaleStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb60 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -833,13 +782,13 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj60++ + if yyhl60 { + yyb60 = yyj60 > l } else { - yyb9 = r.CheckBreak() + yyb60 = r.CheckBreak() } - if yyb9 { + if yyb60 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -849,18 +798,69 @@ func (x *Scale) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj60++ + if yyhl60 { + yyb60 = yyj60 > l + } else { + yyb60 = r.CheckBreak() + } + if yyb60 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv63 := &x.ObjectMeta + yyv63.CodecDecodeSelf(d) + } + yyj60++ + if yyhl60 { + yyb60 = yyj60 > l + } else { + yyb60 = r.CheckBreak() + } + if yyb60 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ScaleSpec{} + } else { + yyv64 := &x.Spec + yyv64.CodecDecodeSelf(d) + } + yyj60++ + if yyhl60 { + yyb60 = yyj60 > l + } else { + yyb60 = r.CheckBreak() + } + if yyb60 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ScaleStatus{} + } else { + yyv65 := &x.Status + yyv65.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj60++ + if yyhl60 { + yyb60 = yyj60 > l } else { - yyb9 = r.CheckBreak() + yyb60 = r.CheckBreak() } - if yyb9 { + if yyb60 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj60-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -872,36 +872,36 @@ func (x *ReplicationControllerDummy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym66 := z.EncBinary() + _ = yym66 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Kind != "" - yyq2[1] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep67 := !z.EncBinary() + yy2arr67 := z.EncBasicHandle().StructToArray + var yyq67 [2]bool + _, _, _ = yysep67, yyq67, yy2arr67 + const yyr67 bool = false + yyq67[0] = x.Kind != "" + yyq67[1] = x.APIVersion != "" + var yynn67 int + if yyr67 || yy2arr67 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn67 = 0 + for _, b := range yyq67 { if b { - yynn2++ + yynn67++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn67) + yynn67 = 0 } - if yyr2 || yy2arr2 { + if yyr67 || yy2arr67 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq67[0] { + yym69 := z.EncBinary() + _ = yym69 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -910,23 +910,23 @@ func (x *ReplicationControllerDummy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq67[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym70 := z.EncBinary() + _ = yym70 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr67 || yy2arr67 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq67[1] { + yym72 := z.EncBinary() + _ = yym72 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -935,19 +935,19 @@ func (x *ReplicationControllerDummy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq67[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym73 := z.EncBinary() + _ = yym73 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr67 || yy2arr67 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -960,25 +960,25 @@ func (x *ReplicationControllerDummy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym74 := z.DecBinary() + _ = yym74 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct75 := r.ContainerType() + if yyct75 == codecSelferValueTypeMap1234 { + yyl75 := r.ReadMapStart() + if yyl75 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl75, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct75 == codecSelferValueTypeArray1234 { + yyl75 := r.ReadArrayStart() + if yyl75 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl75, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -990,12 +990,12 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys76Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys76Slc + var yyhl76 bool = l >= 0 + for yyj76 := 0; ; yyj76++ { + if yyhl76 { + if yyj76 >= l { break } } else { @@ -1004,10 +1004,10 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys76Slc = r.DecodeBytes(yys76Slc, true, true) + yys76 := string(yys76Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys76 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1021,9 +1021,9 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromMap(l int, d *codec1978. x.APIVersion = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys76) + } // end switch yys76 + } // end for yyj76 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1031,16 +1031,16 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj79 int + var yyb79 bool + var yyhl79 bool = l >= 0 + yyj79++ + if yyhl79 { + yyb79 = yyj79 > l } else { - yyb6 = r.CheckBreak() + yyb79 = r.CheckBreak() } - if yyb6 { + if yyb79 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1050,13 +1050,13 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj79++ + if yyhl79 { + yyb79 = yyj79 > l } else { - yyb6 = r.CheckBreak() + yyb79 = r.CheckBreak() } - if yyb6 { + if yyb79 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1067,17 +1067,17 @@ func (x *ReplicationControllerDummy) codecDecodeSelfFromArray(l int, d *codec197 x.APIVersion = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj79++ + if yyhl79 { + yyb79 = yyj79 > l } else { - yyb6 = r.CheckBreak() + yyb79 = r.CheckBreak() } - if yyb6 { + if yyb79 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj79-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1089,38 +1089,38 @@ func (x *SubresourceReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym82 := z.EncBinary() + _ = yym82 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Kind != "" - yyq2[1] = x.Name != "" - yyq2[2] = x.APIVersion != "" - yyq2[3] = x.Subresource != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep83 := !z.EncBinary() + yy2arr83 := z.EncBasicHandle().StructToArray + var yyq83 [4]bool + _, _, _ = yysep83, yyq83, yy2arr83 + const yyr83 bool = false + yyq83[0] = x.Kind != "" + yyq83[1] = x.Name != "" + yyq83[2] = x.APIVersion != "" + yyq83[3] = x.Subresource != "" + var yynn83 int + if yyr83 || yy2arr83 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn83 = 0 + for _, b := range yyq83 { if b { - yynn2++ + yynn83++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn83) + yynn83 = 0 } - if yyr2 || yy2arr2 { + if yyr83 || yy2arr83 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq83[0] { + yym85 := z.EncBinary() + _ = yym85 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1129,23 +1129,23 @@ func (x *SubresourceReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq83[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym86 := z.EncBinary() + _ = yym86 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr83 || yy2arr83 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq83[1] { + yym88 := z.EncBinary() + _ = yym88 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -1154,23 +1154,23 @@ func (x *SubresourceReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq83[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym89 := z.EncBinary() + _ = yym89 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2 || yy2arr2 { + if yyr83 || yy2arr83 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq83[2] { + yym91 := z.EncBinary() + _ = yym91 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1179,23 +1179,23 @@ func (x *SubresourceReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq83[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym92 := z.EncBinary() + _ = yym92 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr83 || yy2arr83 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq83[3] { + yym94 := z.EncBinary() + _ = yym94 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subresource)) @@ -1204,19 +1204,19 @@ func (x *SubresourceReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq83[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subresource")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym95 := z.EncBinary() + _ = yym95 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subresource)) } } } - if yyr2 || yy2arr2 { + if yyr83 || yy2arr83 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1229,25 +1229,25 @@ func (x *SubresourceReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym96 := z.DecBinary() + _ = yym96 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct97 := r.ContainerType() + if yyct97 == codecSelferValueTypeMap1234 { + yyl97 := r.ReadMapStart() + if yyl97 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl97, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct97 == codecSelferValueTypeArray1234 { + yyl97 := r.ReadArrayStart() + if yyl97 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl97, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1259,12 +1259,12 @@ func (x *SubresourceReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys98Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys98Slc + var yyhl98 bool = l >= 0 + for yyj98 := 0; ; yyj98++ { + if yyhl98 { + if yyj98 >= l { break } } else { @@ -1273,10 +1273,10 @@ func (x *SubresourceReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys98Slc = r.DecodeBytes(yys98Slc, true, true) + yys98 := string(yys98Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys98 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1302,9 +1302,9 @@ func (x *SubresourceReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Subresource = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys98) + } // end switch yys98 + } // end for yyj98 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1312,16 +1312,16 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj103 int + var yyb103 bool + var yyhl103 bool = l >= 0 + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb8 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb8 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1331,13 +1331,13 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb8 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb8 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1347,13 +1347,13 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Name = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb8 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb8 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1363,13 +1363,13 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.APIVersion = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb8 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb8 { + if yyb103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1380,17 +1380,17 @@ func (x *SubresourceReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Subresource = string(r.DecodeString()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj103++ + if yyhl103 { + yyb103 = yyj103 > l } else { - yyb8 = r.CheckBreak() + yyb103 = r.CheckBreak() } - if yyb8 { + if yyb103 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj103-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1402,33 +1402,33 @@ func (x *CPUTargetUtilization) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym108 := z.EncBinary() + _ = yym108 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep109 := !z.EncBinary() + yy2arr109 := z.EncBasicHandle().StructToArray + var yyq109 [1]bool + _, _, _ = yysep109, yyq109, yy2arr109 + const yyr109 bool = false + var yynn109 int + if yyr109 || yy2arr109 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn109 = 1 + for _, b := range yyq109 { if b { - yynn2++ + yynn109++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn109) + yynn109 = 0 } - if yyr2 || yy2arr2 { + if yyr109 || yy2arr109 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym111 := z.EncBinary() + _ = yym111 if false { } else { r.EncodeInt(int64(x.TargetPercentage)) @@ -1437,14 +1437,14 @@ func (x *CPUTargetUtilization) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPercentage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym112 := z.EncBinary() + _ = yym112 if false { } else { r.EncodeInt(int64(x.TargetPercentage)) } } - if yyr2 || yy2arr2 { + if yyr109 || yy2arr109 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1457,25 +1457,25 @@ func (x *CPUTargetUtilization) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym113 := z.DecBinary() + _ = yym113 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct114 := r.ContainerType() + if yyct114 == codecSelferValueTypeMap1234 { + yyl114 := r.ReadMapStart() + if yyl114 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl114, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct114 == codecSelferValueTypeArray1234 { + yyl114 := r.ReadArrayStart() + if yyl114 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl114, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1487,12 +1487,12 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys115Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys115Slc + var yyhl115 bool = l >= 0 + for yyj115 := 0; ; yyj115++ { + if yyhl115 { + if yyj115 >= l { break } } else { @@ -1501,10 +1501,10 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys115Slc = r.DecodeBytes(yys115Slc, true, true) + yys115 := string(yys115Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys115 { case "targetPercentage": if r.TryDecodeAsNil() { x.TargetPercentage = 0 @@ -1512,9 +1512,9 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.TargetPercentage = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys115) + } // end switch yys115 + } // end for yyj115 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1522,16 +1522,16 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj117 int + var yyb117 bool + var yyhl117 bool = l >= 0 + yyj117++ + if yyhl117 { + yyb117 = yyj117 > l } else { - yyb5 = r.CheckBreak() + yyb117 = r.CheckBreak() } - if yyb5 { + if yyb117 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1542,17 +1542,17 @@ func (x *CPUTargetUtilization) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.TargetPercentage = int32(r.DecodeInt(32)) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj117++ + if yyhl117 { + yyb117 = yyj117 > l } else { - yyb5 = r.CheckBreak() + yyb117 = r.CheckBreak() } - if yyb5 { + if yyb117 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj117-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1564,33 +1564,33 @@ func (x *CustomMetricTarget) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym119 := z.EncBinary() + _ = yym119 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep120 := !z.EncBinary() + yy2arr120 := z.EncBasicHandle().StructToArray + var yyq120 [2]bool + _, _, _ = yysep120, yyq120, yy2arr120 + const yyr120 bool = false + var yynn120 int + if yyr120 || yy2arr120 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn120 = 2 + for _, b := range yyq120 { if b { - yynn2++ + yynn120++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn120) + yynn120 = 0 } - if yyr2 || yy2arr2 { + if yyr120 || yy2arr120 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym122 := z.EncBinary() + _ = yym122 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -1599,41 +1599,41 @@ func (x *CustomMetricTarget) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym123 := z.EncBinary() + _ = yym123 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr120 || yy2arr120 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.TargetValue - yym8 := z.EncBinary() - _ = yym8 + yy125 := &x.TargetValue + yym126 := z.EncBinary() + _ = yym126 if false { - } else if z.HasExtensions() && z.EncExt(yy7) { - } else if !yym8 && z.IsJSONHandle() { - z.EncJSONMarshal(yy7) + } else if z.HasExtensions() && z.EncExt(yy125) { + } else if !yym126 && z.IsJSONHandle() { + z.EncJSONMarshal(yy125) } else { - z.EncFallback(yy7) + z.EncFallback(yy125) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.TargetValue - yym10 := z.EncBinary() - _ = yym10 + yy127 := &x.TargetValue + yym128 := z.EncBinary() + _ = yym128 if false { - } else if z.HasExtensions() && z.EncExt(yy9) { - } else if !yym10 && z.IsJSONHandle() { - z.EncJSONMarshal(yy9) + } else if z.HasExtensions() && z.EncExt(yy127) { + } else if !yym128 && z.IsJSONHandle() { + z.EncJSONMarshal(yy127) } else { - z.EncFallback(yy9) + z.EncFallback(yy127) } } - if yyr2 || yy2arr2 { + if yyr120 || yy2arr120 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1646,25 +1646,25 @@ func (x *CustomMetricTarget) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym129 := z.DecBinary() + _ = yym129 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct130 := r.ContainerType() + if yyct130 == codecSelferValueTypeMap1234 { + yyl130 := r.ReadMapStart() + if yyl130 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl130, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct130 == codecSelferValueTypeArray1234 { + yyl130 := r.ReadArrayStart() + if yyl130 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl130, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1676,12 +1676,12 @@ func (x *CustomMetricTarget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys131Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys131Slc + var yyhl131 bool = l >= 0 + for yyj131 := 0; ; yyj131++ { + if yyhl131 { + if yyj131 >= l { break } } else { @@ -1690,10 +1690,10 @@ func (x *CustomMetricTarget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys131Slc = r.DecodeBytes(yys131Slc, true, true) + yys131 := string(yys131Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys131 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -1704,21 +1704,21 @@ func (x *CustomMetricTarget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.TargetValue = pkg4_resource.Quantity{} } else { - yyv5 := &x.TargetValue - yym6 := z.DecBinary() - _ = yym6 + yyv133 := &x.TargetValue + yym134 := z.DecBinary() + _ = yym134 if false { - } else if z.HasExtensions() && z.DecExt(yyv5) { - } else if !yym6 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv5) + } else if z.HasExtensions() && z.DecExt(yyv133) { + } else if !yym134 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv133) } else { - z.DecFallback(yyv5, false) + z.DecFallback(yyv133, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys131) + } // end switch yys131 + } // end for yyj131 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1726,16 +1726,16 @@ func (x *CustomMetricTarget) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj135 int + var yyb135 bool + var yyhl135 bool = l >= 0 + yyj135++ + if yyhl135 { + yyb135 = yyj135 > l } else { - yyb7 = r.CheckBreak() + yyb135 = r.CheckBreak() } - if yyb7 { + if yyb135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1745,13 +1745,13 @@ func (x *CustomMetricTarget) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Name = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj135++ + if yyhl135 { + yyb135 = yyj135 > l } else { - yyb7 = r.CheckBreak() + yyb135 = r.CheckBreak() } - if yyb7 { + if yyb135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1759,29 +1759,29 @@ func (x *CustomMetricTarget) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.TargetValue = pkg4_resource.Quantity{} } else { - yyv9 := &x.TargetValue - yym10 := z.DecBinary() - _ = yym10 + yyv137 := &x.TargetValue + yym138 := z.DecBinary() + _ = yym138 if false { - } else if z.HasExtensions() && z.DecExt(yyv9) { - } else if !yym10 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv9) + } else if z.HasExtensions() && z.DecExt(yyv137) { + } else if !yym138 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv137) } else { - z.DecFallback(yyv9, false) + z.DecFallback(yyv137, false) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj135++ + if yyhl135 { + yyb135 = yyj135 > l } else { - yyb7 = r.CheckBreak() + yyb135 = r.CheckBreak() } - if yyb7 { + if yyb135 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj135-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1793,36 +1793,36 @@ func (x *CustomMetricTargetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym139 := z.EncBinary() + _ = yym139 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep140 := !z.EncBinary() + yy2arr140 := z.EncBasicHandle().StructToArray + var yyq140 [1]bool + _, _, _ = yysep140, yyq140, yy2arr140 + const yyr140 bool = false + var yynn140 int + if yyr140 || yy2arr140 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn140 = 1 + for _, b := range yyq140 { if b { - yynn2++ + yynn140++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn140) + yynn140 = 0 } - if yyr2 || yy2arr2 { + if yyr140 || yy2arr140 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym142 := z.EncBinary() + _ = yym142 if false { } else { h.encSliceCustomMetricTarget(([]CustomMetricTarget)(x.Items), e) @@ -1835,15 +1835,15 @@ func (x *CustomMetricTargetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym143 := z.EncBinary() + _ = yym143 if false { } else { h.encSliceCustomMetricTarget(([]CustomMetricTarget)(x.Items), e) } } } - if yyr2 || yy2arr2 { + if yyr140 || yy2arr140 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1856,25 +1856,25 @@ func (x *CustomMetricTargetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym144 := z.DecBinary() + _ = yym144 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct145 := r.ContainerType() + if yyct145 == codecSelferValueTypeMap1234 { + yyl145 := r.ReadMapStart() + if yyl145 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl145, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct145 == codecSelferValueTypeArray1234 { + yyl145 := r.ReadArrayStart() + if yyl145 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl145, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1886,12 +1886,12 @@ func (x *CustomMetricTargetList) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys146Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys146Slc + var yyhl146 bool = l >= 0 + for yyj146 := 0; ; yyj146++ { + if yyhl146 { + if yyj146 >= l { break } } else { @@ -1900,26 +1900,26 @@ func (x *CustomMetricTargetList) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys146Slc = r.DecodeBytes(yys146Slc, true, true) + yys146 := string(yys146Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys146 { case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4 := &x.Items - yym5 := z.DecBinary() - _ = yym5 + yyv147 := &x.Items + yym148 := z.DecBinary() + _ = yym148 if false { } else { - h.decSliceCustomMetricTarget((*[]CustomMetricTarget)(yyv4), d) + h.decSliceCustomMetricTarget((*[]CustomMetricTarget)(yyv147), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys146) + } // end switch yys146 + } // end for yyj146 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1927,16 +1927,16 @@ func (x *CustomMetricTargetList) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj149 int + var yyb149 bool + var yyhl149 bool = l >= 0 + yyj149++ + if yyhl149 { + yyb149 = yyj149 > l } else { - yyb6 = r.CheckBreak() + yyb149 = r.CheckBreak() } - if yyb6 { + if yyb149 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1944,26 +1944,26 @@ func (x *CustomMetricTargetList) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Items = nil } else { - yyv7 := &x.Items - yym8 := z.DecBinary() - _ = yym8 + yyv150 := &x.Items + yym151 := z.DecBinary() + _ = yym151 if false { } else { - h.decSliceCustomMetricTarget((*[]CustomMetricTarget)(yyv7), d) + h.decSliceCustomMetricTarget((*[]CustomMetricTarget)(yyv150), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj149++ + if yyhl149 { + yyb149 = yyj149 > l } else { - yyb6 = r.CheckBreak() + yyb149 = r.CheckBreak() } - if yyb6 { + if yyb149 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj149-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1975,33 +1975,33 @@ func (x *CustomMetricCurrentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym152 := z.EncBinary() + _ = yym152 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep153 := !z.EncBinary() + yy2arr153 := z.EncBasicHandle().StructToArray + var yyq153 [2]bool + _, _, _ = yysep153, yyq153, yy2arr153 + const yyr153 bool = false + var yynn153 int + if yyr153 || yy2arr153 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn153 = 2 + for _, b := range yyq153 { if b { - yynn2++ + yynn153++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn153) + yynn153 = 0 } - if yyr2 || yy2arr2 { + if yyr153 || yy2arr153 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym155 := z.EncBinary() + _ = yym155 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -2010,41 +2010,41 @@ func (x *CustomMetricCurrentStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym156 := z.EncBinary() + _ = yym156 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr153 || yy2arr153 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.CurrentValue - yym8 := z.EncBinary() - _ = yym8 + yy158 := &x.CurrentValue + yym159 := z.EncBinary() + _ = yym159 if false { - } else if z.HasExtensions() && z.EncExt(yy7) { - } else if !yym8 && z.IsJSONHandle() { - z.EncJSONMarshal(yy7) + } else if z.HasExtensions() && z.EncExt(yy158) { + } else if !yym159 && z.IsJSONHandle() { + z.EncJSONMarshal(yy158) } else { - z.EncFallback(yy7) + z.EncFallback(yy158) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.CurrentValue - yym10 := z.EncBinary() - _ = yym10 + yy160 := &x.CurrentValue + yym161 := z.EncBinary() + _ = yym161 if false { - } else if z.HasExtensions() && z.EncExt(yy9) { - } else if !yym10 && z.IsJSONHandle() { - z.EncJSONMarshal(yy9) + } else if z.HasExtensions() && z.EncExt(yy160) { + } else if !yym161 && z.IsJSONHandle() { + z.EncJSONMarshal(yy160) } else { - z.EncFallback(yy9) + z.EncFallback(yy160) } } - if yyr2 || yy2arr2 { + if yyr153 || yy2arr153 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2057,25 +2057,25 @@ func (x *CustomMetricCurrentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym162 := z.DecBinary() + _ = yym162 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct163 := r.ContainerType() + if yyct163 == codecSelferValueTypeMap1234 { + yyl163 := r.ReadMapStart() + if yyl163 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl163, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct163 == codecSelferValueTypeArray1234 { + yyl163 := r.ReadArrayStart() + if yyl163 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl163, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2087,12 +2087,12 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -2101,10 +2101,10 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys164Slc = r.DecodeBytes(yys164Slc, true, true) + yys164 := string(yys164Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys164 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -2115,21 +2115,21 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.CurrentValue = pkg4_resource.Quantity{} } else { - yyv5 := &x.CurrentValue - yym6 := z.DecBinary() - _ = yym6 + yyv166 := &x.CurrentValue + yym167 := z.DecBinary() + _ = yym167 if false { - } else if z.HasExtensions() && z.DecExt(yyv5) { - } else if !yym6 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv5) + } else if z.HasExtensions() && z.DecExt(yyv166) { + } else if !yym167 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv166) } else { - z.DecFallback(yyv5, false) + z.DecFallback(yyv166, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys164) + } // end switch yys164 + } // end for yyj164 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2137,16 +2137,16 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj168 int + var yyb168 bool + var yyhl168 bool = l >= 0 + yyj168++ + if yyhl168 { + yyb168 = yyj168 > l } else { - yyb7 = r.CheckBreak() + yyb168 = r.CheckBreak() } - if yyb7 { + if yyb168 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2156,13 +2156,13 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Name = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj168++ + if yyhl168 { + yyb168 = yyj168 > l } else { - yyb7 = r.CheckBreak() + yyb168 = r.CheckBreak() } - if yyb7 { + if yyb168 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2170,29 +2170,29 @@ func (x *CustomMetricCurrentStatus) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.CurrentValue = pkg4_resource.Quantity{} } else { - yyv9 := &x.CurrentValue - yym10 := z.DecBinary() - _ = yym10 + yyv170 := &x.CurrentValue + yym171 := z.DecBinary() + _ = yym171 if false { - } else if z.HasExtensions() && z.DecExt(yyv9) { - } else if !yym10 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv9) + } else if z.HasExtensions() && z.DecExt(yyv170) { + } else if !yym171 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv170) } else { - z.DecFallback(yyv9, false) + z.DecFallback(yyv170, false) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj168++ + if yyhl168 { + yyb168 = yyj168 > l } else { - yyb7 = r.CheckBreak() + yyb168 = r.CheckBreak() } - if yyb7 { + if yyb168 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj168-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2204,36 +2204,36 @@ func (x *CustomMetricCurrentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym172 := z.EncBinary() + _ = yym172 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep173 := !z.EncBinary() + yy2arr173 := z.EncBasicHandle().StructToArray + var yyq173 [1]bool + _, _, _ = yysep173, yyq173, yy2arr173 + const yyr173 bool = false + var yynn173 int + if yyr173 || yy2arr173 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn173 = 1 + for _, b := range yyq173 { if b { - yynn2++ + yynn173++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn173) + yynn173 = 0 } - if yyr2 || yy2arr2 { + if yyr173 || yy2arr173 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym175 := z.EncBinary() + _ = yym175 if false { } else { h.encSliceCustomMetricCurrentStatus(([]CustomMetricCurrentStatus)(x.Items), e) @@ -2246,15 +2246,15 @@ func (x *CustomMetricCurrentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym176 := z.EncBinary() + _ = yym176 if false { } else { h.encSliceCustomMetricCurrentStatus(([]CustomMetricCurrentStatus)(x.Items), e) } } } - if yyr2 || yy2arr2 { + if yyr173 || yy2arr173 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2267,25 +2267,25 @@ func (x *CustomMetricCurrentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym177 := z.DecBinary() + _ = yym177 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct178 := r.ContainerType() + if yyct178 == codecSelferValueTypeMap1234 { + yyl178 := r.ReadMapStart() + if yyl178 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl178, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct178 == codecSelferValueTypeArray1234 { + yyl178 := r.ReadArrayStart() + if yyl178 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl178, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2297,12 +2297,12 @@ func (x *CustomMetricCurrentStatusList) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys179Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys179Slc + var yyhl179 bool = l >= 0 + for yyj179 := 0; ; yyj179++ { + if yyhl179 { + if yyj179 >= l { break } } else { @@ -2311,26 +2311,26 @@ func (x *CustomMetricCurrentStatusList) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys179Slc = r.DecodeBytes(yys179Slc, true, true) + yys179 := string(yys179Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys179 { case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4 := &x.Items - yym5 := z.DecBinary() - _ = yym5 + yyv180 := &x.Items + yym181 := z.DecBinary() + _ = yym181 if false { } else { - h.decSliceCustomMetricCurrentStatus((*[]CustomMetricCurrentStatus)(yyv4), d) + h.decSliceCustomMetricCurrentStatus((*[]CustomMetricCurrentStatus)(yyv180), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys179) + } // end switch yys179 + } // end for yyj179 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2338,16 +2338,16 @@ func (x *CustomMetricCurrentStatusList) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj182 int + var yyb182 bool + var yyhl182 bool = l >= 0 + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb6 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb6 { + if yyb182 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2355,26 +2355,26 @@ func (x *CustomMetricCurrentStatusList) codecDecodeSelfFromArray(l int, d *codec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv7 := &x.Items - yym8 := z.DecBinary() - _ = yym8 + yyv183 := &x.Items + yym184 := z.DecBinary() + _ = yym184 if false { } else { - h.decSliceCustomMetricCurrentStatus((*[]CustomMetricCurrentStatus)(yyv7), d) + h.decSliceCustomMetricCurrentStatus((*[]CustomMetricCurrentStatus)(yyv183), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj182++ + if yyhl182 { + yyb182 = yyj182 > l } else { - yyb6 = r.CheckBreak() + yyb182 = r.CheckBreak() } - if yyb6 { + if yyb182 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj182-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2386,81 +2386,81 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym185 := z.EncBinary() + _ = yym185 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.MinReplicas != nil - yyq2[3] = x.CPUUtilization != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep186 := !z.EncBinary() + yy2arr186 := z.EncBasicHandle().StructToArray + var yyq186 [4]bool + _, _, _ = yysep186, yyq186, yy2arr186 + const yyr186 bool = false + yyq186[1] = x.MinReplicas != nil + yyq186[3] = x.CPUUtilization != nil + var yynn186 int + if yyr186 || yy2arr186 { r.EncodeArrayStart(4) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn186 = 2 + for _, b := range yyq186 { if b { - yynn2++ + yynn186++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn186) + yynn186 = 0 } - if yyr2 || yy2arr2 { + if yyr186 || yy2arr186 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4 := &x.ScaleRef - yy4.CodecEncodeSelf(e) + yy188 := &x.ScaleRef + yy188.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scaleRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ScaleRef - yy6.CodecEncodeSelf(e) + yy189 := &x.ScaleRef + yy189.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr186 || yy2arr186 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq186[1] { if x.MinReplicas == nil { r.EncodeNil() } else { - yy9 := *x.MinReplicas - yym10 := z.EncBinary() - _ = yym10 + yy191 := *x.MinReplicas + yym192 := z.EncBinary() + _ = yym192 if false { } else { - r.EncodeInt(int64(yy9)) + r.EncodeInt(int64(yy191)) } } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq186[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MinReplicas == nil { r.EncodeNil() } else { - yy11 := *x.MinReplicas - yym12 := z.EncBinary() - _ = yym12 + yy193 := *x.MinReplicas + yym194 := z.EncBinary() + _ = yym194 if false { } else { - r.EncodeInt(int64(yy11)) + r.EncodeInt(int64(yy193)) } } } } - if yyr2 || yy2arr2 { + if yyr186 || yy2arr186 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym14 := z.EncBinary() - _ = yym14 + yym196 := z.EncBinary() + _ = yym196 if false { } else { r.EncodeInt(int64(x.MaxReplicas)) @@ -2469,16 +2469,16 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym197 := z.EncBinary() + _ = yym197 if false { } else { r.EncodeInt(int64(x.MaxReplicas)) } } - if yyr2 || yy2arr2 { + if yyr186 || yy2arr186 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq186[3] { if x.CPUUtilization == nil { r.EncodeNil() } else { @@ -2488,7 +2488,7 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq186[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cpuUtilization")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -2499,7 +2499,7 @@ func (x *HorizontalPodAutoscalerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr186 || yy2arr186 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2512,25 +2512,25 @@ func (x *HorizontalPodAutoscalerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym199 := z.DecBinary() + _ = yym199 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct200 := r.ContainerType() + if yyct200 == codecSelferValueTypeMap1234 { + yyl200 := r.ReadMapStart() + if yyl200 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl200, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct200 == codecSelferValueTypeArray1234 { + yyl200 := r.ReadArrayStart() + if yyl200 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl200, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2542,12 +2542,12 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys201Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys201Slc + var yyhl201 bool = l >= 0 + for yyj201 := 0; ; yyj201++ { + if yyhl201 { + if yyj201 >= l { break } } else { @@ -2556,16 +2556,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys201Slc = r.DecodeBytes(yys201Slc, true, true) + yys201 := string(yys201Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys201 { case "scaleRef": if r.TryDecodeAsNil() { x.ScaleRef = SubresourceReference{} } else { - yyv4 := &x.ScaleRef - yyv4.CodecDecodeSelf(d) + yyv202 := &x.ScaleRef + yyv202.CodecDecodeSelf(d) } case "minReplicas": if r.TryDecodeAsNil() { @@ -2576,8 +2576,8 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 if x.MinReplicas == nil { x.MinReplicas = new(int32) } - yym6 := z.DecBinary() - _ = yym6 + yym204 := z.DecBinary() + _ = yym204 if false { } else { *((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32)) @@ -2601,9 +2601,9 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromMap(l int, d *codec1978 x.CPUUtilization.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys201) + } // end switch yys201 + } // end for yyj201 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2611,16 +2611,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj207 int + var yyb207 bool + var yyhl207 bool = l >= 0 + yyj207++ + if yyhl207 { + yyb207 = yyj207 > l } else { - yyb9 = r.CheckBreak() + yyb207 = r.CheckBreak() } - if yyb9 { + if yyb207 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2628,16 +2628,16 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if r.TryDecodeAsNil() { x.ScaleRef = SubresourceReference{} } else { - yyv10 := &x.ScaleRef - yyv10.CodecDecodeSelf(d) + yyv208 := &x.ScaleRef + yyv208.CodecDecodeSelf(d) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj207++ + if yyhl207 { + yyb207 = yyj207 > l } else { - yyb9 = r.CheckBreak() + yyb207 = r.CheckBreak() } - if yyb9 { + if yyb207 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2650,20 +2650,20 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 if x.MinReplicas == nil { x.MinReplicas = new(int32) } - yym12 := z.DecBinary() - _ = yym12 + yym210 := z.DecBinary() + _ = yym210 if false { } else { *((*int32)(x.MinReplicas)) = int32(r.DecodeInt(32)) } } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj207++ + if yyhl207 { + yyb207 = yyj207 > l } else { - yyb9 = r.CheckBreak() + yyb207 = r.CheckBreak() } - if yyb9 { + if yyb207 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2673,13 +2673,13 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 } else { x.MaxReplicas = int32(r.DecodeInt(32)) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj207++ + if yyhl207 { + yyb207 = yyj207 > l } else { - yyb9 = r.CheckBreak() + yyb207 = r.CheckBreak() } - if yyb9 { + if yyb207 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2695,17 +2695,17 @@ func (x *HorizontalPodAutoscalerSpec) codecDecodeSelfFromArray(l int, d *codec19 x.CPUUtilization.CodecDecodeSelf(d) } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj207++ + if yyhl207 { + yyb207 = yyj207 > l } else { - yyb9 = r.CheckBreak() + yyb207 = r.CheckBreak() } - if yyb9 { + if yyb207 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj207-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2717,80 +2717,80 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym213 := z.EncBinary() + _ = yym213 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.ObservedGeneration != nil - yyq2[1] = x.LastScaleTime != nil - yyq2[4] = x.CurrentCPUUtilizationPercentage != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep214 := !z.EncBinary() + yy2arr214 := z.EncBasicHandle().StructToArray + var yyq214 [5]bool + _, _, _ = yysep214, yyq214, yy2arr214 + const yyr214 bool = false + yyq214[0] = x.ObservedGeneration != nil + yyq214[1] = x.LastScaleTime != nil + yyq214[4] = x.CurrentCPUUtilizationPercentage != nil + var yynn214 int + if yyr214 || yy2arr214 { r.EncodeArrayStart(5) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn214 = 2 + for _, b := range yyq214 { if b { - yynn2++ + yynn214++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn214) + yynn214 = 0 } - if yyr2 || yy2arr2 { + if yyr214 || yy2arr214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq214[0] { if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy4 := *x.ObservedGeneration - yym5 := z.EncBinary() - _ = yym5 + yy216 := *x.ObservedGeneration + yym217 := z.EncBinary() + _ = yym217 if false { } else { - r.EncodeInt(int64(yy4)) + r.EncodeInt(int64(yy216)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq214[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ObservedGeneration == nil { r.EncodeNil() } else { - yy6 := *x.ObservedGeneration - yym7 := z.EncBinary() - _ = yym7 + yy218 := *x.ObservedGeneration + yym219 := z.EncBinary() + _ = yym219 if false { } else { - r.EncodeInt(int64(yy6)) + r.EncodeInt(int64(yy218)) } } } } - if yyr2 || yy2arr2 { + if yyr214 || yy2arr214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq214[1] { if x.LastScaleTime == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym221 := z.EncBinary() + _ = yym221 if false { } else if z.HasExtensions() && z.EncExt(x.LastScaleTime) { - } else if yym9 { + } else if yym221 { z.EncBinaryMarshal(x.LastScaleTime) - } else if !yym9 && z.IsJSONHandle() { + } else if !yym221 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScaleTime) } else { z.EncFallback(x.LastScaleTime) @@ -2800,20 +2800,20 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq214[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastScaleTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LastScaleTime == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym222 := z.EncBinary() + _ = yym222 if false { } else if z.HasExtensions() && z.EncExt(x.LastScaleTime) { - } else if yym10 { + } else if yym222 { z.EncBinaryMarshal(x.LastScaleTime) - } else if !yym10 && z.IsJSONHandle() { + } else if !yym222 && z.IsJSONHandle() { z.EncJSONMarshal(x.LastScaleTime) } else { z.EncFallback(x.LastScaleTime) @@ -2821,10 +2821,10 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr214 || yy2arr214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym12 := z.EncBinary() - _ = yym12 + yym224 := z.EncBinary() + _ = yym224 if false { } else { r.EncodeInt(int64(x.CurrentReplicas)) @@ -2833,17 +2833,17 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 + yym225 := z.EncBinary() + _ = yym225 if false { } else { r.EncodeInt(int64(x.CurrentReplicas)) } } - if yyr2 || yy2arr2 { + if yyr214 || yy2arr214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym15 := z.EncBinary() - _ = yym15 + yym227 := z.EncBinary() + _ = yym227 if false { } else { r.EncodeInt(int64(x.DesiredReplicas)) @@ -2852,49 +2852,49 @@ func (x *HorizontalPodAutoscalerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 + yym228 := z.EncBinary() + _ = yym228 if false { } else { r.EncodeInt(int64(x.DesiredReplicas)) } } - if yyr2 || yy2arr2 { + if yyr214 || yy2arr214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq214[4] { if x.CurrentCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy18 := *x.CurrentCPUUtilizationPercentage - yym19 := z.EncBinary() - _ = yym19 + yy230 := *x.CurrentCPUUtilizationPercentage + yym231 := z.EncBinary() + _ = yym231 if false { } else { - r.EncodeInt(int64(yy18)) + r.EncodeInt(int64(yy230)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq214[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentCPUUtilizationPercentage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CurrentCPUUtilizationPercentage == nil { r.EncodeNil() } else { - yy20 := *x.CurrentCPUUtilizationPercentage - yym21 := z.EncBinary() - _ = yym21 + yy232 := *x.CurrentCPUUtilizationPercentage + yym233 := z.EncBinary() + _ = yym233 if false { } else { - r.EncodeInt(int64(yy20)) + r.EncodeInt(int64(yy232)) } } } } - if yyr2 || yy2arr2 { + if yyr214 || yy2arr214 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2907,25 +2907,25 @@ func (x *HorizontalPodAutoscalerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym234 := z.DecBinary() + _ = yym234 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct235 := r.ContainerType() + if yyct235 == codecSelferValueTypeMap1234 { + yyl235 := r.ReadMapStart() + if yyl235 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl235, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct235 == codecSelferValueTypeArray1234 { + yyl235 := r.ReadArrayStart() + if yyl235 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl235, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2937,12 +2937,12 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys236Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys236Slc + var yyhl236 bool = l >= 0 + for yyj236 := 0; ; yyj236++ { + if yyhl236 { + if yyj236 >= l { break } } else { @@ -2951,10 +2951,10 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys236Slc = r.DecodeBytes(yys236Slc, true, true) + yys236 := string(yys236Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys236 { case "observedGeneration": if r.TryDecodeAsNil() { if x.ObservedGeneration != nil { @@ -2964,8 +2964,8 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym5 := z.DecBinary() - _ = yym5 + yym238 := z.DecBinary() + _ = yym238 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) @@ -2980,13 +2980,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.LastScaleTime == nil { x.LastScaleTime = new(pkg1_unversioned.Time) } - yym7 := z.DecBinary() - _ = yym7 + yym240 := z.DecBinary() + _ = yym240 if false { } else if z.HasExtensions() && z.DecExt(x.LastScaleTime) { - } else if yym7 { + } else if yym240 { z.DecBinaryUnmarshal(x.LastScaleTime) - } else if !yym7 && z.IsJSONHandle() { + } else if !yym240 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScaleTime) } else { z.DecFallback(x.LastScaleTime, false) @@ -3013,17 +3013,17 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromMap(l int, d *codec19 if x.CurrentCPUUtilizationPercentage == nil { x.CurrentCPUUtilizationPercentage = new(int32) } - yym11 := z.DecBinary() - _ = yym11 + yym244 := z.DecBinary() + _ = yym244 if false { } else { *((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys236) + } // end switch yys236 + } // end for yyj236 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3031,16 +3031,16 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj245 int + var yyb245 bool + var yyhl245 bool = l >= 0 + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb12 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb12 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3053,20 +3053,20 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.ObservedGeneration == nil { x.ObservedGeneration = new(int64) } - yym14 := z.DecBinary() - _ = yym14 + yym247 := z.DecBinary() + _ = yym247 if false { } else { *((*int64)(x.ObservedGeneration)) = int64(r.DecodeInt(64)) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb12 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb12 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3079,25 +3079,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.LastScaleTime == nil { x.LastScaleTime = new(pkg1_unversioned.Time) } - yym16 := z.DecBinary() - _ = yym16 + yym249 := z.DecBinary() + _ = yym249 if false { } else if z.HasExtensions() && z.DecExt(x.LastScaleTime) { - } else if yym16 { + } else if yym249 { z.DecBinaryUnmarshal(x.LastScaleTime) - } else if !yym16 && z.IsJSONHandle() { + } else if !yym249 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.LastScaleTime) } else { z.DecFallback(x.LastScaleTime, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb12 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb12 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3107,13 +3107,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec } else { x.CurrentReplicas = int32(r.DecodeInt(32)) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb12 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb12 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3123,13 +3123,13 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec } else { x.DesiredReplicas = int32(r.DecodeInt(32)) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb12 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb12 { + if yyb245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3142,25 +3142,25 @@ func (x *HorizontalPodAutoscalerStatus) codecDecodeSelfFromArray(l int, d *codec if x.CurrentCPUUtilizationPercentage == nil { x.CurrentCPUUtilizationPercentage = new(int32) } - yym20 := z.DecBinary() - _ = yym20 + yym253 := z.DecBinary() + _ = yym253 if false { } else { *((*int32)(x.CurrentCPUUtilizationPercentage)) = int32(r.DecodeInt(32)) } } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj245++ + if yyhl245 { + yyb245 = yyj245 > l } else { - yyb12 = r.CheckBreak() + yyb245 = r.CheckBreak() } - if yyb12 { + if yyb245 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj245-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3172,90 +3172,39 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym254 := z.EncBinary() + _ = yym254 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep255 := !z.EncBinary() + yy2arr255 := z.EncBasicHandle().StructToArray + var yyq255 [5]bool + _, _, _ = yysep255, yyq255, yy2arr255 + const yyr255 bool = false + yyq255[0] = x.Kind != "" + yyq255[1] = x.APIVersion != "" + yyq255[2] = true + yyq255[3] = true + yyq255[4] = true + var yynn255 int + if yyr255 || yy2arr255 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn255 = 0 + for _, b := range yyq255 { if b { - yynn2++ + yynn255++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn255) + yynn255 = 0 } - if yyr2 || yy2arr2 { + if yyr255 || yy2arr255 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq255[0] { + yym257 := z.EncBinary() + _ = yym257 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -3264,23 +3213,23 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq255[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym258 := z.EncBinary() + _ = yym258 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr255 || yy2arr255 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq255[1] { + yym260 := z.EncBinary() + _ = yym260 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -3289,19 +3238,70 @@ func (x *HorizontalPodAutoscaler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq255[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym261 := z.EncBinary() + _ = yym261 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr255 || yy2arr255 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq255[2] { + yy263 := &x.ObjectMeta + yy263.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq255[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy264 := &x.ObjectMeta + yy264.CodecEncodeSelf(e) + } + } + if yyr255 || yy2arr255 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq255[3] { + yy266 := &x.Spec + yy266.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq255[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy267 := &x.Spec + yy267.CodecEncodeSelf(e) + } + } + if yyr255 || yy2arr255 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq255[4] { + yy269 := &x.Status + yy269.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq255[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy270 := &x.Status + yy270.CodecEncodeSelf(e) + } + } + if yyr255 || yy2arr255 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3314,25 +3314,25 @@ func (x *HorizontalPodAutoscaler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym271 := z.DecBinary() + _ = yym271 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct272 := r.ContainerType() + if yyct272 == codecSelferValueTypeMap1234 { + yyl272 := r.ReadMapStart() + if yyl272 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl272, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct272 == codecSelferValueTypeArray1234 { + yyl272 := r.ReadArrayStart() + if yyl272 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl272, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3344,12 +3344,12 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys273Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys273Slc + var yyhl273 bool = l >= 0 + for yyj273 := 0; ; yyj273++ { + if yyhl273 { + if yyj273 >= l { break } } else { @@ -3358,31 +3358,10 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys273Slc = r.DecodeBytes(yys273Slc, true, true) + yys273 := string(yys273Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = HorizontalPodAutoscalerSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = HorizontalPodAutoscalerStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys273 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3395,10 +3374,31 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromMap(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv276 := &x.ObjectMeta + yyv276.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = HorizontalPodAutoscalerSpec{} + } else { + yyv277 := &x.Spec + yyv277.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = HorizontalPodAutoscalerStatus{} + } else { + yyv278 := &x.Status + yyv278.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys273) + } // end switch yys273 + } // end for yyj273 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3406,67 +3406,16 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj279 int + var yyb279 bool + var yyhl279 bool = l >= 0 + yyj279++ + if yyhl279 { + yyb279 = yyj279 > l } else { - yyb9 = r.CheckBreak() + yyb279 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = HorizontalPodAutoscalerSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = HorizontalPodAutoscalerStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb279 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3476,13 +3425,13 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj279++ + if yyhl279 { + yyb279 = yyj279 > l } else { - yyb9 = r.CheckBreak() + yyb279 = r.CheckBreak() } - if yyb9 { + if yyb279 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3492,18 +3441,69 @@ func (x *HorizontalPodAutoscaler) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.APIVersion = string(r.DecodeString()) } + yyj279++ + if yyhl279 { + yyb279 = yyj279 > l + } else { + yyb279 = r.CheckBreak() + } + if yyb279 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv282 := &x.ObjectMeta + yyv282.CodecDecodeSelf(d) + } + yyj279++ + if yyhl279 { + yyb279 = yyj279 > l + } else { + yyb279 = r.CheckBreak() + } + if yyb279 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = HorizontalPodAutoscalerSpec{} + } else { + yyv283 := &x.Spec + yyv283.CodecDecodeSelf(d) + } + yyj279++ + if yyhl279 { + yyb279 = yyj279 > l + } else { + yyb279 = r.CheckBreak() + } + if yyb279 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = HorizontalPodAutoscalerStatus{} + } else { + yyv284 := &x.Status + yyv284.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj279++ + if yyhl279 { + yyb279 = yyj279 > l } else { - yyb9 = r.CheckBreak() + yyb279 = r.CheckBreak() } - if yyb9 { + if yyb279 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj279-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3515,68 +3515,118 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym285 := z.EncBinary() + _ = yym285 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep286 := !z.EncBinary() + yy2arr286 := z.EncBasicHandle().StructToArray + var yyq286 [4]bool + _, _, _ = yysep286, yyq286, yy2arr286 + const yyr286 bool = false + yyq286[0] = x.Kind != "" + yyq286[1] = x.APIVersion != "" + yyq286[2] = true + var yynn286 int + if yyr286 || yy2arr286 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn286 = 1 + for _, b := range yyq286 { if b { - yynn2++ + yynn286++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn286) + yynn286 = 0 } - if yyr2 || yy2arr2 { + if yyr286 || yy2arr286 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq286[0] { + yym288 := z.EncBinary() + _ = yym288 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq286[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym289 := z.EncBinary() + _ = yym289 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr286 || yy2arr286 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq286[1] { + yym291 := z.EncBinary() + _ = yym291 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq286[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym292 := z.EncBinary() + _ = yym292 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr286 || yy2arr286 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq286[2] { + yy294 := &x.ListMeta + yym295 := z.EncBinary() + _ = yym295 + if false { + } else if z.HasExtensions() && z.EncExt(yy294) { + } else { + z.EncFallback(yy294) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq286[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy296 := &x.ListMeta + yym297 := z.EncBinary() + _ = yym297 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy296) { } else { - z.EncFallback(yy6) + z.EncFallback(yy296) } } } - if yyr2 || yy2arr2 { + if yyr286 || yy2arr286 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym299 := z.EncBinary() + _ = yym299 if false { } else { h.encSliceHorizontalPodAutoscaler(([]HorizontalPodAutoscaler)(x.Items), e) @@ -3589,65 +3639,15 @@ func (x *HorizontalPodAutoscalerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym300 := z.EncBinary() + _ = yym300 if false { } else { h.encSliceHorizontalPodAutoscaler(([]HorizontalPodAutoscaler)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr286 || yy2arr286 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3660,25 +3660,25 @@ func (x *HorizontalPodAutoscalerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym301 := z.DecBinary() + _ = yym301 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct302 := r.ContainerType() + if yyct302 == codecSelferValueTypeMap1234 { + yyl302 := r.ReadMapStart() + if yyl302 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl302, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct302 == codecSelferValueTypeArray1234 { + yyl302 := r.ReadArrayStart() + if yyl302 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl302, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3690,12 +3690,12 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys303Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys303Slc + var yyhl303 bool = l >= 0 + for yyj303 := 0; ; yyj303++ { + if yyhl303 { + if yyj303 >= l { break } } else { @@ -3704,35 +3704,10 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys303Slc = r.DecodeBytes(yys303Slc, true, true) + yys303 := string(yys303Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv6), d) - } - } + switch yys303 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3745,10 +3720,35 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromMap(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv306 := &x.ListMeta + yym307 := z.DecBinary() + _ = yym307 + if false { + } else if z.HasExtensions() && z.DecExt(yyv306) { + } else { + z.DecFallback(yyv306, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv308 := &x.Items + yym309 := z.DecBinary() + _ = yym309 + if false { + } else { + h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv308), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys303) + } // end switch yys303 + } // end for yyj303 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3756,61 +3756,16 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj310 int + var yyb310 bool + var yyhl310 bool = l >= 0 + yyj310++ + if yyhl310 { + yyb310 = yyj310 > l } else { - yyb10 = r.CheckBreak() + yyb310 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb310 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3820,13 +3775,13 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj310++ + if yyhl310 { + yyb310 = yyj310 > l } else { - yyb10 = r.CheckBreak() + yyb310 = r.CheckBreak() } - if yyb10 { + if yyb310 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3836,18 +3791,63 @@ func (x *HorizontalPodAutoscalerList) codecDecodeSelfFromArray(l int, d *codec19 } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj310++ + if yyhl310 { + yyb310 = yyj310 > l + } else { + yyb310 = r.CheckBreak() + } + if yyb310 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv313 := &x.ListMeta + yym314 := z.DecBinary() + _ = yym314 + if false { + } else if z.HasExtensions() && z.DecExt(yyv313) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv313, false) } - if yyb10 { + } + yyj310++ + if yyhl310 { + yyb310 = yyj310 > l + } else { + yyb310 = r.CheckBreak() + } + if yyb310 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv315 := &x.Items + yym316 := z.DecBinary() + _ = yym316 + if false { + } else { + h.decSliceHorizontalPodAutoscaler((*[]HorizontalPodAutoscaler)(yyv315), d) + } + } + for { + yyj310++ + if yyhl310 { + yyb310 = yyj310 > l + } else { + yyb310 = r.CheckBreak() + } + if yyb310 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj310-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3859,56 +3859,106 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym317 := z.EncBinary() + _ = yym317 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = x.Description != "" - yyq2[2] = len(x.Versions) != 0 - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep318 := !z.EncBinary() + yy2arr318 := z.EncBasicHandle().StructToArray + var yyq318 [5]bool + _, _, _ = yysep318, yyq318, yy2arr318 + const yyr318 bool = false + yyq318[0] = x.Kind != "" + yyq318[1] = x.APIVersion != "" + yyq318[2] = true + yyq318[3] = x.Description != "" + yyq318[4] = len(x.Versions) != 0 + var yynn318 int + if yyr318 || yy2arr318 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn318 = 0 + for _, b := range yyq318 { if b { - yynn2++ + yynn318++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn318) + yynn318 = 0 } - if yyr2 || yy2arr2 { + if yyr318 || yy2arr318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq318[0] { + yym320 := z.EncBinary() + _ = yym320 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq318[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym321 := z.EncBinary() + _ = yym321 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr318 || yy2arr318 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq318[1] { + yym323 := z.EncBinary() + _ = yym323 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq318[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym324 := z.EncBinary() + _ = yym324 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr318 || yy2arr318 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq318[2] { + yy326 := &x.ObjectMeta + yy326.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq318[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy327 := &x.ObjectMeta + yy327.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr318 || yy2arr318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym9 := z.EncBinary() - _ = yym9 + if yyq318[3] { + yym329 := z.EncBinary() + _ = yym329 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Description)) @@ -3917,26 +3967,26 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq318[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("description")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym10 := z.EncBinary() - _ = yym10 + yym330 := z.EncBinary() + _ = yym330 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Description)) } } } - if yyr2 || yy2arr2 { + if yyr318 || yy2arr318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq318[4] { if x.Versions == nil { r.EncodeNil() } else { - yym12 := z.EncBinary() - _ = yym12 + yym332 := z.EncBinary() + _ = yym332 if false { } else { h.encSliceAPIVersion(([]APIVersion)(x.Versions), e) @@ -3946,15 +3996,15 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq318[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("versions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Versions == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym333 := z.EncBinary() + _ = yym333 if false { } else { h.encSliceAPIVersion(([]APIVersion)(x.Versions), e) @@ -3962,57 +4012,7 @@ func (x *ThirdPartyResource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr318 || yy2arr318 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4025,25 +4025,25 @@ func (x *ThirdPartyResource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym334 := z.DecBinary() + _ = yym334 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct335 := r.ContainerType() + if yyct335 == codecSelferValueTypeMap1234 { + yyl335 := r.ReadMapStart() + if yyl335 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl335, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct335 == codecSelferValueTypeArray1234 { + yyl335 := r.ReadArrayStart() + if yyl335 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl335, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4055,12 +4055,12 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys336Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys336Slc + var yyhl336 bool = l >= 0 + for yyj336 := 0; ; yyj336++ { + if yyhl336 { + if yyj336 >= l { break } } else { @@ -4069,35 +4069,10 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys336Slc = r.DecodeBytes(yys336Slc, true, true) + yys336 := string(yys336Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "description": - if r.TryDecodeAsNil() { - x.Description = "" - } else { - x.Description = string(r.DecodeString()) - } - case "versions": - if r.TryDecodeAsNil() { - x.Versions = nil - } else { - yyv6 := &x.Versions - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceAPIVersion((*[]APIVersion)(yyv6), d) - } - } + switch yys336 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -4110,10 +4085,35 @@ func (x *ThirdPartyResource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv339 := &x.ObjectMeta + yyv339.CodecDecodeSelf(d) + } + case "description": + if r.TryDecodeAsNil() { + x.Description = "" + } else { + x.Description = string(r.DecodeString()) + } + case "versions": + if r.TryDecodeAsNil() { + x.Versions = nil + } else { + yyv341 := &x.Versions + yym342 := z.DecBinary() + _ = yym342 + if false { + } else { + h.decSliceAPIVersion((*[]APIVersion)(yyv341), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys336) + } // end switch yys336 + } // end for yyj336 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4121,71 +4121,16 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj343 int + var yyb343 bool + var yyhl343 bool = l >= 0 + yyj343++ + if yyhl343 { + yyb343 = yyj343 > l } else { - yyb10 = r.CheckBreak() + yyb343 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv11 := &x.ObjectMeta - yyv11.CodecDecodeSelf(d) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Description = "" - } else { - x.Description = string(r.DecodeString()) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Versions = nil - } else { - yyv13 := &x.Versions - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceAPIVersion((*[]APIVersion)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb343 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4195,13 +4140,13 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj343++ + if yyhl343 { + yyb343 = yyj343 > l } else { - yyb10 = r.CheckBreak() + yyb343 = r.CheckBreak() } - if yyb10 { + if yyb343 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4211,18 +4156,73 @@ func (x *ThirdPartyResource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj343++ + if yyhl343 { + yyb343 = yyj343 > l + } else { + yyb343 = r.CheckBreak() + } + if yyb343 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv346 := &x.ObjectMeta + yyv346.CodecDecodeSelf(d) + } + yyj343++ + if yyhl343 { + yyb343 = yyj343 > l + } else { + yyb343 = r.CheckBreak() + } + if yyb343 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Description = "" + } else { + x.Description = string(r.DecodeString()) + } + yyj343++ + if yyhl343 { + yyb343 = yyj343 > l + } else { + yyb343 = r.CheckBreak() + } + if yyb343 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Versions = nil + } else { + yyv348 := &x.Versions + yym349 := z.DecBinary() + _ = yym349 + if false { } else { - yyb10 = r.CheckBreak() + h.decSliceAPIVersion((*[]APIVersion)(yyv348), d) } - if yyb10 { + } + for { + yyj343++ + if yyhl343 { + yyb343 = yyj343 > l + } else { + yyb343 = r.CheckBreak() + } + if yyb343 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj343-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4234,68 +4234,118 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym350 := z.EncBinary() + _ = yym350 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep351 := !z.EncBinary() + yy2arr351 := z.EncBasicHandle().StructToArray + var yyq351 [4]bool + _, _, _ = yysep351, yyq351, yy2arr351 + const yyr351 bool = false + yyq351[0] = x.Kind != "" + yyq351[1] = x.APIVersion != "" + yyq351[2] = true + var yynn351 int + if yyr351 || yy2arr351 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn351 = 1 + for _, b := range yyq351 { if b { - yynn2++ + yynn351++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn351) + yynn351 = 0 } - if yyr2 || yy2arr2 { + if yyr351 || yy2arr351 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq351[0] { + yym353 := z.EncBinary() + _ = yym353 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq351[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym354 := z.EncBinary() + _ = yym354 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr351 || yy2arr351 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq351[1] { + yym356 := z.EncBinary() + _ = yym356 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq351[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym357 := z.EncBinary() + _ = yym357 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr351 || yy2arr351 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq351[2] { + yy359 := &x.ListMeta + yym360 := z.EncBinary() + _ = yym360 + if false { + } else if z.HasExtensions() && z.EncExt(yy359) { + } else { + z.EncFallback(yy359) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq351[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy361 := &x.ListMeta + yym362 := z.EncBinary() + _ = yym362 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy361) { } else { - z.EncFallback(yy6) + z.EncFallback(yy361) } } } - if yyr2 || yy2arr2 { + if yyr351 || yy2arr351 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym364 := z.EncBinary() + _ = yym364 if false { } else { h.encSliceThirdPartyResource(([]ThirdPartyResource)(x.Items), e) @@ -4308,65 +4358,15 @@ func (x *ThirdPartyResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym365 := z.EncBinary() + _ = yym365 if false { } else { h.encSliceThirdPartyResource(([]ThirdPartyResource)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr351 || yy2arr351 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4379,25 +4379,25 @@ func (x *ThirdPartyResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym366 := z.DecBinary() + _ = yym366 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct367 := r.ContainerType() + if yyct367 == codecSelferValueTypeMap1234 { + yyl367 := r.ReadMapStart() + if yyl367 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl367, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct367 == codecSelferValueTypeArray1234 { + yyl367 := r.ReadArrayStart() + if yyl367 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl367, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4409,12 +4409,12 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys368Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys368Slc + var yyhl368 bool = l >= 0 + for yyj368 := 0; ; yyj368++ { + if yyhl368 { + if yyj368 >= l { break } } else { @@ -4423,35 +4423,10 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys368Slc = r.DecodeBytes(yys368Slc, true, true) + yys368 := string(yys368Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv6), d) - } - } + switch yys368 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -4464,10 +4439,35 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromMap(l int, d *codec1978.Deco } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv371 := &x.ListMeta + yym372 := z.DecBinary() + _ = yym372 + if false { + } else if z.HasExtensions() && z.DecExt(yyv371) { + } else { + z.DecFallback(yyv371, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv373 := &x.Items + yym374 := z.DecBinary() + _ = yym374 + if false { + } else { + h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv373), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys368) + } // end switch yys368 + } // end for yyj368 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4475,61 +4475,16 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj375 int + var yyb375 bool + var yyhl375 bool = l >= 0 + yyj375++ + if yyhl375 { + yyb375 = yyj375 > l } else { - yyb10 = r.CheckBreak() + yyb375 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb375 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4539,13 +4494,13 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj375++ + if yyhl375 { + yyb375 = yyj375 > l } else { - yyb10 = r.CheckBreak() + yyb375 = r.CheckBreak() } - if yyb10 { + if yyb375 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4555,18 +4510,63 @@ func (x *ThirdPartyResourceList) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj375++ + if yyhl375 { + yyb375 = yyj375 > l + } else { + yyb375 = r.CheckBreak() + } + if yyb375 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv378 := &x.ListMeta + yym379 := z.DecBinary() + _ = yym379 + if false { + } else if z.HasExtensions() && z.DecExt(yyv378) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv378, false) } - if yyb10 { + } + yyj375++ + if yyhl375 { + yyb375 = yyj375 > l + } else { + yyb375 = r.CheckBreak() + } + if yyb375 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv380 := &x.Items + yym381 := z.DecBinary() + _ = yym381 + if false { + } else { + h.decSliceThirdPartyResource((*[]ThirdPartyResource)(yyv380), d) + } + } + for { + yyj375++ + if yyhl375 { + yyb375 = yyj375 > l + } else { + yyb375 = r.CheckBreak() + } + if yyb375 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj375-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4578,35 +4578,35 @@ func (x *APIVersion) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym382 := z.EncBinary() + _ = yym382 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Name != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep383 := !z.EncBinary() + yy2arr383 := z.EncBasicHandle().StructToArray + var yyq383 [1]bool + _, _, _ = yysep383, yyq383, yy2arr383 + const yyr383 bool = false + yyq383[0] = x.Name != "" + var yynn383 int + if yyr383 || yy2arr383 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn383 = 0 + for _, b := range yyq383 { if b { - yynn2++ + yynn383++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn383) + yynn383 = 0 } - if yyr2 || yy2arr2 { + if yyr383 || yy2arr383 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq383[0] { + yym385 := z.EncBinary() + _ = yym385 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -4615,19 +4615,19 @@ func (x *APIVersion) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq383[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym386 := z.EncBinary() + _ = yym386 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2 || yy2arr2 { + if yyr383 || yy2arr383 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4640,25 +4640,25 @@ func (x *APIVersion) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym387 := z.DecBinary() + _ = yym387 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct388 := r.ContainerType() + if yyct388 == codecSelferValueTypeMap1234 { + yyl388 := r.ReadMapStart() + if yyl388 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl388, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct388 == codecSelferValueTypeArray1234 { + yyl388 := r.ReadArrayStart() + if yyl388 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl388, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4670,12 +4670,12 @@ func (x *APIVersion) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys389Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys389Slc + var yyhl389 bool = l >= 0 + for yyj389 := 0; ; yyj389++ { + if yyhl389 { + if yyj389 >= l { break } } else { @@ -4684,10 +4684,10 @@ func (x *APIVersion) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys389Slc = r.DecodeBytes(yys389Slc, true, true) + yys389 := string(yys389Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys389 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -4695,9 +4695,9 @@ func (x *APIVersion) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys389) + } // end switch yys389 + } // end for yyj389 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4705,16 +4705,16 @@ func (x *APIVersion) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj391 int + var yyb391 bool + var yyhl391 bool = l >= 0 + yyj391++ + if yyhl391 { + yyb391 = yyj391 > l } else { - yyb5 = r.CheckBreak() + yyb391 = r.CheckBreak() } - if yyb5 { + if yyb391 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -4725,17 +4725,17 @@ func (x *APIVersion) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Name = string(r.DecodeString()) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj391++ + if yyhl391 { + yyb391 = yyj391 > l } else { - yyb5 = r.CheckBreak() + yyb391 = r.CheckBreak() } - if yyb5 { + if yyb391 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj391-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4747,58 +4747,108 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym393 := z.EncBinary() + _ = yym393 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = len(x.Data) != 0 - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep394 := !z.EncBinary() + yy2arr394 := z.EncBasicHandle().StructToArray + var yyq394 [4]bool + _, _, _ = yysep394, yyq394, yy2arr394 + const yyr394 bool = false + yyq394[0] = x.Kind != "" + yyq394[1] = x.APIVersion != "" + yyq394[2] = true + yyq394[3] = len(x.Data) != 0 + var yynn394 int + if yyr394 || yy2arr394 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn394 = 0 + for _, b := range yyq394 { if b { - yynn2++ + yynn394++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn394) + yynn394 = 0 } - if yyr2 || yy2arr2 { + if yyr394 || yy2arr394 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq394[0] { + yym396 := z.EncBinary() + _ = yym396 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq394[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym397 := z.EncBinary() + _ = yym397 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr394 || yy2arr394 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq394[1] { + yym399 := z.EncBinary() + _ = yym399 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq394[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym400 := z.EncBinary() + _ = yym400 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr394 || yy2arr394 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq394[2] { + yy402 := &x.ObjectMeta + yy402.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq394[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy403 := &x.ObjectMeta + yy403.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr394 || yy2arr394 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq394[3] { if x.Data == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym405 := z.EncBinary() + _ = yym405 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -4808,15 +4858,15 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq394[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym406 := z.EncBinary() + _ = yym406 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -4824,57 +4874,7 @@ func (x *ThirdPartyResourceData) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr394 || yy2arr394 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -4887,25 +4887,25 @@ func (x *ThirdPartyResourceData) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym407 := z.DecBinary() + _ = yym407 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct408 := r.ContainerType() + if yyct408 == codecSelferValueTypeMap1234 { + yyl408 := r.ReadMapStart() + if yyl408 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl408, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct408 == codecSelferValueTypeArray1234 { + yyl408 := r.ReadArrayStart() + if yyl408 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl408, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -4917,12 +4917,12 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys409Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys409Slc + var yyhl409 bool = l >= 0 + for yyj409 := 0; ; yyj409++ { + if yyhl409 { + if yyj409 >= l { break } } else { @@ -4931,29 +4931,10 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys409Slc = r.DecodeBytes(yys409Slc, true, true) + yys409 := string(yys409Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "data": - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv5 := &x.Data - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - *yyv5 = r.DecodeBytes(*(*[]byte)(yyv5), false, false) - } - } + switch yys409 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -4966,10 +4947,29 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromMap(l int, d *codec1978.Deco } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv412 := &x.ObjectMeta + yyv412.CodecDecodeSelf(d) + } + case "data": + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv413 := &x.Data + yym414 := z.DecBinary() + _ = yym414 + if false { + } else { + *yyv413 = r.DecodeBytes(*(*[]byte)(yyv413), false, false) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys409) + } // end switch yys409 + } // end for yyj409 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -4977,55 +4977,16 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj415 int + var yyb415 bool + var yyhl415 bool = l >= 0 + yyj415++ + if yyhl415 { + yyb415 = yyj415 > l } else { - yyb9 = r.CheckBreak() + yyb415 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv11 := &x.Data - yym12 := z.DecBinary() - _ = yym12 - if false { - } else { - *yyv11 = r.DecodeBytes(*(*[]byte)(yyv11), false, false) - } - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb415 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5035,13 +4996,13 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj415++ + if yyhl415 { + yyb415 = yyj415 > l } else { - yyb9 = r.CheckBreak() + yyb415 = r.CheckBreak() } - if yyb9 { + if yyb415 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5051,18 +5012,57 @@ func (x *ThirdPartyResourceData) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj415++ + if yyhl415 { + yyb415 = yyj415 > l + } else { + yyb415 = r.CheckBreak() + } + if yyb415 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv418 := &x.ObjectMeta + yyv418.CodecDecodeSelf(d) + } + yyj415++ + if yyhl415 { + yyb415 = yyj415 > l + } else { + yyb415 = r.CheckBreak() + } + if yyb415 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv419 := &x.Data + yym420 := z.DecBinary() + _ = yym420 + if false { } else { - yyb9 = r.CheckBreak() + *yyv419 = r.DecodeBytes(*(*[]byte)(yyv419), false, false) } - if yyb9 { + } + for { + yyj415++ + if yyhl415 { + yyb415 = yyj415 > l + } else { + yyb415 = r.CheckBreak() + } + if yyb415 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj415-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5074,90 +5074,39 @@ func (x *Deployment) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym421 := z.EncBinary() + _ = yym421 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep422 := !z.EncBinary() + yy2arr422 := z.EncBasicHandle().StructToArray + var yyq422 [5]bool + _, _, _ = yysep422, yyq422, yy2arr422 + const yyr422 bool = false + yyq422[0] = x.Kind != "" + yyq422[1] = x.APIVersion != "" + yyq422[2] = true + yyq422[3] = true + yyq422[4] = true + var yynn422 int + if yyr422 || yy2arr422 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn422 = 0 + for _, b := range yyq422 { if b { - yynn2++ + yynn422++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn422) + yynn422 = 0 } - if yyr2 || yy2arr2 { + if yyr422 || yy2arr422 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq422[0] { + yym424 := z.EncBinary() + _ = yym424 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -5166,23 +5115,23 @@ func (x *Deployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq422[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym425 := z.EncBinary() + _ = yym425 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr422 || yy2arr422 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq422[1] { + yym427 := z.EncBinary() + _ = yym427 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -5191,19 +5140,70 @@ func (x *Deployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq422[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym428 := z.EncBinary() + _ = yym428 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr422 || yy2arr422 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq422[2] { + yy430 := &x.ObjectMeta + yy430.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq422[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy431 := &x.ObjectMeta + yy431.CodecEncodeSelf(e) + } + } + if yyr422 || yy2arr422 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq422[3] { + yy433 := &x.Spec + yy433.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq422[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy434 := &x.Spec + yy434.CodecEncodeSelf(e) + } + } + if yyr422 || yy2arr422 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq422[4] { + yy436 := &x.Status + yy436.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq422[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy437 := &x.Status + yy437.CodecEncodeSelf(e) + } + } + if yyr422 || yy2arr422 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5216,25 +5216,25 @@ func (x *Deployment) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym438 := z.DecBinary() + _ = yym438 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct439 := r.ContainerType() + if yyct439 == codecSelferValueTypeMap1234 { + yyl439 := r.ReadMapStart() + if yyl439 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl439, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct439 == codecSelferValueTypeArray1234 { + yyl439 := r.ReadArrayStart() + if yyl439 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl439, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5246,12 +5246,12 @@ func (x *Deployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys440Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys440Slc + var yyhl440 bool = l >= 0 + for yyj440 := 0; ; yyj440++ { + if yyhl440 { + if yyj440 >= l { break } } else { @@ -5260,31 +5260,10 @@ func (x *Deployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys440Slc = r.DecodeBytes(yys440Slc, true, true) + yys440 := string(yys440Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = DeploymentSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = DeploymentStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys440 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -5297,10 +5276,31 @@ func (x *Deployment) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv443 := &x.ObjectMeta + yyv443.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = DeploymentSpec{} + } else { + yyv444 := &x.Spec + yyv444.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = DeploymentStatus{} + } else { + yyv445 := &x.Status + yyv445.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys440) + } // end switch yys440 + } // end for yyj440 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5308,67 +5308,16 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj446 int + var yyb446 bool + var yyhl446 bool = l >= 0 + yyj446++ + if yyhl446 { + yyb446 = yyj446 > l } else { - yyb9 = r.CheckBreak() + yyb446 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = DeploymentSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = DeploymentStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb446 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5378,13 +5327,13 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj446++ + if yyhl446 { + yyb446 = yyj446 > l } else { - yyb9 = r.CheckBreak() + yyb446 = r.CheckBreak() } - if yyb9 { + if yyb446 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5394,18 +5343,69 @@ func (x *Deployment) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj446++ + if yyhl446 { + yyb446 = yyj446 > l + } else { + yyb446 = r.CheckBreak() + } + if yyb446 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv449 := &x.ObjectMeta + yyv449.CodecDecodeSelf(d) + } + yyj446++ + if yyhl446 { + yyb446 = yyj446 > l + } else { + yyb446 = r.CheckBreak() + } + if yyb446 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = DeploymentSpec{} + } else { + yyv450 := &x.Spec + yyv450.CodecDecodeSelf(d) + } + yyj446++ + if yyhl446 { + yyb446 = yyj446 > l + } else { + yyb446 = r.CheckBreak() + } + if yyb446 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = DeploymentStatus{} + } else { + yyv451 := &x.Status + yyv451.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj446++ + if yyhl446 { + yyb446 = yyj446 > l } else { - yyb9 = r.CheckBreak() + yyb446 = r.CheckBreak() } - if yyb9 { + if yyb446 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj446-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5417,74 +5417,74 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym452 := z.EncBinary() + _ = yym452 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [8]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Replicas != nil - yyq2[1] = x.Selector != nil - yyq2[3] = true - yyq2[4] = x.MinReadySeconds != 0 - yyq2[5] = x.RevisionHistoryLimit != nil - yyq2[6] = x.Paused != false - yyq2[7] = x.RollbackTo != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep453 := !z.EncBinary() + yy2arr453 := z.EncBasicHandle().StructToArray + var yyq453 [8]bool + _, _, _ = yysep453, yyq453, yy2arr453 + const yyr453 bool = false + yyq453[0] = x.Replicas != nil + yyq453[1] = x.Selector != nil + yyq453[3] = true + yyq453[4] = x.MinReadySeconds != 0 + yyq453[5] = x.RevisionHistoryLimit != nil + yyq453[6] = x.Paused != false + yyq453[7] = x.RollbackTo != nil + var yynn453 int + if yyr453 || yy2arr453 { r.EncodeArrayStart(8) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn453 = 1 + for _, b := range yyq453 { if b { - yynn2++ + yynn453++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn453) + yynn453 = 0 } - if yyr2 || yy2arr2 { + if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq453[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy4 := *x.Replicas - yym5 := z.EncBinary() - _ = yym5 + yy455 := *x.Replicas + yym456 := z.EncBinary() + _ = yym456 if false { } else { - r.EncodeInt(int64(yy4)) + r.EncodeInt(int64(yy455)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq453[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy6 := *x.Replicas - yym7 := z.EncBinary() - _ = yym7 + yy457 := *x.Replicas + yym458 := z.EncBinary() + _ = yym458 if false { } else { - r.EncodeInt(int64(yy6)) + r.EncodeInt(int64(yy457)) } } } } - if yyr2 || yy2arr2 { + if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq453[1] { if x.Selector == nil { r.EncodeNil() } else { @@ -5494,7 +5494,7 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq453[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -5505,39 +5505,39 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy12 := &x.Template - yy12.CodecEncodeSelf(e) + yy461 := &x.Template + yy461.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.Template - yy14.CodecEncodeSelf(e) + yy462 := &x.Template + yy462.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yy17 := &x.Strategy - yy17.CodecEncodeSelf(e) + if yyq453[3] { + yy464 := &x.Strategy + yy464.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq453[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("strategy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy19 := &x.Strategy - yy19.CodecEncodeSelf(e) + yy465 := &x.Strategy + yy465.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq453[4] { + yym467 := z.EncBinary() + _ = yym467 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) @@ -5546,58 +5546,58 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[4] { + if yyq453[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym468 := z.EncBinary() + _ = yym468 if false { } else { r.EncodeInt(int64(x.MinReadySeconds)) } } } - if yyr2 || yy2arr2 { + if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { + if yyq453[5] { if x.RevisionHistoryLimit == nil { r.EncodeNil() } else { - yy25 := *x.RevisionHistoryLimit - yym26 := z.EncBinary() - _ = yym26 + yy470 := *x.RevisionHistoryLimit + yym471 := z.EncBinary() + _ = yym471 if false { } else { - r.EncodeInt(int64(yy25)) + r.EncodeInt(int64(yy470)) } } } else { r.EncodeNil() } } else { - if yyq2[5] { + if yyq453[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revisionHistoryLimit")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RevisionHistoryLimit == nil { r.EncodeNil() } else { - yy27 := *x.RevisionHistoryLimit - yym28 := z.EncBinary() - _ = yym28 + yy472 := *x.RevisionHistoryLimit + yym473 := z.EncBinary() + _ = yym473 if false { } else { - r.EncodeInt(int64(yy27)) + r.EncodeInt(int64(yy472)) } } } } - if yyr2 || yy2arr2 { + if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym30 := z.EncBinary() - _ = yym30 + if yyq453[6] { + yym475 := z.EncBinary() + _ = yym475 if false { } else { r.EncodeBool(bool(x.Paused)) @@ -5606,21 +5606,21 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[6] { + if yyq453[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("paused")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym31 := z.EncBinary() - _ = yym31 + yym476 := z.EncBinary() + _ = yym476 if false { } else { r.EncodeBool(bool(x.Paused)) } } } - if yyr2 || yy2arr2 { + if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { + if yyq453[7] { if x.RollbackTo == nil { r.EncodeNil() } else { @@ -5630,7 +5630,7 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[7] { + if yyq453[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollbackTo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -5641,7 +5641,7 @@ func (x *DeploymentSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr453 || yy2arr453 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -5654,25 +5654,25 @@ func (x *DeploymentSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym478 := z.DecBinary() + _ = yym478 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct479 := r.ContainerType() + if yyct479 == codecSelferValueTypeMap1234 { + yyl479 := r.ReadMapStart() + if yyl479 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl479, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct479 == codecSelferValueTypeArray1234 { + yyl479 := r.ReadArrayStart() + if yyl479 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl479, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -5684,12 +5684,12 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys480Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys480Slc + var yyhl480 bool = l >= 0 + for yyj480 := 0; ; yyj480++ { + if yyhl480 { + if yyj480 >= l { break } } else { @@ -5698,10 +5698,10 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys480Slc = r.DecodeBytes(yys480Slc, true, true) + yys480 := string(yys480Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys480 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -5711,8 +5711,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym5 := z.DecBinary() - _ = yym5 + yym482 := z.DecBinary() + _ = yym482 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -5733,15 +5733,15 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv7 := &x.Template - yyv7.CodecDecodeSelf(d) + yyv484 := &x.Template + yyv484.CodecDecodeSelf(d) } case "strategy": if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv8 := &x.Strategy - yyv8.CodecDecodeSelf(d) + yyv485 := &x.Strategy + yyv485.CodecDecodeSelf(d) } case "minReadySeconds": if r.TryDecodeAsNil() { @@ -5758,8 +5758,8 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym11 := z.DecBinary() - _ = yym11 + yym488 := z.DecBinary() + _ = yym488 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) @@ -5783,9 +5783,9 @@ func (x *DeploymentSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.RollbackTo.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys480) + } // end switch yys480 + } // end for yyj480 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -5793,16 +5793,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj14 int - var yyb14 bool - var yyhl14 bool = l >= 0 - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + var yyj491 int + var yyb491 bool + var yyhl491 bool = l >= 0 + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb14 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb14 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5815,20 +5815,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym16 := z.DecBinary() - _ = yym16 + yym493 := z.DecBinary() + _ = yym493 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb14 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb14 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5843,13 +5843,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Selector.CodecDecodeSelf(d) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb14 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb14 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5857,16 +5857,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv18 := &x.Template - yyv18.CodecDecodeSelf(d) + yyv495 := &x.Template + yyv495.CodecDecodeSelf(d) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb14 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb14 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5874,16 +5874,16 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Strategy = DeploymentStrategy{} } else { - yyv19 := &x.Strategy - yyv19.CodecDecodeSelf(d) + yyv496 := &x.Strategy + yyv496.CodecDecodeSelf(d) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb14 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb14 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5893,13 +5893,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MinReadySeconds = int32(r.DecodeInt(32)) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb14 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb14 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5912,20 +5912,20 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.RevisionHistoryLimit == nil { x.RevisionHistoryLimit = new(int32) } - yym22 := z.DecBinary() - _ = yym22 + yym499 := z.DecBinary() + _ = yym499 if false { } else { *((*int32)(x.RevisionHistoryLimit)) = int32(r.DecodeInt(32)) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb14 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb14 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5935,13 +5935,13 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Paused = bool(r.DecodeBool()) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb14 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb14 { + if yyb491 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -5957,17 +5957,17 @@ func (x *DeploymentSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.RollbackTo.CodecDecodeSelf(d) } for { - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj491++ + if yyhl491 { + yyb491 = yyj491 > l } else { - yyb14 = r.CheckBreak() + yyb491 = r.CheckBreak() } - if yyb14 { + if yyb491 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj14-1, "") + z.DecStructFieldNotFound(yyj491-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -5979,36 +5979,86 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym502 := z.EncBinary() + _ = yym502 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = len(x.UpdatedAnnotations) != 0 - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep503 := !z.EncBinary() + yy2arr503 := z.EncBasicHandle().StructToArray + var yyq503 [5]bool + _, _, _ = yysep503, yyq503, yy2arr503 + const yyr503 bool = false + yyq503[0] = x.Kind != "" + yyq503[1] = x.APIVersion != "" + yyq503[3] = len(x.UpdatedAnnotations) != 0 + var yynn503 int + if yyr503 || yy2arr503 { r.EncodeArrayStart(5) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn503 = 2 + for _, b := range yyq503 { if b { - yynn2++ + yynn503++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn503) + yynn503 = 0 } - if yyr2 || yy2arr2 { + if yyr503 || yy2arr503 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + if yyq503[0] { + yym505 := z.EncBinary() + _ = yym505 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq503[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym506 := z.EncBinary() + _ = yym506 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr503 || yy2arr503 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq503[1] { + yym508 := z.EncBinary() + _ = yym508 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq503[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym509 := z.EncBinary() + _ = yym509 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr503 || yy2arr503 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym511 := z.EncBinary() + _ = yym511 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -6017,21 +6067,21 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym512 := z.EncBinary() + _ = yym512 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr503 || yy2arr503 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq503[3] { if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym514 := z.EncBinary() + _ = yym514 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -6041,15 +6091,15 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq503[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("updatedAnnotations")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UpdatedAnnotations == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym515 := z.EncBinary() + _ = yym515 if false { } else { z.F.EncMapStringStringV(x.UpdatedAnnotations, false, e) @@ -6057,68 +6107,18 @@ func (x *DeploymentRollback) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr503 || yy2arr503 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy10 := &x.RollbackTo - yy10.CodecEncodeSelf(e) + yy517 := &x.RollbackTo + yy517.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollbackTo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.RollbackTo - yy12.CodecEncodeSelf(e) + yy518 := &x.RollbackTo + yy518.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr503 || yy2arr503 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6131,25 +6131,25 @@ func (x *DeploymentRollback) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym519 := z.DecBinary() + _ = yym519 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct520 := r.ContainerType() + if yyct520 == codecSelferValueTypeMap1234 { + yyl520 := r.ReadMapStart() + if yyl520 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl520, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct520 == codecSelferValueTypeArray1234 { + yyl520 := r.ReadArrayStart() + if yyl520 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl520, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6161,12 +6161,12 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys521Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys521Slc + var yyhl521 bool = l >= 0 + for yyj521 := 0; ; yyj521++ { + if yyhl521 { + if yyj521 >= l { break } } else { @@ -6175,35 +6175,10 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys521Slc = r.DecodeBytes(yys521Slc, true, true) + yys521 := string(yys521Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "name": - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - case "updatedAnnotations": - if r.TryDecodeAsNil() { - x.UpdatedAnnotations = nil - } else { - yyv5 := &x.UpdatedAnnotations - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - z.F.DecMapStringStringX(yyv5, false, d) - } - } - case "rollbackTo": - if r.TryDecodeAsNil() { - x.RollbackTo = RollbackConfig{} - } else { - yyv7 := &x.RollbackTo - yyv7.CodecDecodeSelf(d) - } + switch yys521 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6216,10 +6191,35 @@ func (x *DeploymentRollback) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + case "name": + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + case "updatedAnnotations": + if r.TryDecodeAsNil() { + x.UpdatedAnnotations = nil + } else { + yyv525 := &x.UpdatedAnnotations + yym526 := z.DecBinary() + _ = yym526 + if false { + } else { + z.F.DecMapStringStringX(yyv525, false, d) + } + } + case "rollbackTo": + if r.TryDecodeAsNil() { + x.RollbackTo = RollbackConfig{} + } else { + yyv527 := &x.RollbackTo + yyv527.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys521) + } // end switch yys521 + } // end for yyj521 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6227,71 +6227,16 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj528 int + var yyb528 bool + var yyhl528 bool = l >= 0 + yyj528++ + if yyhl528 { + yyb528 = yyj528 > l } else { - yyb10 = r.CheckBreak() + yyb528 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.UpdatedAnnotations = nil - } else { - yyv12 := &x.UpdatedAnnotations - yym13 := z.DecBinary() - _ = yym13 - if false { - } else { - z.F.DecMapStringStringX(yyv12, false, d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RollbackTo = RollbackConfig{} - } else { - yyv14 := &x.RollbackTo - yyv14.CodecDecodeSelf(d) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb528 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6301,13 +6246,13 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj528++ + if yyhl528 { + yyb528 = yyj528 > l } else { - yyb10 = r.CheckBreak() + yyb528 = r.CheckBreak() } - if yyb10 { + if yyb528 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6317,18 +6262,73 @@ func (x *DeploymentRollback) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj528++ + if yyhl528 { + yyb528 = yyj528 > l + } else { + yyb528 = r.CheckBreak() + } + if yyb528 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + yyj528++ + if yyhl528 { + yyb528 = yyj528 > l + } else { + yyb528 = r.CheckBreak() + } + if yyb528 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.UpdatedAnnotations = nil + } else { + yyv532 := &x.UpdatedAnnotations + yym533 := z.DecBinary() + _ = yym533 + if false { } else { - yyb10 = r.CheckBreak() + z.F.DecMapStringStringX(yyv532, false, d) } - if yyb10 { + } + yyj528++ + if yyhl528 { + yyb528 = yyj528 > l + } else { + yyb528 = r.CheckBreak() + } + if yyb528 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RollbackTo = RollbackConfig{} + } else { + yyv534 := &x.RollbackTo + yyv534.CodecDecodeSelf(d) + } + for { + yyj528++ + if yyhl528 { + yyb528 = yyj528 > l + } else { + yyb528 = r.CheckBreak() + } + if yyb528 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj528-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6340,35 +6340,35 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym535 := z.EncBinary() + _ = yym535 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Revision != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep536 := !z.EncBinary() + yy2arr536 := z.EncBasicHandle().StructToArray + var yyq536 [1]bool + _, _, _ = yysep536, yyq536, yy2arr536 + const yyr536 bool = false + yyq536[0] = x.Revision != 0 + var yynn536 int + if yyr536 || yy2arr536 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn536 = 0 + for _, b := range yyq536 { if b { - yynn2++ + yynn536++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn536) + yynn536 = 0 } - if yyr2 || yy2arr2 { + if yyr536 || yy2arr536 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq536[0] { + yym538 := z.EncBinary() + _ = yym538 if false { } else { r.EncodeInt(int64(x.Revision)) @@ -6377,19 +6377,19 @@ func (x *RollbackConfig) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[0] { + if yyq536[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym539 := z.EncBinary() + _ = yym539 if false { } else { r.EncodeInt(int64(x.Revision)) } } } - if yyr2 || yy2arr2 { + if yyr536 || yy2arr536 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6402,25 +6402,25 @@ func (x *RollbackConfig) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym540 := z.DecBinary() + _ = yym540 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct541 := r.ContainerType() + if yyct541 == codecSelferValueTypeMap1234 { + yyl541 := r.ReadMapStart() + if yyl541 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl541, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct541 == codecSelferValueTypeArray1234 { + yyl541 := r.ReadArrayStart() + if yyl541 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl541, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6432,12 +6432,12 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys542Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys542Slc + var yyhl542 bool = l >= 0 + for yyj542 := 0; ; yyj542++ { + if yyhl542 { + if yyj542 >= l { break } } else { @@ -6446,10 +6446,10 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys542Slc = r.DecodeBytes(yys542Slc, true, true) + yys542 := string(yys542Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys542 { case "revision": if r.TryDecodeAsNil() { x.Revision = 0 @@ -6457,9 +6457,9 @@ func (x *RollbackConfig) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys542) + } // end switch yys542 + } // end for yyj542 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6467,16 +6467,16 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj544 int + var yyb544 bool + var yyhl544 bool = l >= 0 + yyj544++ + if yyhl544 { + yyb544 = yyj544 > l } else { - yyb5 = r.CheckBreak() + yyb544 = r.CheckBreak() } - if yyb5 { + if yyb544 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6487,17 +6487,17 @@ func (x *RollbackConfig) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Revision = int64(r.DecodeInt(64)) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj544++ + if yyhl544 { + yyb544 = yyj544 > l } else { - yyb5 = r.CheckBreak() + yyb544 = r.CheckBreak() } - if yyb5 { + if yyb544 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj544-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6509,49 +6509,49 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym546 := z.EncBinary() + _ = yym546 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Type != "" - yyq2[1] = x.RollingUpdate != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep547 := !z.EncBinary() + yy2arr547 := z.EncBasicHandle().StructToArray + var yyq547 [2]bool + _, _, _ = yysep547, yyq547, yy2arr547 + const yyr547 bool = false + yyq547[0] = x.Type != "" + yyq547[1] = x.RollingUpdate != nil + var yynn547 int + if yyr547 || yy2arr547 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn547 = 0 + for _, b := range yyq547 { if b { - yynn2++ + yynn547++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn547) + yynn547 = 0 } - if yyr2 || yy2arr2 { + if yyr547 || yy2arr547 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq547[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq547[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr547 || yy2arr547 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq547[1] { if x.RollingUpdate == nil { r.EncodeNil() } else { @@ -6561,7 +6561,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq547[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rollingUpdate")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -6572,7 +6572,7 @@ func (x *DeploymentStrategy) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr547 || yy2arr547 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6585,25 +6585,25 @@ func (x *DeploymentStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym550 := z.DecBinary() + _ = yym550 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct551 := r.ContainerType() + if yyct551 == codecSelferValueTypeMap1234 { + yyl551 := r.ReadMapStart() + if yyl551 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl551, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct551 == codecSelferValueTypeArray1234 { + yyl551 := r.ReadArrayStart() + if yyl551 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl551, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6615,12 +6615,12 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys552Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys552Slc + var yyhl552 bool = l >= 0 + for yyj552 := 0; ; yyj552++ { + if yyhl552 { + if yyj552 >= l { break } } else { @@ -6629,10 +6629,10 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys552Slc = r.DecodeBytes(yys552Slc, true, true) + yys552 := string(yys552Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys552 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -6651,9 +6651,9 @@ func (x *DeploymentStrategy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.RollingUpdate.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys552) + } // end switch yys552 + } // end for yyj552 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6661,16 +6661,16 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj555 int + var yyb555 bool + var yyhl555 bool = l >= 0 + yyj555++ + if yyhl555 { + yyb555 = yyj555 > l } else { - yyb6 = r.CheckBreak() + yyb555 = r.CheckBreak() } - if yyb6 { + if yyb555 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6680,13 +6680,13 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = DeploymentStrategyType(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj555++ + if yyhl555 { + yyb555 = yyj555 > l } else { - yyb6 = r.CheckBreak() + yyb555 = r.CheckBreak() } - if yyb6 { + if yyb555 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6702,17 +6702,17 @@ func (x *DeploymentStrategy) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.RollingUpdate.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj555++ + if yyhl555 { + yyb555 = yyj555 > l } else { - yyb6 = r.CheckBreak() + yyb555 = r.CheckBreak() } - if yyb6 { + if yyb555 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj555-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6721,8 +6721,8 @@ func (x DeploymentStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym558 := z.EncBinary() + _ = yym558 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -6734,8 +6734,8 @@ func (x *DeploymentStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym559 := z.DecBinary() + _ = yym559 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -6750,42 +6750,42 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym560 := z.EncBinary() + _ = yym560 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.MaxUnavailable != nil - yyq2[1] = x.MaxSurge != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep561 := !z.EncBinary() + yy2arr561 := z.EncBasicHandle().StructToArray + var yyq561 [2]bool + _, _, _ = yysep561, yyq561, yy2arr561 + const yyr561 bool = false + yyq561[0] = x.MaxUnavailable != nil + yyq561[1] = x.MaxSurge != nil + var yynn561 int + if yyr561 || yy2arr561 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn561 = 0 + for _, b := range yyq561 { if b { - yynn2++ + yynn561++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn561) + yynn561 = 0 } - if yyr2 || yy2arr2 { + if yyr561 || yy2arr561 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq561[0] { if x.MaxUnavailable == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym563 := z.EncBinary() + _ = yym563 if false { } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { - } else if !yym4 && z.IsJSONHandle() { + } else if !yym563 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxUnavailable) } else { z.EncFallback(x.MaxUnavailable) @@ -6795,18 +6795,18 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq561[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxUnavailable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MaxUnavailable == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym564 := z.EncBinary() + _ = yym564 if false { } else if z.HasExtensions() && z.EncExt(x.MaxUnavailable) { - } else if !yym5 && z.IsJSONHandle() { + } else if !yym564 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxUnavailable) } else { z.EncFallback(x.MaxUnavailable) @@ -6814,17 +6814,17 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr561 || yy2arr561 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq561[1] { if x.MaxSurge == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym566 := z.EncBinary() + _ = yym566 if false { } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { - } else if !yym7 && z.IsJSONHandle() { + } else if !yym566 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxSurge) } else { z.EncFallback(x.MaxSurge) @@ -6834,18 +6834,18 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq561[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxSurge")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MaxSurge == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym567 := z.EncBinary() + _ = yym567 if false { } else if z.HasExtensions() && z.EncExt(x.MaxSurge) { - } else if !yym8 && z.IsJSONHandle() { + } else if !yym567 && z.IsJSONHandle() { z.EncJSONMarshal(x.MaxSurge) } else { z.EncFallback(x.MaxSurge) @@ -6853,7 +6853,7 @@ func (x *RollingUpdateDeployment) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr561 || yy2arr561 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6866,25 +6866,25 @@ func (x *RollingUpdateDeployment) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym568 := z.DecBinary() + _ = yym568 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct569 := r.ContainerType() + if yyct569 == codecSelferValueTypeMap1234 { + yyl569 := r.ReadMapStart() + if yyl569 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl569, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct569 == codecSelferValueTypeArray1234 { + yyl569 := r.ReadArrayStart() + if yyl569 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl569, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6896,12 +6896,12 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys570Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys570Slc + var yyhl570 bool = l >= 0 + for yyj570 := 0; ; yyj570++ { + if yyhl570 { + if yyj570 >= l { break } } else { @@ -6910,10 +6910,10 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys570Slc = r.DecodeBytes(yys570Slc, true, true) + yys570 := string(yys570Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys570 { case "maxUnavailable": if r.TryDecodeAsNil() { if x.MaxUnavailable != nil { @@ -6923,11 +6923,11 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.MaxUnavailable == nil { x.MaxUnavailable = new(pkg5_intstr.IntOrString) } - yym5 := z.DecBinary() - _ = yym5 + yym572 := z.DecBinary() + _ = yym572 if false { } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { - } else if !yym5 && z.IsJSONHandle() { + } else if !yym572 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxUnavailable) } else { z.DecFallback(x.MaxUnavailable, false) @@ -6942,20 +6942,20 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.MaxSurge == nil { x.MaxSurge = new(pkg5_intstr.IntOrString) } - yym7 := z.DecBinary() - _ = yym7 + yym574 := z.DecBinary() + _ = yym574 if false { } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { - } else if !yym7 && z.IsJSONHandle() { + } else if !yym574 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxSurge) } else { z.DecFallback(x.MaxSurge, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys570) + } // end switch yys570 + } // end for yyj570 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6963,16 +6963,16 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj575 int + var yyb575 bool + var yyhl575 bool = l >= 0 + yyj575++ + if yyhl575 { + yyb575 = yyj575 > l } else { - yyb8 = r.CheckBreak() + yyb575 = r.CheckBreak() } - if yyb8 { + if yyb575 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6985,23 +6985,23 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if x.MaxUnavailable == nil { x.MaxUnavailable = new(pkg5_intstr.IntOrString) } - yym10 := z.DecBinary() - _ = yym10 + yym577 := z.DecBinary() + _ = yym577 if false { } else if z.HasExtensions() && z.DecExt(x.MaxUnavailable) { - } else if !yym10 && z.IsJSONHandle() { + } else if !yym577 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxUnavailable) } else { z.DecFallback(x.MaxUnavailable, false) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj575++ + if yyhl575 { + yyb575 = yyj575 > l } else { - yyb8 = r.CheckBreak() + yyb575 = r.CheckBreak() } - if yyb8 { + if yyb575 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7014,28 +7014,28 @@ func (x *RollingUpdateDeployment) codecDecodeSelfFromArray(l int, d *codec1978.D if x.MaxSurge == nil { x.MaxSurge = new(pkg5_intstr.IntOrString) } - yym12 := z.DecBinary() - _ = yym12 + yym579 := z.DecBinary() + _ = yym579 if false { } else if z.HasExtensions() && z.DecExt(x.MaxSurge) { - } else if !yym12 && z.IsJSONHandle() { + } else if !yym579 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.MaxSurge) } else { z.DecFallback(x.MaxSurge, false) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj575++ + if yyhl575 { + yyb575 = yyj575 > l } else { - yyb8 = r.CheckBreak() + yyb575 = r.CheckBreak() } - if yyb8 { + if yyb575 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj575-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7047,39 +7047,39 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym580 := z.EncBinary() + _ = yym580 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.ObservedGeneration != 0 - yyq2[1] = x.Replicas != 0 - yyq2[2] = x.UpdatedReplicas != 0 - yyq2[3] = x.AvailableReplicas != 0 - yyq2[4] = x.UnavailableReplicas != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep581 := !z.EncBinary() + yy2arr581 := z.EncBasicHandle().StructToArray + var yyq581 [5]bool + _, _, _ = yysep581, yyq581, yy2arr581 + const yyr581 bool = false + yyq581[0] = x.ObservedGeneration != 0 + yyq581[1] = x.Replicas != 0 + yyq581[2] = x.UpdatedReplicas != 0 + yyq581[3] = x.AvailableReplicas != 0 + yyq581[4] = x.UnavailableReplicas != 0 + var yynn581 int + if yyr581 || yy2arr581 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn581 = 0 + for _, b := range yyq581 { if b { - yynn2++ + yynn581++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn581) + yynn581 = 0 } - if yyr2 || yy2arr2 { + if yyr581 || yy2arr581 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq581[0] { + yym583 := z.EncBinary() + _ = yym583 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -7088,23 +7088,23 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[0] { + if yyq581[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym584 := z.EncBinary() + _ = yym584 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr2 || yy2arr2 { + if yyr581 || yy2arr581 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq581[1] { + yym586 := z.EncBinary() + _ = yym586 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -7113,23 +7113,23 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[1] { + if yyq581[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym587 := z.EncBinary() + _ = yym587 if false { } else { r.EncodeInt(int64(x.Replicas)) } } } - if yyr2 || yy2arr2 { + if yyr581 || yy2arr581 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq581[2] { + yym589 := z.EncBinary() + _ = yym589 if false { } else { r.EncodeInt(int64(x.UpdatedReplicas)) @@ -7138,23 +7138,23 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[2] { + if yyq581[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("updatedReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym590 := z.EncBinary() + _ = yym590 if false { } else { r.EncodeInt(int64(x.UpdatedReplicas)) } } } - if yyr2 || yy2arr2 { + if yyr581 || yy2arr581 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq581[3] { + yym592 := z.EncBinary() + _ = yym592 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) @@ -7163,23 +7163,23 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[3] { + if yyq581[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym593 := z.EncBinary() + _ = yym593 if false { } else { r.EncodeInt(int64(x.AvailableReplicas)) } } } - if yyr2 || yy2arr2 { + if yyr581 || yy2arr581 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq581[4] { + yym595 := z.EncBinary() + _ = yym595 if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) @@ -7188,19 +7188,19 @@ func (x *DeploymentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[4] { + if yyq581[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unavailableReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym596 := z.EncBinary() + _ = yym596 if false { } else { r.EncodeInt(int64(x.UnavailableReplicas)) } } } - if yyr2 || yy2arr2 { + if yyr581 || yy2arr581 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7213,25 +7213,25 @@ func (x *DeploymentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym597 := z.DecBinary() + _ = yym597 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct598 := r.ContainerType() + if yyct598 == codecSelferValueTypeMap1234 { + yyl598 := r.ReadMapStart() + if yyl598 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl598, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct598 == codecSelferValueTypeArray1234 { + yyl598 := r.ReadArrayStart() + if yyl598 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl598, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7243,12 +7243,12 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys599Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys599Slc + var yyhl599 bool = l >= 0 + for yyj599 := 0; ; yyj599++ { + if yyhl599 { + if yyj599 >= l { break } } else { @@ -7257,10 +7257,10 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys599Slc = r.DecodeBytes(yys599Slc, true, true) + yys599 := string(yys599Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys599 { case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 @@ -7292,9 +7292,9 @@ func (x *DeploymentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.UnavailableReplicas = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys599) + } // end switch yys599 + } // end for yyj599 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7302,16 +7302,16 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj605 int + var yyb605 bool + var yyhl605 bool = l >= 0 + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb9 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb9 { + if yyb605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7321,13 +7321,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb9 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb9 { + if yyb605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7337,13 +7337,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb9 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb9 { + if yyb605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7353,13 +7353,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UpdatedReplicas = int32(r.DecodeInt(32)) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb9 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb9 { + if yyb605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7369,13 +7369,13 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.AvailableReplicas = int32(r.DecodeInt(32)) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb9 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb9 { + if yyb605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7386,17 +7386,17 @@ func (x *DeploymentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.UnavailableReplicas = int32(r.DecodeInt(32)) } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb9 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb9 { + if yyb605 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj605-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7408,68 +7408,118 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym611 := z.EncBinary() + _ = yym611 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep612 := !z.EncBinary() + yy2arr612 := z.EncBasicHandle().StructToArray + var yyq612 [4]bool + _, _, _ = yysep612, yyq612, yy2arr612 + const yyr612 bool = false + yyq612[0] = x.Kind != "" + yyq612[1] = x.APIVersion != "" + yyq612[2] = true + var yynn612 int + if yyr612 || yy2arr612 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn612 = 1 + for _, b := range yyq612 { if b { - yynn2++ + yynn612++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn612) + yynn612 = 0 } - if yyr2 || yy2arr2 { + if yyr612 || yy2arr612 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq612[0] { + yym614 := z.EncBinary() + _ = yym614 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq612[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym615 := z.EncBinary() + _ = yym615 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr612 || yy2arr612 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq612[1] { + yym617 := z.EncBinary() + _ = yym617 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq612[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym618 := z.EncBinary() + _ = yym618 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr612 || yy2arr612 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq612[2] { + yy620 := &x.ListMeta + yym621 := z.EncBinary() + _ = yym621 + if false { + } else if z.HasExtensions() && z.EncExt(yy620) { + } else { + z.EncFallback(yy620) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq612[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy622 := &x.ListMeta + yym623 := z.EncBinary() + _ = yym623 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy622) { } else { - z.EncFallback(yy6) + z.EncFallback(yy622) } } } - if yyr2 || yy2arr2 { + if yyr612 || yy2arr612 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym625 := z.EncBinary() + _ = yym625 if false { } else { h.encSliceDeployment(([]Deployment)(x.Items), e) @@ -7482,65 +7532,15 @@ func (x *DeploymentList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym626 := z.EncBinary() + _ = yym626 if false { } else { h.encSliceDeployment(([]Deployment)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr612 || yy2arr612 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7553,25 +7553,25 @@ func (x *DeploymentList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym627 := z.DecBinary() + _ = yym627 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct628 := r.ContainerType() + if yyct628 == codecSelferValueTypeMap1234 { + yyl628 := r.ReadMapStart() + if yyl628 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl628, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct628 == codecSelferValueTypeArray1234 { + yyl628 := r.ReadArrayStart() + if yyl628 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl628, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7583,12 +7583,12 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys629Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys629Slc + var yyhl629 bool = l >= 0 + for yyj629 := 0; ; yyj629++ { + if yyhl629 { + if yyj629 >= l { break } } else { @@ -7597,35 +7597,10 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys629Slc = r.DecodeBytes(yys629Slc, true, true) + yys629 := string(yys629Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceDeployment((*[]Deployment)(yyv6), d) - } - } + switch yys629 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7638,10 +7613,35 @@ func (x *DeploymentList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv632 := &x.ListMeta + yym633 := z.DecBinary() + _ = yym633 + if false { + } else if z.HasExtensions() && z.DecExt(yyv632) { + } else { + z.DecFallback(yyv632, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv634 := &x.Items + yym635 := z.DecBinary() + _ = yym635 + if false { + } else { + h.decSliceDeployment((*[]Deployment)(yyv634), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys629) + } // end switch yys629 + } // end for yyj629 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7649,61 +7649,16 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj636 int + var yyb636 bool + var yyhl636 bool = l >= 0 + yyj636++ + if yyhl636 { + yyb636 = yyj636 > l } else { - yyb10 = r.CheckBreak() + yyb636 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceDeployment((*[]Deployment)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7713,13 +7668,13 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj636++ + if yyhl636 { + yyb636 = yyj636 > l } else { - yyb10 = r.CheckBreak() + yyb636 = r.CheckBreak() } - if yyb10 { + if yyb636 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7729,18 +7684,63 @@ func (x *DeploymentList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj636++ + if yyhl636 { + yyb636 = yyj636 > l + } else { + yyb636 = r.CheckBreak() + } + if yyb636 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv639 := &x.ListMeta + yym640 := z.DecBinary() + _ = yym640 + if false { + } else if z.HasExtensions() && z.DecExt(yyv639) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv639, false) } - if yyb10 { + } + yyj636++ + if yyhl636 { + yyb636 = yyj636 > l + } else { + yyb636 = r.CheckBreak() + } + if yyb636 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv641 := &x.Items + yym642 := z.DecBinary() + _ = yym642 + if false { + } else { + h.decSliceDeployment((*[]Deployment)(yyv641), d) + } + } + for { + yyj636++ + if yyhl636 { + yyb636 = yyj636 > l + } else { + yyb636 = r.CheckBreak() + } + if yyb636 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj636-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7752,33 +7752,33 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym643 := z.EncBinary() + _ = yym643 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Selector != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep644 := !z.EncBinary() + yy2arr644 := z.EncBasicHandle().StructToArray + var yyq644 [2]bool + _, _, _ = yysep644, yyq644, yy2arr644 + const yyr644 bool = false + yyq644[0] = x.Selector != nil + var yynn644 int + if yyr644 || yy2arr644 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn644 = 1 + for _, b := range yyq644 { if b { - yynn2++ + yynn644++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn644) + yynn644 = 0 } - if yyr2 || yy2arr2 { + if yyr644 || yy2arr644 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq644[0] { if x.Selector == nil { r.EncodeNil() } else { @@ -7788,7 +7788,7 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq644[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -7799,18 +7799,18 @@ func (x *DaemonSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr644 || yy2arr644 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.Template - yy7.CodecEncodeSelf(e) + yy647 := &x.Template + yy647.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.Template - yy9.CodecEncodeSelf(e) + yy648 := &x.Template + yy648.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr644 || yy2arr644 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7823,25 +7823,25 @@ func (x *DaemonSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym649 := z.DecBinary() + _ = yym649 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct650 := r.ContainerType() + if yyct650 == codecSelferValueTypeMap1234 { + yyl650 := r.ReadMapStart() + if yyl650 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl650, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct650 == codecSelferValueTypeArray1234 { + yyl650 := r.ReadArrayStart() + if yyl650 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl650, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7853,12 +7853,12 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys651Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys651Slc + var yyhl651 bool = l >= 0 + for yyj651 := 0; ; yyj651++ { + if yyhl651 { + if yyj651 >= l { break } } else { @@ -7867,10 +7867,10 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys651Slc = r.DecodeBytes(yys651Slc, true, true) + yys651 := string(yys651Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys651 { case "selector": if r.TryDecodeAsNil() { if x.Selector != nil { @@ -7886,13 +7886,13 @@ func (x *DaemonSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv5 := &x.Template - yyv5.CodecDecodeSelf(d) + yyv653 := &x.Template + yyv653.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys651) + } // end switch yys651 + } // end for yyj651 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7900,16 +7900,16 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj654 int + var yyb654 bool + var yyhl654 bool = l >= 0 + yyj654++ + if yyhl654 { + yyb654 = yyj654 > l } else { - yyb6 = r.CheckBreak() + yyb654 = r.CheckBreak() } - if yyb6 { + if yyb654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7924,13 +7924,13 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Selector.CodecDecodeSelf(d) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj654++ + if yyhl654 { + yyb654 = yyj654 > l } else { - yyb6 = r.CheckBreak() + yyb654 = r.CheckBreak() } - if yyb6 { + if yyb654 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7938,21 +7938,21 @@ func (x *DaemonSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv8 := &x.Template - yyv8.CodecDecodeSelf(d) + yyv656 := &x.Template + yyv656.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj654++ + if yyhl654 { + yyb654 = yyj654 > l } else { - yyb6 = r.CheckBreak() + yyb654 = r.CheckBreak() } - if yyb6 { + if yyb654 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj654-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7964,33 +7964,33 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym657 := z.EncBinary() + _ = yym657 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep658 := !z.EncBinary() + yy2arr658 := z.EncBasicHandle().StructToArray + var yyq658 [3]bool + _, _, _ = yysep658, yyq658, yy2arr658 + const yyr658 bool = false + var yynn658 int + if yyr658 || yy2arr658 { r.EncodeArrayStart(3) } else { - yynn2 = 3 - for _, b := range yyq2 { + yynn658 = 3 + for _, b := range yyq658 { if b { - yynn2++ + yynn658++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn658) + yynn658 = 0 } - if yyr2 || yy2arr2 { + if yyr658 || yy2arr658 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym660 := z.EncBinary() + _ = yym660 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) @@ -7999,17 +7999,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym661 := z.EncBinary() + _ = yym661 if false { } else { r.EncodeInt(int64(x.CurrentNumberScheduled)) } } - if yyr2 || yy2arr2 { + if yyr658 || yy2arr658 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym663 := z.EncBinary() + _ = yym663 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) @@ -8018,17 +8018,17 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("numberMisscheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym664 := z.EncBinary() + _ = yym664 if false { } else { r.EncodeInt(int64(x.NumberMisscheduled)) } } - if yyr2 || yy2arr2 { + if yyr658 || yy2arr658 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym666 := z.EncBinary() + _ = yym666 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) @@ -8037,14 +8037,14 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredNumberScheduled")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym667 := z.EncBinary() + _ = yym667 if false { } else { r.EncodeInt(int64(x.DesiredNumberScheduled)) } } - if yyr2 || yy2arr2 { + if yyr658 || yy2arr658 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8057,25 +8057,25 @@ func (x *DaemonSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym668 := z.DecBinary() + _ = yym668 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct669 := r.ContainerType() + if yyct669 == codecSelferValueTypeMap1234 { + yyl669 := r.ReadMapStart() + if yyl669 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl669, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct669 == codecSelferValueTypeArray1234 { + yyl669 := r.ReadArrayStart() + if yyl669 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl669, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8087,12 +8087,12 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys670Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys670Slc + var yyhl670 bool = l >= 0 + for yyj670 := 0; ; yyj670++ { + if yyhl670 { + if yyj670 >= l { break } } else { @@ -8101,10 +8101,10 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys670Slc = r.DecodeBytes(yys670Slc, true, true) + yys670 := string(yys670Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys670 { case "currentNumberScheduled": if r.TryDecodeAsNil() { x.CurrentNumberScheduled = 0 @@ -8124,9 +8124,9 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys670) + } // end switch yys670 + } // end for yyj670 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8134,16 +8134,16 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj674 int + var yyb674 bool + var yyhl674 bool = l >= 0 + yyj674++ + if yyhl674 { + yyb674 = yyj674 > l } else { - yyb7 = r.CheckBreak() + yyb674 = r.CheckBreak() } - if yyb7 { + if yyb674 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8153,13 +8153,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.CurrentNumberScheduled = int32(r.DecodeInt(32)) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj674++ + if yyhl674 { + yyb674 = yyj674 > l } else { - yyb7 = r.CheckBreak() + yyb674 = r.CheckBreak() } - if yyb7 { + if yyb674 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8169,13 +8169,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.NumberMisscheduled = int32(r.DecodeInt(32)) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj674++ + if yyhl674 { + yyb674 = yyj674 > l } else { - yyb7 = r.CheckBreak() + yyb674 = r.CheckBreak() } - if yyb7 { + if yyb674 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8186,17 +8186,17 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj674++ + if yyhl674 { + yyb674 = yyj674 > l } else { - yyb7 = r.CheckBreak() + yyb674 = r.CheckBreak() } - if yyb7 { + if yyb674 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj674-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8208,90 +8208,39 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym678 := z.EncBinary() + _ = yym678 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep679 := !z.EncBinary() + yy2arr679 := z.EncBasicHandle().StructToArray + var yyq679 [5]bool + _, _, _ = yysep679, yyq679, yy2arr679 + const yyr679 bool = false + yyq679[0] = x.Kind != "" + yyq679[1] = x.APIVersion != "" + yyq679[2] = true + yyq679[3] = true + yyq679[4] = true + var yynn679 int + if yyr679 || yy2arr679 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn679 = 0 + for _, b := range yyq679 { if b { - yynn2++ + yynn679++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn679) + yynn679 = 0 } - if yyr2 || yy2arr2 { + if yyr679 || yy2arr679 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq679[0] { + yym681 := z.EncBinary() + _ = yym681 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8300,23 +8249,23 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq679[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym682 := z.EncBinary() + _ = yym682 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr679 || yy2arr679 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq679[1] { + yym684 := z.EncBinary() + _ = yym684 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8325,19 +8274,70 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq679[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym685 := z.EncBinary() + _ = yym685 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr679 || yy2arr679 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq679[2] { + yy687 := &x.ObjectMeta + yy687.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq679[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy688 := &x.ObjectMeta + yy688.CodecEncodeSelf(e) + } + } + if yyr679 || yy2arr679 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq679[3] { + yy690 := &x.Spec + yy690.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq679[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy691 := &x.Spec + yy691.CodecEncodeSelf(e) + } + } + if yyr679 || yy2arr679 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq679[4] { + yy693 := &x.Status + yy693.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq679[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy694 := &x.Status + yy694.CodecEncodeSelf(e) + } + } + if yyr679 || yy2arr679 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8350,25 +8350,25 @@ func (x *DaemonSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym695 := z.DecBinary() + _ = yym695 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct696 := r.ContainerType() + if yyct696 == codecSelferValueTypeMap1234 { + yyl696 := r.ReadMapStart() + if yyl696 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl696, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct696 == codecSelferValueTypeArray1234 { + yyl696 := r.ReadArrayStart() + if yyl696 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl696, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8380,12 +8380,12 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys697Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys697Slc + var yyhl697 bool = l >= 0 + for yyj697 := 0; ; yyj697++ { + if yyhl697 { + if yyj697 >= l { break } } else { @@ -8394,31 +8394,10 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys697Slc = r.DecodeBytes(yys697Slc, true, true) + yys697 := string(yys697Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = DaemonSetSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = DaemonSetStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys697 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8431,10 +8410,31 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv700 := &x.ObjectMeta + yyv700.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = DaemonSetSpec{} + } else { + yyv701 := &x.Spec + yyv701.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = DaemonSetStatus{} + } else { + yyv702 := &x.Status + yyv702.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys697) + } // end switch yys697 + } // end for yyj697 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8442,67 +8442,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj703 int + var yyb703 bool + var yyhl703 bool = l >= 0 + yyj703++ + if yyhl703 { + yyb703 = yyj703 > l } else { - yyb9 = r.CheckBreak() + yyb703 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = DaemonSetSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = DaemonSetStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb703 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8512,13 +8461,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj703++ + if yyhl703 { + yyb703 = yyj703 > l } else { - yyb9 = r.CheckBreak() + yyb703 = r.CheckBreak() } - if yyb9 { + if yyb703 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8528,18 +8477,69 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj703++ + if yyhl703 { + yyb703 = yyj703 > l + } else { + yyb703 = r.CheckBreak() + } + if yyb703 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv706 := &x.ObjectMeta + yyv706.CodecDecodeSelf(d) + } + yyj703++ + if yyhl703 { + yyb703 = yyj703 > l + } else { + yyb703 = r.CheckBreak() + } + if yyb703 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = DaemonSetSpec{} + } else { + yyv707 := &x.Spec + yyv707.CodecDecodeSelf(d) + } + yyj703++ + if yyhl703 { + yyb703 = yyj703 > l + } else { + yyb703 = r.CheckBreak() + } + if yyb703 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = DaemonSetStatus{} + } else { + yyv708 := &x.Status + yyv708.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj703++ + if yyhl703 { + yyb703 = yyj703 > l } else { - yyb9 = r.CheckBreak() + yyb703 = r.CheckBreak() } - if yyb9 { + if yyb703 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj703-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8551,68 +8551,118 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym709 := z.EncBinary() + _ = yym709 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep710 := !z.EncBinary() + yy2arr710 := z.EncBasicHandle().StructToArray + var yyq710 [4]bool + _, _, _ = yysep710, yyq710, yy2arr710 + const yyr710 bool = false + yyq710[0] = x.Kind != "" + yyq710[1] = x.APIVersion != "" + yyq710[2] = true + var yynn710 int + if yyr710 || yy2arr710 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn710 = 1 + for _, b := range yyq710 { if b { - yynn2++ + yynn710++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn710) + yynn710 = 0 } - if yyr2 || yy2arr2 { + if yyr710 || yy2arr710 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq710[0] { + yym712 := z.EncBinary() + _ = yym712 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq710[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym713 := z.EncBinary() + _ = yym713 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr710 || yy2arr710 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq710[1] { + yym715 := z.EncBinary() + _ = yym715 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq710[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym716 := z.EncBinary() + _ = yym716 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr710 || yy2arr710 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq710[2] { + yy718 := &x.ListMeta + yym719 := z.EncBinary() + _ = yym719 + if false { + } else if z.HasExtensions() && z.EncExt(yy718) { + } else { + z.EncFallback(yy718) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq710[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy720 := &x.ListMeta + yym721 := z.EncBinary() + _ = yym721 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy720) { } else { - z.EncFallback(yy6) + z.EncFallback(yy720) } } } - if yyr2 || yy2arr2 { + if yyr710 || yy2arr710 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym723 := z.EncBinary() + _ = yym723 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) @@ -8625,65 +8675,15 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym724 := z.EncBinary() + _ = yym724 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr710 || yy2arr710 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8696,25 +8696,25 @@ func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym725 := z.DecBinary() + _ = yym725 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct726 := r.ContainerType() + if yyct726 == codecSelferValueTypeMap1234 { + yyl726 := r.ReadMapStart() + if yyl726 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl726, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct726 == codecSelferValueTypeArray1234 { + yyl726 := r.ReadArrayStart() + if yyl726 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl726, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8726,12 +8726,12 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys727Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys727Slc + var yyhl727 bool = l >= 0 + for yyj727 := 0; ; yyj727++ { + if yyhl727 { + if yyj727 >= l { break } } else { @@ -8740,35 +8740,10 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys727Slc = r.DecodeBytes(yys727Slc, true, true) + yys727 := string(yys727Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv6), d) - } - } + switch yys727 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8781,10 +8756,35 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv730 := &x.ListMeta + yym731 := z.DecBinary() + _ = yym731 + if false { + } else if z.HasExtensions() && z.DecExt(yyv730) { + } else { + z.DecFallback(yyv730, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv732 := &x.Items + yym733 := z.DecBinary() + _ = yym733 + if false { + } else { + h.decSliceDaemonSet((*[]DaemonSet)(yyv732), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys727) + } // end switch yys727 + } // end for yyj727 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8792,61 +8792,16 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj734 int + var yyb734 bool + var yyhl734 bool = l >= 0 + yyj734++ + if yyhl734 { + yyb734 = yyj734 > l } else { - yyb10 = r.CheckBreak() + yyb734 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb734 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8856,13 +8811,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj734++ + if yyhl734 { + yyb734 = yyj734 > l } else { - yyb10 = r.CheckBreak() + yyb734 = r.CheckBreak() } - if yyb10 { + if yyb734 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8872,18 +8827,63 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj734++ + if yyhl734 { + yyb734 = yyj734 > l + } else { + yyb734 = r.CheckBreak() + } + if yyb734 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv737 := &x.ListMeta + yym738 := z.DecBinary() + _ = yym738 + if false { + } else if z.HasExtensions() && z.DecExt(yyv737) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv737, false) } - if yyb10 { + } + yyj734++ + if yyhl734 { + yyb734 = yyj734 > l + } else { + yyb734 = r.CheckBreak() + } + if yyb734 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv739 := &x.Items + yym740 := z.DecBinary() + _ = yym740 + if false { + } else { + h.decSliceDaemonSet((*[]DaemonSet)(yyv739), d) + } + } + for { + yyj734++ + if yyhl734 { + yyb734 = yyj734 > l + } else { + yyb734 = r.CheckBreak() + } + if yyb734 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj734-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8895,68 +8895,118 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym741 := z.EncBinary() + _ = yym741 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep742 := !z.EncBinary() + yy2arr742 := z.EncBasicHandle().StructToArray + var yyq742 [4]bool + _, _, _ = yysep742, yyq742, yy2arr742 + const yyr742 bool = false + yyq742[0] = x.Kind != "" + yyq742[1] = x.APIVersion != "" + yyq742[2] = true + var yynn742 int + if yyr742 || yy2arr742 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn742 = 1 + for _, b := range yyq742 { if b { - yynn2++ + yynn742++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn742) + yynn742 = 0 } - if yyr2 || yy2arr2 { + if yyr742 || yy2arr742 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq742[0] { + yym744 := z.EncBinary() + _ = yym744 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq742[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym745 := z.EncBinary() + _ = yym745 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr742 || yy2arr742 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq742[1] { + yym747 := z.EncBinary() + _ = yym747 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq742[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym748 := z.EncBinary() + _ = yym748 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr742 || yy2arr742 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq742[2] { + yy750 := &x.ListMeta + yym751 := z.EncBinary() + _ = yym751 + if false { + } else if z.HasExtensions() && z.EncExt(yy750) { + } else { + z.EncFallback(yy750) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq742[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy752 := &x.ListMeta + yym753 := z.EncBinary() + _ = yym753 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy752) { } else { - z.EncFallback(yy6) + z.EncFallback(yy752) } } } - if yyr2 || yy2arr2 { + if yyr742 || yy2arr742 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym755 := z.EncBinary() + _ = yym755 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) @@ -8969,65 +9019,15 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym756 := z.EncBinary() + _ = yym756 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr742 || yy2arr742 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9040,25 +9040,25 @@ func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym757 := z.DecBinary() + _ = yym757 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct758 := r.ContainerType() + if yyct758 == codecSelferValueTypeMap1234 { + yyl758 := r.ReadMapStart() + if yyl758 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl758, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct758 == codecSelferValueTypeArray1234 { + yyl758 := r.ReadArrayStart() + if yyl758 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl758, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9070,12 +9070,12 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys759Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys759Slc + var yyhl759 bool = l >= 0 + for yyj759 := 0; ; yyj759++ { + if yyhl759 { + if yyj759 >= l { break } } else { @@ -9084,35 +9084,10 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys759Slc = r.DecodeBytes(yys759Slc, true, true) + yys759 := string(yys759Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv6), d) - } - } + switch yys759 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9125,10 +9100,35 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv762 := &x.ListMeta + yym763 := z.DecBinary() + _ = yym763 + if false { + } else if z.HasExtensions() && z.DecExt(yyv762) { + } else { + z.DecFallback(yyv762, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv764 := &x.Items + yym765 := z.DecBinary() + _ = yym765 + if false { + } else { + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv764), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys759) + } // end switch yys759 + } // end for yyj759 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9136,61 +9136,16 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj766 int + var yyb766 bool + var yyhl766 bool = l >= 0 + yyj766++ + if yyhl766 { + yyb766 = yyj766 > l } else { - yyb10 = r.CheckBreak() + yyb766 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb766 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9200,13 +9155,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj766++ + if yyhl766 { + yyb766 = yyj766 > l } else { - yyb10 = r.CheckBreak() + yyb766 = r.CheckBreak() } - if yyb10 { + if yyb766 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9216,18 +9171,63 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj766++ + if yyhl766 { + yyb766 = yyj766 > l + } else { + yyb766 = r.CheckBreak() + } + if yyb766 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv769 := &x.ListMeta + yym770 := z.DecBinary() + _ = yym770 + if false { + } else if z.HasExtensions() && z.DecExt(yyv769) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv769, false) } - if yyb10 { + } + yyj766++ + if yyhl766 { + yyb766 = yyj766 > l + } else { + yyb766 = r.CheckBreak() + } + if yyb766 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv771 := &x.Items + yym772 := z.DecBinary() + _ = yym772 + if false { + } else { + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv771), d) + } + } + for { + yyj766++ + if yyhl766 { + yyb766 = yyj766 > l + } else { + yyb766 = r.CheckBreak() + } + if yyb766 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj766-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9239,90 +9239,39 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym773 := z.EncBinary() + _ = yym773 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep774 := !z.EncBinary() + yy2arr774 := z.EncBasicHandle().StructToArray + var yyq774 [5]bool + _, _, _ = yysep774, yyq774, yy2arr774 + const yyr774 bool = false + yyq774[0] = x.Kind != "" + yyq774[1] = x.APIVersion != "" + yyq774[2] = true + yyq774[3] = true + yyq774[4] = true + var yynn774 int + if yyr774 || yy2arr774 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn774 = 0 + for _, b := range yyq774 { if b { - yynn2++ + yynn774++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn774) + yynn774 = 0 } - if yyr2 || yy2arr2 { + if yyr774 || yy2arr774 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq774[0] { + yym776 := z.EncBinary() + _ = yym776 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9331,23 +9280,23 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq774[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym777 := z.EncBinary() + _ = yym777 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr774 || yy2arr774 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq774[1] { + yym779 := z.EncBinary() + _ = yym779 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9356,19 +9305,70 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq774[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym780 := z.EncBinary() + _ = yym780 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr774 || yy2arr774 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq774[2] { + yy782 := &x.ObjectMeta + yy782.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq774[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy783 := &x.ObjectMeta + yy783.CodecEncodeSelf(e) + } + } + if yyr774 || yy2arr774 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq774[3] { + yy785 := &x.Spec + yy785.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq774[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy786 := &x.Spec + yy786.CodecEncodeSelf(e) + } + } + if yyr774 || yy2arr774 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq774[4] { + yy788 := &x.Status + yy788.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq774[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy789 := &x.Status + yy789.CodecEncodeSelf(e) + } + } + if yyr774 || yy2arr774 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9381,25 +9381,25 @@ func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym790 := z.DecBinary() + _ = yym790 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct791 := r.ContainerType() + if yyct791 == codecSelferValueTypeMap1234 { + yyl791 := r.ReadMapStart() + if yyl791 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl791, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct791 == codecSelferValueTypeArray1234 { + yyl791 := r.ReadArrayStart() + if yyl791 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl791, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9411,12 +9411,12 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys792Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys792Slc + var yyhl792 bool = l >= 0 + for yyj792 := 0; ; yyj792++ { + if yyhl792 { + if yyj792 >= l { break } } else { @@ -9425,31 +9425,10 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys792Slc = r.DecodeBytes(yys792Slc, true, true) + yys792 := string(yys792Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = JobSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = JobStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys792 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9462,10 +9441,31 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv795 := &x.ObjectMeta + yyv795.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = JobSpec{} + } else { + yyv796 := &x.Spec + yyv796.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = JobStatus{} + } else { + yyv797 := &x.Status + yyv797.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys792) + } // end switch yys792 + } // end for yyj792 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9473,67 +9473,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj798 int + var yyb798 bool + var yyhl798 bool = l >= 0 + yyj798++ + if yyhl798 { + yyb798 = yyj798 > l } else { - yyb9 = r.CheckBreak() + yyb798 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = JobSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = JobStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb798 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9543,13 +9492,13 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj798++ + if yyhl798 { + yyb798 = yyj798 > l } else { - yyb9 = r.CheckBreak() + yyb798 = r.CheckBreak() } - if yyb9 { + if yyb798 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9559,18 +9508,69 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj798++ + if yyhl798 { + yyb798 = yyj798 > l + } else { + yyb798 = r.CheckBreak() + } + if yyb798 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv801 := &x.ObjectMeta + yyv801.CodecDecodeSelf(d) + } + yyj798++ + if yyhl798 { + yyb798 = yyj798 > l + } else { + yyb798 = r.CheckBreak() + } + if yyb798 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = JobSpec{} + } else { + yyv802 := &x.Spec + yyv802.CodecDecodeSelf(d) + } + yyj798++ + if yyhl798 { + yyb798 = yyj798 > l + } else { + yyb798 = r.CheckBreak() + } + if yyb798 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = JobStatus{} + } else { + yyv803 := &x.Status + yyv803.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj798++ + if yyhl798 { + yyb798 = yyj798 > l } else { - yyb9 = r.CheckBreak() + yyb798 = r.CheckBreak() } - if yyb9 { + if yyb798 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj798-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9582,68 +9582,118 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym804 := z.EncBinary() + _ = yym804 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep805 := !z.EncBinary() + yy2arr805 := z.EncBasicHandle().StructToArray + var yyq805 [4]bool + _, _, _ = yysep805, yyq805, yy2arr805 + const yyr805 bool = false + yyq805[0] = x.Kind != "" + yyq805[1] = x.APIVersion != "" + yyq805[2] = true + var yynn805 int + if yyr805 || yy2arr805 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn805 = 1 + for _, b := range yyq805 { if b { - yynn2++ + yynn805++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn805) + yynn805 = 0 } - if yyr2 || yy2arr2 { + if yyr805 || yy2arr805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq805[0] { + yym807 := z.EncBinary() + _ = yym807 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq805[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym808 := z.EncBinary() + _ = yym808 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr805 || yy2arr805 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq805[1] { + yym810 := z.EncBinary() + _ = yym810 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq805[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym811 := z.EncBinary() + _ = yym811 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr805 || yy2arr805 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq805[2] { + yy813 := &x.ListMeta + yym814 := z.EncBinary() + _ = yym814 + if false { + } else if z.HasExtensions() && z.EncExt(yy813) { + } else { + z.EncFallback(yy813) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq805[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy815 := &x.ListMeta + yym816 := z.EncBinary() + _ = yym816 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy815) { } else { - z.EncFallback(yy6) + z.EncFallback(yy815) } } } - if yyr2 || yy2arr2 { + if yyr805 || yy2arr805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym818 := z.EncBinary() + _ = yym818 if false { } else { h.encSliceJob(([]Job)(x.Items), e) @@ -9656,65 +9706,15 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym819 := z.EncBinary() + _ = yym819 if false { } else { h.encSliceJob(([]Job)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr805 || yy2arr805 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9727,25 +9727,25 @@ func (x *JobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym820 := z.DecBinary() + _ = yym820 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct821 := r.ContainerType() + if yyct821 == codecSelferValueTypeMap1234 { + yyl821 := r.ReadMapStart() + if yyl821 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl821, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct821 == codecSelferValueTypeArray1234 { + yyl821 := r.ReadArrayStart() + if yyl821 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl821, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9757,12 +9757,12 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys822Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys822Slc + var yyhl822 bool = l >= 0 + for yyj822 := 0; ; yyj822++ { + if yyhl822 { + if yyj822 >= l { break } } else { @@ -9771,35 +9771,10 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys822Slc = r.DecodeBytes(yys822Slc, true, true) + yys822 := string(yys822Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceJob((*[]Job)(yyv6), d) - } - } + switch yys822 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9812,10 +9787,35 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv825 := &x.ListMeta + yym826 := z.DecBinary() + _ = yym826 + if false { + } else if z.HasExtensions() && z.DecExt(yyv825) { + } else { + z.DecFallback(yyv825, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv827 := &x.Items + yym828 := z.DecBinary() + _ = yym828 + if false { + } else { + h.decSliceJob((*[]Job)(yyv827), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys822) + } // end switch yys822 + } // end for yyj822 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9823,61 +9823,16 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj829 int + var yyb829 bool + var yyhl829 bool = l >= 0 + yyj829++ + if yyhl829 { + yyb829 = yyj829 > l } else { - yyb10 = r.CheckBreak() + yyb829 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceJob((*[]Job)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb829 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9887,13 +9842,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj829++ + if yyhl829 { + yyb829 = yyj829 > l } else { - yyb10 = r.CheckBreak() + yyb829 = r.CheckBreak() } - if yyb10 { + if yyb829 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9903,18 +9858,63 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj829++ + if yyhl829 { + yyb829 = yyj829 > l + } else { + yyb829 = r.CheckBreak() + } + if yyb829 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv832 := &x.ListMeta + yym833 := z.DecBinary() + _ = yym833 + if false { + } else if z.HasExtensions() && z.DecExt(yyv832) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv832, false) } - if yyb10 { + } + yyj829++ + if yyhl829 { + yyb829 = yyj829 > l + } else { + yyb829 = r.CheckBreak() + } + if yyb829 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv834 := &x.Items + yym835 := z.DecBinary() + _ = yym835 + if false { + } else { + h.decSliceJob((*[]Job)(yyv834), d) + } + } + for { + yyj829++ + if yyhl829 { + yyb829 = yyj829 > l + } else { + yyb829 = r.CheckBreak() + } + if yyb829 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj829-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9926,142 +9926,142 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym836 := z.EncBinary() + _ = yym836 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Parallelism != nil - yyq2[1] = x.Completions != nil - yyq2[2] = x.ActiveDeadlineSeconds != nil - yyq2[3] = x.Selector != nil - yyq2[4] = x.AutoSelector != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep837 := !z.EncBinary() + yy2arr837 := z.EncBasicHandle().StructToArray + var yyq837 [6]bool + _, _, _ = yysep837, yyq837, yy2arr837 + const yyr837 bool = false + yyq837[0] = x.Parallelism != nil + yyq837[1] = x.Completions != nil + yyq837[2] = x.ActiveDeadlineSeconds != nil + yyq837[3] = x.Selector != nil + yyq837[4] = x.AutoSelector != nil + var yynn837 int + if yyr837 || yy2arr837 { r.EncodeArrayStart(6) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn837 = 1 + for _, b := range yyq837 { if b { - yynn2++ + yynn837++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn837) + yynn837 = 0 } - if yyr2 || yy2arr2 { + if yyr837 || yy2arr837 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq837[0] { if x.Parallelism == nil { r.EncodeNil() } else { - yy4 := *x.Parallelism - yym5 := z.EncBinary() - _ = yym5 + yy839 := *x.Parallelism + yym840 := z.EncBinary() + _ = yym840 if false { } else { - r.EncodeInt(int64(yy4)) + r.EncodeInt(int64(yy839)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq837[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("parallelism")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Parallelism == nil { r.EncodeNil() } else { - yy6 := *x.Parallelism - yym7 := z.EncBinary() - _ = yym7 + yy841 := *x.Parallelism + yym842 := z.EncBinary() + _ = yym842 if false { } else { - r.EncodeInt(int64(yy6)) + r.EncodeInt(int64(yy841)) } } } } - if yyr2 || yy2arr2 { + if yyr837 || yy2arr837 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq837[1] { if x.Completions == nil { r.EncodeNil() } else { - yy9 := *x.Completions - yym10 := z.EncBinary() - _ = yym10 + yy844 := *x.Completions + yym845 := z.EncBinary() + _ = yym845 if false { } else { - r.EncodeInt(int64(yy9)) + r.EncodeInt(int64(yy844)) } } } else { r.EncodeNil() } } else { - if yyq2[1] { + if yyq837[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Completions == nil { r.EncodeNil() } else { - yy11 := *x.Completions - yym12 := z.EncBinary() - _ = yym12 + yy846 := *x.Completions + yym847 := z.EncBinary() + _ = yym847 if false { } else { - r.EncodeInt(int64(yy11)) + r.EncodeInt(int64(yy846)) } } } } - if yyr2 || yy2arr2 { + if yyr837 || yy2arr837 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq837[2] { if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy14 := *x.ActiveDeadlineSeconds - yym15 := z.EncBinary() - _ = yym15 + yy849 := *x.ActiveDeadlineSeconds + yym850 := z.EncBinary() + _ = yym850 if false { } else { - r.EncodeInt(int64(yy14)) + r.EncodeInt(int64(yy849)) } } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq837[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ActiveDeadlineSeconds == nil { r.EncodeNil() } else { - yy16 := *x.ActiveDeadlineSeconds - yym17 := z.EncBinary() - _ = yym17 + yy851 := *x.ActiveDeadlineSeconds + yym852 := z.EncBinary() + _ = yym852 if false { } else { - r.EncodeInt(int64(yy16)) + r.EncodeInt(int64(yy851)) } } } } - if yyr2 || yy2arr2 { + if yyr837 || yy2arr837 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq837[3] { if x.Selector == nil { r.EncodeNil() } else { @@ -10071,7 +10071,7 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq837[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -10082,53 +10082,53 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr837 || yy2arr837 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq837[4] { if x.AutoSelector == nil { r.EncodeNil() } else { - yy22 := *x.AutoSelector - yym23 := z.EncBinary() - _ = yym23 + yy855 := *x.AutoSelector + yym856 := z.EncBinary() + _ = yym856 if false { } else { - r.EncodeBool(bool(yy22)) + r.EncodeBool(bool(yy855)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq837[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("autoSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AutoSelector == nil { r.EncodeNil() } else { - yy24 := *x.AutoSelector - yym25 := z.EncBinary() - _ = yym25 + yy857 := *x.AutoSelector + yym858 := z.EncBinary() + _ = yym858 if false { } else { - r.EncodeBool(bool(yy24)) + r.EncodeBool(bool(yy857)) } } } } - if yyr2 || yy2arr2 { + if yyr837 || yy2arr837 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy27 := &x.Template - yy27.CodecEncodeSelf(e) + yy860 := &x.Template + yy860.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy29 := &x.Template - yy29.CodecEncodeSelf(e) + yy861 := &x.Template + yy861.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr837 || yy2arr837 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10141,25 +10141,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym862 := z.DecBinary() + _ = yym862 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct863 := r.ContainerType() + if yyct863 == codecSelferValueTypeMap1234 { + yyl863 := r.ReadMapStart() + if yyl863 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl863, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct863 == codecSelferValueTypeArray1234 { + yyl863 := r.ReadArrayStart() + if yyl863 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl863, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10171,12 +10171,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys864Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys864Slc + var yyhl864 bool = l >= 0 + for yyj864 := 0; ; yyj864++ { + if yyhl864 { + if yyj864 >= l { break } } else { @@ -10185,10 +10185,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys864Slc = r.DecodeBytes(yys864Slc, true, true) + yys864 := string(yys864Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys864 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -10198,8 +10198,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym5 := z.DecBinary() - _ = yym5 + yym866 := z.DecBinary() + _ = yym866 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -10214,8 +10214,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym7 := z.DecBinary() - _ = yym7 + yym868 := z.DecBinary() + _ = yym868 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -10230,8 +10230,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym9 := z.DecBinary() - _ = yym9 + yym870 := z.DecBinary() + _ = yym870 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -10257,8 +10257,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.AutoSelector == nil { x.AutoSelector = new(bool) } - yym12 := z.DecBinary() - _ = yym12 + yym873 := z.DecBinary() + _ = yym873 if false { } else { *((*bool)(x.AutoSelector)) = r.DecodeBool() @@ -10268,13 +10268,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv13 := &x.Template - yyv13.CodecDecodeSelf(d) + yyv874 := &x.Template + yyv874.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys864) + } // end switch yys864 + } // end for yyj864 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10282,16 +10282,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj14 int - var yyb14 bool - var yyhl14 bool = l >= 0 - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + var yyj875 int + var yyb875 bool + var yyhl875 bool = l >= 0 + yyj875++ + if yyhl875 { + yyb875 = yyj875 > l } else { - yyb14 = r.CheckBreak() + yyb875 = r.CheckBreak() } - if yyb14 { + if yyb875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10304,20 +10304,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym16 := z.DecBinary() - _ = yym16 + yym877 := z.DecBinary() + _ = yym877 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj875++ + if yyhl875 { + yyb875 = yyj875 > l } else { - yyb14 = r.CheckBreak() + yyb875 = r.CheckBreak() } - if yyb14 { + if yyb875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10330,20 +10330,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym18 := z.DecBinary() - _ = yym18 + yym879 := z.DecBinary() + _ = yym879 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj875++ + if yyhl875 { + yyb875 = yyj875 > l } else { - yyb14 = r.CheckBreak() + yyb875 = r.CheckBreak() } - if yyb14 { + if yyb875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10356,20 +10356,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym20 := z.DecBinary() - _ = yym20 + yym881 := z.DecBinary() + _ = yym881 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj875++ + if yyhl875 { + yyb875 = yyj875 > l } else { - yyb14 = r.CheckBreak() + yyb875 = r.CheckBreak() } - if yyb14 { + if yyb875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10384,13 +10384,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Selector.CodecDecodeSelf(d) } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj875++ + if yyhl875 { + yyb875 = yyj875 > l } else { - yyb14 = r.CheckBreak() + yyb875 = r.CheckBreak() } - if yyb14 { + if yyb875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10403,20 +10403,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.AutoSelector == nil { x.AutoSelector = new(bool) } - yym23 := z.DecBinary() - _ = yym23 + yym884 := z.DecBinary() + _ = yym884 if false { } else { *((*bool)(x.AutoSelector)) = r.DecodeBool() } } - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj875++ + if yyhl875 { + yyb875 = yyj875 > l } else { - yyb14 = r.CheckBreak() + yyb875 = r.CheckBreak() } - if yyb14 { + if yyb875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10424,21 +10424,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv24 := &x.Template - yyv24.CodecDecodeSelf(d) + yyv885 := &x.Template + yyv885.CodecDecodeSelf(d) } for { - yyj14++ - if yyhl14 { - yyb14 = yyj14 > l + yyj875++ + if yyhl875 { + yyb875 = yyj875 > l } else { - yyb14 = r.CheckBreak() + yyb875 = r.CheckBreak() } - if yyb14 { + if yyb875 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj14-1, "") + z.DecStructFieldNotFound(yyj875-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10450,43 +10450,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym886 := z.EncBinary() + _ = yym886 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Conditions) != 0 - yyq2[1] = x.StartTime != nil - yyq2[2] = x.CompletionTime != nil - yyq2[3] = x.Active != 0 - yyq2[4] = x.Succeeded != 0 - yyq2[5] = x.Failed != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep887 := !z.EncBinary() + yy2arr887 := z.EncBasicHandle().StructToArray + var yyq887 [6]bool + _, _, _ = yysep887, yyq887, yy2arr887 + const yyr887 bool = false + yyq887[0] = len(x.Conditions) != 0 + yyq887[1] = x.StartTime != nil + yyq887[2] = x.CompletionTime != nil + yyq887[3] = x.Active != 0 + yyq887[4] = x.Succeeded != 0 + yyq887[5] = x.Failed != 0 + var yynn887 int + if yyr887 || yy2arr887 { r.EncodeArrayStart(6) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn887 = 0 + for _, b := range yyq887 { if b { - yynn2++ + yynn887++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn887) + yynn887 = 0 } - if yyr2 || yy2arr2 { + if yyr887 || yy2arr887 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq887[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym889 := z.EncBinary() + _ = yym889 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -10496,15 +10496,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq887[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym890 := z.EncBinary() + _ = yym890 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -10512,19 +10512,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr887 || yy2arr887 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq887[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym892 := z.EncBinary() + _ = yym892 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym7 { + } else if yym892 { z.EncBinaryMarshal(x.StartTime) - } else if !yym7 && z.IsJSONHandle() { + } else if !yym892 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -10534,20 +10534,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq887[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym893 := z.EncBinary() + _ = yym893 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym8 { + } else if yym893 { z.EncBinaryMarshal(x.StartTime) - } else if !yym8 && z.IsJSONHandle() { + } else if !yym893 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -10555,19 +10555,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr887 || yy2arr887 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq887[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym895 := z.EncBinary() + _ = yym895 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym10 { + } else if yym895 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym10 && z.IsJSONHandle() { + } else if !yym895 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -10577,20 +10577,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq887[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym896 := z.EncBinary() + _ = yym896 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym11 { + } else if yym896 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym11 && z.IsJSONHandle() { + } else if !yym896 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -10598,11 +10598,11 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr887 || yy2arr887 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq887[3] { + yym898 := z.EncBinary() + _ = yym898 if false { } else { r.EncodeInt(int64(x.Active)) @@ -10611,23 +10611,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[3] { + if yyq887[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym899 := z.EncBinary() + _ = yym899 if false { } else { r.EncodeInt(int64(x.Active)) } } } - if yyr2 || yy2arr2 { + if yyr887 || yy2arr887 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym16 := z.EncBinary() - _ = yym16 + if yyq887[4] { + yym901 := z.EncBinary() + _ = yym901 if false { } else { r.EncodeInt(int64(x.Succeeded)) @@ -10636,23 +10636,23 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[4] { + if yyq887[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("succeeded")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym17 := z.EncBinary() - _ = yym17 + yym902 := z.EncBinary() + _ = yym902 if false { } else { r.EncodeInt(int64(x.Succeeded)) } } } - if yyr2 || yy2arr2 { + if yyr887 || yy2arr887 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq887[5] { + yym904 := z.EncBinary() + _ = yym904 if false { } else { r.EncodeInt(int64(x.Failed)) @@ -10661,19 +10661,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[5] { + if yyq887[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym905 := z.EncBinary() + _ = yym905 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr2 || yy2arr2 { + if yyr887 || yy2arr887 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10686,25 +10686,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym906 := z.DecBinary() + _ = yym906 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct907 := r.ContainerType() + if yyct907 == codecSelferValueTypeMap1234 { + yyl907 := r.ReadMapStart() + if yyl907 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl907, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct907 == codecSelferValueTypeArray1234 { + yyl907 := r.ReadArrayStart() + if yyl907 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl907, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10716,12 +10716,12 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys908Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys908Slc + var yyhl908 bool = l >= 0 + for yyj908 := 0; ; yyj908++ { + if yyhl908 { + if yyj908 >= l { break } } else { @@ -10730,20 +10730,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys908Slc = r.DecodeBytes(yys908Slc, true, true) + yys908 := string(yys908Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys908 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4 := &x.Conditions - yym5 := z.DecBinary() - _ = yym5 + yyv909 := &x.Conditions + yym910 := z.DecBinary() + _ = yym910 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv4), d) + h.decSliceJobCondition((*[]JobCondition)(yyv909), d) } } case "startTime": @@ -10755,13 +10755,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym7 := z.DecBinary() - _ = yym7 + yym912 := z.DecBinary() + _ = yym912 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym7 { + } else if yym912 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym7 && z.IsJSONHandle() { + } else if !yym912 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -10776,13 +10776,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym9 := z.DecBinary() - _ = yym9 + yym914 := z.DecBinary() + _ = yym914 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym9 { + } else if yym914 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym9 && z.IsJSONHandle() { + } else if !yym914 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -10807,9 +10807,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys908) + } // end switch yys908 + } // end for yyj908 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10817,16 +10817,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj13 int - var yyb13 bool - var yyhl13 bool = l >= 0 - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + var yyj918 int + var yyb918 bool + var yyhl918 bool = l >= 0 + yyj918++ + if yyhl918 { + yyb918 = yyj918 > l } else { - yyb13 = r.CheckBreak() + yyb918 = r.CheckBreak() } - if yyb13 { + if yyb918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10834,21 +10834,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv14 := &x.Conditions - yym15 := z.DecBinary() - _ = yym15 + yyv919 := &x.Conditions + yym920 := z.DecBinary() + _ = yym920 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv14), d) + h.decSliceJobCondition((*[]JobCondition)(yyv919), d) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj918++ + if yyhl918 { + yyb918 = yyj918 > l } else { - yyb13 = r.CheckBreak() + yyb918 = r.CheckBreak() } - if yyb13 { + if yyb918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10861,25 +10861,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym17 := z.DecBinary() - _ = yym17 + yym922 := z.DecBinary() + _ = yym922 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym17 { + } else if yym922 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym17 && z.IsJSONHandle() { + } else if !yym922 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj918++ + if yyhl918 { + yyb918 = yyj918 > l } else { - yyb13 = r.CheckBreak() + yyb918 = r.CheckBreak() } - if yyb13 { + if yyb918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10892,25 +10892,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym19 := z.DecBinary() - _ = yym19 + yym924 := z.DecBinary() + _ = yym924 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym19 { + } else if yym924 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym19 && z.IsJSONHandle() { + } else if !yym924 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj918++ + if yyhl918 { + yyb918 = yyj918 > l } else { - yyb13 = r.CheckBreak() + yyb918 = r.CheckBreak() } - if yyb13 { + if yyb918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10920,13 +10920,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj918++ + if yyhl918 { + yyb918 = yyj918 > l } else { - yyb13 = r.CheckBreak() + yyb918 = r.CheckBreak() } - if yyb13 { + if yyb918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10936,13 +10936,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj918++ + if yyhl918 { + yyb918 = yyj918 > l } else { - yyb13 = r.CheckBreak() + yyb918 = r.CheckBreak() } - if yyb13 { + if yyb918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10953,17 +10953,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj13++ - if yyhl13 { - yyb13 = yyj13 > l + yyj918++ + if yyhl918 { + yyb918 = yyj918 > l } else { - yyb13 = r.CheckBreak() + yyb918 = r.CheckBreak() } - if yyb13 { + if yyb918 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj13-1, "") + z.DecStructFieldNotFound(yyj918-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10972,8 +10972,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym928 := z.EncBinary() + _ = yym928 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -10985,8 +10985,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym929 := z.DecBinary() + _ = yym929 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -11001,34 +11001,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym930 := z.EncBinary() + _ = yym930 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = true - yyq2[3] = true - yyq2[4] = x.Reason != "" - yyq2[5] = x.Message != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep931 := !z.EncBinary() + yy2arr931 := z.EncBasicHandle().StructToArray + var yyq931 [6]bool + _, _, _ = yysep931, yyq931, yy2arr931 + const yyr931 bool = false + yyq931[2] = true + yyq931[3] = true + yyq931[4] = x.Reason != "" + yyq931[5] = x.Message != "" + var yynn931 int + if yyr931 || yy2arr931 { r.EncodeArrayStart(6) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn931 = 2 + for _, b := range yyq931 { if b { - yynn2++ + yynn931++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn931) + yynn931 = 0 } - if yyr2 || yy2arr2 { + if yyr931 || yy2arr931 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -11037,96 +11037,106 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr931 || yy2arr931 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yysf7 := &x.Status - yysf7.CodecEncodeSelf(e) + yym934 := z.EncBinary() + _ = yym934 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yysf8 := &x.Status - yysf8.CodecEncodeSelf(e) + yym935 := z.EncBinary() + _ = yym935 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } } - if yyr2 || yy2arr2 { + if yyr931 || yy2arr931 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy10 := &x.LastProbeTime - yym11 := z.EncBinary() - _ = yym11 + if yyq931[2] { + yy937 := &x.LastProbeTime + yym938 := z.EncBinary() + _ = yym938 if false { - } else if z.HasExtensions() && z.EncExt(yy10) { - } else if yym11 { - z.EncBinaryMarshal(yy10) - } else if !yym11 && z.IsJSONHandle() { - z.EncJSONMarshal(yy10) + } else if z.HasExtensions() && z.EncExt(yy937) { + } else if yym938 { + z.EncBinaryMarshal(yy937) + } else if !yym938 && z.IsJSONHandle() { + z.EncJSONMarshal(yy937) } else { - z.EncFallback(yy10) + z.EncFallback(yy937) } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq931[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.LastProbeTime - yym13 := z.EncBinary() - _ = yym13 + yy939 := &x.LastProbeTime + yym940 := z.EncBinary() + _ = yym940 if false { - } else if z.HasExtensions() && z.EncExt(yy12) { - } else if yym13 { - z.EncBinaryMarshal(yy12) - } else if !yym13 && z.IsJSONHandle() { - z.EncJSONMarshal(yy12) + } else if z.HasExtensions() && z.EncExt(yy939) { + } else if yym940 { + z.EncBinaryMarshal(yy939) + } else if !yym940 && z.IsJSONHandle() { + z.EncJSONMarshal(yy939) } else { - z.EncFallback(yy12) + z.EncFallback(yy939) } } } - if yyr2 || yy2arr2 { + if yyr931 || yy2arr931 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yy15 := &x.LastTransitionTime - yym16 := z.EncBinary() - _ = yym16 + if yyq931[3] { + yy942 := &x.LastTransitionTime + yym943 := z.EncBinary() + _ = yym943 if false { - } else if z.HasExtensions() && z.EncExt(yy15) { - } else if yym16 { - z.EncBinaryMarshal(yy15) - } else if !yym16 && z.IsJSONHandle() { - z.EncJSONMarshal(yy15) + } else if z.HasExtensions() && z.EncExt(yy942) { + } else if yym943 { + z.EncBinaryMarshal(yy942) + } else if !yym943 && z.IsJSONHandle() { + z.EncJSONMarshal(yy942) } else { - z.EncFallback(yy15) + z.EncFallback(yy942) } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq931[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.LastTransitionTime - yym18 := z.EncBinary() - _ = yym18 + yy944 := &x.LastTransitionTime + yym945 := z.EncBinary() + _ = yym945 if false { - } else if z.HasExtensions() && z.EncExt(yy17) { - } else if yym18 { - z.EncBinaryMarshal(yy17) - } else if !yym18 && z.IsJSONHandle() { - z.EncJSONMarshal(yy17) + } else if z.HasExtensions() && z.EncExt(yy944) { + } else if yym945 { + z.EncBinaryMarshal(yy944) + } else if !yym945 && z.IsJSONHandle() { + z.EncJSONMarshal(yy944) } else { - z.EncFallback(yy17) + z.EncFallback(yy944) } } } - if yyr2 || yy2arr2 { + if yyr931 || yy2arr931 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 + if yyq931[4] { + yym947 := z.EncBinary() + _ = yym947 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -11135,23 +11145,23 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq931[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym948 := z.EncBinary() + _ = yym948 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr931 || yy2arr931 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym23 := z.EncBinary() - _ = yym23 + if yyq931[5] { + yym950 := z.EncBinary() + _ = yym950 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -11160,19 +11170,19 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq931[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 + yym951 := z.EncBinary() + _ = yym951 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr931 || yy2arr931 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11185,25 +11195,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym952 := z.DecBinary() + _ = yym952 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct953 := r.ContainerType() + if yyct953 == codecSelferValueTypeMap1234 { + yyl953 := r.ReadMapStart() + if yyl953 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl953, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct953 == codecSelferValueTypeArray1234 { + yyl953 := r.ReadArrayStart() + if yyl953 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl953, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11215,12 +11225,12 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys954Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys954Slc + var yyhl954 bool = l >= 0 + for yyj954 := 0; ; yyj954++ { + if yyhl954 { + if yyj954 >= l { break } } else { @@ -11229,10 +11239,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys954Slc = r.DecodeBytes(yys954Slc, true, true) + yys954 := string(yys954Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys954 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -11249,34 +11259,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv6 := &x.LastProbeTime - yym7 := z.DecBinary() - _ = yym7 + yyv957 := &x.LastProbeTime + yym958 := z.DecBinary() + _ = yym958 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if yym7 { - z.DecBinaryUnmarshal(yyv6) - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv957) { + } else if yym958 { + z.DecBinaryUnmarshal(yyv957) + } else if !yym958 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv957) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv957, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv8 := &x.LastTransitionTime - yym9 := z.DecBinary() - _ = yym9 + yyv959 := &x.LastTransitionTime + yym960 := z.DecBinary() + _ = yym960 if false { - } else if z.HasExtensions() && z.DecExt(yyv8) { - } else if yym9 { - z.DecBinaryUnmarshal(yyv8) - } else if !yym9 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv8) + } else if z.HasExtensions() && z.DecExt(yyv959) { + } else if yym960 { + z.DecBinaryUnmarshal(yyv959) + } else if !yym960 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv959) } else { - z.DecFallback(yyv8, false) + z.DecFallback(yyv959, false) } } case "reason": @@ -11292,9 +11302,9 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys954) + } // end switch yys954 + } // end for yyj954 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11302,16 +11312,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj963 int + var yyb963 bool + var yyhl963 bool = l >= 0 + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l } else { - yyb12 = r.CheckBreak() + yyb963 = r.CheckBreak() } - if yyb12 { + if yyb963 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11321,13 +11331,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l } else { - yyb12 = r.CheckBreak() + yyb963 = r.CheckBreak() } - if yyb12 { + if yyb963 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11337,13 +11347,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l } else { - yyb12 = r.CheckBreak() + yyb963 = r.CheckBreak() } - if yyb12 { + if yyb963 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11351,26 +11361,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv15 := &x.LastProbeTime - yym16 := z.DecBinary() - _ = yym16 + yyv966 := &x.LastProbeTime + yym967 := z.DecBinary() + _ = yym967 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { - } else if yym16 { - z.DecBinaryUnmarshal(yyv15) - } else if !yym16 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv15) + } else if z.HasExtensions() && z.DecExt(yyv966) { + } else if yym967 { + z.DecBinaryUnmarshal(yyv966) + } else if !yym967 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv966) } else { - z.DecFallback(yyv15, false) + z.DecFallback(yyv966, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l } else { - yyb12 = r.CheckBreak() + yyb963 = r.CheckBreak() } - if yyb12 { + if yyb963 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11378,26 +11388,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv17 := &x.LastTransitionTime - yym18 := z.DecBinary() - _ = yym18 + yyv968 := &x.LastTransitionTime + yym969 := z.DecBinary() + _ = yym969 if false { - } else if z.HasExtensions() && z.DecExt(yyv17) { - } else if yym18 { - z.DecBinaryUnmarshal(yyv17) - } else if !yym18 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv17) + } else if z.HasExtensions() && z.DecExt(yyv968) { + } else if yym969 { + z.DecBinaryUnmarshal(yyv968) + } else if !yym969 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv968) } else { - z.DecFallback(yyv17, false) + z.DecFallback(yyv968, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l } else { - yyb12 = r.CheckBreak() + yyb963 = r.CheckBreak() } - if yyb12 { + if yyb963 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11407,13 +11417,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l } else { - yyb12 = r.CheckBreak() + yyb963 = r.CheckBreak() } - if yyb12 { + if yyb963 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11424,17 +11434,17 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l } else { - yyb12 = r.CheckBreak() + yyb963 = r.CheckBreak() } - if yyb12 { + if yyb963 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj963-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11446,90 +11456,39 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym972 := z.EncBinary() + _ = yym972 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep973 := !z.EncBinary() + yy2arr973 := z.EncBasicHandle().StructToArray + var yyq973 [5]bool + _, _, _ = yysep973, yyq973, yy2arr973 + const yyr973 bool = false + yyq973[0] = x.Kind != "" + yyq973[1] = x.APIVersion != "" + yyq973[2] = true + yyq973[3] = true + yyq973[4] = true + var yynn973 int + if yyr973 || yy2arr973 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn973 = 0 + for _, b := range yyq973 { if b { - yynn2++ + yynn973++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn973) + yynn973 = 0 } - if yyr2 || yy2arr2 { + if yyr973 || yy2arr973 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq973[0] { + yym975 := z.EncBinary() + _ = yym975 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -11538,23 +11497,23 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq973[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym976 := z.EncBinary() + _ = yym976 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr973 || yy2arr973 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq973[1] { + yym978 := z.EncBinary() + _ = yym978 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -11563,19 +11522,70 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq973[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym979 := z.EncBinary() + _ = yym979 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr973 || yy2arr973 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq973[2] { + yy981 := &x.ObjectMeta + yy981.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq973[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy982 := &x.ObjectMeta + yy982.CodecEncodeSelf(e) + } + } + if yyr973 || yy2arr973 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq973[3] { + yy984 := &x.Spec + yy984.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq973[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy985 := &x.Spec + yy985.CodecEncodeSelf(e) + } + } + if yyr973 || yy2arr973 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq973[4] { + yy987 := &x.Status + yy987.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq973[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy988 := &x.Status + yy988.CodecEncodeSelf(e) + } + } + if yyr973 || yy2arr973 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11588,25 +11598,25 @@ func (x *Ingress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym989 := z.DecBinary() + _ = yym989 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct990 := r.ContainerType() + if yyct990 == codecSelferValueTypeMap1234 { + yyl990 := r.ReadMapStart() + if yyl990 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl990, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct990 == codecSelferValueTypeArray1234 { + yyl990 := r.ReadArrayStart() + if yyl990 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl990, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11618,12 +11628,12 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys991Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys991Slc + var yyhl991 bool = l >= 0 + for yyj991 := 0; ; yyj991++ { + if yyhl991 { + if yyj991 >= l { break } } else { @@ -11632,31 +11642,10 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys991Slc = r.DecodeBytes(yys991Slc, true, true) + yys991 := string(yys991Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = IngressSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = IngressStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys991 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -11669,10 +11658,31 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv994 := &x.ObjectMeta + yyv994.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = IngressSpec{} + } else { + yyv995 := &x.Spec + yyv995.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = IngressStatus{} + } else { + yyv996 := &x.Status + yyv996.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys991) + } // end switch yys991 + } // end for yyj991 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11680,67 +11690,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj997 int + var yyb997 bool + var yyhl997 bool = l >= 0 + yyj997++ + if yyhl997 { + yyb997 = yyj997 > l } else { - yyb9 = r.CheckBreak() + yyb997 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = IngressSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = IngressStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb997 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11750,13 +11709,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj997++ + if yyhl997 { + yyb997 = yyj997 > l } else { - yyb9 = r.CheckBreak() + yyb997 = r.CheckBreak() } - if yyb9 { + if yyb997 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11766,18 +11725,69 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj997++ + if yyhl997 { + yyb997 = yyj997 > l + } else { + yyb997 = r.CheckBreak() + } + if yyb997 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv1000 := &x.ObjectMeta + yyv1000.CodecDecodeSelf(d) + } + yyj997++ + if yyhl997 { + yyb997 = yyj997 > l + } else { + yyb997 = r.CheckBreak() + } + if yyb997 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = IngressSpec{} + } else { + yyv1001 := &x.Spec + yyv1001.CodecDecodeSelf(d) + } + yyj997++ + if yyhl997 { + yyb997 = yyj997 > l + } else { + yyb997 = r.CheckBreak() + } + if yyb997 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = IngressStatus{} + } else { + yyv1002 := &x.Status + yyv1002.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj997++ + if yyhl997 { + yyb997 = yyj997 > l } else { - yyb9 = r.CheckBreak() + yyb997 = r.CheckBreak() } - if yyb9 { + if yyb997 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj997-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11789,68 +11799,118 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1003 := z.EncBinary() + _ = yym1003 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1004 := !z.EncBinary() + yy2arr1004 := z.EncBasicHandle().StructToArray + var yyq1004 [4]bool + _, _, _ = yysep1004, yyq1004, yy2arr1004 + const yyr1004 bool = false + yyq1004[0] = x.Kind != "" + yyq1004[1] = x.APIVersion != "" + yyq1004[2] = true + var yynn1004 int + if yyr1004 || yy2arr1004 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1004 = 1 + for _, b := range yyq1004 { if b { - yynn2++ + yynn1004++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1004) + yynn1004 = 0 } - if yyr2 || yy2arr2 { + if yyr1004 || yy2arr1004 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq1004[0] { + yym1006 := z.EncBinary() + _ = yym1006 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1004[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1007 := z.EncBinary() + _ = yym1007 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1004 || yy2arr1004 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1004[1] { + yym1009 := z.EncBinary() + _ = yym1009 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1004[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1010 := z.EncBinary() + _ = yym1010 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1004 || yy2arr1004 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1004[2] { + yy1012 := &x.ListMeta + yym1013 := z.EncBinary() + _ = yym1013 + if false { + } else if z.HasExtensions() && z.EncExt(yy1012) { + } else { + z.EncFallback(yy1012) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1004[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy1014 := &x.ListMeta + yym1015 := z.EncBinary() + _ = yym1015 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy1014) { } else { - z.EncFallback(yy6) + z.EncFallback(yy1014) } } } - if yyr2 || yy2arr2 { + if yyr1004 || yy2arr1004 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym1017 := z.EncBinary() + _ = yym1017 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) @@ -11863,65 +11923,15 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1018 := z.EncBinary() + _ = yym1018 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr1004 || yy2arr1004 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11934,25 +11944,25 @@ func (x *IngressList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1019 := z.DecBinary() + _ = yym1019 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1020 := r.ContainerType() + if yyct1020 == codecSelferValueTypeMap1234 { + yyl1020 := r.ReadMapStart() + if yyl1020 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1020, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1020 == codecSelferValueTypeArray1234 { + yyl1020 := r.ReadArrayStart() + if yyl1020 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1020, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11964,12 +11974,12 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1021Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1021Slc + var yyhl1021 bool = l >= 0 + for yyj1021 := 0; ; yyj1021++ { + if yyhl1021 { + if yyj1021 >= l { break } } else { @@ -11978,35 +11988,10 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1021Slc = r.DecodeBytes(yys1021Slc, true, true) + yys1021 := string(yys1021Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceIngress((*[]Ingress)(yyv6), d) - } - } + switch yys1021 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -12019,10 +12004,35 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1024 := &x.ListMeta + yym1025 := z.DecBinary() + _ = yym1025 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1024) { + } else { + z.DecFallback(yyv1024, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1026 := &x.Items + yym1027 := z.DecBinary() + _ = yym1027 + if false { + } else { + h.decSliceIngress((*[]Ingress)(yyv1026), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1021) + } // end switch yys1021 + } // end for yyj1021 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12030,61 +12040,16 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj1028 int + var yyb1028 bool + var yyhl1028 bool = l >= 0 + yyj1028++ + if yyhl1028 { + yyb1028 = yyj1028 > l } else { - yyb10 = r.CheckBreak() + yyb1028 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceIngress((*[]Ingress)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb1028 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12094,13 +12059,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1028++ + if yyhl1028 { + yyb1028 = yyj1028 > l } else { - yyb10 = r.CheckBreak() + yyb1028 = r.CheckBreak() } - if yyb10 { + if yyb1028 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12110,18 +12075,63 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1028++ + if yyhl1028 { + yyb1028 = yyj1028 > l + } else { + yyb1028 = r.CheckBreak() + } + if yyb1028 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1031 := &x.ListMeta + yym1032 := z.DecBinary() + _ = yym1032 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1031) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv1031, false) } - if yyb10 { + } + yyj1028++ + if yyhl1028 { + yyb1028 = yyj1028 > l + } else { + yyb1028 = r.CheckBreak() + } + if yyb1028 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1033 := &x.Items + yym1034 := z.DecBinary() + _ = yym1034 + if false { + } else { + h.decSliceIngress((*[]Ingress)(yyv1033), d) + } + } + for { + yyj1028++ + if yyhl1028 { + yyb1028 = yyj1028 > l + } else { + yyb1028 = r.CheckBreak() + } + if yyb1028 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj1028-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12133,35 +12143,35 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1035 := z.EncBinary() + _ = yym1035 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Backend != nil - yyq2[1] = len(x.TLS) != 0 - yyq2[2] = len(x.Rules) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1036 := !z.EncBinary() + yy2arr1036 := z.EncBasicHandle().StructToArray + var yyq1036 [3]bool + _, _, _ = yysep1036, yyq1036, yy2arr1036 + const yyr1036 bool = false + yyq1036[0] = x.Backend != nil + yyq1036[1] = len(x.TLS) != 0 + yyq1036[2] = len(x.Rules) != 0 + var yynn1036 int + if yyr1036 || yy2arr1036 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1036 = 0 + for _, b := range yyq1036 { if b { - yynn2++ + yynn1036++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1036) + yynn1036 = 0 } - if yyr2 || yy2arr2 { + if yyr1036 || yy2arr1036 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1036[0] { if x.Backend == nil { r.EncodeNil() } else { @@ -12171,7 +12181,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1036[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -12182,14 +12192,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1036 || yy2arr1036 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1036[1] { if x.TLS == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1039 := z.EncBinary() + _ = yym1039 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -12199,15 +12209,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1036[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tls")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TLS == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1040 := z.EncBinary() + _ = yym1040 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -12215,14 +12225,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1036 || yy2arr1036 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1036[2] { if x.Rules == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1042 := z.EncBinary() + _ = yym1042 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -12232,15 +12242,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1036[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rules")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Rules == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym1043 := z.EncBinary() + _ = yym1043 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -12248,7 +12258,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1036 || yy2arr1036 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12261,25 +12271,25 @@ func (x *IngressSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1044 := z.DecBinary() + _ = yym1044 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1045 := r.ContainerType() + if yyct1045 == codecSelferValueTypeMap1234 { + yyl1045 := r.ReadMapStart() + if yyl1045 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1045, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1045 == codecSelferValueTypeArray1234 { + yyl1045 := r.ReadArrayStart() + if yyl1045 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1045, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12291,12 +12301,12 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1046Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1046Slc + var yyhl1046 bool = l >= 0 + for yyj1046 := 0; ; yyj1046++ { + if yyhl1046 { + if yyj1046 >= l { break } } else { @@ -12305,10 +12315,10 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1046Slc = r.DecodeBytes(yys1046Slc, true, true) + yys1046 := string(yys1046Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1046 { case "backend": if r.TryDecodeAsNil() { if x.Backend != nil { @@ -12324,30 +12334,30 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv5 := &x.TLS - yym6 := z.DecBinary() - _ = yym6 + yyv1048 := &x.TLS + yym1049 := z.DecBinary() + _ = yym1049 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv5), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv1048), d) } } case "rules": if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv7 := &x.Rules - yym8 := z.DecBinary() - _ = yym8 + yyv1050 := &x.Rules + yym1051 := z.DecBinary() + _ = yym1051 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv7), d) + h.decSliceIngressRule((*[]IngressRule)(yyv1050), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1046) + } // end switch yys1046 + } // end for yyj1046 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12355,16 +12365,16 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj1052 int + var yyb1052 bool + var yyhl1052 bool = l >= 0 + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb9 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb9 { + if yyb1052 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12379,13 +12389,13 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Backend.CodecDecodeSelf(d) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb9 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb9 { + if yyb1052 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12393,21 +12403,21 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv11 := &x.TLS - yym12 := z.DecBinary() - _ = yym12 + yyv1054 := &x.TLS + yym1055 := z.DecBinary() + _ = yym1055 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv11), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv1054), d) } } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb9 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb9 { + if yyb1052 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12415,26 +12425,26 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv13 := &x.Rules - yym14 := z.DecBinary() - _ = yym14 + yyv1056 := &x.Rules + yym1057 := z.DecBinary() + _ = yym1057 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv13), d) + h.decSliceIngressRule((*[]IngressRule)(yyv1056), d) } } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1052++ + if yyhl1052 { + yyb1052 = yyj1052 > l } else { - yyb9 = r.CheckBreak() + yyb1052 = r.CheckBreak() } - if yyb9 { + if yyb1052 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj1052-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12446,39 +12456,39 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1058 := z.EncBinary() + _ = yym1058 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Hosts) != 0 - yyq2[1] = x.SecretName != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1059 := !z.EncBinary() + yy2arr1059 := z.EncBasicHandle().StructToArray + var yyq1059 [2]bool + _, _, _ = yysep1059, yyq1059, yy2arr1059 + const yyr1059 bool = false + yyq1059[0] = len(x.Hosts) != 0 + yyq1059[1] = x.SecretName != "" + var yynn1059 int + if yyr1059 || yy2arr1059 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1059 = 0 + for _, b := range yyq1059 { if b { - yynn2++ + yynn1059++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1059) + yynn1059 = 0 } - if yyr2 || yy2arr2 { + if yyr1059 || yy2arr1059 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1059[0] { if x.Hosts == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1061 := z.EncBinary() + _ = yym1061 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -12488,15 +12498,15 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1059[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hosts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Hosts == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1062 := z.EncBinary() + _ = yym1062 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -12504,11 +12514,11 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1059 || yy2arr1059 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1059[1] { + yym1064 := z.EncBinary() + _ = yym1064 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -12517,19 +12527,19 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq1059[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1065 := z.EncBinary() + _ = yym1065 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } } - if yyr2 || yy2arr2 { + if yyr1059 || yy2arr1059 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12542,25 +12552,25 @@ func (x *IngressTLS) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1066 := z.DecBinary() + _ = yym1066 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1067 := r.ContainerType() + if yyct1067 == codecSelferValueTypeMap1234 { + yyl1067 := r.ReadMapStart() + if yyl1067 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1067, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1067 == codecSelferValueTypeArray1234 { + yyl1067 := r.ReadArrayStart() + if yyl1067 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1067, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12572,12 +12582,12 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1068Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1068Slc + var yyhl1068 bool = l >= 0 + for yyj1068 := 0; ; yyj1068++ { + if yyhl1068 { + if yyj1068 >= l { break } } else { @@ -12586,20 +12596,20 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1068Slc = r.DecodeBytes(yys1068Slc, true, true) + yys1068 := string(yys1068Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1068 { case "hosts": if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv4 := &x.Hosts - yym5 := z.DecBinary() - _ = yym5 + yyv1069 := &x.Hosts + yym1070 := z.DecBinary() + _ = yym1070 if false { } else { - z.F.DecSliceStringX(yyv4, false, d) + z.F.DecSliceStringX(yyv1069, false, d) } } case "secretName": @@ -12609,9 +12619,9 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1068) + } // end switch yys1068 + } // end for yyj1068 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12619,16 +12629,16 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1072 int + var yyb1072 bool + var yyhl1072 bool = l >= 0 + yyj1072++ + if yyhl1072 { + yyb1072 = yyj1072 > l } else { - yyb7 = r.CheckBreak() + yyb1072 = r.CheckBreak() } - if yyb7 { + if yyb1072 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12636,21 +12646,21 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv8 := &x.Hosts - yym9 := z.DecBinary() - _ = yym9 + yyv1073 := &x.Hosts + yym1074 := z.DecBinary() + _ = yym1074 if false { } else { - z.F.DecSliceStringX(yyv8, false, d) + z.F.DecSliceStringX(yyv1073, false, d) } } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1072++ + if yyhl1072 { + yyb1072 = yyj1072 > l } else { - yyb7 = r.CheckBreak() + yyb1072 = r.CheckBreak() } - if yyb7 { + if yyb1072 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12661,17 +12671,17 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SecretName = string(r.DecodeString()) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1072++ + if yyhl1072 { + yyb1072 = yyj1072 > l } else { - yyb7 = r.CheckBreak() + yyb1072 = r.CheckBreak() } - if yyb7 { + if yyb1072 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1072-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12683,48 +12693,48 @@ func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1076 := z.EncBinary() + _ = yym1076 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep1077 := !z.EncBinary() + yy2arr1077 := z.EncBasicHandle().StructToArray + var yyq1077 [1]bool + _, _, _ = yysep1077, yyq1077, yy2arr1077 + const yyr1077 bool = false + yyq1077[0] = true + var yynn1077 int + if yyr1077 || yy2arr1077 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1077 = 0 + for _, b := range yyq1077 { if b { - yynn2++ + yynn1077++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1077) + yynn1077 = 0 } - if yyr2 || yy2arr2 { + if yyr1077 || yy2arr1077 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.LoadBalancer - yy4.CodecEncodeSelf(e) + if yyq1077[0] { + yy1079 := &x.LoadBalancer + yy1079.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1077[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.LoadBalancer - yy6.CodecEncodeSelf(e) + yy1080 := &x.LoadBalancer + yy1080.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1077 || yy2arr1077 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12737,25 +12747,25 @@ func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1081 := z.DecBinary() + _ = yym1081 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1082 := r.ContainerType() + if yyct1082 == codecSelferValueTypeMap1234 { + yyl1082 := r.ReadMapStart() + if yyl1082 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1082, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1082 == codecSelferValueTypeArray1234 { + yyl1082 := r.ReadArrayStart() + if yyl1082 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1082, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12767,12 +12777,12 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1083Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1083Slc + var yyhl1083 bool = l >= 0 + for yyj1083 := 0; ; yyj1083++ { + if yyhl1083 { + if yyj1083 >= l { break } } else { @@ -12781,21 +12791,21 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1083Slc = r.DecodeBytes(yys1083Slc, true, true) + yys1083 := string(yys1083Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1083 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} } else { - yyv4 := &x.LoadBalancer - yyv4.CodecDecodeSelf(d) + yyv1084 := &x.LoadBalancer + yyv1084.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1083) + } // end switch yys1083 + } // end for yyj1083 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12803,16 +12813,16 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj1085 int + var yyb1085 bool + var yyhl1085 bool = l >= 0 + yyj1085++ + if yyhl1085 { + yyb1085 = yyj1085 > l } else { - yyb5 = r.CheckBreak() + yyb1085 = r.CheckBreak() } - if yyb5 { + if yyb1085 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12820,21 +12830,21 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} } else { - yyv6 := &x.LoadBalancer - yyv6.CodecDecodeSelf(d) + yyv1086 := &x.LoadBalancer + yyv1086.CodecDecodeSelf(d) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj1085++ + if yyhl1085 { + yyb1085 = yyj1085 > l } else { - yyb5 = r.CheckBreak() + yyb1085 = r.CheckBreak() } - if yyb5 { + if yyb1085 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj1085-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12846,36 +12856,36 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1087 := z.EncBinary() + _ = yym1087 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Host != "" - yyq2[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1088 := !z.EncBinary() + yy2arr1088 := z.EncBasicHandle().StructToArray + var yyq1088 [2]bool + _, _, _ = yysep1088, yyq1088, yy2arr1088 + const yyr1088 bool = false + yyq1088[0] = x.Host != "" + yyq1088[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil + var yynn1088 int + if yyr1088 || yy2arr1088 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1088 = 0 + for _, b := range yyq1088 { if b { - yynn2++ + yynn1088++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1088) + yynn1088 = 0 } - if yyr2 || yy2arr2 { + if yyr1088 || yy2arr1088 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq1088[0] { + yym1090 := z.EncBinary() + _ = yym1090 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -12884,30 +12894,30 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1088[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1091 := z.EncBinary() + _ = yym1091 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - var yyn6 bool + var yyn1092 bool if x.IngressRuleValue.HTTP == nil { - yyn6 = true - goto LABEL6 + yyn1092 = true + goto LABEL1092 } - LABEL6: - if yyr2 || yy2arr2 { - if yyn6 { + LABEL1092: + if yyr1088 || yy2arr1088 { + if yyn1092 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1088[1] { if x.HTTP == nil { r.EncodeNil() } else { @@ -12918,11 +12928,11 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq2[1] { + if yyq1088[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn6 { + if yyn1092 { r.EncodeNil() } else { if x.HTTP == nil { @@ -12933,7 +12943,7 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1088 || yy2arr1088 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12946,25 +12956,25 @@ func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1093 := z.DecBinary() + _ = yym1093 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1094 := r.ContainerType() + if yyct1094 == codecSelferValueTypeMap1234 { + yyl1094 := r.ReadMapStart() + if yyl1094 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1094, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1094 == codecSelferValueTypeArray1234 { + yyl1094 := r.ReadArrayStart() + if yyl1094 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1094, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12976,12 +12986,12 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1095Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1095Slc + var yyhl1095 bool = l >= 0 + for yyj1095 := 0; ; yyj1095++ { + if yyhl1095 { + if yyj1095 >= l { break } } else { @@ -12990,10 +13000,10 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1095Slc = r.DecodeBytes(yys1095Slc, true, true) + yys1095 := string(yys1095Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1095 { case "host": if r.TryDecodeAsNil() { x.Host = "" @@ -13015,9 +13025,9 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1095) + } // end switch yys1095 + } // end for yyj1095 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13025,16 +13035,16 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1098 int + var yyb1098 bool + var yyhl1098 bool = l >= 0 + yyj1098++ + if yyhl1098 { + yyb1098 = yyj1098 > l } else { - yyb6 = r.CheckBreak() + yyb1098 = r.CheckBreak() } - if yyb6 { + if yyb1098 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13047,13 +13057,13 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.IngressRuleValue.HTTP == nil { x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1098++ + if yyhl1098 { + yyb1098 = yyj1098 > l } else { - yyb6 = r.CheckBreak() + yyb1098 = r.CheckBreak() } - if yyb6 { + if yyb1098 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13069,17 +13079,17 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1098++ + if yyhl1098 { + yyb1098 = yyj1098 > l } else { - yyb6 = r.CheckBreak() + yyb1098 = r.CheckBreak() } - if yyb6 { + if yyb1098 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1098-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13091,33 +13101,33 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1101 := z.EncBinary() + _ = yym1101 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.HTTP != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1102 := !z.EncBinary() + yy2arr1102 := z.EncBasicHandle().StructToArray + var yyq1102 [1]bool + _, _, _ = yysep1102, yyq1102, yy2arr1102 + const yyr1102 bool = false + yyq1102[0] = x.HTTP != nil + var yynn1102 int + if yyr1102 || yy2arr1102 { r.EncodeArrayStart(1) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1102 = 0 + for _, b := range yyq1102 { if b { - yynn2++ + yynn1102++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1102) + yynn1102 = 0 } - if yyr2 || yy2arr2 { + if yyr1102 || yy2arr1102 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1102[0] { if x.HTTP == nil { r.EncodeNil() } else { @@ -13127,7 +13137,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1102[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13138,7 +13148,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1102 || yy2arr1102 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13151,25 +13161,25 @@ func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1104 := z.DecBinary() + _ = yym1104 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1105 := r.ContainerType() + if yyct1105 == codecSelferValueTypeMap1234 { + yyl1105 := r.ReadMapStart() + if yyl1105 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1105, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1105 == codecSelferValueTypeArray1234 { + yyl1105 := r.ReadArrayStart() + if yyl1105 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1105, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13181,12 +13191,12 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1106Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1106Slc + var yyhl1106 bool = l >= 0 + for yyj1106 := 0; ; yyj1106++ { + if yyhl1106 { + if yyj1106 >= l { break } } else { @@ -13195,10 +13205,10 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1106Slc = r.DecodeBytes(yys1106Slc, true, true) + yys1106 := string(yys1106Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1106 { case "http": if r.TryDecodeAsNil() { if x.HTTP != nil { @@ -13211,9 +13221,9 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1106) + } // end switch yys1106 + } // end for yyj1106 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13221,16 +13231,16 @@ func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj5 int - var yyb5 bool - var yyhl5 bool = l >= 0 - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + var yyj1108 int + var yyb1108 bool + var yyhl1108 bool = l >= 0 + yyj1108++ + if yyhl1108 { + yyb1108 = yyj1108 > l } else { - yyb5 = r.CheckBreak() + yyb1108 = r.CheckBreak() } - if yyb5 { + if yyb1108 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13246,17 +13256,17 @@ func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.HTTP.CodecDecodeSelf(d) } for { - yyj5++ - if yyhl5 { - yyb5 = yyj5 > l + yyj1108++ + if yyhl1108 { + yyb1108 = yyj1108 > l } else { - yyb5 = r.CheckBreak() + yyb1108 = r.CheckBreak() } - if yyb5 { + if yyb1108 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj5-1, "") + z.DecStructFieldNotFound(yyj1108-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13268,36 +13278,36 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1110 := z.EncBinary() + _ = yym1110 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [1]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1111 := !z.EncBinary() + yy2arr1111 := z.EncBasicHandle().StructToArray + var yyq1111 [1]bool + _, _, _ = yysep1111, yyq1111, yy2arr1111 + const yyr1111 bool = false + var yynn1111 int + if yyr1111 || yy2arr1111 { r.EncodeArrayStart(1) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1111 = 1 + for _, b := range yyq1111 { if b { - yynn2++ + yynn1111++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1111) + yynn1111 = 0 } - if yyr2 || yy2arr2 { + if yyr1111 || yy2arr1111 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Paths == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1113 := z.EncBinary() + _ = yym1113 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) @@ -13310,15 +13320,15 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x.Paths == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1114 := z.EncBinary() + _ = yym1114 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) } } } - if yyr2 || yy2arr2 { + if yyr1111 || yy2arr1111 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13331,25 +13341,25 @@ func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1115 := z.DecBinary() + _ = yym1115 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1116 := r.ContainerType() + if yyct1116 == codecSelferValueTypeMap1234 { + yyl1116 := r.ReadMapStart() + if yyl1116 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1116, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1116 == codecSelferValueTypeArray1234 { + yyl1116 := r.ReadArrayStart() + if yyl1116 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1116, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13361,12 +13371,12 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1117Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1117Slc + var yyhl1117 bool = l >= 0 + for yyj1117 := 0; ; yyj1117++ { + if yyhl1117 { + if yyj1117 >= l { break } } else { @@ -13375,26 +13385,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1117Slc = r.DecodeBytes(yys1117Slc, true, true) + yys1117 := string(yys1117Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1117 { case "paths": if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv4 := &x.Paths - yym5 := z.DecBinary() - _ = yym5 + yyv1118 := &x.Paths + yym1119 := z.DecBinary() + _ = yym1119 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv4), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1118), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1117) + } // end switch yys1117 + } // end for yyj1117 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13402,16 +13412,16 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1120 int + var yyb1120 bool + var yyhl1120 bool = l >= 0 + yyj1120++ + if yyhl1120 { + yyb1120 = yyj1120 > l } else { - yyb6 = r.CheckBreak() + yyb1120 = r.CheckBreak() } - if yyb6 { + if yyb1120 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13419,26 +13429,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv7 := &x.Paths - yym8 := z.DecBinary() - _ = yym8 + yyv1121 := &x.Paths + yym1122 := z.DecBinary() + _ = yym1122 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv7), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1121), d) } } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1120++ + if yyhl1120 { + yyb1120 = yyj1120 > l } else { - yyb6 = r.CheckBreak() + yyb1120 = r.CheckBreak() } - if yyb6 { + if yyb1120 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1120-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13450,35 +13460,35 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1123 := z.EncBinary() + _ = yym1123 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Path != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1124 := !z.EncBinary() + yy2arr1124 := z.EncBasicHandle().StructToArray + var yyq1124 [2]bool + _, _, _ = yysep1124, yyq1124, yy2arr1124 + const yyr1124 bool = false + yyq1124[0] = x.Path != "" + var yynn1124 int + if yyr1124 || yy2arr1124 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1124 = 1 + for _, b := range yyq1124 { if b { - yynn2++ + yynn1124++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1124) + yynn1124 = 0 } - if yyr2 || yy2arr2 { + if yyr1124 || yy2arr1124 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq1124[0] { + yym1126 := z.EncBinary() + _ = yym1126 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -13487,30 +13497,30 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1124[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1127 := z.EncBinary() + _ = yym1127 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr2 || yy2arr2 { + if yyr1124 || yy2arr1124 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.Backend - yy7.CodecEncodeSelf(e) + yy1129 := &x.Backend + yy1129.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.Backend - yy9.CodecEncodeSelf(e) + yy1130 := &x.Backend + yy1130.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1124 || yy2arr1124 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13523,25 +13533,25 @@ func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1131 := z.DecBinary() + _ = yym1131 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1132 := r.ContainerType() + if yyct1132 == codecSelferValueTypeMap1234 { + yyl1132 := r.ReadMapStart() + if yyl1132 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1132, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1132 == codecSelferValueTypeArray1234 { + yyl1132 := r.ReadArrayStart() + if yyl1132 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1132, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13553,12 +13563,12 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1133Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1133Slc + var yyhl1133 bool = l >= 0 + for yyj1133 := 0; ; yyj1133++ { + if yyhl1133 { + if yyj1133 >= l { break } } else { @@ -13567,10 +13577,10 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1133Slc = r.DecodeBytes(yys1133Slc, true, true) + yys1133 := string(yys1133Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1133 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -13581,13 +13591,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv5 := &x.Backend - yyv5.CodecDecodeSelf(d) + yyv1135 := &x.Backend + yyv1135.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1133) + } // end switch yys1133 + } // end for yyj1133 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13595,16 +13605,16 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1136 int + var yyb1136 bool + var yyhl1136 bool = l >= 0 + yyj1136++ + if yyhl1136 { + yyb1136 = yyj1136 > l } else { - yyb6 = r.CheckBreak() + yyb1136 = r.CheckBreak() } - if yyb6 { + if yyb1136 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13614,13 +13624,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1136++ + if yyhl1136 { + yyb1136 = yyj1136 > l } else { - yyb6 = r.CheckBreak() + yyb1136 = r.CheckBreak() } - if yyb6 { + if yyb1136 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13628,21 +13638,21 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv8 := &x.Backend - yyv8.CodecDecodeSelf(d) + yyv1138 := &x.Backend + yyv1138.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1136++ + if yyhl1136 { + yyb1136 = yyj1136 > l } else { - yyb6 = r.CheckBreak() + yyb1136 = r.CheckBreak() } - if yyb6 { + if yyb1136 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1136-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13654,33 +13664,33 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1139 := z.EncBinary() + _ = yym1139 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1140 := !z.EncBinary() + yy2arr1140 := z.EncBasicHandle().StructToArray + var yyq1140 [2]bool + _, _, _ = yysep1140, yyq1140, yy2arr1140 + const yyr1140 bool = false + var yynn1140 int + if yyr1140 || yy2arr1140 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1140 = 2 + for _, b := range yyq1140 { if b { - yynn2++ + yynn1140++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1140) + yynn1140 = 0 } - if yyr2 || yy2arr2 { + if yyr1140 || yy2arr1140 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1142 := z.EncBinary() + _ = yym1142 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) @@ -13689,41 +13699,41 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1143 := z.EncBinary() + _ = yym1143 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) } } - if yyr2 || yy2arr2 { + if yyr1140 || yy2arr1140 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy7 := &x.ServicePort - yym8 := z.EncBinary() - _ = yym8 + yy1145 := &x.ServicePort + yym1146 := z.EncBinary() + _ = yym1146 if false { - } else if z.HasExtensions() && z.EncExt(yy7) { - } else if !yym8 && z.IsJSONHandle() { - z.EncJSONMarshal(yy7) + } else if z.HasExtensions() && z.EncExt(yy1145) { + } else if !yym1146 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1145) } else { - z.EncFallback(yy7) + z.EncFallback(yy1145) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("servicePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy9 := &x.ServicePort - yym10 := z.EncBinary() - _ = yym10 + yy1147 := &x.ServicePort + yym1148 := z.EncBinary() + _ = yym1148 if false { - } else if z.HasExtensions() && z.EncExt(yy9) { - } else if !yym10 && z.IsJSONHandle() { - z.EncJSONMarshal(yy9) + } else if z.HasExtensions() && z.EncExt(yy1147) { + } else if !yym1148 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1147) } else { - z.EncFallback(yy9) + z.EncFallback(yy1147) } } - if yyr2 || yy2arr2 { + if yyr1140 || yy2arr1140 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13736,25 +13746,25 @@ func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1149 := z.DecBinary() + _ = yym1149 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1150 := r.ContainerType() + if yyct1150 == codecSelferValueTypeMap1234 { + yyl1150 := r.ReadMapStart() + if yyl1150 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1150, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1150 == codecSelferValueTypeArray1234 { + yyl1150 := r.ReadArrayStart() + if yyl1150 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1150, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13766,12 +13776,12 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1151Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1151Slc + var yyhl1151 bool = l >= 0 + for yyj1151 := 0; ; yyj1151++ { + if yyhl1151 { + if yyj1151 >= l { break } } else { @@ -13780,10 +13790,10 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1151Slc = r.DecodeBytes(yys1151Slc, true, true) + yys1151 := string(yys1151Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1151 { case "serviceName": if r.TryDecodeAsNil() { x.ServiceName = "" @@ -13794,21 +13804,21 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv5 := &x.ServicePort - yym6 := z.DecBinary() - _ = yym6 + yyv1153 := &x.ServicePort + yym1154 := z.DecBinary() + _ = yym1154 if false { - } else if z.HasExtensions() && z.DecExt(yyv5) { - } else if !yym6 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv5) + } else if z.HasExtensions() && z.DecExt(yyv1153) { + } else if !yym1154 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1153) } else { - z.DecFallback(yyv5, false) + z.DecFallback(yyv1153, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1151) + } // end switch yys1151 + } // end for yyj1151 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13816,16 +13826,16 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1155 int + var yyb1155 bool + var yyhl1155 bool = l >= 0 + yyj1155++ + if yyhl1155 { + yyb1155 = yyj1155 > l } else { - yyb7 = r.CheckBreak() + yyb1155 = r.CheckBreak() } - if yyb7 { + if yyb1155 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13835,13 +13845,13 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ServiceName = string(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1155++ + if yyhl1155 { + yyb1155 = yyj1155 > l } else { - yyb7 = r.CheckBreak() + yyb1155 = r.CheckBreak() } - if yyb7 { + if yyb1155 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13849,29 +13859,29 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv9 := &x.ServicePort - yym10 := z.DecBinary() - _ = yym10 + yyv1157 := &x.ServicePort + yym1158 := z.DecBinary() + _ = yym1158 if false { - } else if z.HasExtensions() && z.DecExt(yyv9) { - } else if !yym10 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv9) + } else if z.HasExtensions() && z.DecExt(yyv1157) { + } else if !yym1158 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1157) } else { - z.DecFallback(yyv9, false) + z.DecFallback(yyv1157, false) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1155++ + if yyhl1155 { + yyb1155 = yyj1155 > l } else { - yyb7 = r.CheckBreak() + yyb1155 = r.CheckBreak() } - if yyb7 { + if yyb1155 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1155-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13883,35 +13893,85 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1159 := z.EncBinary() + _ = yym1159 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1160 := !z.EncBinary() + yy2arr1160 := z.EncBasicHandle().StructToArray + var yyq1160 [4]bool + _, _, _ = yysep1160, yyq1160, yy2arr1160 + const yyr1160 bool = false + yyq1160[0] = x.Kind != "" + yyq1160[1] = x.APIVersion != "" + var yynn1160 int + if yyr1160 || yy2arr1160 { r.EncodeArrayStart(4) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1160 = 2 + for _, b := range yyq1160 { if b { - yynn2++ + yynn1160++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1160) + yynn1160 = 0 } - if yyr2 || yy2arr2 { + if yyr1160 || yy2arr1160 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + if yyq1160[0] { + yym1162 := z.EncBinary() + _ = yym1162 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1160[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1163 := z.EncBinary() + _ = yym1163 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1160 || yy2arr1160 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1160[1] { + yym1165 := z.EncBinary() + _ = yym1165 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1160[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1166 := z.EncBinary() + _ = yym1166 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1160 || yy2arr1160 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1168 := z.EncBinary() + _ = yym1168 if false { } else { r.EncodeBool(bool(x.Export)) @@ -13920,17 +13980,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1169 := z.EncBinary() + _ = yym1169 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr2 || yy2arr2 { + if yyr1160 || yy2arr1160 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1171 := z.EncBinary() + _ = yym1171 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -13939,64 +13999,14 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1172 := z.EncBinary() + _ = yym1172 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr1160 || yy2arr1160 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14009,25 +14019,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1173 := z.DecBinary() + _ = yym1173 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1174 := r.ContainerType() + if yyct1174 == codecSelferValueTypeMap1234 { + yyl1174 := r.ReadMapStart() + if yyl1174 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1174, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1174 == codecSelferValueTypeArray1234 { + yyl1174 := r.ReadArrayStart() + if yyl1174 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1174, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14039,12 +14049,12 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1175Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1175Slc + var yyhl1175 bool = l >= 0 + for yyj1175 := 0; ; yyj1175++ { + if yyhl1175 { + if yyj1175 >= l { break } } else { @@ -14053,22 +14063,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1175Slc = r.DecodeBytes(yys1175Slc, true, true) + yys1175 := string(yys1175Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "export": - if r.TryDecodeAsNil() { - x.Export = false - } else { - x.Export = bool(r.DecodeBool()) - } - case "exact": - if r.TryDecodeAsNil() { - x.Exact = false - } else { - x.Exact = bool(r.DecodeBool()) - } + switch yys1175 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14081,10 +14079,22 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "export": + if r.TryDecodeAsNil() { + x.Export = false + } else { + x.Export = bool(r.DecodeBool()) + } + case "exact": + if r.TryDecodeAsNil() { + x.Exact = false + } else { + x.Exact = bool(r.DecodeBool()) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1175) + } // end switch yys1175 + } // end for yyj1175 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14092,48 +14102,16 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1180 int + var yyb1180 bool + var yyhl1180 bool = l >= 0 + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l } else { - yyb8 = r.CheckBreak() + yyb1180 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Export = false - } else { - x.Export = bool(r.DecodeBool()) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Exact = false - } else { - x.Exact = bool(r.DecodeBool()) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb1180 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14143,13 +14121,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l } else { - yyb8 = r.CheckBreak() + yyb1180 = r.CheckBreak() } - if yyb8 { + if yyb1180 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14159,18 +14137,50 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l + } else { + yyb1180 = r.CheckBreak() + } + if yyb1180 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Export = false + } else { + x.Export = bool(r.DecodeBool()) + } + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l + } else { + yyb1180 = r.CheckBreak() + } + if yyb1180 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Exact = false + } else { + x.Exact = bool(r.DecodeBool()) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l } else { - yyb8 = r.CheckBreak() + yyb1180 = r.CheckBreak() } - if yyb8 { + if yyb1180 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1180-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14182,41 +14192,91 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1185 := z.EncBinary() + _ = yym1185 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [7]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.LabelSelector != "" - yyq2[1] = x.FieldSelector != "" - yyq2[2] = x.Watch != false - yyq2[3] = x.ResourceVersion != "" - yyq2[4] = x.TimeoutSeconds != nil - yyq2[5] = x.Kind != "" - yyq2[6] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1186 := !z.EncBinary() + yy2arr1186 := z.EncBasicHandle().StructToArray + var yyq1186 [7]bool + _, _, _ = yysep1186, yyq1186, yy2arr1186 + const yyr1186 bool = false + yyq1186[0] = x.Kind != "" + yyq1186[1] = x.APIVersion != "" + yyq1186[2] = x.LabelSelector != "" + yyq1186[3] = x.FieldSelector != "" + yyq1186[4] = x.Watch != false + yyq1186[5] = x.ResourceVersion != "" + yyq1186[6] = x.TimeoutSeconds != nil + var yynn1186 int + if yyr1186 || yy2arr1186 { r.EncodeArrayStart(7) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1186 = 0 + for _, b := range yyq1186 { if b { - yynn2++ + yynn1186++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1186) + yynn1186 = 0 } - if yyr2 || yy2arr2 { + if yyr1186 || yy2arr1186 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq1186[0] { + yym1188 := z.EncBinary() + _ = yym1188 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1186[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1189 := z.EncBinary() + _ = yym1189 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1186 || yy2arr1186 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1186[1] { + yym1191 := z.EncBinary() + _ = yym1191 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1186[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1192 := z.EncBinary() + _ = yym1192 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1186 || yy2arr1186 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1186[2] { + yym1194 := z.EncBinary() + _ = yym1194 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) @@ -14225,23 +14285,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1186[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1195 := z.EncBinary() + _ = yym1195 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) } } } - if yyr2 || yy2arr2 { + if yyr1186 || yy2arr1186 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1186[3] { + yym1197 := z.EncBinary() + _ = yym1197 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) @@ -14250,23 +14310,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq1186[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1198 := z.EncBinary() + _ = yym1198 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) } } } - if yyr2 || yy2arr2 { + if yyr1186 || yy2arr1186 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq1186[4] { + yym1200 := z.EncBinary() + _ = yym1200 if false { } else { r.EncodeBool(bool(x.Watch)) @@ -14275,23 +14335,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[2] { + if yyq1186[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("watch")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym1201 := z.EncBinary() + _ = yym1201 if false { } else { r.EncodeBool(bool(x.Watch)) } } } - if yyr2 || yy2arr2 { + if yyr1186 || yy2arr1186 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq1186[5] { + yym1203 := z.EncBinary() + _ = yym1203 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -14300,104 +14360,54 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq1186[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym1204 := z.EncBinary() + _ = yym1204 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr2 || yy2arr2 { + if yyr1186 || yy2arr1186 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq1186[6] { if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy16 := *x.TimeoutSeconds - yym17 := z.EncBinary() - _ = yym17 + yy1206 := *x.TimeoutSeconds + yym1207 := z.EncBinary() + _ = yym1207 if false { } else { - r.EncodeInt(int64(yy16)) + r.EncodeInt(int64(yy1206)) } } } else { r.EncodeNil() } } else { - if yyq2[4] { + if yyq1186[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy18 := *x.TimeoutSeconds - yym19 := z.EncBinary() - _ = yym19 + yy1208 := *x.TimeoutSeconds + yym1209 := z.EncBinary() + _ = yym1209 if false { } else { - r.EncodeInt(int64(yy18)) + r.EncodeInt(int64(yy1208)) } } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym21 := z.EncBinary() - _ = yym21 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym22 := z.EncBinary() - _ = yym22 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { - yym24 := z.EncBinary() - _ = yym24 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym25 := z.EncBinary() - _ = yym25 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr1186 || yy2arr1186 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14410,25 +14420,25 @@ func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1210 := z.DecBinary() + _ = yym1210 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1211 := r.ContainerType() + if yyct1211 == codecSelferValueTypeMap1234 { + yyl1211 := r.ReadMapStart() + if yyl1211 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1211, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1211 == codecSelferValueTypeArray1234 { + yyl1211 := r.ReadArrayStart() + if yyl1211 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1211, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14440,12 +14450,12 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1212Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1212Slc + var yyhl1212 bool = l >= 0 + for yyj1212 := 0; ; yyj1212++ { + if yyhl1212 { + if yyj1212 >= l { break } } else { @@ -14454,10 +14464,22 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1212Slc = r.DecodeBytes(yys1212Slc, true, true) + yys1212 := string(yys1212Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1212 { + 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 = "" @@ -14491,29 +14513,17 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym9 := z.DecBinary() - _ = yym9 + yym1220 := z.DecBinary() + _ = yym1220 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } - case "kind": - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - case "apiVersion": - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1212) + } // end switch yys1212 + } // end for yyj1212 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14521,16 +14531,48 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj1221 int + var yyb1221 bool + var yyhl1221 bool = l >= 0 + yyj1221++ + if yyhl1221 { + yyb1221 = yyj1221 > l } else { - yyb12 = r.CheckBreak() + yyb1221 = r.CheckBreak() } - if yyb12 { + if yyb1221 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj1221++ + if yyhl1221 { + yyb1221 = yyj1221 > l + } else { + yyb1221 = r.CheckBreak() + } + if yyb1221 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj1221++ + if yyhl1221 { + yyb1221 = yyj1221 > l + } else { + yyb1221 = r.CheckBreak() + } + if yyb1221 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14540,13 +14582,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LabelSelector = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1221++ + if yyhl1221 { + yyb1221 = yyj1221 > l } else { - yyb12 = r.CheckBreak() + yyb1221 = r.CheckBreak() } - if yyb12 { + if yyb1221 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14556,13 +14598,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.FieldSelector = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1221++ + if yyhl1221 { + yyb1221 = yyj1221 > l } else { - yyb12 = r.CheckBreak() + yyb1221 = r.CheckBreak() } - if yyb12 { + if yyb1221 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14572,13 +14614,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Watch = bool(r.DecodeBool()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1221++ + if yyhl1221 { + yyb1221 = yyj1221 > l } else { - yyb12 = r.CheckBreak() + yyb1221 = r.CheckBreak() } - if yyb12 { + if yyb1221 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14588,13 +14630,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1221++ + if yyhl1221 { + yyb1221 = yyj1221 > l } else { - yyb12 = r.CheckBreak() + yyb1221 = r.CheckBreak() } - if yyb12 { + if yyb1221 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14607,57 +14649,25 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym18 := z.DecBinary() - _ = yym18 + yym1229 := z.DecBinary() + _ = yym1229 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l - } else { - yyb12 = r.CheckBreak() - } - if yyb12 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj1221++ + if yyhl1221 { + yyb1221 = yyj1221 > l } else { - yyb12 = r.CheckBreak() + yyb1221 = r.CheckBreak() } - if yyb12 { + if yyb1221 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj1221-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14669,39 +14679,39 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1230 := z.EncBinary() + _ = yym1230 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.MatchLabels) != 0 - yyq2[1] = len(x.MatchExpressions) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1231 := !z.EncBinary() + yy2arr1231 := z.EncBasicHandle().StructToArray + var yyq1231 [2]bool + _, _, _ = yysep1231, yyq1231, yy2arr1231 + const yyr1231 bool = false + yyq1231[0] = len(x.MatchLabels) != 0 + yyq1231[1] = len(x.MatchExpressions) != 0 + var yynn1231 int + if yyr1231 || yy2arr1231 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1231 = 0 + for _, b := range yyq1231 { if b { - yynn2++ + yynn1231++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1231) + yynn1231 = 0 } - if yyr2 || yy2arr2 { + if yyr1231 || yy2arr1231 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1231[0] { if x.MatchLabels == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1233 := z.EncBinary() + _ = yym1233 if false { } else { z.F.EncMapStringStringV(x.MatchLabels, false, e) @@ -14711,15 +14721,15 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1231[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("matchLabels")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MatchLabels == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1234 := z.EncBinary() + _ = yym1234 if false { } else { z.F.EncMapStringStringV(x.MatchLabels, false, e) @@ -14727,14 +14737,14 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1231 || yy2arr1231 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1231[1] { if x.MatchExpressions == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1236 := z.EncBinary() + _ = yym1236 if false { } else { h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) @@ -14744,15 +14754,15 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1231[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("matchExpressions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MatchExpressions == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1237 := z.EncBinary() + _ = yym1237 if false { } else { h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) @@ -14760,7 +14770,7 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1231 || yy2arr1231 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14773,25 +14783,25 @@ func (x *LabelSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1238 := z.DecBinary() + _ = yym1238 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1239 := r.ContainerType() + if yyct1239 == codecSelferValueTypeMap1234 { + yyl1239 := r.ReadMapStart() + if yyl1239 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1239, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1239 == codecSelferValueTypeArray1234 { + yyl1239 := r.ReadArrayStart() + if yyl1239 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1239, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14803,12 +14813,12 @@ func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1240Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1240Slc + var yyhl1240 bool = l >= 0 + for yyj1240 := 0; ; yyj1240++ { + if yyhl1240 { + if yyj1240 >= l { break } } else { @@ -14817,38 +14827,38 @@ func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1240Slc = r.DecodeBytes(yys1240Slc, true, true) + yys1240 := string(yys1240Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1240 { case "matchLabels": if r.TryDecodeAsNil() { x.MatchLabels = nil } else { - yyv4 := &x.MatchLabels - yym5 := z.DecBinary() - _ = yym5 + yyv1241 := &x.MatchLabels + yym1242 := z.DecBinary() + _ = yym1242 if false { } else { - z.F.DecMapStringStringX(yyv4, false, d) + z.F.DecMapStringStringX(yyv1241, false, d) } } case "matchExpressions": if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv6 := &x.MatchExpressions - yym7 := z.DecBinary() - _ = yym7 + yyv1243 := &x.MatchExpressions + yym1244 := z.DecBinary() + _ = yym1244 if false { } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv6), d) + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1243), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1240) + } // end switch yys1240 + } // end for yyj1240 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14856,16 +14866,16 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1245 int + var yyb1245 bool + var yyhl1245 bool = l >= 0 + yyj1245++ + if yyhl1245 { + yyb1245 = yyj1245 > l } else { - yyb8 = r.CheckBreak() + yyb1245 = r.CheckBreak() } - if yyb8 { + if yyb1245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14873,21 +14883,21 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MatchLabels = nil } else { - yyv9 := &x.MatchLabels - yym10 := z.DecBinary() - _ = yym10 + yyv1246 := &x.MatchLabels + yym1247 := z.DecBinary() + _ = yym1247 if false { } else { - z.F.DecMapStringStringX(yyv9, false, d) + z.F.DecMapStringStringX(yyv1246, false, d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1245++ + if yyhl1245 { + yyb1245 = yyj1245 > l } else { - yyb8 = r.CheckBreak() + yyb1245 = r.CheckBreak() } - if yyb8 { + if yyb1245 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14895,26 +14905,26 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv11 := &x.MatchExpressions - yym12 := z.DecBinary() - _ = yym12 + yyv1248 := &x.MatchExpressions + yym1249 := z.DecBinary() + _ = yym1249 if false { } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv11), d) + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1248), d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1245++ + if yyhl1245 { + yyb1245 = yyj1245 > l } else { - yyb8 = r.CheckBreak() + yyb1245 = r.CheckBreak() } - if yyb8 { + if yyb1245 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1245-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14926,34 +14936,34 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1250 := z.EncBinary() + _ = yym1250 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = len(x.Values) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1251 := !z.EncBinary() + yy2arr1251 := z.EncBasicHandle().StructToArray + var yyq1251 [3]bool + _, _, _ = yysep1251, yyq1251, yy2arr1251 + const yyr1251 bool = false + yyq1251[2] = len(x.Values) != 0 + var yynn1251 int + if yyr1251 || yy2arr1251 { r.EncodeArrayStart(3) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1251 = 2 + for _, b := range yyq1251 { if b { - yynn2++ + yynn1251++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1251) + yynn1251 = 0 } - if yyr2 || yy2arr2 { + if yyr1251 || yy2arr1251 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1253 := z.EncBinary() + _ = yym1253 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -14962,14 +14972,14 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1254 := z.EncBinary() + _ = yym1254 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr2 || yy2arr2 { + if yyr1251 || yy2arr1251 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Operator.CodecEncodeSelf(e) } else { @@ -14978,14 +14988,14 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1251 || yy2arr1251 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1251[2] { if x.Values == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1257 := z.EncBinary() + _ = yym1257 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -14995,15 +15005,15 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1251[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("values")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Values == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym1258 := z.EncBinary() + _ = yym1258 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -15011,7 +15021,7 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1251 || yy2arr1251 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15024,25 +15034,25 @@ func (x *LabelSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1259 := z.DecBinary() + _ = yym1259 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1260 := r.ContainerType() + if yyct1260 == codecSelferValueTypeMap1234 { + yyl1260 := r.ReadMapStart() + if yyl1260 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1260, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1260 == codecSelferValueTypeArray1234 { + yyl1260 := r.ReadArrayStart() + if yyl1260 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1260, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15054,12 +15064,12 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -15068,10 +15078,10 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1261Slc = r.DecodeBytes(yys1261Slc, true, true) + yys1261 := string(yys1261Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1261 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -15088,18 +15098,18 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Values = nil } else { - yyv6 := &x.Values - yym7 := z.DecBinary() - _ = yym7 + yyv1264 := &x.Values + yym1265 := z.DecBinary() + _ = yym1265 if false { } else { - z.F.DecSliceStringX(yyv6, false, d) + z.F.DecSliceStringX(yyv1264, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1261) + } // end switch yys1261 + } // end for yyj1261 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15107,16 +15117,16 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1266 int + var yyb1266 bool + var yyhl1266 bool = l >= 0 + yyj1266++ + if yyhl1266 { + yyb1266 = yyj1266 > l } else { - yyb8 = r.CheckBreak() + yyb1266 = r.CheckBreak() } - if yyb8 { + if yyb1266 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15126,13 +15136,13 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Key = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1266++ + if yyhl1266 { + yyb1266 = yyj1266 > l } else { - yyb8 = r.CheckBreak() + yyb1266 = r.CheckBreak() } - if yyb8 { + if yyb1266 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15142,13 +15152,13 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Operator = LabelSelectorOperator(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1266++ + if yyhl1266 { + yyb1266 = yyj1266 > l } else { - yyb8 = r.CheckBreak() + yyb1266 = r.CheckBreak() } - if yyb8 { + if yyb1266 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15156,26 +15166,26 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Values = nil } else { - yyv11 := &x.Values - yym12 := z.DecBinary() - _ = yym12 + yyv1269 := &x.Values + yym1270 := z.DecBinary() + _ = yym1270 if false { } else { - z.F.DecSliceStringX(yyv11, false, d) + z.F.DecSliceStringX(yyv1269, false, d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1266++ + if yyhl1266 { + yyb1266 = yyj1266 > l } else { - yyb8 = r.CheckBreak() + yyb1266 = r.CheckBreak() } - if yyb8 { + if yyb1266 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1266-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15184,8 +15194,8 @@ func (x LabelSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1271 := z.EncBinary() + _ = yym1271 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -15197,8 +15207,8 @@ func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1272 := z.DecBinary() + _ = yym1272 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -15213,90 +15223,39 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1273 := z.EncBinary() + _ = yym1273 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1274 := !z.EncBinary() + yy2arr1274 := z.EncBasicHandle().StructToArray + var yyq1274 [5]bool + _, _, _ = yysep1274, yyq1274, yy2arr1274 + const yyr1274 bool = false + yyq1274[0] = x.Kind != "" + yyq1274[1] = x.APIVersion != "" + yyq1274[2] = true + yyq1274[3] = true + yyq1274[4] = true + var yynn1274 int + if yyr1274 || yy2arr1274 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1274 = 0 + for _, b := range yyq1274 { if b { - yynn2++ + yynn1274++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1274) + yynn1274 = 0 } - if yyr2 || yy2arr2 { + if yyr1274 || yy2arr1274 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq1274[0] { + yym1276 := z.EncBinary() + _ = yym1276 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -15305,23 +15264,23 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq1274[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym1277 := z.EncBinary() + _ = yym1277 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr1274 || yy2arr1274 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq1274[1] { + yym1279 := z.EncBinary() + _ = yym1279 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -15330,19 +15289,70 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq1274[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym1280 := z.EncBinary() + _ = yym1280 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr1274 || yy2arr1274 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1274[2] { + yy1282 := &x.ObjectMeta + yy1282.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1274[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1283 := &x.ObjectMeta + yy1283.CodecEncodeSelf(e) + } + } + if yyr1274 || yy2arr1274 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1274[3] { + yy1285 := &x.Spec + yy1285.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1274[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1286 := &x.Spec + yy1286.CodecEncodeSelf(e) + } + } + if yyr1274 || yy2arr1274 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1274[4] { + yy1288 := &x.Status + yy1288.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1274[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1289 := &x.Status + yy1289.CodecEncodeSelf(e) + } + } + if yyr1274 || yy2arr1274 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15355,25 +15365,25 @@ func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1290 := z.DecBinary() + _ = yym1290 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1291 := r.ContainerType() + if yyct1291 == codecSelferValueTypeMap1234 { + yyl1291 := r.ReadMapStart() + if yyl1291 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1291, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1291 == codecSelferValueTypeArray1234 { + yyl1291 := r.ReadArrayStart() + if yyl1291 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1291, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15385,12 +15395,12 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1292Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1292Slc + var yyhl1292 bool = l >= 0 + for yyj1292 := 0; ; yyj1292++ { + if yyhl1292 { + if yyj1292 >= l { break } } else { @@ -15399,31 +15409,10 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1292Slc = r.DecodeBytes(yys1292Slc, true, true) + yys1292 := string(yys1292Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ReplicaSetSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ReplicaSetStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys1292 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -15436,10 +15425,31 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv1295 := &x.ObjectMeta + yyv1295.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ReplicaSetSpec{} + } else { + yyv1296 := &x.Spec + yyv1296.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ReplicaSetStatus{} + } else { + yyv1297 := &x.Status + yyv1297.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1292) + } // end switch yys1292 + } // end for yyj1292 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15447,67 +15457,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj1298 int + var yyb1298 bool + var yyhl1298 bool = l >= 0 + yyj1298++ + if yyhl1298 { + yyb1298 = yyj1298 > l } else { - yyb9 = r.CheckBreak() + yyb1298 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ReplicaSetSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ReplicaSetStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb1298 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15517,13 +15476,13 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1298++ + if yyhl1298 { + yyb1298 = yyj1298 > l } else { - yyb9 = r.CheckBreak() + yyb1298 = r.CheckBreak() } - if yyb9 { + if yyb1298 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15533,18 +15492,69 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj1298++ + if yyhl1298 { + yyb1298 = yyj1298 > l + } else { + yyb1298 = r.CheckBreak() + } + if yyb1298 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv1301 := &x.ObjectMeta + yyv1301.CodecDecodeSelf(d) + } + yyj1298++ + if yyhl1298 { + yyb1298 = yyj1298 > l + } else { + yyb1298 = r.CheckBreak() + } + if yyb1298 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ReplicaSetSpec{} + } else { + yyv1302 := &x.Spec + yyv1302.CodecDecodeSelf(d) + } + yyj1298++ + if yyhl1298 { + yyb1298 = yyj1298 > l + } else { + yyb1298 = r.CheckBreak() + } + if yyb1298 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ReplicaSetStatus{} + } else { + yyv1303 := &x.Status + yyv1303.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj1298++ + if yyhl1298 { + yyb1298 = yyj1298 > l } else { - yyb9 = r.CheckBreak() + yyb1298 = r.CheckBreak() } - if yyb9 { + if yyb1298 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj1298-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15556,68 +15566,118 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1304 := z.EncBinary() + _ = yym1304 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1305 := !z.EncBinary() + yy2arr1305 := z.EncBasicHandle().StructToArray + var yyq1305 [4]bool + _, _, _ = yysep1305, yyq1305, yy2arr1305 + const yyr1305 bool = false + yyq1305[0] = x.Kind != "" + yyq1305[1] = x.APIVersion != "" + yyq1305[2] = true + var yynn1305 int + if yyr1305 || yy2arr1305 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1305 = 1 + for _, b := range yyq1305 { if b { - yynn2++ + yynn1305++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1305) + yynn1305 = 0 } - if yyr2 || yy2arr2 { + if yyr1305 || yy2arr1305 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq1305[0] { + yym1307 := z.EncBinary() + _ = yym1307 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1305[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1308 := z.EncBinary() + _ = yym1308 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1305 || yy2arr1305 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1305[1] { + yym1310 := z.EncBinary() + _ = yym1310 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1305[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1311 := z.EncBinary() + _ = yym1311 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1305 || yy2arr1305 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1305[2] { + yy1313 := &x.ListMeta + yym1314 := z.EncBinary() + _ = yym1314 + if false { + } else if z.HasExtensions() && z.EncExt(yy1313) { + } else { + z.EncFallback(yy1313) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1305[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy1315 := &x.ListMeta + yym1316 := z.EncBinary() + _ = yym1316 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy1315) { } else { - z.EncFallback(yy6) + z.EncFallback(yy1315) } } } - if yyr2 || yy2arr2 { + if yyr1305 || yy2arr1305 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym1318 := z.EncBinary() + _ = yym1318 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) @@ -15630,65 +15690,15 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1319 := z.EncBinary() + _ = yym1319 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr1305 || yy2arr1305 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15701,25 +15711,25 @@ func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1320 := z.DecBinary() + _ = yym1320 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1321 := r.ContainerType() + if yyct1321 == codecSelferValueTypeMap1234 { + yyl1321 := r.ReadMapStart() + if yyl1321 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1321, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1321 == codecSelferValueTypeArray1234 { + yyl1321 := r.ReadArrayStart() + if yyl1321 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1321, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15731,12 +15741,12 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1322Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1322Slc + var yyhl1322 bool = l >= 0 + for yyj1322 := 0; ; yyj1322++ { + if yyhl1322 { + if yyj1322 >= l { break } } else { @@ -15745,35 +15755,10 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1322Slc = r.DecodeBytes(yys1322Slc, true, true) + yys1322 := string(yys1322Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv6), d) - } - } + switch yys1322 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -15786,10 +15771,35 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1325 := &x.ListMeta + yym1326 := z.DecBinary() + _ = yym1326 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1325) { + } else { + z.DecFallback(yyv1325, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1327 := &x.Items + yym1328 := z.DecBinary() + _ = yym1328 + if false { + } else { + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1327), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1322) + } // end switch yys1322 + } // end for yyj1322 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15797,61 +15807,16 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj1329 int + var yyb1329 bool + var yyhl1329 bool = l >= 0 + yyj1329++ + if yyhl1329 { + yyb1329 = yyj1329 > l } else { - yyb10 = r.CheckBreak() + yyb1329 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb1329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15861,13 +15826,13 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1329++ + if yyhl1329 { + yyb1329 = yyj1329 > l } else { - yyb10 = r.CheckBreak() + yyb1329 = r.CheckBreak() } - if yyb10 { + if yyb1329 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15877,18 +15842,63 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1329++ + if yyhl1329 { + yyb1329 = yyj1329 > l + } else { + yyb1329 = r.CheckBreak() + } + if yyb1329 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1332 := &x.ListMeta + yym1333 := z.DecBinary() + _ = yym1333 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1332) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv1332, false) } - if yyb10 { + } + yyj1329++ + if yyhl1329 { + yyb1329 = yyj1329 > l + } else { + yyb1329 = r.CheckBreak() + } + if yyb1329 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1334 := &x.Items + yym1335 := z.DecBinary() + _ = yym1335 + if false { + } else { + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1334), d) + } + } + for { + yyj1329++ + if yyhl1329 { + yyb1329 = yyj1329 > l + } else { + yyb1329 = r.CheckBreak() + } + if yyb1329 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj1329-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15900,70 +15910,70 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1336 := z.EncBinary() + _ = yym1336 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Replicas != nil - yyq2[1] = x.Selector != nil - yyq2[2] = true - var yynn2 int - if yyr2 || yy2arr2 { + yysep1337 := !z.EncBinary() + yy2arr1337 := z.EncBasicHandle().StructToArray + var yyq1337 [3]bool + _, _, _ = yysep1337, yyq1337, yy2arr1337 + const yyr1337 bool = false + yyq1337[0] = x.Replicas != nil + yyq1337[1] = x.Selector != nil + yyq1337[2] = true + var yynn1337 int + if yyr1337 || yy2arr1337 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1337 = 0 + for _, b := range yyq1337 { if b { - yynn2++ + yynn1337++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1337) + yynn1337 = 0 } - if yyr2 || yy2arr2 { + if yyr1337 || yy2arr1337 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1337[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy4 := *x.Replicas - yym5 := z.EncBinary() - _ = yym5 + yy1339 := *x.Replicas + yym1340 := z.EncBinary() + _ = yym1340 if false { } else { - r.EncodeInt(int64(yy4)) + r.EncodeInt(int64(yy1339)) } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1337[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy6 := *x.Replicas - yym7 := z.EncBinary() - _ = yym7 + yy1341 := *x.Replicas + yym1342 := z.EncBinary() + _ = yym1342 if false { } else { - r.EncodeInt(int64(yy6)) + r.EncodeInt(int64(yy1341)) } } } } - if yyr2 || yy2arr2 { + if yyr1337 || yy2arr1337 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1337[1] { if x.Selector == nil { r.EncodeNil() } else { @@ -15973,7 +15983,7 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1337[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15984,24 +15994,24 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1337 || yy2arr1337 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy12 := &x.Template - yy12.CodecEncodeSelf(e) + if yyq1337[2] { + yy1345 := &x.Template + yy1345.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1337[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.Template - yy14.CodecEncodeSelf(e) + yy1346 := &x.Template + yy1346.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1337 || yy2arr1337 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16014,25 +16024,25 @@ func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1347 := z.DecBinary() + _ = yym1347 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1348 := r.ContainerType() + if yyct1348 == codecSelferValueTypeMap1234 { + yyl1348 := r.ReadMapStart() + if yyl1348 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1348, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1348 == codecSelferValueTypeArray1234 { + yyl1348 := r.ReadArrayStart() + if yyl1348 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1348, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16044,12 +16054,12 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1349Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1349Slc + var yyhl1349 bool = l >= 0 + for yyj1349 := 0; ; yyj1349++ { + if yyhl1349 { + if yyj1349 >= l { break } } else { @@ -16058,10 +16068,10 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1349Slc = r.DecodeBytes(yys1349Slc, true, true) + yys1349 := string(yys1349Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1349 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -16071,8 +16081,8 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym5 := z.DecBinary() - _ = yym5 + yym1351 := z.DecBinary() + _ = yym1351 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) @@ -16093,13 +16103,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv7 := &x.Template - yyv7.CodecDecodeSelf(d) + yyv1353 := &x.Template + yyv1353.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1349) + } // end switch yys1349 + } // end for yyj1349 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16107,16 +16117,16 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1354 int + var yyb1354 bool + var yyhl1354 bool = l >= 0 + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb8 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb8 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16129,20 +16139,20 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym10 := z.DecBinary() - _ = yym10 + yym1356 := z.DecBinary() + _ = yym1356 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb8 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb8 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16157,13 +16167,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Selector.CodecDecodeSelf(d) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb8 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb8 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16171,21 +16181,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv12 := &x.Template - yyv12.CodecDecodeSelf(d) + yyv1358 := &x.Template + yyv1358.CodecDecodeSelf(d) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb8 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb8 { + if yyb1354 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1354-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16197,35 +16207,35 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1359 := z.EncBinary() + _ = yym1359 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.FullyLabeledReplicas != 0 - yyq2[2] = x.ObservedGeneration != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1360 := !z.EncBinary() + yy2arr1360 := z.EncBasicHandle().StructToArray + var yyq1360 [3]bool + _, _, _ = yysep1360, yyq1360, yy2arr1360 + const yyr1360 bool = false + yyq1360[1] = x.FullyLabeledReplicas != 0 + yyq1360[2] = x.ObservedGeneration != 0 + var yynn1360 int + if yyr1360 || yy2arr1360 { r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1360 = 1 + for _, b := range yyq1360 { if b { - yynn2++ + yynn1360++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1360) + yynn1360 = 0 } - if yyr2 || yy2arr2 { + if yyr1360 || yy2arr1360 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1362 := z.EncBinary() + _ = yym1362 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -16234,18 +16244,18 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1363 := z.EncBinary() + _ = yym1363 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2 || yy2arr2 { + if yyr1360 || yy2arr1360 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq1360[1] { + yym1365 := z.EncBinary() + _ = yym1365 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -16254,23 +16264,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[1] { + if yyq1360[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1366 := z.EncBinary() + _ = yym1366 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr2 || yy2arr2 { + if yyr1360 || yy2arr1360 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq1360[2] { + yym1368 := z.EncBinary() + _ = yym1368 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -16279,19 +16289,19 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[2] { + if yyq1360[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym1369 := z.EncBinary() + _ = yym1369 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr2 || yy2arr2 { + if yyr1360 || yy2arr1360 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16304,25 +16314,25 @@ func (x *ReplicaSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1370 := z.DecBinary() + _ = yym1370 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1371 := r.ContainerType() + if yyct1371 == codecSelferValueTypeMap1234 { + yyl1371 := r.ReadMapStart() + if yyl1371 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1371, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1371 == codecSelferValueTypeArray1234 { + yyl1371 := r.ReadArrayStart() + if yyl1371 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1371, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16334,12 +16344,12 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1372Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1372Slc + var yyhl1372 bool = l >= 0 + for yyj1372 := 0; ; yyj1372++ { + if yyhl1372 { + if yyj1372 >= l { break } } else { @@ -16348,10 +16358,10 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1372Slc = r.DecodeBytes(yys1372Slc, true, true) + yys1372 := string(yys1372Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1372 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -16371,9 +16381,9 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ObservedGeneration = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1372) + } // end switch yys1372 + } // end for yyj1372 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16381,16 +16391,16 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1376 int + var yyb1376 bool + var yyhl1376 bool = l >= 0 + yyj1376++ + if yyhl1376 { + yyb1376 = yyj1376 > l } else { - yyb7 = r.CheckBreak() + yyb1376 = r.CheckBreak() } - if yyb7 { + if yyb1376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16400,13 +16410,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1376++ + if yyhl1376 { + yyb1376 = yyj1376 > l } else { - yyb7 = r.CheckBreak() + yyb1376 = r.CheckBreak() } - if yyb7 { + if yyb1376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16416,13 +16426,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FullyLabeledReplicas = int32(r.DecodeInt(32)) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1376++ + if yyhl1376 { + yyb1376 = yyj1376 > l } else { - yyb7 = r.CheckBreak() + yyb1376 = r.CheckBreak() } - if yyb7 { + if yyb1376 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16433,17 +16443,17 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ObservedGeneration = int64(r.DecodeInt(64)) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1376++ + if yyhl1376 { + yyb1376 = yyj1376 > l } else { - yyb7 = r.CheckBreak() + yyb1376 = r.CheckBreak() } - if yyb7 { + if yyb1376 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1376-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16455,72 +16465,38 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1380 := z.EncBinary() + _ = yym1380 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1381 := !z.EncBinary() + yy2arr1381 := z.EncBasicHandle().StructToArray + var yyq1381 [4]bool + _, _, _ = yysep1381, yyq1381, yy2arr1381 + const yyr1381 bool = false + yyq1381[0] = x.Kind != "" + yyq1381[1] = x.APIVersion != "" + yyq1381[2] = true + yyq1381[3] = true + var yynn1381 int + if yyr1381 || yy2arr1381 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1381 = 0 + for _, b := range yyq1381 { if b { - yynn2++ + yynn1381++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1381) + yynn1381 = 0 } - if yyr2 || yy2arr2 { + if yyr1381 || yy2arr1381 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq1381[0] { + yym1383 := z.EncBinary() + _ = yym1383 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -16529,23 +16505,23 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq1381[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym1384 := z.EncBinary() + _ = yym1384 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr1381 || yy2arr1381 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq1381[1] { + yym1386 := z.EncBinary() + _ = yym1386 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -16554,19 +16530,53 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq1381[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym1387 := z.EncBinary() + _ = yym1387 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr1381 || yy2arr1381 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1381[2] { + yy1389 := &x.ObjectMeta + yy1389.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1381[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1390 := &x.ObjectMeta + yy1390.CodecEncodeSelf(e) + } + } + if yyr1381 || yy2arr1381 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1381[3] { + yy1392 := &x.Spec + yy1392.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1381[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1393 := &x.Spec + yy1393.CodecEncodeSelf(e) + } + } + if yyr1381 || yy2arr1381 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16579,25 +16589,25 @@ func (x *PodSecurityPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1394 := z.DecBinary() + _ = yym1394 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1395 := r.ContainerType() + if yyct1395 == codecSelferValueTypeMap1234 { + yyl1395 := r.ReadMapStart() + if yyl1395 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1395, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1395 == codecSelferValueTypeArray1234 { + yyl1395 := r.ReadArrayStart() + if yyl1395 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1395, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16609,12 +16619,12 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1396Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1396Slc + var yyhl1396 bool = l >= 0 + for yyj1396 := 0; ; yyj1396++ { + if yyhl1396 { + if yyj1396 >= l { break } } else { @@ -16623,24 +16633,10 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1396Slc = r.DecodeBytes(yys1396Slc, true, true) + yys1396 := string(yys1396Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = PodSecurityPolicySpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } + switch yys1396 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -16653,10 +16649,24 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv1399 := &x.ObjectMeta + yyv1399.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = PodSecurityPolicySpec{} + } else { + yyv1400 := &x.Spec + yyv1400.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1396) + } // end switch yys1396 + } // end for yyj1396 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16664,50 +16674,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1401 int + var yyb1401 bool + var yyhl1401 bool = l >= 0 + yyj1401++ + if yyhl1401 { + yyb1401 = yyj1401 > l } else { - yyb8 = r.CheckBreak() + yyb1401 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv9 := &x.ObjectMeta - yyv9.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = PodSecurityPolicySpec{} - } else { - yyv10 := &x.Spec - yyv10.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb1401 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16717,13 +16693,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1401++ + if yyhl1401 { + yyb1401 = yyj1401 > l } else { - yyb8 = r.CheckBreak() + yyb1401 = r.CheckBreak() } - if yyb8 { + if yyb1401 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16733,18 +16709,52 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } + yyj1401++ + if yyhl1401 { + yyb1401 = yyj1401 > l + } else { + yyb1401 = r.CheckBreak() + } + if yyb1401 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv1404 := &x.ObjectMeta + yyv1404.CodecDecodeSelf(d) + } + yyj1401++ + if yyhl1401 { + yyb1401 = yyj1401 > l + } else { + yyb1401 = r.CheckBreak() + } + if yyb1401 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = PodSecurityPolicySpec{} + } else { + yyv1405 := &x.Spec + yyv1405.CodecDecodeSelf(d) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1401++ + if yyhl1401 { + yyb1401 = yyj1401 > l } else { - yyb8 = r.CheckBreak() + yyb1401 = r.CheckBreak() } - if yyb8 { + if yyb1401 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1401-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16756,44 +16766,44 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1406 := z.EncBinary() + _ = yym1406 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [14]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Privileged != false - yyq2[1] = len(x.DefaultAddCapabilities) != 0 - yyq2[2] = len(x.RequiredDropCapabilities) != 0 - yyq2[3] = len(x.AllowedCapabilities) != 0 - yyq2[4] = len(x.Volumes) != 0 - yyq2[5] = x.HostNetwork != false - yyq2[6] = len(x.HostPorts) != 0 - yyq2[7] = x.HostPID != false - yyq2[8] = x.HostIPC != false - yyq2[13] = x.ReadOnlyRootFilesystem != false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1407 := !z.EncBinary() + yy2arr1407 := z.EncBasicHandle().StructToArray + var yyq1407 [14]bool + _, _, _ = yysep1407, yyq1407, yy2arr1407 + const yyr1407 bool = false + yyq1407[0] = x.Privileged != false + yyq1407[1] = len(x.DefaultAddCapabilities) != 0 + yyq1407[2] = len(x.RequiredDropCapabilities) != 0 + yyq1407[3] = len(x.AllowedCapabilities) != 0 + yyq1407[4] = len(x.Volumes) != 0 + yyq1407[5] = x.HostNetwork != false + yyq1407[6] = len(x.HostPorts) != 0 + yyq1407[7] = x.HostPID != false + yyq1407[8] = x.HostIPC != false + yyq1407[13] = x.ReadOnlyRootFilesystem != false + var yynn1407 int + if yyr1407 || yy2arr1407 { r.EncodeArrayStart(14) } else { - yynn2 = 4 - for _, b := range yyq2 { + yynn1407 = 4 + for _, b := range yyq1407 { if b { - yynn2++ + yynn1407++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1407) + yynn1407 = 0 } - if yyr2 || yy2arr2 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq1407[0] { + yym1409 := z.EncBinary() + _ = yym1409 if false { } else { r.EncodeBool(bool(x.Privileged)) @@ -16802,26 +16812,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[0] { + if yyq1407[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1410 := z.EncBinary() + _ = yym1410 if false { } else { r.EncodeBool(bool(x.Privileged)) } } } - if yyr2 || yy2arr2 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1407[1] { if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1412 := z.EncBinary() + _ = yym1412 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.DefaultAddCapabilities), e) @@ -16831,15 +16841,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1407[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultAddCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1413 := z.EncBinary() + _ = yym1413 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.DefaultAddCapabilities), e) @@ -16847,14 +16857,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1407[2] { if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1415 := z.EncBinary() + _ = yym1415 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.RequiredDropCapabilities), e) @@ -16864,15 +16874,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1407[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDropCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym11 := z.EncBinary() - _ = yym11 + yym1416 := z.EncBinary() + _ = yym1416 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.RequiredDropCapabilities), e) @@ -16880,14 +16890,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { + if yyq1407[3] { if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym1418 := z.EncBinary() + _ = yym1418 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.AllowedCapabilities), e) @@ -16897,15 +16907,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[3] { + if yyq1407[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowedCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym14 := z.EncBinary() - _ = yym14 + yym1419 := z.EncBinary() + _ = yym1419 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.AllowedCapabilities), e) @@ -16913,14 +16923,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { + if yyq1407[4] { if x.Volumes == nil { r.EncodeNil() } else { - yym16 := z.EncBinary() - _ = yym16 + yym1421 := z.EncBinary() + _ = yym1421 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -16930,15 +16940,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[4] { + if yyq1407[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym17 := z.EncBinary() - _ = yym17 + yym1422 := z.EncBinary() + _ = yym1422 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -16946,11 +16956,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym19 := z.EncBinary() - _ = yym19 + if yyq1407[5] { + yym1424 := z.EncBinary() + _ = yym1424 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -16959,26 +16969,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[5] { + if yyq1407[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym1425 := z.EncBinary() + _ = yym1425 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr2 || yy2arr2 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[6] { + if yyq1407[6] { if x.HostPorts == nil { r.EncodeNil() } else { - yym22 := z.EncBinary() - _ = yym22 + yym1427 := z.EncBinary() + _ = yym1427 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -16988,15 +16998,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[6] { + if yyq1407[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPorts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HostPorts == nil { r.EncodeNil() } else { - yym23 := z.EncBinary() - _ = yym23 + yym1428 := z.EncBinary() + _ = yym1428 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -17004,11 +17014,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[7] { - yym25 := z.EncBinary() - _ = yym25 + if yyq1407[7] { + yym1430 := z.EncBinary() + _ = yym1430 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -17017,23 +17027,23 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[7] { + if yyq1407[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym26 := z.EncBinary() - _ = yym26 + yym1431 := z.EncBinary() + _ = yym1431 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr2 || yy2arr2 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[8] { - yym28 := z.EncBinary() - _ = yym28 + if yyq1407[8] { + yym1433 := z.EncBinary() + _ = yym1433 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -17042,67 +17052,67 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[8] { + if yyq1407[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym29 := z.EncBinary() - _ = yym29 + yym1434 := z.EncBinary() + _ = yym1434 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr2 || yy2arr2 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy31 := &x.SELinux - yy31.CodecEncodeSelf(e) + yy1436 := &x.SELinux + yy1436.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinux")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy33 := &x.SELinux - yy33.CodecEncodeSelf(e) + yy1437 := &x.SELinux + yy1437.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy36 := &x.RunAsUser - yy36.CodecEncodeSelf(e) + yy1439 := &x.RunAsUser + yy1439.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy38 := &x.RunAsUser - yy38.CodecEncodeSelf(e) + yy1440 := &x.RunAsUser + yy1440.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy41 := &x.SupplementalGroups - yy41.CodecEncodeSelf(e) + yy1442 := &x.SupplementalGroups + yy1442.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy43 := &x.SupplementalGroups - yy43.CodecEncodeSelf(e) + yy1443 := &x.SupplementalGroups + yy1443.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy46 := &x.FSGroup - yy46.CodecEncodeSelf(e) + yy1445 := &x.FSGroup + yy1445.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy48 := &x.FSGroup - yy48.CodecEncodeSelf(e) + yy1446 := &x.FSGroup + yy1446.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[13] { - yym51 := z.EncBinary() - _ = yym51 + if yyq1407[13] { + yym1448 := z.EncBinary() + _ = yym1448 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) @@ -17111,19 +17121,19 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[13] { + if yyq1407[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym52 := z.EncBinary() - _ = yym52 + yym1449 := z.EncBinary() + _ = yym1449 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) } } } - if yyr2 || yy2arr2 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17136,25 +17146,25 @@ func (x *PodSecurityPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1450 := z.DecBinary() + _ = yym1450 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1451 := r.ContainerType() + if yyct1451 == codecSelferValueTypeMap1234 { + yyl1451 := r.ReadMapStart() + if yyl1451 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1451, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1451 == codecSelferValueTypeArray1234 { + yyl1451 := r.ReadArrayStart() + if yyl1451 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1451, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17166,12 +17176,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1452Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1452Slc + var yyhl1452 bool = l >= 0 + for yyj1452 := 0; ; yyj1452++ { + if yyhl1452 { + if yyj1452 >= l { break } } else { @@ -17180,10 +17190,10 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1452Slc = r.DecodeBytes(yys1452Slc, true, true) + yys1452 := string(yys1452Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1452 { case "privileged": if r.TryDecodeAsNil() { x.Privileged = false @@ -17194,48 +17204,48 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv5 := &x.DefaultAddCapabilities - yym6 := z.DecBinary() - _ = yym6 + yyv1454 := &x.DefaultAddCapabilities + yym1455 := z.DecBinary() + _ = yym1455 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv5), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1454), d) } } case "requiredDropCapabilities": if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv7 := &x.RequiredDropCapabilities - yym8 := z.DecBinary() - _ = yym8 + yyv1456 := &x.RequiredDropCapabilities + yym1457 := z.DecBinary() + _ = yym1457 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv7), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1456), d) } } case "allowedCapabilities": if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv9 := &x.AllowedCapabilities - yym10 := z.DecBinary() - _ = yym10 + yyv1458 := &x.AllowedCapabilities + yym1459 := z.DecBinary() + _ = yym1459 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv9), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1458), d) } } case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv11 := &x.Volumes - yym12 := z.DecBinary() - _ = yym12 + yyv1460 := &x.Volumes + yym1461 := z.DecBinary() + _ = yym1461 if false { } else { - h.decSliceFSType((*[]FSType)(yyv11), d) + h.decSliceFSType((*[]FSType)(yyv1460), d) } } case "hostNetwork": @@ -17248,12 +17258,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv14 := &x.HostPorts - yym15 := z.DecBinary() - _ = yym15 + yyv1463 := &x.HostPorts + yym1464 := z.DecBinary() + _ = yym1464 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv14), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1463), d) } } case "hostPID": @@ -17272,29 +17282,29 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv18 := &x.SELinux - yyv18.CodecDecodeSelf(d) + yyv1467 := &x.SELinux + yyv1467.CodecDecodeSelf(d) } case "runAsUser": if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv19 := &x.RunAsUser - yyv19.CodecDecodeSelf(d) + yyv1468 := &x.RunAsUser + yyv1468.CodecDecodeSelf(d) } case "supplementalGroups": if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv20 := &x.SupplementalGroups - yyv20.CodecDecodeSelf(d) + yyv1469 := &x.SupplementalGroups + yyv1469.CodecDecodeSelf(d) } case "fsGroup": if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv21 := &x.FSGroup - yyv21.CodecDecodeSelf(d) + yyv1470 := &x.FSGroup + yyv1470.CodecDecodeSelf(d) } case "readOnlyRootFilesystem": if r.TryDecodeAsNil() { @@ -17303,9 +17313,9 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1452) + } // end switch yys1452 + } // end for yyj1452 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17313,16 +17323,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj23 int - var yyb23 bool - var yyhl23 bool = l >= 0 - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + var yyj1472 int + var yyb1472 bool + var yyhl1472 bool = l >= 0 + yyj1472++ + if yyhl1472 { + yyb1472 = yyj1472 > l } else { - yyb23 = r.CheckBreak() + yyb1472 = r.CheckBreak() } - if yyb23 { + if yyb1472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17332,13 +17342,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Privileged = bool(r.DecodeBool()) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1472++ + if yyhl1472 { + yyb1472 = yyj1472 > l } else { - yyb23 = r.CheckBreak() + yyb1472 = r.CheckBreak() } - if yyb23 { + if yyb1472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17346,21 +17356,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv25 := &x.DefaultAddCapabilities - yym26 := z.DecBinary() - _ = yym26 + yyv1474 := &x.DefaultAddCapabilities + yym1475 := z.DecBinary() + _ = yym1475 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv25), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1474), d) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1472++ + if yyhl1472 { + yyb1472 = yyj1472 > l } else { - yyb23 = r.CheckBreak() + yyb1472 = r.CheckBreak() } - if yyb23 { + if yyb1472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17368,21 +17378,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv27 := &x.RequiredDropCapabilities - yym28 := z.DecBinary() - _ = yym28 + yyv1476 := &x.RequiredDropCapabilities + yym1477 := z.DecBinary() + _ = yym1477 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv27), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1476), d) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1472++ + if yyhl1472 { + yyb1472 = yyj1472 > l } else { - yyb23 = r.CheckBreak() + yyb1472 = r.CheckBreak() } - if yyb23 { + if yyb1472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17390,21 +17400,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv29 := &x.AllowedCapabilities - yym30 := z.DecBinary() - _ = yym30 + yyv1478 := &x.AllowedCapabilities + yym1479 := z.DecBinary() + _ = yym1479 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv29), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1478), d) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1472++ + if yyhl1472 { + yyb1472 = yyj1472 > l } else { - yyb23 = r.CheckBreak() + yyb1472 = r.CheckBreak() } - if yyb23 { + if yyb1472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17412,21 +17422,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv31 := &x.Volumes - yym32 := z.DecBinary() - _ = yym32 + yyv1480 := &x.Volumes + yym1481 := z.DecBinary() + _ = yym1481 if false { } else { - h.decSliceFSType((*[]FSType)(yyv31), d) + h.decSliceFSType((*[]FSType)(yyv1480), d) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1472++ + if yyhl1472 { + yyb1472 = yyj1472 > l } else { - yyb23 = r.CheckBreak() + yyb1472 = r.CheckBreak() } - if yyb23 { + if yyb1472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17436,13 +17446,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1472++ + if yyhl1472 { + yyb1472 = yyj1472 > l } else { - yyb23 = r.CheckBreak() + yyb1472 = r.CheckBreak() } - if yyb23 { + if yyb1472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17450,21 +17460,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv34 := &x.HostPorts - yym35 := z.DecBinary() - _ = yym35 + yyv1483 := &x.HostPorts + yym1484 := z.DecBinary() + _ = yym1484 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv34), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1483), d) } } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1472++ + if yyhl1472 { + yyb1472 = yyj1472 > l } else { - yyb23 = r.CheckBreak() + yyb1472 = r.CheckBreak() } - if yyb23 { + if yyb1472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17474,13 +17484,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostPID = bool(r.DecodeBool()) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1472++ + if yyhl1472 { + yyb1472 = yyj1472 > l } else { - yyb23 = r.CheckBreak() + yyb1472 = r.CheckBreak() } - if yyb23 { + if yyb1472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17490,13 +17500,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostIPC = bool(r.DecodeBool()) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1472++ + if yyhl1472 { + yyb1472 = yyj1472 > l } else { - yyb23 = r.CheckBreak() + yyb1472 = r.CheckBreak() } - if yyb23 { + if yyb1472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17504,16 +17514,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv38 := &x.SELinux - yyv38.CodecDecodeSelf(d) + yyv1487 := &x.SELinux + yyv1487.CodecDecodeSelf(d) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1472++ + if yyhl1472 { + yyb1472 = yyj1472 > l } else { - yyb23 = r.CheckBreak() + yyb1472 = r.CheckBreak() } - if yyb23 { + if yyb1472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17521,16 +17531,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv39 := &x.RunAsUser - yyv39.CodecDecodeSelf(d) + yyv1488 := &x.RunAsUser + yyv1488.CodecDecodeSelf(d) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1472++ + if yyhl1472 { + yyb1472 = yyj1472 > l } else { - yyb23 = r.CheckBreak() + yyb1472 = r.CheckBreak() } - if yyb23 { + if yyb1472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17538,16 +17548,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv40 := &x.SupplementalGroups - yyv40.CodecDecodeSelf(d) + yyv1489 := &x.SupplementalGroups + yyv1489.CodecDecodeSelf(d) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1472++ + if yyhl1472 { + yyb1472 = yyj1472 > l } else { - yyb23 = r.CheckBreak() + yyb1472 = r.CheckBreak() } - if yyb23 { + if yyb1472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17555,16 +17565,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv41 := &x.FSGroup - yyv41.CodecDecodeSelf(d) + yyv1490 := &x.FSGroup + yyv1490.CodecDecodeSelf(d) } - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1472++ + if yyhl1472 { + yyb1472 = yyj1472 > l } else { - yyb23 = r.CheckBreak() + yyb1472 = r.CheckBreak() } - if yyb23 { + if yyb1472 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17575,17 +17585,17 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } for { - yyj23++ - if yyhl23 { - yyb23 = yyj23 > l + yyj1472++ + if yyhl1472 { + yyb1472 = yyj1472 > l } else { - yyb23 = r.CheckBreak() + yyb1472 = r.CheckBreak() } - if yyb23 { + if yyb1472 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj23-1, "") + z.DecStructFieldNotFound(yyj1472-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17594,8 +17604,8 @@ func (x FSType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1492 := z.EncBinary() + _ = yym1492 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -17607,8 +17617,8 @@ func (x *FSType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1493 := z.DecBinary() + _ = yym1493 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -17623,33 +17633,33 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1494 := z.EncBinary() + _ = yym1494 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1495 := !z.EncBinary() + yy2arr1495 := z.EncBasicHandle().StructToArray + var yyq1495 [2]bool + _, _, _ = yysep1495, yyq1495, yy2arr1495 + const yyr1495 bool = false + var yynn1495 int + if yyr1495 || yy2arr1495 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1495 = 2 + for _, b := range yyq1495 { if b { - yynn2++ + yynn1495++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1495) + yynn1495 = 0 } - if yyr2 || yy2arr2 { + if yyr1495 || yy2arr1495 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1497 := z.EncBinary() + _ = yym1497 if false { } else { r.EncodeInt(int64(x.Min)) @@ -17658,17 +17668,17 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1498 := z.EncBinary() + _ = yym1498 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr2 || yy2arr2 { + if yyr1495 || yy2arr1495 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1500 := z.EncBinary() + _ = yym1500 if false { } else { r.EncodeInt(int64(x.Max)) @@ -17677,14 +17687,14 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1501 := z.EncBinary() + _ = yym1501 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr2 || yy2arr2 { + if yyr1495 || yy2arr1495 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17697,25 +17707,25 @@ func (x *HostPortRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1502 := z.DecBinary() + _ = yym1502 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1503 := r.ContainerType() + if yyct1503 == codecSelferValueTypeMap1234 { + yyl1503 := r.ReadMapStart() + if yyl1503 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1503, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1503 == codecSelferValueTypeArray1234 { + yyl1503 := r.ReadArrayStart() + if yyl1503 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1503, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17727,12 +17737,12 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1504Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1504Slc + var yyhl1504 bool = l >= 0 + for yyj1504 := 0; ; yyj1504++ { + if yyhl1504 { + if yyj1504 >= l { break } } else { @@ -17741,10 +17751,10 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1504Slc = r.DecodeBytes(yys1504Slc, true, true) + yys1504 := string(yys1504Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1504 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -17758,9 +17768,9 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1504) + } // end switch yys1504 + } // end for yyj1504 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17768,16 +17778,16 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1507 int + var yyb1507 bool + var yyhl1507 bool = l >= 0 + yyj1507++ + if yyhl1507 { + yyb1507 = yyj1507 > l } else { - yyb6 = r.CheckBreak() + yyb1507 = r.CheckBreak() } - if yyb6 { + if yyb1507 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17787,13 +17797,13 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int32(r.DecodeInt(32)) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1507++ + if yyhl1507 { + yyb1507 = yyj1507 > l } else { - yyb6 = r.CheckBreak() + yyb1507 = r.CheckBreak() } - if yyb6 { + if yyb1507 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17804,17 +17814,17 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int32(r.DecodeInt(32)) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1507++ + if yyhl1507 { + yyb1507 = yyj1507 > l } else { - yyb6 = r.CheckBreak() + yyb1507 = r.CheckBreak() } - if yyb6 { + if yyb1507 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1507-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17826,31 +17836,31 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1510 := z.EncBinary() + _ = yym1510 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.SELinuxOptions != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1511 := !z.EncBinary() + yy2arr1511 := z.EncBasicHandle().StructToArray + var yyq1511 [2]bool + _, _, _ = yysep1511, yyq1511, yy2arr1511 + const yyr1511 bool = false + yyq1511[1] = x.SELinuxOptions != nil + var yynn1511 int + if yyr1511 || yy2arr1511 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1511 = 1 + for _, b := range yyq1511 { if b { - yynn2++ + yynn1511++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1511) + yynn1511 = 0 } - if yyr2 || yy2arr2 { + if yyr1511 || yy2arr1511 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -17859,9 +17869,9 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1511 || yy2arr1511 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1511[1] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -17871,7 +17881,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1511[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17882,7 +17892,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1511 || yy2arr1511 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17895,25 +17905,25 @@ func (x *SELinuxStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1514 := z.DecBinary() + _ = yym1514 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1515 := r.ContainerType() + if yyct1515 == codecSelferValueTypeMap1234 { + yyl1515 := r.ReadMapStart() + if yyl1515 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1515, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1515 == codecSelferValueTypeArray1234 { + yyl1515 := r.ReadArrayStart() + if yyl1515 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1515, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17925,12 +17935,12 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1516Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1516Slc + var yyhl1516 bool = l >= 0 + for yyj1516 := 0; ; yyj1516++ { + if yyhl1516 { + if yyj1516 >= l { break } } else { @@ -17939,10 +17949,10 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1516Slc = r.DecodeBytes(yys1516Slc, true, true) + yys1516 := string(yys1516Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1516 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -17961,9 +17971,9 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.SELinuxOptions.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1516) + } // end switch yys1516 + } // end for yyj1516 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17971,16 +17981,16 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1519 int + var yyb1519 bool + var yyhl1519 bool = l >= 0 + yyj1519++ + if yyhl1519 { + yyb1519 = yyj1519 > l } else { - yyb6 = r.CheckBreak() + yyb1519 = r.CheckBreak() } - if yyb6 { + if yyb1519 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17990,13 +18000,13 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = SELinuxStrategy(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1519++ + if yyhl1519 { + yyb1519 = yyj1519 > l } else { - yyb6 = r.CheckBreak() + yyb1519 = r.CheckBreak() } - if yyb6 { + if yyb1519 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18012,17 +18022,17 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De x.SELinuxOptions.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1519++ + if yyhl1519 { + yyb1519 = yyj1519 > l } else { - yyb6 = r.CheckBreak() + yyb1519 = r.CheckBreak() } - if yyb6 { + if yyb1519 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1519-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18031,8 +18041,8 @@ func (x SELinuxStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1522 := z.EncBinary() + _ = yym1522 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18044,8 +18054,8 @@ func (x *SELinuxStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1523 := z.DecBinary() + _ = yym1523 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18060,31 +18070,31 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1524 := z.EncBinary() + _ = yym1524 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = len(x.Ranges) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1525 := !z.EncBinary() + yy2arr1525 := z.EncBasicHandle().StructToArray + var yyq1525 [2]bool + _, _, _ = yysep1525, yyq1525, yy2arr1525 + const yyr1525 bool = false + yyq1525[1] = len(x.Ranges) != 0 + var yynn1525 int + if yyr1525 || yy2arr1525 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1525 = 1 + for _, b := range yyq1525 { if b { - yynn2++ + yynn1525++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1525) + yynn1525 = 0 } - if yyr2 || yy2arr2 { + if yyr1525 || yy2arr1525 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -18093,14 +18103,14 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1525 || yy2arr1525 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1525[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1528 := z.EncBinary() + _ = yym1528 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18110,15 +18120,15 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1525[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1529 := z.EncBinary() + _ = yym1529 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18126,7 +18136,7 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1525 || yy2arr1525 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18139,25 +18149,25 @@ func (x *RunAsUserStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1530 := z.DecBinary() + _ = yym1530 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1531 := r.ContainerType() + if yyct1531 == codecSelferValueTypeMap1234 { + yyl1531 := r.ReadMapStart() + if yyl1531 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1531, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1531 == codecSelferValueTypeArray1234 { + yyl1531 := r.ReadArrayStart() + if yyl1531 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1531, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18169,12 +18179,12 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1532Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1532Slc + var yyhl1532 bool = l >= 0 + for yyj1532 := 0; ; yyj1532++ { + if yyhl1532 { + if yyj1532 >= l { break } } else { @@ -18183,10 +18193,10 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1532Slc = r.DecodeBytes(yys1532Slc, true, true) + yys1532 := string(yys1532Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1532 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18197,18 +18207,18 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv5 := &x.Ranges - yym6 := z.DecBinary() - _ = yym6 + yyv1534 := &x.Ranges + yym1535 := z.DecBinary() + _ = yym1535 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv5), d) + h.decSliceIDRange((*[]IDRange)(yyv1534), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1532) + } // end switch yys1532 + } // end for yyj1532 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18216,16 +18226,16 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1536 int + var yyb1536 bool + var yyhl1536 bool = l >= 0 + yyj1536++ + if yyhl1536 { + yyb1536 = yyj1536 > l } else { - yyb7 = r.CheckBreak() + yyb1536 = r.CheckBreak() } - if yyb7 { + if yyb1536 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18235,13 +18245,13 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Rule = RunAsUserStrategy(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1536++ + if yyhl1536 { + yyb1536 = yyj1536 > l } else { - yyb7 = r.CheckBreak() + yyb1536 = r.CheckBreak() } - if yyb7 { + if yyb1536 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18249,26 +18259,26 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv9 := &x.Ranges - yym10 := z.DecBinary() - _ = yym10 + yyv1538 := &x.Ranges + yym1539 := z.DecBinary() + _ = yym1539 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv9), d) + h.decSliceIDRange((*[]IDRange)(yyv1538), d) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1536++ + if yyhl1536 { + yyb1536 = yyj1536 > l } else { - yyb7 = r.CheckBreak() + yyb1536 = r.CheckBreak() } - if yyb7 { + if yyb1536 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1536-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18280,33 +18290,33 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1540 := z.EncBinary() + _ = yym1540 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep1541 := !z.EncBinary() + yy2arr1541 := z.EncBasicHandle().StructToArray + var yyq1541 [2]bool + _, _, _ = yysep1541, yyq1541, yy2arr1541 + const yyr1541 bool = false + var yynn1541 int + if yyr1541 || yy2arr1541 { r.EncodeArrayStart(2) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn1541 = 2 + for _, b := range yyq1541 { if b { - yynn2++ + yynn1541++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1541) + yynn1541 = 0 } - if yyr2 || yy2arr2 { + if yyr1541 || yy2arr1541 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym1543 := z.EncBinary() + _ = yym1543 if false { } else { r.EncodeInt(int64(x.Min)) @@ -18315,17 +18325,17 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym1544 := z.EncBinary() + _ = yym1544 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr2 || yy2arr2 { + if yyr1541 || yy2arr1541 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym1546 := z.EncBinary() + _ = yym1546 if false { } else { r.EncodeInt(int64(x.Max)) @@ -18334,14 +18344,14 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym1547 := z.EncBinary() + _ = yym1547 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr2 || yy2arr2 { + if yyr1541 || yy2arr1541 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18354,25 +18364,25 @@ func (x *IDRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1548 := z.DecBinary() + _ = yym1548 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1549 := r.ContainerType() + if yyct1549 == codecSelferValueTypeMap1234 { + yyl1549 := r.ReadMapStart() + if yyl1549 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1549, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1549 == codecSelferValueTypeArray1234 { + yyl1549 := r.ReadArrayStart() + if yyl1549 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1549, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18384,12 +18394,12 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1550Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1550Slc + var yyhl1550 bool = l >= 0 + for yyj1550 := 0; ; yyj1550++ { + if yyhl1550 { + if yyj1550 >= l { break } } else { @@ -18398,10 +18408,10 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1550Slc = r.DecodeBytes(yys1550Slc, true, true) + yys1550 := string(yys1550Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1550 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -18415,9 +18425,9 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1550) + } // end switch yys1550 + } // end for yyj1550 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18425,16 +18435,16 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1553 int + var yyb1553 bool + var yyhl1553 bool = l >= 0 + yyj1553++ + if yyhl1553 { + yyb1553 = yyj1553 > l } else { - yyb6 = r.CheckBreak() + yyb1553 = r.CheckBreak() } - if yyb6 { + if yyb1553 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18444,13 +18454,13 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int64(r.DecodeInt(64)) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1553++ + if yyhl1553 { + yyb1553 = yyj1553 > l } else { - yyb6 = r.CheckBreak() + yyb1553 = r.CheckBreak() } - if yyb6 { + if yyb1553 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18461,17 +18471,17 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1553++ + if yyhl1553 { + yyb1553 = yyj1553 > l } else { - yyb6 = r.CheckBreak() + yyb1553 = r.CheckBreak() } - if yyb6 { + if yyb1553 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1553-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18480,8 +18490,8 @@ func (x RunAsUserStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1556 := z.EncBinary() + _ = yym1556 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18493,8 +18503,8 @@ func (x *RunAsUserStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1557 := z.DecBinary() + _ = yym1557 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18509,54 +18519,54 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1558 := z.EncBinary() + _ = yym1558 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Rule != "" - yyq2[1] = len(x.Ranges) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1559 := !z.EncBinary() + yy2arr1559 := z.EncBasicHandle().StructToArray + var yyq1559 [2]bool + _, _, _ = yysep1559, yyq1559, yy2arr1559 + const yyr1559 bool = false + yyq1559[0] = x.Rule != "" + yyq1559[1] = len(x.Ranges) != 0 + var yynn1559 int + if yyr1559 || yy2arr1559 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1559 = 0 + for _, b := range yyq1559 { if b { - yynn2++ + yynn1559++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1559) + yynn1559 = 0 } - if yyr2 || yy2arr2 { + if yyr1559 || yy2arr1559 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1559[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1559[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1559 || yy2arr1559 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1559[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1562 := z.EncBinary() + _ = yym1562 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18566,15 +18576,15 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1559[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1563 := z.EncBinary() + _ = yym1563 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18582,7 +18592,7 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1559 || yy2arr1559 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18595,25 +18605,25 @@ func (x *FSGroupStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1564 := z.DecBinary() + _ = yym1564 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1565 := r.ContainerType() + if yyct1565 == codecSelferValueTypeMap1234 { + yyl1565 := r.ReadMapStart() + if yyl1565 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1565, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1565 == codecSelferValueTypeArray1234 { + yyl1565 := r.ReadArrayStart() + if yyl1565 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1565, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18625,12 +18635,12 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1566Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1566Slc + var yyhl1566 bool = l >= 0 + for yyj1566 := 0; ; yyj1566++ { + if yyhl1566 { + if yyj1566 >= l { break } } else { @@ -18639,10 +18649,10 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1566Slc = r.DecodeBytes(yys1566Slc, true, true) + yys1566 := string(yys1566Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1566 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18653,18 +18663,18 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv5 := &x.Ranges - yym6 := z.DecBinary() - _ = yym6 + yyv1568 := &x.Ranges + yym1569 := z.DecBinary() + _ = yym1569 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv5), d) + h.decSliceIDRange((*[]IDRange)(yyv1568), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1566) + } // end switch yys1566 + } // end for yyj1566 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18672,16 +18682,16 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1570 int + var yyb1570 bool + var yyhl1570 bool = l >= 0 + yyj1570++ + if yyhl1570 { + yyb1570 = yyj1570 > l } else { - yyb7 = r.CheckBreak() + yyb1570 = r.CheckBreak() } - if yyb7 { + if yyb1570 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18691,13 +18701,13 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = FSGroupStrategyType(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1570++ + if yyhl1570 { + yyb1570 = yyj1570 > l } else { - yyb7 = r.CheckBreak() + yyb1570 = r.CheckBreak() } - if yyb7 { + if yyb1570 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18705,26 +18715,26 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv9 := &x.Ranges - yym10 := z.DecBinary() - _ = yym10 + yyv1572 := &x.Ranges + yym1573 := z.DecBinary() + _ = yym1573 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv9), d) + h.decSliceIDRange((*[]IDRange)(yyv1572), d) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1570++ + if yyhl1570 { + yyb1570 = yyj1570 > l } else { - yyb7 = r.CheckBreak() + yyb1570 = r.CheckBreak() } - if yyb7 { + if yyb1570 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1570-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18733,8 +18743,8 @@ func (x FSGroupStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1574 := z.EncBinary() + _ = yym1574 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18746,8 +18756,8 @@ func (x *FSGroupStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1575 := z.DecBinary() + _ = yym1575 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18762,54 +18772,54 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1576 := z.EncBinary() + _ = yym1576 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Rule != "" - yyq2[1] = len(x.Ranges) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1577 := !z.EncBinary() + yy2arr1577 := z.EncBasicHandle().StructToArray + var yyq1577 [2]bool + _, _, _ = yysep1577, yyq1577, yy2arr1577 + const yyr1577 bool = false + yyq1577[0] = x.Rule != "" + yyq1577[1] = len(x.Ranges) != 0 + var yynn1577 int + if yyr1577 || yy2arr1577 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1577 = 0 + for _, b := range yyq1577 { if b { - yynn2++ + yynn1577++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1577) + yynn1577 = 0 } - if yyr2 || yy2arr2 { + if yyr1577 || yy2arr1577 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1577[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[0] { + if yyq1577[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1577 || yy2arr1577 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1577[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1580 := z.EncBinary() + _ = yym1580 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18819,15 +18829,15 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder r.EncodeNil() } } else { - if yyq2[1] { + if yyq1577[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1581 := z.EncBinary() + _ = yym1581 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18835,7 +18845,7 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder } } } - if yyr2 || yy2arr2 { + if yyr1577 || yy2arr1577 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18848,25 +18858,25 @@ func (x *SupplementalGroupsStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1582 := z.DecBinary() + _ = yym1582 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1583 := r.ContainerType() + if yyct1583 == codecSelferValueTypeMap1234 { + yyl1583 := r.ReadMapStart() + if yyl1583 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1583, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1583 == codecSelferValueTypeArray1234 { + yyl1583 := r.ReadArrayStart() + if yyl1583 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1583, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18878,12 +18888,12 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1584Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1584Slc + var yyhl1584 bool = l >= 0 + for yyj1584 := 0; ; yyj1584++ { + if yyhl1584 { + if yyj1584 >= l { break } } else { @@ -18892,10 +18902,10 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1584Slc = r.DecodeBytes(yys1584Slc, true, true) + yys1584 := string(yys1584Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1584 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18906,18 +18916,18 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv5 := &x.Ranges - yym6 := z.DecBinary() - _ = yym6 + yyv1586 := &x.Ranges + yym1587 := z.DecBinary() + _ = yym1587 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv5), d) + h.decSliceIDRange((*[]IDRange)(yyv1586), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1584) + } // end switch yys1584 + } // end for yyj1584 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18925,16 +18935,16 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1588 int + var yyb1588 bool + var yyhl1588 bool = l >= 0 + yyj1588++ + if yyhl1588 { + yyb1588 = yyj1588 > l } else { - yyb7 = r.CheckBreak() + yyb1588 = r.CheckBreak() } - if yyb7 { + if yyb1588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18944,13 +18954,13 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c } else { x.Rule = SupplementalGroupsStrategyType(r.DecodeString()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1588++ + if yyhl1588 { + yyb1588 = yyj1588 > l } else { - yyb7 = r.CheckBreak() + yyb1588 = r.CheckBreak() } - if yyb7 { + if yyb1588 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18958,26 +18968,26 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv9 := &x.Ranges - yym10 := z.DecBinary() - _ = yym10 + yyv1590 := &x.Ranges + yym1591 := z.DecBinary() + _ = yym1591 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv9), d) + h.decSliceIDRange((*[]IDRange)(yyv1590), d) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1588++ + if yyhl1588 { + yyb1588 = yyj1588 > l } else { - yyb7 = r.CheckBreak() + yyb1588 = r.CheckBreak() } - if yyb7 { + if yyb1588 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1588-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18986,8 +18996,8 @@ func (x SupplementalGroupsStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym1592 := z.EncBinary() + _ = yym1592 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18999,8 +19009,8 @@ func (x *SupplementalGroupsStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1593 := z.DecBinary() + _ = yym1593 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -19015,68 +19025,118 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1594 := z.EncBinary() + _ = yym1594 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1595 := !z.EncBinary() + yy2arr1595 := z.EncBasicHandle().StructToArray + var yyq1595 [4]bool + _, _, _ = yysep1595, yyq1595, yy2arr1595 + const yyr1595 bool = false + yyq1595[0] = x.Kind != "" + yyq1595[1] = x.APIVersion != "" + yyq1595[2] = true + var yynn1595 int + if yyr1595 || yy2arr1595 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1595 = 1 + for _, b := range yyq1595 { if b { - yynn2++ + yynn1595++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1595) + yynn1595 = 0 } - if yyr2 || yy2arr2 { + if yyr1595 || yy2arr1595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq1595[0] { + yym1597 := z.EncBinary() + _ = yym1597 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1595[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1598 := z.EncBinary() + _ = yym1598 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1595 || yy2arr1595 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1595[1] { + yym1600 := z.EncBinary() + _ = yym1600 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1595[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1601 := z.EncBinary() + _ = yym1601 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1595 || yy2arr1595 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1595[2] { + yy1603 := &x.ListMeta + yym1604 := z.EncBinary() + _ = yym1604 + if false { + } else if z.HasExtensions() && z.EncExt(yy1603) { + } else { + z.EncFallback(yy1603) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1595[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy1605 := &x.ListMeta + yym1606 := z.EncBinary() + _ = yym1606 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy1605) { } else { - z.EncFallback(yy6) + z.EncFallback(yy1605) } } } - if yyr2 || yy2arr2 { + if yyr1595 || yy2arr1595 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym1608 := z.EncBinary() + _ = yym1608 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) @@ -19089,65 +19149,15 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1609 := z.EncBinary() + _ = yym1609 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr1595 || yy2arr1595 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19160,25 +19170,25 @@ func (x *PodSecurityPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1610 := z.DecBinary() + _ = yym1610 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1611 := r.ContainerType() + if yyct1611 == codecSelferValueTypeMap1234 { + yyl1611 := r.ReadMapStart() + if yyl1611 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1611, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1611 == codecSelferValueTypeArray1234 { + yyl1611 := r.ReadArrayStart() + if yyl1611 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1611, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19190,12 +19200,12 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1612Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1612Slc + var yyhl1612 bool = l >= 0 + for yyj1612 := 0; ; yyj1612++ { + if yyhl1612 { + if yyj1612 >= l { break } } else { @@ -19204,35 +19214,10 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1612Slc = r.DecodeBytes(yys1612Slc, true, true) + yys1612 := string(yys1612Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv6), d) - } - } + switch yys1612 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -19245,10 +19230,35 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1615 := &x.ListMeta + yym1616 := z.DecBinary() + _ = yym1616 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1615) { + } else { + z.DecFallback(yyv1615, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1617 := &x.Items + yym1618 := z.DecBinary() + _ = yym1618 + if false { + } else { + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1617), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1612) + } // end switch yys1612 + } // end for yyj1612 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19256,61 +19266,16 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj1619 int + var yyb1619 bool + var yyhl1619 bool = l >= 0 + yyj1619++ + if yyhl1619 { + yyb1619 = yyj1619 > l } else { - yyb10 = r.CheckBreak() + yyb1619 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb1619 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19320,13 +19285,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1619++ + if yyhl1619 { + yyb1619 = yyj1619 > l } else { - yyb10 = r.CheckBreak() + yyb1619 = r.CheckBreak() } - if yyb10 { + if yyb1619 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19336,18 +19301,63 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1619++ + if yyhl1619 { + yyb1619 = yyj1619 > l + } else { + yyb1619 = r.CheckBreak() + } + if yyb1619 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1622 := &x.ListMeta + yym1623 := z.DecBinary() + _ = yym1623 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1622) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv1622, false) } - if yyb10 { + } + yyj1619++ + if yyhl1619 { + yyb1619 = yyj1619 > l + } else { + yyb1619 = r.CheckBreak() + } + if yyb1619 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1624 := &x.Items + yym1625 := z.DecBinary() + _ = yym1625 + if false { + } else { + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1624), d) + } + } + for { + yyj1619++ + if yyhl1619 { + yyb1619 = yyj1619 > l + } else { + yyb1619 = r.CheckBreak() + } + if yyb1619 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj1619-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19359,72 +19369,38 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1626 := z.EncBinary() + _ = yym1626 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1627 := !z.EncBinary() + yy2arr1627 := z.EncBasicHandle().StructToArray + var yyq1627 [4]bool + _, _, _ = yysep1627, yyq1627, yy2arr1627 + const yyr1627 bool = false + yyq1627[0] = x.Kind != "" + yyq1627[1] = x.APIVersion != "" + yyq1627[2] = true + yyq1627[3] = true + var yynn1627 int + if yyr1627 || yy2arr1627 { r.EncodeArrayStart(4) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1627 = 0 + for _, b := range yyq1627 { if b { - yynn2++ + yynn1627++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1627) + yynn1627 = 0 } - if yyr2 || yy2arr2 { + if yyr1627 || yy2arr1627 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym14 := z.EncBinary() - _ = yym14 + if yyq1627[0] { + yym1629 := z.EncBinary() + _ = yym1629 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -19433,23 +19409,23 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq1627[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym15 := z.EncBinary() - _ = yym15 + yym1630 := z.EncBinary() + _ = yym1630 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr1627 || yy2arr1627 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 + if yyq1627[1] { + yym1632 := z.EncBinary() + _ = yym1632 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -19458,19 +19434,53 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq1627[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 + yym1633 := z.EncBinary() + _ = yym1633 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr1627 || yy2arr1627 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1627[2] { + yy1635 := &x.ObjectMeta + yy1635.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1627[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1636 := &x.ObjectMeta + yy1636.CodecEncodeSelf(e) + } + } + if yyr1627 || yy2arr1627 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1627[3] { + yy1638 := &x.Spec + yy1638.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq1627[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1639 := &x.Spec + yy1639.CodecEncodeSelf(e) + } + } + if yyr1627 || yy2arr1627 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19483,25 +19493,25 @@ func (x *NetworkPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1640 := z.DecBinary() + _ = yym1640 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1641 := r.ContainerType() + if yyct1641 == codecSelferValueTypeMap1234 { + yyl1641 := r.ReadMapStart() + if yyl1641 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1641, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1641 == codecSelferValueTypeArray1234 { + yyl1641 := r.ReadArrayStart() + if yyl1641 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1641, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19513,12 +19523,12 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1642Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1642Slc + var yyhl1642 bool = l >= 0 + for yyj1642 := 0; ; yyj1642++ { + if yyhl1642 { + if yyj1642 >= l { break } } else { @@ -19527,24 +19537,10 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1642Slc = r.DecodeBytes(yys1642Slc, true, true) + yys1642 := string(yys1642Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = NetworkPolicySpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } + switch yys1642 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -19557,10 +19553,24 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv1645 := &x.ObjectMeta + yyv1645.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = NetworkPolicySpec{} + } else { + yyv1646 := &x.Spec + yyv1646.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1642) + } // end switch yys1642 + } // end for yyj1642 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19568,50 +19578,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1647 int + var yyb1647 bool + var yyhl1647 bool = l >= 0 + yyj1647++ + if yyhl1647 { + yyb1647 = yyj1647 > l } else { - yyb8 = r.CheckBreak() + yyb1647 = r.CheckBreak() } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv9 := &x.ObjectMeta - yyv9.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = NetworkPolicySpec{} - } else { - yyv10 := &x.Spec - yyv10.CodecDecodeSelf(d) - } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l - } else { - yyb8 = r.CheckBreak() - } - if yyb8 { + if yyb1647 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19621,13 +19597,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1647++ + if yyhl1647 { + yyb1647 = yyj1647 > l } else { - yyb8 = r.CheckBreak() + yyb1647 = r.CheckBreak() } - if yyb8 { + if yyb1647 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19637,18 +19613,52 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj1647++ + if yyhl1647 { + yyb1647 = yyj1647 > l + } else { + yyb1647 = r.CheckBreak() + } + if yyb1647 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv1650 := &x.ObjectMeta + yyv1650.CodecDecodeSelf(d) + } + yyj1647++ + if yyhl1647 { + yyb1647 = yyj1647 > l + } else { + yyb1647 = r.CheckBreak() + } + if yyb1647 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = NetworkPolicySpec{} + } else { + yyv1651 := &x.Spec + yyv1651.CodecDecodeSelf(d) + } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1647++ + if yyhl1647 { + yyb1647 = yyj1647 > l } else { - yyb8 = r.CheckBreak() + yyb1647 = r.CheckBreak() } - if yyb8 { + if yyb1647 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1647-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19660,49 +19670,49 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1652 := z.EncBinary() + _ = yym1652 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = len(x.Ingress) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1653 := !z.EncBinary() + yy2arr1653 := z.EncBasicHandle().StructToArray + var yyq1653 [2]bool + _, _, _ = yysep1653, yyq1653, yy2arr1653 + const yyr1653 bool = false + yyq1653[1] = len(x.Ingress) != 0 + var yynn1653 int + if yyr1653 || yy2arr1653 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1653 = 1 + for _, b := range yyq1653 { if b { - yynn2++ + yynn1653++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1653) + yynn1653 = 0 } - if yyr2 || yy2arr2 { + if yyr1653 || yy2arr1653 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4 := &x.PodSelector - yy4.CodecEncodeSelf(e) + yy1655 := &x.PodSelector + yy1655.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.PodSelector - yy6.CodecEncodeSelf(e) + yy1656 := &x.PodSelector + yy1656.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr1653 || yy2arr1653 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1653[1] { if x.Ingress == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym1658 := z.EncBinary() + _ = yym1658 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -19712,15 +19722,15 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1653[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1659 := z.EncBinary() + _ = yym1659 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -19728,7 +19738,7 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1653 || yy2arr1653 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19741,25 +19751,25 @@ func (x *NetworkPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1660 := z.DecBinary() + _ = yym1660 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1661 := r.ContainerType() + if yyct1661 == codecSelferValueTypeMap1234 { + yyl1661 := r.ReadMapStart() + if yyl1661 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1661, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1661 == codecSelferValueTypeArray1234 { + yyl1661 := r.ReadArrayStart() + if yyl1661 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1661, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19771,12 +19781,12 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1662Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1662Slc + var yyhl1662 bool = l >= 0 + for yyj1662 := 0; ; yyj1662++ { + if yyhl1662 { + if yyj1662 >= l { break } } else { @@ -19785,33 +19795,33 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1662Slc = r.DecodeBytes(yys1662Slc, true, true) + yys1662 := string(yys1662Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1662 { case "podSelector": if r.TryDecodeAsNil() { x.PodSelector = LabelSelector{} } else { - yyv4 := &x.PodSelector - yyv4.CodecDecodeSelf(d) + yyv1663 := &x.PodSelector + yyv1663.CodecDecodeSelf(d) } case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv5 := &x.Ingress - yym6 := z.DecBinary() - _ = yym6 + yyv1664 := &x.Ingress + yym1665 := z.DecBinary() + _ = yym1665 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv5), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1664), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1662) + } // end switch yys1662 + } // end for yyj1662 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19819,16 +19829,16 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1666 int + var yyb1666 bool + var yyhl1666 bool = l >= 0 + yyj1666++ + if yyhl1666 { + yyb1666 = yyj1666 > l } else { - yyb7 = r.CheckBreak() + yyb1666 = r.CheckBreak() } - if yyb7 { + if yyb1666 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19836,16 +19846,16 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.PodSelector = LabelSelector{} } else { - yyv8 := &x.PodSelector - yyv8.CodecDecodeSelf(d) + yyv1667 := &x.PodSelector + yyv1667.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1666++ + if yyhl1666 { + yyb1666 = yyj1666 > l } else { - yyb7 = r.CheckBreak() + yyb1666 = r.CheckBreak() } - if yyb7 { + if yyb1666 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19853,26 +19863,26 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv9 := &x.Ingress - yym10 := z.DecBinary() - _ = yym10 + yyv1668 := &x.Ingress + yym1669 := z.DecBinary() + _ = yym1669 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv9), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1668), d) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1666++ + if yyhl1666 { + yyb1666 = yyj1666 > l } else { - yyb7 = r.CheckBreak() + yyb1666 = r.CheckBreak() } - if yyb7 { + if yyb1666 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1666-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19884,39 +19894,39 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1670 := z.EncBinary() + _ = yym1670 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Ports) != 0 - yyq2[1] = len(x.From) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep1671 := !z.EncBinary() + yy2arr1671 := z.EncBasicHandle().StructToArray + var yyq1671 [2]bool + _, _, _ = yysep1671, yyq1671, yy2arr1671 + const yyr1671 bool = false + yyq1671[0] = len(x.Ports) != 0 + yyq1671[1] = len(x.From) != 0 + var yynn1671 int + if yyr1671 || yy2arr1671 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1671 = 0 + for _, b := range yyq1671 { if b { - yynn2++ + yynn1671++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1671) + yynn1671 = 0 } - if yyr2 || yy2arr2 { + if yyr1671 || yy2arr1671 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1671[0] { if x.Ports == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym1673 := z.EncBinary() + _ = yym1673 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -19926,15 +19936,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1671[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym1674 := z.EncBinary() + _ = yym1674 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -19942,14 +19952,14 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1671 || yy2arr1671 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1671[1] { if x.From == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym1676 := z.EncBinary() + _ = yym1676 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -19959,15 +19969,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1671[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("from")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.From == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym1677 := z.EncBinary() + _ = yym1677 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -19975,7 +19985,7 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1671 || yy2arr1671 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19988,25 +19998,25 @@ func (x *NetworkPolicyIngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1678 := z.DecBinary() + _ = yym1678 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1679 := r.ContainerType() + if yyct1679 == codecSelferValueTypeMap1234 { + yyl1679 := r.ReadMapStart() + if yyl1679 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1679, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1679 == codecSelferValueTypeArray1234 { + yyl1679 := r.ReadArrayStart() + if yyl1679 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1679, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20018,12 +20028,12 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1680Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1680Slc + var yyhl1680 bool = l >= 0 + for yyj1680 := 0; ; yyj1680++ { + if yyhl1680 { + if yyj1680 >= l { break } } else { @@ -20032,38 +20042,38 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1680Slc = r.DecodeBytes(yys1680Slc, true, true) + yys1680 := string(yys1680Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1680 { case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv4 := &x.Ports - yym5 := z.DecBinary() - _ = yym5 + yyv1681 := &x.Ports + yym1682 := z.DecBinary() + _ = yym1682 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv4), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1681), d) } } case "from": if r.TryDecodeAsNil() { x.From = nil } else { - yyv6 := &x.From - yym7 := z.DecBinary() - _ = yym7 + yyv1683 := &x.From + yym1684 := z.DecBinary() + _ = yym1684 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv6), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1683), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1680) + } // end switch yys1680 + } // end for yyj1680 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20071,16 +20081,16 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj1685 int + var yyb1685 bool + var yyhl1685 bool = l >= 0 + yyj1685++ + if yyhl1685 { + yyb1685 = yyj1685 > l } else { - yyb8 = r.CheckBreak() + yyb1685 = r.CheckBreak() } - if yyb8 { + if yyb1685 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20088,21 +20098,21 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv9 := &x.Ports - yym10 := z.DecBinary() - _ = yym10 + yyv1686 := &x.Ports + yym1687 := z.DecBinary() + _ = yym1687 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv9), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1686), d) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1685++ + if yyhl1685 { + yyb1685 = yyj1685 > l } else { - yyb8 = r.CheckBreak() + yyb1685 = r.CheckBreak() } - if yyb8 { + if yyb1685 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20110,26 +20120,26 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.From = nil } else { - yyv11 := &x.From - yym12 := z.DecBinary() - _ = yym12 + yyv1688 := &x.From + yym1689 := z.DecBinary() + _ = yym1689 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv11), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1688), d) } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj1685++ + if yyhl1685 { + yyb1685 = yyj1685 > l } else { - yyb8 = r.CheckBreak() + yyb1685 = r.CheckBreak() } - if yyb8 { + if yyb1685 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj1685-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20141,69 +20151,79 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1690 := z.EncBinary() + _ = yym1690 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Protocol != nil - yyq2[1] = x.Port != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1691 := !z.EncBinary() + yy2arr1691 := z.EncBasicHandle().StructToArray + var yyq1691 [2]bool + _, _, _ = yysep1691, yyq1691, yy2arr1691 + const yyr1691 bool = false + yyq1691[0] = x.Protocol != nil + yyq1691[1] = x.Port != nil + var yynn1691 int + if yyr1691 || yy2arr1691 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1691 = 0 + for _, b := range yyq1691 { if b { - yynn2++ + yynn1691++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1691) + yynn1691 = 0 } - if yyr2 || yy2arr2 { + if yyr1691 || yy2arr1691 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1691[0] { if x.Protocol == nil { r.EncodeNil() } else { - yy4 := *x.Protocol - yysf5 := &yy4 - yysf5.CodecEncodeSelf(e) + yy1693 := *x.Protocol + yym1694 := z.EncBinary() + _ = yym1694 + if false { + } else if z.HasExtensions() && z.EncExt(yy1693) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yy1693)) + } } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1691[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Protocol == nil { r.EncodeNil() } else { - yy6 := *x.Protocol - yysf7 := &yy6 - yysf7.CodecEncodeSelf(e) + yy1695 := *x.Protocol + yym1696 := z.EncBinary() + _ = yym1696 + if false { + } else if z.HasExtensions() && z.EncExt(yy1695) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yy1695)) + } } } } - if yyr2 || yy2arr2 { + if yyr1691 || yy2arr1691 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1691[1] { if x.Port == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym1698 := z.EncBinary() + _ = yym1698 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym9 && z.IsJSONHandle() { + } else if !yym1698 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -20213,18 +20233,18 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1691[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Port == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1699 := z.EncBinary() + _ = yym1699 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym10 && z.IsJSONHandle() { + } else if !yym1699 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -20232,7 +20252,7 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1691 || yy2arr1691 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20245,25 +20265,25 @@ func (x *NetworkPolicyPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1700 := z.DecBinary() + _ = yym1700 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1701 := r.ContainerType() + if yyct1701 == codecSelferValueTypeMap1234 { + yyl1701 := r.ReadMapStart() + if yyl1701 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1701, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1701 == codecSelferValueTypeArray1234 { + yyl1701 := r.ReadArrayStart() + if yyl1701 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1701, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20275,12 +20295,12 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1702Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1702Slc + var yyhl1702 bool = l >= 0 + for yyj1702 := 0; ; yyj1702++ { + if yyhl1702 { + if yyj1702 >= l { break } } else { @@ -20289,10 +20309,10 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1702Slc = r.DecodeBytes(yys1702Slc, true, true) + yys1702 := string(yys1702Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1702 { case "protocol": if r.TryDecodeAsNil() { if x.Protocol != nil { @@ -20313,20 +20333,20 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym6 := z.DecBinary() - _ = yym6 + yym1705 := z.DecBinary() + _ = yym1705 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym6 && z.IsJSONHandle() { + } else if !yym1705 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1702) + } // end switch yys1702 + } // end for yyj1702 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20334,16 +20354,16 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj1706 int + var yyb1706 bool + var yyhl1706 bool = l >= 0 + yyj1706++ + if yyhl1706 { + yyb1706 = yyj1706 > l } else { - yyb7 = r.CheckBreak() + yyb1706 = r.CheckBreak() } - if yyb7 { + if yyb1706 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20358,13 +20378,13 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } x.Protocol.CodecDecodeSelf(d) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1706++ + if yyhl1706 { + yyb1706 = yyj1706 > l } else { - yyb7 = r.CheckBreak() + yyb1706 = r.CheckBreak() } - if yyb7 { + if yyb1706 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20377,28 +20397,28 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym10 := z.DecBinary() - _ = yym10 + yym1709 := z.DecBinary() + _ = yym1709 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym10 && z.IsJSONHandle() { + } else if !yym1709 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj1706++ + if yyhl1706 { + yyb1706 = yyj1706 > l } else { - yyb7 = r.CheckBreak() + yyb1706 = r.CheckBreak() } - if yyb7 { + if yyb1706 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj1706-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20410,34 +20430,34 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1710 := z.EncBinary() + _ = yym1710 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.PodSelector != nil - yyq2[1] = x.NamespaceSelector != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep1711 := !z.EncBinary() + yy2arr1711 := z.EncBasicHandle().StructToArray + var yyq1711 [2]bool + _, _, _ = yysep1711, yyq1711, yy2arr1711 + const yyr1711 bool = false + yyq1711[0] = x.PodSelector != nil + yyq1711[1] = x.NamespaceSelector != nil + var yynn1711 int + if yyr1711 || yy2arr1711 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn1711 = 0 + for _, b := range yyq1711 { if b { - yynn2++ + yynn1711++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1711) + yynn1711 = 0 } - if yyr2 || yy2arr2 { + if yyr1711 || yy2arr1711 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq1711[0] { if x.PodSelector == nil { r.EncodeNil() } else { @@ -20447,7 +20467,7 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1711[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20458,9 +20478,9 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1711 || yy2arr1711 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq1711[1] { if x.NamespaceSelector == nil { r.EncodeNil() } else { @@ -20470,7 +20490,7 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq1711[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespaceSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20481,7 +20501,7 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr1711 || yy2arr1711 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20494,25 +20514,25 @@ func (x *NetworkPolicyPeer) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1714 := z.DecBinary() + _ = yym1714 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1715 := r.ContainerType() + if yyct1715 == codecSelferValueTypeMap1234 { + yyl1715 := r.ReadMapStart() + if yyl1715 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1715, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1715 == codecSelferValueTypeArray1234 { + yyl1715 := r.ReadArrayStart() + if yyl1715 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1715, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20524,12 +20544,12 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= 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 { @@ -20538,10 +20558,10 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1716Slc = r.DecodeBytes(yys1716Slc, true, true) + yys1716 := string(yys1716Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys1716 { case "podSelector": if r.TryDecodeAsNil() { if x.PodSelector != nil { @@ -20565,9 +20585,9 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.NamespaceSelector.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1716) + } // end switch yys1716 + } // end for yyj1716 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20575,16 +20595,16 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj1719 int + var yyb1719 bool + var yyhl1719 bool = l >= 0 + yyj1719++ + if yyhl1719 { + yyb1719 = yyj1719 > l } else { - yyb6 = r.CheckBreak() + yyb1719 = r.CheckBreak() } - if yyb6 { + if yyb1719 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20599,13 +20619,13 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } x.PodSelector.CodecDecodeSelf(d) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1719++ + if yyhl1719 { + yyb1719 = yyj1719 > l } else { - yyb6 = r.CheckBreak() + yyb1719 = r.CheckBreak() } - if yyb6 { + if yyb1719 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20621,17 +20641,17 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.NamespaceSelector.CodecDecodeSelf(d) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj1719++ + if yyhl1719 { + yyb1719 = yyj1719 > l } else { - yyb6 = r.CheckBreak() + yyb1719 = r.CheckBreak() } - if yyb6 { + if yyb1719 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj1719-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20643,68 +20663,118 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1722 := z.EncBinary() + _ = yym1722 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1723 := !z.EncBinary() + yy2arr1723 := z.EncBasicHandle().StructToArray + var yyq1723 [4]bool + _, _, _ = yysep1723, yyq1723, yy2arr1723 + const yyr1723 bool = false + yyq1723[0] = x.Kind != "" + yyq1723[1] = x.APIVersion != "" + yyq1723[2] = true + var yynn1723 int + if yyr1723 || yy2arr1723 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1723 = 1 + for _, b := range yyq1723 { if b { - yynn2++ + yynn1723++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1723) + yynn1723 = 0 } - if yyr2 || yy2arr2 { + if yyr1723 || yy2arr1723 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq1723[0] { + yym1725 := z.EncBinary() + _ = yym1725 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1723[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1726 := z.EncBinary() + _ = yym1726 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1723 || yy2arr1723 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1723[1] { + yym1728 := z.EncBinary() + _ = yym1728 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1723[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1729 := z.EncBinary() + _ = yym1729 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1723 || yy2arr1723 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1723[2] { + yy1731 := &x.ListMeta + yym1732 := z.EncBinary() + _ = yym1732 + if false { + } else if z.HasExtensions() && z.EncExt(yy1731) { + } else { + z.EncFallback(yy1731) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1723[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy1733 := &x.ListMeta + yym1734 := z.EncBinary() + _ = yym1734 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy1733) { } else { - z.EncFallback(yy6) + z.EncFallback(yy1733) } } } - if yyr2 || yy2arr2 { + if yyr1723 || yy2arr1723 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym1736 := z.EncBinary() + _ = yym1736 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) @@ -20717,65 +20787,15 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1737 := z.EncBinary() + _ = yym1737 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr1723 || yy2arr1723 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20788,25 +20808,25 @@ func (x *NetworkPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1738 := z.DecBinary() + _ = yym1738 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1739 := r.ContainerType() + if yyct1739 == codecSelferValueTypeMap1234 { + yyl1739 := r.ReadMapStart() + if yyl1739 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1739, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1739 == codecSelferValueTypeArray1234 { + yyl1739 := r.ReadArrayStart() + if yyl1739 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1739, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20818,12 +20838,12 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + 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 { @@ -20832,35 +20852,10 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1740Slc = r.DecodeBytes(yys1740Slc, true, true) + yys1740 := string(yys1740Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv6), d) - } - } + switch yys1740 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -20873,10 +20868,35 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1743 := &x.ListMeta + yym1744 := z.DecBinary() + _ = yym1744 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1743) { + } else { + z.DecFallback(yyv1743, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1745 := &x.Items + yym1746 := z.DecBinary() + _ = yym1746 + if false { + } else { + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1745), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1740) + } // end switch yys1740 + } // end for yyj1740 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20884,61 +20904,16 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj1747 int + var yyb1747 bool + var yyhl1747 bool = l >= 0 + yyj1747++ + if yyhl1747 { + yyb1747 = yyj1747 > l } else { - yyb10 = r.CheckBreak() + yyb1747 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb1747 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20948,13 +20923,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1747++ + if yyhl1747 { + yyb1747 = yyj1747 > l } else { - yyb10 = r.CheckBreak() + yyb1747 = r.CheckBreak() } - if yyb10 { + if yyb1747 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20964,18 +20939,63 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1747++ + if yyhl1747 { + yyb1747 = yyj1747 > l + } else { + yyb1747 = r.CheckBreak() + } + if yyb1747 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1750 := &x.ListMeta + yym1751 := z.DecBinary() + _ = yym1751 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1750) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv1750, false) } - if yyb10 { + } + yyj1747++ + if yyhl1747 { + yyb1747 = yyj1747 > l + } else { + yyb1747 = r.CheckBreak() + } + if yyb1747 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1752 := &x.Items + yym1753 := z.DecBinary() + _ = yym1753 + if false { + } else { + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1752), d) + } + } + for { + yyj1747++ + if yyhl1747 { + yyb1747 = yyj1747 > l + } else { + yyb1747 = r.CheckBreak() + } + if yyb1747 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj1747-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20987,54 +21007,104 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1754 := z.EncBinary() + _ = yym1754 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = len(x.Parameters) != 0 - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep1755 := !z.EncBinary() + yy2arr1755 := z.EncBasicHandle().StructToArray + var yyq1755 [5]bool + _, _, _ = yysep1755, yyq1755, yy2arr1755 + const yyr1755 bool = false + yyq1755[0] = x.Kind != "" + yyq1755[1] = x.APIVersion != "" + yyq1755[2] = true + yyq1755[4] = len(x.Parameters) != 0 + var yynn1755 int + if yyr1755 || yy2arr1755 { r.EncodeArrayStart(5) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1755 = 1 + for _, b := range yyq1755 { if b { - yynn2++ + yynn1755++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1755) + yynn1755 = 0 } - if yyr2 || yy2arr2 { + if yyr1755 || yy2arr1755 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq1755[0] { + yym1757 := z.EncBinary() + _ = yym1757 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1755[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1758 := z.EncBinary() + _ = yym1758 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1755 || yy2arr1755 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1755[1] { + yym1760 := z.EncBinary() + _ = yym1760 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1755[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1761 := z.EncBinary() + _ = yym1761 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1755 || yy2arr1755 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1755[2] { + yy1763 := &x.ObjectMeta + yy1763.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1755[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy1764 := &x.ObjectMeta + yy1764.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr1755 || yy2arr1755 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym9 := z.EncBinary() - _ = yym9 + yym1766 := z.EncBinary() + _ = yym1766 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner)) @@ -21043,21 +21113,21 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("provisioner")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym10 := z.EncBinary() - _ = yym10 + yym1767 := z.EncBinary() + _ = yym1767 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Provisioner)) } } - if yyr2 || yy2arr2 { + if yyr1755 || yy2arr1755 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { + if yyq1755[4] { if x.Parameters == nil { r.EncodeNil() } else { - yym12 := z.EncBinary() - _ = yym12 + yym1769 := z.EncBinary() + _ = yym1769 if false { } else { z.F.EncMapStringStringV(x.Parameters, false, e) @@ -21067,15 +21137,15 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[2] { + if yyq1755[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("parameters")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Parameters == nil { r.EncodeNil() } else { - yym13 := z.EncBinary() - _ = yym13 + yym1770 := z.EncBinary() + _ = yym1770 if false { } else { z.F.EncMapStringStringV(x.Parameters, false, e) @@ -21083,57 +21153,7 @@ func (x *StorageClass) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym19 := z.EncBinary() - _ = yym19 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr1755 || yy2arr1755 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21146,25 +21166,25 @@ func (x *StorageClass) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1771 := z.DecBinary() + _ = yym1771 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1772 := r.ContainerType() + if yyct1772 == codecSelferValueTypeMap1234 { + yyl1772 := r.ReadMapStart() + if yyl1772 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1772, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1772 == codecSelferValueTypeArray1234 { + yyl1772 := r.ReadArrayStart() + if yyl1772 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1772, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21176,12 +21196,12 @@ func (x *StorageClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1773Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1773Slc + var yyhl1773 bool = l >= 0 + for yyj1773 := 0; ; yyj1773++ { + if yyhl1773 { + if yyj1773 >= l { break } } else { @@ -21190,35 +21210,10 @@ func (x *StorageClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1773Slc = r.DecodeBytes(yys1773Slc, true, true) + yys1773 := string(yys1773Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "provisioner": - if r.TryDecodeAsNil() { - x.Provisioner = "" - } else { - x.Provisioner = string(r.DecodeString()) - } - case "parameters": - if r.TryDecodeAsNil() { - x.Parameters = nil - } else { - yyv6 := &x.Parameters - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - z.F.DecMapStringStringX(yyv6, false, d) - } - } + switch yys1773 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -21231,10 +21226,35 @@ func (x *StorageClass) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv1776 := &x.ObjectMeta + yyv1776.CodecDecodeSelf(d) + } + case "provisioner": + if r.TryDecodeAsNil() { + x.Provisioner = "" + } else { + x.Provisioner = string(r.DecodeString()) + } + case "parameters": + if r.TryDecodeAsNil() { + x.Parameters = nil + } else { + yyv1778 := &x.Parameters + yym1779 := z.DecBinary() + _ = yym1779 + if false { + } else { + z.F.DecMapStringStringX(yyv1778, false, d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1773) + } // end switch yys1773 + } // end for yyj1773 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21242,71 +21262,16 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj1780 int + var yyb1780 bool + var yyhl1780 bool = l >= 0 + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l } else { - yyb10 = r.CheckBreak() + yyb1780 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg2_v1.ObjectMeta{} - } else { - yyv11 := &x.ObjectMeta - yyv11.CodecDecodeSelf(d) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Provisioner = "" - } else { - x.Provisioner = string(r.DecodeString()) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Parameters = nil - } else { - yyv13 := &x.Parameters - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - z.F.DecMapStringStringX(yyv13, false, d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb1780 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21316,13 +21281,13 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l } else { - yyb10 = r.CheckBreak() + yyb1780 = r.CheckBreak() } - if yyb10 { + if yyb1780 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21332,18 +21297,73 @@ func (x *StorageClass) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l + } else { + yyb1780 = r.CheckBreak() + } + if yyb1780 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg2_v1.ObjectMeta{} + } else { + yyv1783 := &x.ObjectMeta + yyv1783.CodecDecodeSelf(d) + } + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l + } else { + yyb1780 = r.CheckBreak() + } + if yyb1780 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Provisioner = "" + } else { + x.Provisioner = string(r.DecodeString()) + } + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l + } else { + yyb1780 = r.CheckBreak() + } + if yyb1780 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Parameters = nil + } else { + yyv1785 := &x.Parameters + yym1786 := z.DecBinary() + _ = yym1786 + if false { } else { - yyb10 = r.CheckBreak() + z.F.DecMapStringStringX(yyv1785, false, d) } - if yyb10 { + } + for { + yyj1780++ + if yyhl1780 { + yyb1780 = yyj1780 > l + } else { + yyb1780 = r.CheckBreak() + } + if yyb1780 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj1780-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21355,68 +21375,118 @@ func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym1787 := z.EncBinary() + _ = yym1787 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + 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 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn1788 = 1 + for _, b := range yyq1788 { if b { - yynn2++ + yynn1788++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn1788) + yynn1788 = 0 } - if yyr2 || yy2arr2 { + if yyr1788 || yy2arr1788 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq1788[0] { + yym1790 := z.EncBinary() + _ = yym1790 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1788[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1791 := z.EncBinary() + _ = yym1791 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1788 || yy2arr1788 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1788[1] { + yym1793 := z.EncBinary() + _ = yym1793 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1788[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1794 := z.EncBinary() + _ = yym1794 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1788 || yy2arr1788 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1788[2] { + yy1796 := &x.ListMeta + yym1797 := z.EncBinary() + _ = yym1797 + if false { + } else if z.HasExtensions() && z.EncExt(yy1796) { + } else { + z.EncFallback(yy1796) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq1788[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy1798 := &x.ListMeta + yym1799 := z.EncBinary() + _ = yym1799 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy1798) { } else { - z.EncFallback(yy6) + z.EncFallback(yy1798) } } } - if yyr2 || yy2arr2 { + if yyr1788 || yy2arr1788 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym1801 := z.EncBinary() + _ = yym1801 if false { } else { h.encSliceStorageClass(([]StorageClass)(x.Items), e) @@ -21429,65 +21499,15 @@ func (x *StorageClassList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym1802 := z.EncBinary() + _ = yym1802 if false { } else { h.encSliceStorageClass(([]StorageClass)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr1788 || yy2arr1788 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21500,25 +21520,25 @@ func (x *StorageClassList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym1803 := z.DecBinary() + _ = yym1803 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct1804 := r.ContainerType() + if yyct1804 == codecSelferValueTypeMap1234 { + yyl1804 := r.ReadMapStart() + if yyl1804 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl1804, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct1804 == codecSelferValueTypeArray1234 { + yyl1804 := r.ReadArrayStart() + if yyl1804 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl1804, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21530,12 +21550,12 @@ func (x *StorageClassList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys1805Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1805Slc + var yyhl1805 bool = l >= 0 + for yyj1805 := 0; ; yyj1805++ { + if yyhl1805 { + if yyj1805 >= l { break } } else { @@ -21544,35 +21564,10 @@ func (x *StorageClassList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys1805Slc = r.DecodeBytes(yys1805Slc, true, true) + yys1805 := string(yys1805Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceStorageClass((*[]StorageClass)(yyv6), d) - } - } + switch yys1805 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -21585,10 +21580,35 @@ func (x *StorageClassList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1808 := &x.ListMeta + yym1809 := z.DecBinary() + _ = yym1809 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1808) { + } else { + z.DecFallback(yyv1808, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1810 := &x.Items + yym1811 := z.DecBinary() + _ = yym1811 + if false { + } else { + h.decSliceStorageClass((*[]StorageClass)(yyv1810), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys1805) + } // end switch yys1805 + } // end for yyj1805 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21596,61 +21616,16 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj1812 int + var yyb1812 bool + var yyhl1812 bool = l >= 0 + yyj1812++ + if yyhl1812 { + yyb1812 = yyj1812 > l } else { - yyb10 = r.CheckBreak() + yyb1812 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceStorageClass((*[]StorageClass)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb1812 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21660,13 +21635,13 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1812++ + if yyhl1812 { + yyb1812 = yyj1812 > l } else { - yyb10 = r.CheckBreak() + yyb1812 = r.CheckBreak() } - if yyb10 { + if yyb1812 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21676,18 +21651,63 @@ func (x *StorageClassList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj1812++ + if yyhl1812 { + yyb1812 = yyj1812 > l + } else { + yyb1812 = r.CheckBreak() + } + if yyb1812 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1815 := &x.ListMeta + yym1816 := z.DecBinary() + _ = yym1816 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1815) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv1815, false) } - if yyb10 { + } + yyj1812++ + if yyhl1812 { + yyb1812 = yyj1812 > l + } else { + yyb1812 = r.CheckBreak() + } + if yyb1812 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1817 := &x.Items + yym1818 := z.DecBinary() + _ = yym1818 + if false { + } else { + h.decSliceStorageClass((*[]StorageClass)(yyv1817), d) + } + } + for { + yyj1812++ + if yyhl1812 { + yyb1812 = yyj1812 > l + } else { + yyb1812 = r.CheckBreak() + } + if yyb1812 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj1812-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21697,10 +21717,10 @@ func (x codecSelfer1234) encSliceCustomMetricTarget(v []CustomMetricTarget, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1819 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1820 := &yyv1819 + yy1820.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21710,86 +21730,83 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []CustomMetricTarget{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1821 := *v + yyh1821, yyl1821 := z.DecSliceHelperStart() + var yyc1821 bool + if yyl1821 == 0 { + if yyv1821 == nil { + yyv1821 = []CustomMetricTarget{} + yyc1821 = true + } else if len(yyv1821) != 0 { + yyv1821 = yyv1821[:0] + yyc1821 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1821 > 0 { + var yyrr1821, yyrl1821 int + var yyrt1821 bool + if yyl1821 > cap(yyv1821) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1821 := len(yyv1821) > 0 + yyv21821 := yyv1821 + yyrl1821, yyrt1821 = z.DecInferLen(yyl1821, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1821 { + if yyrl1821 <= cap(yyv1821) { + yyv1821 = yyv1821[:yyrl1821] } else { - yyv1 = make([]CustomMetricTarget, yyrl1) + yyv1821 = make([]CustomMetricTarget, yyrl1821) } } else { - yyv1 = make([]CustomMetricTarget, yyrl1) + yyv1821 = make([]CustomMetricTarget, yyrl1821) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1821 = true + yyrr1821 = len(yyv1821) + if yyrg1821 { + copy(yyv1821, yyv21821) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1821 != len(yyv1821) { + yyv1821 = yyv1821[:yyl1821] + yyc1821 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1821 := 0 + for ; yyj1821 < yyrr1821; yyj1821++ { + yyh1821.ElemContainerState(yyj1821) if r.TryDecodeAsNil() { - yyv1[yyj1] = CustomMetricTarget{} + yyv1821[yyj1821] = CustomMetricTarget{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1822 := &yyv1821[yyj1821] + yyv1822.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, CustomMetricTarget{}) - yyh1.ElemContainerState(yyj1) + if yyrt1821 { + for ; yyj1821 < yyl1821; yyj1821++ { + yyv1821 = append(yyv1821, CustomMetricTarget{}) + yyh1821.ElemContainerState(yyj1821) if r.TryDecodeAsNil() { - yyv1[yyj1] = CustomMetricTarget{} + yyv1821[yyj1821] = CustomMetricTarget{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1823 := &yyv1821[yyj1821] + yyv1823.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1821 := 0 + for ; !r.CheckBreak(); yyj1821++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, CustomMetricTarget{}) // var yyz1 CustomMetricTarget - yyc1 = true + if yyj1821 >= len(yyv1821) { + yyv1821 = append(yyv1821, CustomMetricTarget{}) // var yyz1821 CustomMetricTarget + yyc1821 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1821.ElemContainerState(yyj1821) + if yyj1821 < len(yyv1821) { if r.TryDecodeAsNil() { - yyv1[yyj1] = CustomMetricTarget{} + yyv1821[yyj1821] = CustomMetricTarget{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1824 := &yyv1821[yyj1821] + yyv1824.CodecDecodeSelf(d) } } else { @@ -21797,17 +21814,17 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []CustomMetricTarget{} - yyc1 = true + if yyj1821 < len(yyv1821) { + yyv1821 = yyv1821[:yyj1821] + yyc1821 = true + } else if yyj1821 == 0 && yyv1821 == nil { + yyv1821 = []CustomMetricTarget{} + yyc1821 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1821.End() + if yyc1821 { + *v = yyv1821 } } @@ -21816,10 +21833,10 @@ func (x codecSelfer1234) encSliceCustomMetricCurrentStatus(v []CustomMetricCurre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1825 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1826 := &yyv1825 + yy1826.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21829,86 +21846,83 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []CustomMetricCurrentStatus{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1827 := *v + yyh1827, yyl1827 := z.DecSliceHelperStart() + var yyc1827 bool + if yyl1827 == 0 { + if yyv1827 == nil { + yyv1827 = []CustomMetricCurrentStatus{} + yyc1827 = true + } else if len(yyv1827) != 0 { + yyv1827 = yyv1827[:0] + yyc1827 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1827 > 0 { + var yyrr1827, yyrl1827 int + var yyrt1827 bool + if yyl1827 > cap(yyv1827) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1827 := len(yyv1827) > 0 + yyv21827 := yyv1827 + yyrl1827, yyrt1827 = z.DecInferLen(yyl1827, z.DecBasicHandle().MaxInitLen, 72) + if yyrt1827 { + if yyrl1827 <= cap(yyv1827) { + yyv1827 = yyv1827[:yyrl1827] } else { - yyv1 = make([]CustomMetricCurrentStatus, yyrl1) + yyv1827 = make([]CustomMetricCurrentStatus, yyrl1827) } } else { - yyv1 = make([]CustomMetricCurrentStatus, yyrl1) + yyv1827 = make([]CustomMetricCurrentStatus, yyrl1827) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1827 = true + yyrr1827 = len(yyv1827) + if yyrg1827 { + copy(yyv1827, yyv21827) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1827 != len(yyv1827) { + yyv1827 = yyv1827[:yyl1827] + yyc1827 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1827 := 0 + for ; yyj1827 < yyrr1827; yyj1827++ { + yyh1827.ElemContainerState(yyj1827) if r.TryDecodeAsNil() { - yyv1[yyj1] = CustomMetricCurrentStatus{} + yyv1827[yyj1827] = CustomMetricCurrentStatus{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1828 := &yyv1827[yyj1827] + yyv1828.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, CustomMetricCurrentStatus{}) - yyh1.ElemContainerState(yyj1) + if yyrt1827 { + for ; yyj1827 < yyl1827; yyj1827++ { + yyv1827 = append(yyv1827, CustomMetricCurrentStatus{}) + yyh1827.ElemContainerState(yyj1827) if r.TryDecodeAsNil() { - yyv1[yyj1] = CustomMetricCurrentStatus{} + yyv1827[yyj1827] = CustomMetricCurrentStatus{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1829 := &yyv1827[yyj1827] + yyv1829.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1827 := 0 + for ; !r.CheckBreak(); yyj1827++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, CustomMetricCurrentStatus{}) // var yyz1 CustomMetricCurrentStatus - yyc1 = true + if yyj1827 >= len(yyv1827) { + yyv1827 = append(yyv1827, CustomMetricCurrentStatus{}) // var yyz1827 CustomMetricCurrentStatus + yyc1827 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1827.ElemContainerState(yyj1827) + if yyj1827 < len(yyv1827) { if r.TryDecodeAsNil() { - yyv1[yyj1] = CustomMetricCurrentStatus{} + yyv1827[yyj1827] = CustomMetricCurrentStatus{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1830 := &yyv1827[yyj1827] + yyv1830.CodecDecodeSelf(d) } } else { @@ -21916,17 +21930,17 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []CustomMetricCurrentStatus{} - yyc1 = true + if yyj1827 < len(yyv1827) { + yyv1827 = yyv1827[:yyj1827] + yyc1827 = true + } else if yyj1827 == 0 && yyv1827 == nil { + yyv1827 = []CustomMetricCurrentStatus{} + yyc1827 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1827.End() + if yyc1827 { + *v = yyv1827 } } @@ -21935,10 +21949,10 @@ func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutosc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1831 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1832 := &yyv1831 + yy1832.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21948,86 +21962,83 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []HorizontalPodAutoscaler{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1833 := *v + yyh1833, yyl1833 := z.DecSliceHelperStart() + var yyc1833 bool + if yyl1833 == 0 { + if yyv1833 == nil { + yyv1833 = []HorizontalPodAutoscaler{} + yyc1833 = true + } else if len(yyv1833) != 0 { + yyv1833 = yyv1833[:0] + yyc1833 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1833 > 0 { + var yyrr1833, yyrl1833 int + var yyrt1833 bool + if yyl1833 > cap(yyv1833) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 360) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1833 := len(yyv1833) > 0 + yyv21833 := yyv1833 + yyrl1833, yyrt1833 = z.DecInferLen(yyl1833, z.DecBasicHandle().MaxInitLen, 360) + if yyrt1833 { + if yyrl1833 <= cap(yyv1833) { + yyv1833 = yyv1833[:yyrl1833] } else { - yyv1 = make([]HorizontalPodAutoscaler, yyrl1) + yyv1833 = make([]HorizontalPodAutoscaler, yyrl1833) } } else { - yyv1 = make([]HorizontalPodAutoscaler, yyrl1) + yyv1833 = make([]HorizontalPodAutoscaler, yyrl1833) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1833 = true + yyrr1833 = len(yyv1833) + if yyrg1833 { + copy(yyv1833, yyv21833) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1833 != len(yyv1833) { + yyv1833 = yyv1833[:yyl1833] + yyc1833 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1833 := 0 + for ; yyj1833 < yyrr1833; yyj1833++ { + yyh1833.ElemContainerState(yyj1833) if r.TryDecodeAsNil() { - yyv1[yyj1] = HorizontalPodAutoscaler{} + yyv1833[yyj1833] = HorizontalPodAutoscaler{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1834 := &yyv1833[yyj1833] + yyv1834.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, HorizontalPodAutoscaler{}) - yyh1.ElemContainerState(yyj1) + if yyrt1833 { + for ; yyj1833 < yyl1833; yyj1833++ { + yyv1833 = append(yyv1833, HorizontalPodAutoscaler{}) + yyh1833.ElemContainerState(yyj1833) if r.TryDecodeAsNil() { - yyv1[yyj1] = HorizontalPodAutoscaler{} + yyv1833[yyj1833] = HorizontalPodAutoscaler{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1835 := &yyv1833[yyj1833] + yyv1835.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1833 := 0 + for ; !r.CheckBreak(); yyj1833++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, HorizontalPodAutoscaler{}) // var yyz1 HorizontalPodAutoscaler - yyc1 = true + if yyj1833 >= len(yyv1833) { + yyv1833 = append(yyv1833, HorizontalPodAutoscaler{}) // var yyz1833 HorizontalPodAutoscaler + yyc1833 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1833.ElemContainerState(yyj1833) + if yyj1833 < len(yyv1833) { if r.TryDecodeAsNil() { - yyv1[yyj1] = HorizontalPodAutoscaler{} + yyv1833[yyj1833] = HorizontalPodAutoscaler{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1836 := &yyv1833[yyj1833] + yyv1836.CodecDecodeSelf(d) } } else { @@ -22035,17 +22046,17 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []HorizontalPodAutoscaler{} - yyc1 = true + if yyj1833 < len(yyv1833) { + yyv1833 = yyv1833[:yyj1833] + yyc1833 = true + } else if yyj1833 == 0 && yyv1833 == nil { + yyv1833 = []HorizontalPodAutoscaler{} + yyc1833 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1833.End() + if yyc1833 { + *v = yyv1833 } } @@ -22054,10 +22065,10 @@ func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1837 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1838 := &yyv1837 + yy1838.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22067,86 +22078,83 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []APIVersion{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1839 := *v + yyh1839, yyl1839 := z.DecSliceHelperStart() + var yyc1839 bool + if yyl1839 == 0 { + if yyv1839 == nil { + yyv1839 = []APIVersion{} + yyc1839 = true + } else if len(yyv1839) != 0 { + yyv1839 = yyv1839[:0] + yyc1839 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1839 > 0 { + var yyrr1839, yyrl1839 int + var yyrt1839 bool + if yyl1839 > cap(yyv1839) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1839 := len(yyv1839) > 0 + yyv21839 := yyv1839 + yyrl1839, yyrt1839 = z.DecInferLen(yyl1839, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1839 { + if yyrl1839 <= cap(yyv1839) { + yyv1839 = yyv1839[:yyrl1839] } else { - yyv1 = make([]APIVersion, yyrl1) + yyv1839 = make([]APIVersion, yyrl1839) } } else { - yyv1 = make([]APIVersion, yyrl1) + yyv1839 = make([]APIVersion, yyrl1839) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1839 = true + yyrr1839 = len(yyv1839) + if yyrg1839 { + copy(yyv1839, yyv21839) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1839 != len(yyv1839) { + yyv1839 = yyv1839[:yyl1839] + yyc1839 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1839 := 0 + for ; yyj1839 < yyrr1839; yyj1839++ { + yyh1839.ElemContainerState(yyj1839) if r.TryDecodeAsNil() { - yyv1[yyj1] = APIVersion{} + yyv1839[yyj1839] = APIVersion{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1840 := &yyv1839[yyj1839] + yyv1840.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, APIVersion{}) - yyh1.ElemContainerState(yyj1) + if yyrt1839 { + for ; yyj1839 < yyl1839; yyj1839++ { + yyv1839 = append(yyv1839, APIVersion{}) + yyh1839.ElemContainerState(yyj1839) if r.TryDecodeAsNil() { - yyv1[yyj1] = APIVersion{} + yyv1839[yyj1839] = APIVersion{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1841 := &yyv1839[yyj1839] + yyv1841.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1839 := 0 + for ; !r.CheckBreak(); yyj1839++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, APIVersion{}) // var yyz1 APIVersion - yyc1 = true + if yyj1839 >= len(yyv1839) { + yyv1839 = append(yyv1839, APIVersion{}) // var yyz1839 APIVersion + yyc1839 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1839.ElemContainerState(yyj1839) + if yyj1839 < len(yyv1839) { if r.TryDecodeAsNil() { - yyv1[yyj1] = APIVersion{} + yyv1839[yyj1839] = APIVersion{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1842 := &yyv1839[yyj1839] + yyv1842.CodecDecodeSelf(d) } } else { @@ -22154,17 +22162,17 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []APIVersion{} - yyc1 = true + if yyj1839 < len(yyv1839) { + yyv1839 = yyv1839[:yyj1839] + yyc1839 = true + } else if yyj1839 == 0 && yyv1839 == nil { + yyv1839 = []APIVersion{} + yyc1839 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1839.End() + if yyc1839 { + *v = yyv1839 } } @@ -22173,10 +22181,10 @@ func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1843 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1844 := &yyv1843 + yy1844.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22186,86 +22194,83 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ThirdPartyResource{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1845 := *v + yyh1845, yyl1845 := z.DecSliceHelperStart() + var yyc1845 bool + if yyl1845 == 0 { + if yyv1845 == nil { + yyv1845 = []ThirdPartyResource{} + yyc1845 = true + } else if len(yyv1845) != 0 { + yyv1845 = yyv1845[:0] + yyc1845 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1845 > 0 { + var yyrr1845, yyrl1845 int + var yyrt1845 bool + if yyl1845 > cap(yyv1845) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1845 := len(yyv1845) > 0 + yyv21845 := yyv1845 + yyrl1845, yyrt1845 = z.DecInferLen(yyl1845, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1845 { + if yyrl1845 <= cap(yyv1845) { + yyv1845 = yyv1845[:yyrl1845] } else { - yyv1 = make([]ThirdPartyResource, yyrl1) + yyv1845 = make([]ThirdPartyResource, yyrl1845) } } else { - yyv1 = make([]ThirdPartyResource, yyrl1) + yyv1845 = make([]ThirdPartyResource, yyrl1845) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1845 = true + yyrr1845 = len(yyv1845) + if yyrg1845 { + copy(yyv1845, yyv21845) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1845 != len(yyv1845) { + yyv1845 = yyv1845[:yyl1845] + yyc1845 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1845 := 0 + for ; yyj1845 < yyrr1845; yyj1845++ { + yyh1845.ElemContainerState(yyj1845) if r.TryDecodeAsNil() { - yyv1[yyj1] = ThirdPartyResource{} + yyv1845[yyj1845] = ThirdPartyResource{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1846 := &yyv1845[yyj1845] + yyv1846.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ThirdPartyResource{}) - yyh1.ElemContainerState(yyj1) + if yyrt1845 { + for ; yyj1845 < yyl1845; yyj1845++ { + yyv1845 = append(yyv1845, ThirdPartyResource{}) + yyh1845.ElemContainerState(yyj1845) if r.TryDecodeAsNil() { - yyv1[yyj1] = ThirdPartyResource{} + yyv1845[yyj1845] = ThirdPartyResource{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1847 := &yyv1845[yyj1845] + yyv1847.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1845 := 0 + for ; !r.CheckBreak(); yyj1845++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ThirdPartyResource{}) // var yyz1 ThirdPartyResource - yyc1 = true + if yyj1845 >= len(yyv1845) { + yyv1845 = append(yyv1845, ThirdPartyResource{}) // var yyz1845 ThirdPartyResource + yyc1845 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1845.ElemContainerState(yyj1845) + if yyj1845 < len(yyv1845) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ThirdPartyResource{} + yyv1845[yyj1845] = ThirdPartyResource{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1848 := &yyv1845[yyj1845] + yyv1848.CodecDecodeSelf(d) } } else { @@ -22273,17 +22278,17 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ThirdPartyResource{} - yyc1 = true + if yyj1845 < len(yyv1845) { + yyv1845 = yyv1845[:yyj1845] + yyc1845 = true + } else if yyj1845 == 0 && yyv1845 == nil { + yyv1845 = []ThirdPartyResource{} + yyc1845 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1845.End() + if yyc1845 { + *v = yyv1845 } } @@ -22292,10 +22297,10 @@ func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1849 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1850 := &yyv1849 + yy1850.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22305,86 +22310,83 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Deployment{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1851 := *v + yyh1851, yyl1851 := z.DecSliceHelperStart() + var yyc1851 bool + if yyl1851 == 0 { + if yyv1851 == nil { + yyv1851 = []Deployment{} + yyc1851 = true + } else if len(yyv1851) != 0 { + yyv1851 = yyv1851[:0] + yyc1851 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1851 > 0 { + var yyrr1851, yyrl1851 int + var yyrt1851 bool + if yyl1851 > cap(yyv1851) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 792) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1851 := len(yyv1851) > 0 + yyv21851 := yyv1851 + yyrl1851, yyrt1851 = z.DecInferLen(yyl1851, z.DecBasicHandle().MaxInitLen, 792) + if yyrt1851 { + if yyrl1851 <= cap(yyv1851) { + yyv1851 = yyv1851[:yyrl1851] } else { - yyv1 = make([]Deployment, yyrl1) + yyv1851 = make([]Deployment, yyrl1851) } } else { - yyv1 = make([]Deployment, yyrl1) + yyv1851 = make([]Deployment, yyrl1851) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1851 = true + yyrr1851 = len(yyv1851) + if yyrg1851 { + copy(yyv1851, yyv21851) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1851 != len(yyv1851) { + yyv1851 = yyv1851[:yyl1851] + yyc1851 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1851 := 0 + for ; yyj1851 < yyrr1851; yyj1851++ { + yyh1851.ElemContainerState(yyj1851) if r.TryDecodeAsNil() { - yyv1[yyj1] = Deployment{} + yyv1851[yyj1851] = Deployment{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1852 := &yyv1851[yyj1851] + yyv1852.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Deployment{}) - yyh1.ElemContainerState(yyj1) + if yyrt1851 { + for ; yyj1851 < yyl1851; yyj1851++ { + yyv1851 = append(yyv1851, Deployment{}) + yyh1851.ElemContainerState(yyj1851) if r.TryDecodeAsNil() { - yyv1[yyj1] = Deployment{} + yyv1851[yyj1851] = Deployment{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1853 := &yyv1851[yyj1851] + yyv1853.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1851 := 0 + for ; !r.CheckBreak(); yyj1851++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Deployment{}) // var yyz1 Deployment - yyc1 = true + if yyj1851 >= len(yyv1851) { + yyv1851 = append(yyv1851, Deployment{}) // var yyz1851 Deployment + yyc1851 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1851.ElemContainerState(yyj1851) + if yyj1851 < len(yyv1851) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Deployment{} + yyv1851[yyj1851] = Deployment{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1854 := &yyv1851[yyj1851] + yyv1854.CodecDecodeSelf(d) } } else { @@ -22392,17 +22394,17 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Deployment{} - yyc1 = true + if yyj1851 < len(yyv1851) { + yyv1851 = yyv1851[:yyj1851] + yyc1851 = true + } else if yyj1851 == 0 && yyv1851 == nil { + yyv1851 = []Deployment{} + yyc1851 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1851.End() + if yyc1851 { + *v = yyv1851 } } @@ -22411,10 +22413,10 @@ func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1855 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1856 := &yyv1855 + yy1856.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22424,86 +22426,83 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []DaemonSet{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1857 := *v + yyh1857, yyl1857 := z.DecSliceHelperStart() + var yyc1857 bool + if yyl1857 == 0 { + if yyv1857 == nil { + yyv1857 = []DaemonSet{} + yyc1857 = true + } else if len(yyv1857) != 0 { + yyv1857 = yyv1857[:0] + yyc1857 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1857 > 0 { + var yyrr1857, yyrl1857 int + var yyrt1857 bool + if yyl1857 > cap(yyv1857) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 720) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1857 := len(yyv1857) > 0 + yyv21857 := yyv1857 + yyrl1857, yyrt1857 = z.DecInferLen(yyl1857, z.DecBasicHandle().MaxInitLen, 720) + if yyrt1857 { + if yyrl1857 <= cap(yyv1857) { + yyv1857 = yyv1857[:yyrl1857] } else { - yyv1 = make([]DaemonSet, yyrl1) + yyv1857 = make([]DaemonSet, yyrl1857) } } else { - yyv1 = make([]DaemonSet, yyrl1) + yyv1857 = make([]DaemonSet, yyrl1857) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1857 = true + yyrr1857 = len(yyv1857) + if yyrg1857 { + copy(yyv1857, yyv21857) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1857 != len(yyv1857) { + yyv1857 = yyv1857[:yyl1857] + yyc1857 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1857 := 0 + for ; yyj1857 < yyrr1857; yyj1857++ { + yyh1857.ElemContainerState(yyj1857) if r.TryDecodeAsNil() { - yyv1[yyj1] = DaemonSet{} + yyv1857[yyj1857] = DaemonSet{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1858 := &yyv1857[yyj1857] + yyv1858.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, DaemonSet{}) - yyh1.ElemContainerState(yyj1) + if yyrt1857 { + for ; yyj1857 < yyl1857; yyj1857++ { + yyv1857 = append(yyv1857, DaemonSet{}) + yyh1857.ElemContainerState(yyj1857) if r.TryDecodeAsNil() { - yyv1[yyj1] = DaemonSet{} + yyv1857[yyj1857] = DaemonSet{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1859 := &yyv1857[yyj1857] + yyv1859.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1857 := 0 + for ; !r.CheckBreak(); yyj1857++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, DaemonSet{}) // var yyz1 DaemonSet - yyc1 = true + if yyj1857 >= len(yyv1857) { + yyv1857 = append(yyv1857, DaemonSet{}) // var yyz1857 DaemonSet + yyc1857 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1857.ElemContainerState(yyj1857) + if yyj1857 < len(yyv1857) { if r.TryDecodeAsNil() { - yyv1[yyj1] = DaemonSet{} + yyv1857[yyj1857] = DaemonSet{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1860 := &yyv1857[yyj1857] + yyv1860.CodecDecodeSelf(d) } } else { @@ -22511,17 +22510,17 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []DaemonSet{} - yyc1 = true + if yyj1857 < len(yyv1857) { + yyv1857 = yyv1857[:yyj1857] + yyc1857 = true + } else if yyj1857 == 0 && yyv1857 == nil { + yyv1857 = []DaemonSet{} + yyc1857 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1857.End() + if yyc1857 { + *v = yyv1857 } } @@ -22530,10 +22529,10 @@ func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceDa z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1861 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1862 := &yyv1861 + yy1862.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22543,86 +22542,83 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ThirdPartyResourceData{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1863 := *v + yyh1863, yyl1863 := z.DecSliceHelperStart() + var yyc1863 bool + if yyl1863 == 0 { + if yyv1863 == nil { + yyv1863 = []ThirdPartyResourceData{} + yyc1863 = true + } else if len(yyv1863) != 0 { + yyv1863 = yyv1863[:0] + yyc1863 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1863 > 0 { + var yyrr1863, yyrl1863 int + var yyrt1863 bool + if yyl1863 > cap(yyv1863) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 264) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1863 := len(yyv1863) > 0 + yyv21863 := yyv1863 + yyrl1863, yyrt1863 = z.DecInferLen(yyl1863, z.DecBasicHandle().MaxInitLen, 264) + if yyrt1863 { + if yyrl1863 <= cap(yyv1863) { + yyv1863 = yyv1863[:yyrl1863] } else { - yyv1 = make([]ThirdPartyResourceData, yyrl1) + yyv1863 = make([]ThirdPartyResourceData, yyrl1863) } } else { - yyv1 = make([]ThirdPartyResourceData, yyrl1) + yyv1863 = make([]ThirdPartyResourceData, yyrl1863) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1863 = true + yyrr1863 = len(yyv1863) + if yyrg1863 { + copy(yyv1863, yyv21863) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1863 != len(yyv1863) { + yyv1863 = yyv1863[:yyl1863] + yyc1863 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1863 := 0 + for ; yyj1863 < yyrr1863; yyj1863++ { + yyh1863.ElemContainerState(yyj1863) if r.TryDecodeAsNil() { - yyv1[yyj1] = ThirdPartyResourceData{} + yyv1863[yyj1863] = ThirdPartyResourceData{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1864 := &yyv1863[yyj1863] + yyv1864.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ThirdPartyResourceData{}) - yyh1.ElemContainerState(yyj1) + if yyrt1863 { + for ; yyj1863 < yyl1863; yyj1863++ { + yyv1863 = append(yyv1863, ThirdPartyResourceData{}) + yyh1863.ElemContainerState(yyj1863) if r.TryDecodeAsNil() { - yyv1[yyj1] = ThirdPartyResourceData{} + yyv1863[yyj1863] = ThirdPartyResourceData{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1865 := &yyv1863[yyj1863] + yyv1865.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1863 := 0 + for ; !r.CheckBreak(); yyj1863++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ThirdPartyResourceData{}) // var yyz1 ThirdPartyResourceData - yyc1 = true + if yyj1863 >= len(yyv1863) { + yyv1863 = append(yyv1863, ThirdPartyResourceData{}) // var yyz1863 ThirdPartyResourceData + yyc1863 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1863.ElemContainerState(yyj1863) + if yyj1863 < len(yyv1863) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ThirdPartyResourceData{} + yyv1863[yyj1863] = ThirdPartyResourceData{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1866 := &yyv1863[yyj1863] + yyv1866.CodecDecodeSelf(d) } } else { @@ -22630,17 +22626,17 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ThirdPartyResourceData{} - yyc1 = true + if yyj1863 < len(yyv1863) { + yyv1863 = yyv1863[:yyj1863] + yyc1863 = true + } else if yyj1863 == 0 && yyv1863 == nil { + yyv1863 = []ThirdPartyResourceData{} + yyc1863 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1863.End() + if yyc1863 { + *v = yyv1863 } } @@ -22649,10 +22645,10 @@ func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1867 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1868 := &yyv1867 + yy1868.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22662,86 +22658,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Job{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1869 := *v + yyh1869, yyl1869 := z.DecSliceHelperStart() + var yyc1869 bool + if yyl1869 == 0 { + if yyv1869 == nil { + yyv1869 = []Job{} + yyc1869 = true + } else if len(yyv1869) != 0 { + yyv1869 = yyv1869[:0] + yyc1869 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1869 > 0 { + var yyrr1869, yyrl1869 int + var yyrt1869 bool + if yyl1869 > cap(yyv1869) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 792) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1869 := len(yyv1869) > 0 + yyv21869 := yyv1869 + yyrl1869, yyrt1869 = z.DecInferLen(yyl1869, z.DecBasicHandle().MaxInitLen, 792) + if yyrt1869 { + if yyrl1869 <= cap(yyv1869) { + yyv1869 = yyv1869[:yyrl1869] } else { - yyv1 = make([]Job, yyrl1) + yyv1869 = make([]Job, yyrl1869) } } else { - yyv1 = make([]Job, yyrl1) + yyv1869 = make([]Job, yyrl1869) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1869 = true + yyrr1869 = len(yyv1869) + if yyrg1869 { + copy(yyv1869, yyv21869) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1869 != len(yyv1869) { + yyv1869 = yyv1869[:yyl1869] + yyc1869 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1869 := 0 + for ; yyj1869 < yyrr1869; yyj1869++ { + yyh1869.ElemContainerState(yyj1869) if r.TryDecodeAsNil() { - yyv1[yyj1] = Job{} + yyv1869[yyj1869] = Job{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1870 := &yyv1869[yyj1869] + yyv1870.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Job{}) - yyh1.ElemContainerState(yyj1) + if yyrt1869 { + for ; yyj1869 < yyl1869; yyj1869++ { + yyv1869 = append(yyv1869, Job{}) + yyh1869.ElemContainerState(yyj1869) if r.TryDecodeAsNil() { - yyv1[yyj1] = Job{} + yyv1869[yyj1869] = Job{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1871 := &yyv1869[yyj1869] + yyv1871.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1869 := 0 + for ; !r.CheckBreak(); yyj1869++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Job{}) // var yyz1 Job - yyc1 = true + if yyj1869 >= len(yyv1869) { + yyv1869 = append(yyv1869, Job{}) // var yyz1869 Job + yyc1869 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1869.ElemContainerState(yyj1869) + if yyj1869 < len(yyv1869) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Job{} + yyv1869[yyj1869] = Job{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1872 := &yyv1869[yyj1869] + yyv1872.CodecDecodeSelf(d) } } else { @@ -22749,17 +22742,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Job{} - yyc1 = true + if yyj1869 < len(yyv1869) { + yyv1869 = yyv1869[:yyj1869] + yyc1869 = true + } else if yyj1869 == 0 && yyv1869 == nil { + yyv1869 = []Job{} + yyc1869 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1869.End() + if yyc1869 { + *v = yyv1869 } } @@ -22768,10 +22761,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1873 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1874 := &yyv1873 + yy1874.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22781,86 +22774,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []JobCondition{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1875 := *v + yyh1875, yyl1875 := z.DecSliceHelperStart() + var yyc1875 bool + if yyl1875 == 0 { + if yyv1875 == nil { + yyv1875 = []JobCondition{} + yyc1875 = true + } else if len(yyv1875) != 0 { + yyv1875 = yyv1875[:0] + yyc1875 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1875 > 0 { + var yyrr1875, yyrl1875 int + var yyrt1875 bool + if yyl1875 > cap(yyv1875) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1875 := len(yyv1875) > 0 + yyv21875 := yyv1875 + yyrl1875, yyrt1875 = z.DecInferLen(yyl1875, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1875 { + if yyrl1875 <= cap(yyv1875) { + yyv1875 = yyv1875[:yyrl1875] } else { - yyv1 = make([]JobCondition, yyrl1) + yyv1875 = make([]JobCondition, yyrl1875) } } else { - yyv1 = make([]JobCondition, yyrl1) + yyv1875 = make([]JobCondition, yyrl1875) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1875 = true + yyrr1875 = len(yyv1875) + if yyrg1875 { + copy(yyv1875, yyv21875) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1875 != len(yyv1875) { + yyv1875 = yyv1875[:yyl1875] + yyc1875 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1875 := 0 + for ; yyj1875 < yyrr1875; yyj1875++ { + yyh1875.ElemContainerState(yyj1875) if r.TryDecodeAsNil() { - yyv1[yyj1] = JobCondition{} + yyv1875[yyj1875] = JobCondition{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1876 := &yyv1875[yyj1875] + yyv1876.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, JobCondition{}) - yyh1.ElemContainerState(yyj1) + if yyrt1875 { + for ; yyj1875 < yyl1875; yyj1875++ { + yyv1875 = append(yyv1875, JobCondition{}) + yyh1875.ElemContainerState(yyj1875) if r.TryDecodeAsNil() { - yyv1[yyj1] = JobCondition{} + yyv1875[yyj1875] = JobCondition{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1877 := &yyv1875[yyj1875] + yyv1877.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1875 := 0 + for ; !r.CheckBreak(); yyj1875++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, JobCondition{}) // var yyz1 JobCondition - yyc1 = true + if yyj1875 >= len(yyv1875) { + yyv1875 = append(yyv1875, JobCondition{}) // var yyz1875 JobCondition + yyc1875 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1875.ElemContainerState(yyj1875) + if yyj1875 < len(yyv1875) { if r.TryDecodeAsNil() { - yyv1[yyj1] = JobCondition{} + yyv1875[yyj1875] = JobCondition{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1878 := &yyv1875[yyj1875] + yyv1878.CodecDecodeSelf(d) } } else { @@ -22868,17 +22858,17 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []JobCondition{} - yyc1 = true + if yyj1875 < len(yyv1875) { + yyv1875 = yyv1875[:yyj1875] + yyc1875 = true + } else if yyj1875 == 0 && yyv1875 == nil { + yyv1875 = []JobCondition{} + yyc1875 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1875.End() + if yyc1875 { + *v = yyv1875 } } @@ -22887,10 +22877,10 @@ func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1879 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1880 := &yyv1879 + yy1880.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22900,86 +22890,83 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Ingress{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1881 := *v + yyh1881, yyl1881 := z.DecSliceHelperStart() + var yyc1881 bool + if yyl1881 == 0 { + if yyv1881 == nil { + yyv1881 = []Ingress{} + yyc1881 = true + } else if len(yyv1881) != 0 { + yyv1881 = yyv1881[:0] + yyc1881 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1881 > 0 { + var yyrr1881, yyrl1881 int + var yyrt1881 bool + if yyl1881 > cap(yyv1881) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 320) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1881 := len(yyv1881) > 0 + yyv21881 := yyv1881 + yyrl1881, yyrt1881 = z.DecInferLen(yyl1881, z.DecBasicHandle().MaxInitLen, 320) + if yyrt1881 { + if yyrl1881 <= cap(yyv1881) { + yyv1881 = yyv1881[:yyrl1881] } else { - yyv1 = make([]Ingress, yyrl1) + yyv1881 = make([]Ingress, yyrl1881) } } else { - yyv1 = make([]Ingress, yyrl1) + yyv1881 = make([]Ingress, yyrl1881) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1881 = true + yyrr1881 = len(yyv1881) + if yyrg1881 { + copy(yyv1881, yyv21881) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1881 != len(yyv1881) { + yyv1881 = yyv1881[:yyl1881] + yyc1881 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1881 := 0 + for ; yyj1881 < yyrr1881; yyj1881++ { + yyh1881.ElemContainerState(yyj1881) if r.TryDecodeAsNil() { - yyv1[yyj1] = Ingress{} + yyv1881[yyj1881] = Ingress{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1882 := &yyv1881[yyj1881] + yyv1882.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Ingress{}) - yyh1.ElemContainerState(yyj1) + if yyrt1881 { + for ; yyj1881 < yyl1881; yyj1881++ { + yyv1881 = append(yyv1881, Ingress{}) + yyh1881.ElemContainerState(yyj1881) if r.TryDecodeAsNil() { - yyv1[yyj1] = Ingress{} + yyv1881[yyj1881] = Ingress{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1883 := &yyv1881[yyj1881] + yyv1883.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1881 := 0 + for ; !r.CheckBreak(); yyj1881++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Ingress{}) // var yyz1 Ingress - yyc1 = true + if yyj1881 >= len(yyv1881) { + yyv1881 = append(yyv1881, Ingress{}) // var yyz1881 Ingress + yyc1881 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1881.ElemContainerState(yyj1881) + if yyj1881 < len(yyv1881) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Ingress{} + yyv1881[yyj1881] = Ingress{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1884 := &yyv1881[yyj1881] + yyv1884.CodecDecodeSelf(d) } } else { @@ -22987,17 +22974,17 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Ingress{} - yyc1 = true + if yyj1881 < len(yyv1881) { + yyv1881 = yyv1881[:yyj1881] + yyc1881 = true + } else if yyj1881 == 0 && yyv1881 == nil { + yyv1881 = []Ingress{} + yyc1881 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1881.End() + if yyc1881 { + *v = yyv1881 } } @@ -23006,10 +22993,10 @@ func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1885 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1886 := &yyv1885 + yy1886.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23019,86 +23006,83 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []IngressTLS{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1887 := *v + yyh1887, yyl1887 := z.DecSliceHelperStart() + var yyc1887 bool + if yyl1887 == 0 { + if yyv1887 == nil { + yyv1887 = []IngressTLS{} + yyc1887 = true + } else if len(yyv1887) != 0 { + yyv1887 = yyv1887[:0] + yyc1887 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1887 > 0 { + var yyrr1887, yyrl1887 int + var yyrt1887 bool + if yyl1887 > cap(yyv1887) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1887 := len(yyv1887) > 0 + yyv21887 := yyv1887 + yyrl1887, yyrt1887 = z.DecInferLen(yyl1887, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1887 { + if yyrl1887 <= cap(yyv1887) { + yyv1887 = yyv1887[:yyrl1887] } else { - yyv1 = make([]IngressTLS, yyrl1) + yyv1887 = make([]IngressTLS, yyrl1887) } } else { - yyv1 = make([]IngressTLS, yyrl1) + yyv1887 = make([]IngressTLS, yyrl1887) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1887 = true + yyrr1887 = len(yyv1887) + if yyrg1887 { + copy(yyv1887, yyv21887) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1887 != len(yyv1887) { + yyv1887 = yyv1887[:yyl1887] + yyc1887 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1887 := 0 + for ; yyj1887 < yyrr1887; yyj1887++ { + yyh1887.ElemContainerState(yyj1887) if r.TryDecodeAsNil() { - yyv1[yyj1] = IngressTLS{} + yyv1887[yyj1887] = IngressTLS{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1888 := &yyv1887[yyj1887] + yyv1888.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, IngressTLS{}) - yyh1.ElemContainerState(yyj1) + if yyrt1887 { + for ; yyj1887 < yyl1887; yyj1887++ { + yyv1887 = append(yyv1887, IngressTLS{}) + yyh1887.ElemContainerState(yyj1887) if r.TryDecodeAsNil() { - yyv1[yyj1] = IngressTLS{} + yyv1887[yyj1887] = IngressTLS{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1889 := &yyv1887[yyj1887] + yyv1889.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1887 := 0 + for ; !r.CheckBreak(); yyj1887++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, IngressTLS{}) // var yyz1 IngressTLS - yyc1 = true + if yyj1887 >= len(yyv1887) { + yyv1887 = append(yyv1887, IngressTLS{}) // var yyz1887 IngressTLS + yyc1887 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1887.ElemContainerState(yyj1887) + if yyj1887 < len(yyv1887) { if r.TryDecodeAsNil() { - yyv1[yyj1] = IngressTLS{} + yyv1887[yyj1887] = IngressTLS{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1890 := &yyv1887[yyj1887] + yyv1890.CodecDecodeSelf(d) } } else { @@ -23106,17 +23090,17 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []IngressTLS{} - yyc1 = true + if yyj1887 < len(yyv1887) { + yyv1887 = yyv1887[:yyj1887] + yyc1887 = true + } else if yyj1887 == 0 && yyv1887 == nil { + yyv1887 = []IngressTLS{} + yyc1887 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1887.End() + if yyc1887 { + *v = yyv1887 } } @@ -23125,10 +23109,10 @@ func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1891 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1892 := &yyv1891 + yy1892.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23138,86 +23122,83 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []IngressRule{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1893 := *v + yyh1893, yyl1893 := z.DecSliceHelperStart() + var yyc1893 bool + if yyl1893 == 0 { + if yyv1893 == nil { + yyv1893 = []IngressRule{} + yyc1893 = true + } else if len(yyv1893) != 0 { + yyv1893 = yyv1893[:0] + yyc1893 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1893 > 0 { + var yyrr1893, yyrl1893 int + var yyrt1893 bool + if yyl1893 > cap(yyv1893) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1893 := len(yyv1893) > 0 + yyv21893 := yyv1893 + yyrl1893, yyrt1893 = z.DecInferLen(yyl1893, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1893 { + if yyrl1893 <= cap(yyv1893) { + yyv1893 = yyv1893[:yyrl1893] } else { - yyv1 = make([]IngressRule, yyrl1) + yyv1893 = make([]IngressRule, yyrl1893) } } else { - yyv1 = make([]IngressRule, yyrl1) + yyv1893 = make([]IngressRule, yyrl1893) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1893 = true + yyrr1893 = len(yyv1893) + if yyrg1893 { + copy(yyv1893, yyv21893) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1893 != len(yyv1893) { + yyv1893 = yyv1893[:yyl1893] + yyc1893 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1893 := 0 + for ; yyj1893 < yyrr1893; yyj1893++ { + yyh1893.ElemContainerState(yyj1893) if r.TryDecodeAsNil() { - yyv1[yyj1] = IngressRule{} + yyv1893[yyj1893] = IngressRule{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1894 := &yyv1893[yyj1893] + yyv1894.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, IngressRule{}) - yyh1.ElemContainerState(yyj1) + if yyrt1893 { + for ; yyj1893 < yyl1893; yyj1893++ { + yyv1893 = append(yyv1893, IngressRule{}) + yyh1893.ElemContainerState(yyj1893) if r.TryDecodeAsNil() { - yyv1[yyj1] = IngressRule{} + yyv1893[yyj1893] = IngressRule{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1895 := &yyv1893[yyj1893] + yyv1895.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1893 := 0 + for ; !r.CheckBreak(); yyj1893++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, IngressRule{}) // var yyz1 IngressRule - yyc1 = true + if yyj1893 >= len(yyv1893) { + yyv1893 = append(yyv1893, IngressRule{}) // var yyz1893 IngressRule + yyc1893 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1893.ElemContainerState(yyj1893) + if yyj1893 < len(yyv1893) { if r.TryDecodeAsNil() { - yyv1[yyj1] = IngressRule{} + yyv1893[yyj1893] = IngressRule{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1896 := &yyv1893[yyj1893] + yyv1896.CodecDecodeSelf(d) } } else { @@ -23225,17 +23206,17 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []IngressRule{} - yyc1 = true + if yyj1893 < len(yyv1893) { + yyv1893 = yyv1893[:yyj1893] + yyc1893 = true + } else if yyj1893 == 0 && yyv1893 == nil { + yyv1893 = []IngressRule{} + yyc1893 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1893.End() + if yyc1893 { + *v = yyv1893 } } @@ -23244,10 +23225,10 @@ func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1897 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1898 := &yyv1897 + yy1898.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23257,86 +23238,83 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []HTTPIngressPath{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1899 := *v + yyh1899, yyl1899 := z.DecSliceHelperStart() + var yyc1899 bool + if yyl1899 == 0 { + if yyv1899 == nil { + yyv1899 = []HTTPIngressPath{} + yyc1899 = true + } else if len(yyv1899) != 0 { + yyv1899 = yyv1899[:0] + yyc1899 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1899 > 0 { + var yyrr1899, yyrl1899 int + var yyrt1899 bool + if yyl1899 > cap(yyv1899) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1899 := len(yyv1899) > 0 + yyv21899 := yyv1899 + yyrl1899, yyrt1899 = z.DecInferLen(yyl1899, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1899 { + if yyrl1899 <= cap(yyv1899) { + yyv1899 = yyv1899[:yyrl1899] } else { - yyv1 = make([]HTTPIngressPath, yyrl1) + yyv1899 = make([]HTTPIngressPath, yyrl1899) } } else { - yyv1 = make([]HTTPIngressPath, yyrl1) + yyv1899 = make([]HTTPIngressPath, yyrl1899) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1899 = true + yyrr1899 = len(yyv1899) + if yyrg1899 { + copy(yyv1899, yyv21899) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1899 != len(yyv1899) { + yyv1899 = yyv1899[:yyl1899] + yyc1899 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1899 := 0 + for ; yyj1899 < yyrr1899; yyj1899++ { + yyh1899.ElemContainerState(yyj1899) if r.TryDecodeAsNil() { - yyv1[yyj1] = HTTPIngressPath{} + yyv1899[yyj1899] = HTTPIngressPath{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1900 := &yyv1899[yyj1899] + yyv1900.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, HTTPIngressPath{}) - yyh1.ElemContainerState(yyj1) + if yyrt1899 { + for ; yyj1899 < yyl1899; yyj1899++ { + yyv1899 = append(yyv1899, HTTPIngressPath{}) + yyh1899.ElemContainerState(yyj1899) if r.TryDecodeAsNil() { - yyv1[yyj1] = HTTPIngressPath{} + yyv1899[yyj1899] = HTTPIngressPath{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1901 := &yyv1899[yyj1899] + yyv1901.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1899 := 0 + for ; !r.CheckBreak(); yyj1899++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, HTTPIngressPath{}) // var yyz1 HTTPIngressPath - yyc1 = true + if yyj1899 >= len(yyv1899) { + yyv1899 = append(yyv1899, HTTPIngressPath{}) // var yyz1899 HTTPIngressPath + yyc1899 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1899.ElemContainerState(yyj1899) + if yyj1899 < len(yyv1899) { if r.TryDecodeAsNil() { - yyv1[yyj1] = HTTPIngressPath{} + yyv1899[yyj1899] = HTTPIngressPath{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1902 := &yyv1899[yyj1899] + yyv1902.CodecDecodeSelf(d) } } else { @@ -23344,17 +23322,17 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []HTTPIngressPath{} - yyc1 = true + if yyj1899 < len(yyv1899) { + yyv1899 = yyv1899[:yyj1899] + yyc1899 = true + } else if yyj1899 == 0 && yyv1899 == nil { + yyv1899 = []HTTPIngressPath{} + yyc1899 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1899.End() + if yyc1899 { + *v = yyv1899 } } @@ -23363,10 +23341,10 @@ func (x codecSelfer1234) encSliceLabelSelectorRequirement(v []LabelSelectorRequi z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1903 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1904 := &yyv1903 + yy1904.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23376,86 +23354,83 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []LabelSelectorRequirement{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1905 := *v + yyh1905, yyl1905 := z.DecSliceHelperStart() + var yyc1905 bool + if yyl1905 == 0 { + if yyv1905 == nil { + yyv1905 = []LabelSelectorRequirement{} + yyc1905 = true + } else if len(yyv1905) != 0 { + yyv1905 = yyv1905[:0] + yyc1905 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1905 > 0 { + var yyrr1905, yyrl1905 int + var yyrt1905 bool + if yyl1905 > cap(yyv1905) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1905 := len(yyv1905) > 0 + yyv21905 := yyv1905 + yyrl1905, yyrt1905 = z.DecInferLen(yyl1905, z.DecBasicHandle().MaxInitLen, 56) + if yyrt1905 { + if yyrl1905 <= cap(yyv1905) { + yyv1905 = yyv1905[:yyrl1905] } else { - yyv1 = make([]LabelSelectorRequirement, yyrl1) + yyv1905 = make([]LabelSelectorRequirement, yyrl1905) } } else { - yyv1 = make([]LabelSelectorRequirement, yyrl1) + yyv1905 = make([]LabelSelectorRequirement, yyrl1905) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1905 = true + yyrr1905 = len(yyv1905) + if yyrg1905 { + copy(yyv1905, yyv21905) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1905 != len(yyv1905) { + yyv1905 = yyv1905[:yyl1905] + yyc1905 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1905 := 0 + for ; yyj1905 < yyrr1905; yyj1905++ { + yyh1905.ElemContainerState(yyj1905) if r.TryDecodeAsNil() { - yyv1[yyj1] = LabelSelectorRequirement{} + yyv1905[yyj1905] = LabelSelectorRequirement{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1906 := &yyv1905[yyj1905] + yyv1906.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, LabelSelectorRequirement{}) - yyh1.ElemContainerState(yyj1) + if yyrt1905 { + for ; yyj1905 < yyl1905; yyj1905++ { + yyv1905 = append(yyv1905, LabelSelectorRequirement{}) + yyh1905.ElemContainerState(yyj1905) if r.TryDecodeAsNil() { - yyv1[yyj1] = LabelSelectorRequirement{} + yyv1905[yyj1905] = LabelSelectorRequirement{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1907 := &yyv1905[yyj1905] + yyv1907.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1905 := 0 + for ; !r.CheckBreak(); yyj1905++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, LabelSelectorRequirement{}) // var yyz1 LabelSelectorRequirement - yyc1 = true + if yyj1905 >= len(yyv1905) { + yyv1905 = append(yyv1905, LabelSelectorRequirement{}) // var yyz1905 LabelSelectorRequirement + yyc1905 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1905.ElemContainerState(yyj1905) + if yyj1905 < len(yyv1905) { if r.TryDecodeAsNil() { - yyv1[yyj1] = LabelSelectorRequirement{} + yyv1905[yyj1905] = LabelSelectorRequirement{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1908 := &yyv1905[yyj1905] + yyv1908.CodecDecodeSelf(d) } } else { @@ -23463,17 +23438,17 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []LabelSelectorRequirement{} - yyc1 = true + if yyj1905 < len(yyv1905) { + yyv1905 = yyv1905[:yyj1905] + yyc1905 = true + } else if yyj1905 == 0 && yyv1905 == nil { + yyv1905 = []LabelSelectorRequirement{} + yyc1905 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1905.End() + if yyc1905 { + *v = yyv1905 } } @@ -23482,10 +23457,10 @@ func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1909 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1910 := &yyv1909 + yy1910.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23495,86 +23470,83 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ReplicaSet{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1911 := *v + yyh1911, yyl1911 := z.DecSliceHelperStart() + var yyc1911 bool + if yyl1911 == 0 { + if yyv1911 == nil { + yyv1911 = []ReplicaSet{} + yyc1911 = true + } else if len(yyv1911) != 0 { + yyv1911 = yyv1911[:0] + yyc1911 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1911 > 0 { + var yyrr1911, yyrl1911 int + var yyrt1911 bool + if yyl1911 > cap(yyv1911) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 728) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1911 := len(yyv1911) > 0 + yyv21911 := yyv1911 + yyrl1911, yyrt1911 = z.DecInferLen(yyl1911, z.DecBasicHandle().MaxInitLen, 728) + if yyrt1911 { + if yyrl1911 <= cap(yyv1911) { + yyv1911 = yyv1911[:yyrl1911] } else { - yyv1 = make([]ReplicaSet, yyrl1) + yyv1911 = make([]ReplicaSet, yyrl1911) } } else { - yyv1 = make([]ReplicaSet, yyrl1) + yyv1911 = make([]ReplicaSet, yyrl1911) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1911 = true + yyrr1911 = len(yyv1911) + if yyrg1911 { + copy(yyv1911, yyv21911) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1911 != len(yyv1911) { + yyv1911 = yyv1911[:yyl1911] + yyc1911 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1911 := 0 + for ; yyj1911 < yyrr1911; yyj1911++ { + yyh1911.ElemContainerState(yyj1911) if r.TryDecodeAsNil() { - yyv1[yyj1] = ReplicaSet{} + yyv1911[yyj1911] = ReplicaSet{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1912 := &yyv1911[yyj1911] + yyv1912.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ReplicaSet{}) - yyh1.ElemContainerState(yyj1) + if yyrt1911 { + for ; yyj1911 < yyl1911; yyj1911++ { + yyv1911 = append(yyv1911, ReplicaSet{}) + yyh1911.ElemContainerState(yyj1911) if r.TryDecodeAsNil() { - yyv1[yyj1] = ReplicaSet{} + yyv1911[yyj1911] = ReplicaSet{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1913 := &yyv1911[yyj1911] + yyv1913.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1911 := 0 + for ; !r.CheckBreak(); yyj1911++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ReplicaSet{}) // var yyz1 ReplicaSet - yyc1 = true + if yyj1911 >= len(yyv1911) { + yyv1911 = append(yyv1911, ReplicaSet{}) // var yyz1911 ReplicaSet + yyc1911 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1911.ElemContainerState(yyj1911) + if yyj1911 < len(yyv1911) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ReplicaSet{} + yyv1911[yyj1911] = ReplicaSet{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1914 := &yyv1911[yyj1911] + yyv1914.CodecDecodeSelf(d) } } else { @@ -23582,17 +23554,17 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ReplicaSet{} - yyc1 = true + if yyj1911 < len(yyv1911) { + yyv1911 = yyv1911[:yyj1911] + yyc1911 = true + } else if yyj1911 == 0 && yyv1911 == nil { + yyv1911 = []ReplicaSet{} + yyc1911 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1911.End() + if yyc1911 { + *v = yyv1911 } } @@ -23601,10 +23573,15 @@ func (x codecSelfer1234) encSlicev1_Capability(v []pkg2_v1.Capability, e *codec1 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1915 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yysf2 := &yyv1 - yysf2.CodecEncodeSelf(e) + yym1916 := z.EncBinary() + _ = yym1916 + if false { + } else if z.HasExtensions() && z.EncExt(yyv1915) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yyv1915)) + } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23614,78 +23591,75 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []pkg2_v1.Capability{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1917 := *v + yyh1917, yyl1917 := z.DecSliceHelperStart() + var yyc1917 bool + if yyl1917 == 0 { + if yyv1917 == nil { + yyv1917 = []pkg2_v1.Capability{} + yyc1917 = true + } else if len(yyv1917) != 0 { + yyv1917 = yyv1917[:0] + yyc1917 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1917 > 0 { + var yyrr1917, yyrl1917 int + var yyrt1917 bool + if yyl1917 > cap(yyv1917) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl1917, yyrt1917 = z.DecInferLen(yyl1917, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1917 { + if yyrl1917 <= cap(yyv1917) { + yyv1917 = yyv1917[:yyrl1917] } else { - yyv1 = make([]pkg2_v1.Capability, yyrl1) + yyv1917 = make([]pkg2_v1.Capability, yyrl1917) } } else { - yyv1 = make([]pkg2_v1.Capability, yyrl1) + yyv1917 = make([]pkg2_v1.Capability, yyrl1917) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc1917 = true + yyrr1917 = len(yyv1917) + } else if yyl1917 != len(yyv1917) { + yyv1917 = yyv1917[:yyl1917] + yyc1917 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1917 := 0 + for ; yyj1917 < yyrr1917; yyj1917++ { + yyh1917.ElemContainerState(yyj1917) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv1917[yyj1917] = "" } else { - yyv1[yyj1] = pkg2_v1.Capability(r.DecodeString()) + yyv1917[yyj1917] = pkg2_v1.Capability(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt1917 { + for ; yyj1917 < yyl1917; yyj1917++ { + yyv1917 = append(yyv1917, "") + yyh1917.ElemContainerState(yyj1917) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv1917[yyj1917] = "" } else { - yyv1[yyj1] = pkg2_v1.Capability(r.DecodeString()) + yyv1917[yyj1917] = pkg2_v1.Capability(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1917 := 0 + for ; !r.CheckBreak(); yyj1917++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 pkg2_v1.Capability - yyc1 = true + if yyj1917 >= len(yyv1917) { + yyv1917 = append(yyv1917, "") // var yyz1917 pkg2_v1.Capability + yyc1917 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1917.ElemContainerState(yyj1917) + if yyj1917 < len(yyv1917) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv1917[yyj1917] = "" } else { - yyv1[yyj1] = pkg2_v1.Capability(r.DecodeString()) + yyv1917[yyj1917] = pkg2_v1.Capability(r.DecodeString()) } } else { @@ -23693,17 +23667,17 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []pkg2_v1.Capability{} - yyc1 = true + if yyj1917 < len(yyv1917) { + yyv1917 = yyv1917[:yyj1917] + yyc1917 = true + } else if yyj1917 == 0 && yyv1917 == nil { + yyv1917 = []pkg2_v1.Capability{} + yyc1917 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1917.End() + if yyc1917 { + *v = yyv1917 } } @@ -23712,9 +23686,9 @@ func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1921 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1.CodecEncodeSelf(e) + yyv1921.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23724,78 +23698,75 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []FSType{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1922 := *v + yyh1922, yyl1922 := z.DecSliceHelperStart() + var yyc1922 bool + if yyl1922 == 0 { + if yyv1922 == nil { + yyv1922 = []FSType{} + yyc1922 = true + } else if len(yyv1922) != 0 { + yyv1922 = yyv1922[:0] + yyc1922 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1922 > 0 { + var yyrr1922, yyrl1922 int + var yyrt1922 bool + if yyl1922 > cap(yyv1922) { - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrl1922, yyrt1922 = z.DecInferLen(yyl1922, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1922 { + if yyrl1922 <= cap(yyv1922) { + yyv1922 = yyv1922[:yyrl1922] } else { - yyv1 = make([]FSType, yyrl1) + yyv1922 = make([]FSType, yyrl1922) } } else { - yyv1 = make([]FSType, yyrl1) + yyv1922 = make([]FSType, yyrl1922) } - yyc1 = true - yyrr1 = len(yyv1) - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + yyc1922 = true + yyrr1922 = len(yyv1922) + } else if yyl1922 != len(yyv1922) { + yyv1922 = yyv1922[:yyl1922] + yyc1922 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1922 := 0 + for ; yyj1922 < yyrr1922; yyj1922++ { + yyh1922.ElemContainerState(yyj1922) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv1922[yyj1922] = "" } else { - yyv1[yyj1] = FSType(r.DecodeString()) + yyv1922[yyj1922] = FSType(r.DecodeString()) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, "") - yyh1.ElemContainerState(yyj1) + if yyrt1922 { + for ; yyj1922 < yyl1922; yyj1922++ { + yyv1922 = append(yyv1922, "") + yyh1922.ElemContainerState(yyj1922) if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv1922[yyj1922] = "" } else { - yyv1[yyj1] = FSType(r.DecodeString()) + yyv1922[yyj1922] = FSType(r.DecodeString()) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1922 := 0 + for ; !r.CheckBreak(); yyj1922++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, "") // var yyz1 FSType - yyc1 = true + if yyj1922 >= len(yyv1922) { + yyv1922 = append(yyv1922, "") // var yyz1922 FSType + yyc1922 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1922.ElemContainerState(yyj1922) + if yyj1922 < len(yyv1922) { if r.TryDecodeAsNil() { - yyv1[yyj1] = "" + yyv1922[yyj1922] = "" } else { - yyv1[yyj1] = FSType(r.DecodeString()) + yyv1922[yyj1922] = FSType(r.DecodeString()) } } else { @@ -23803,17 +23774,17 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []FSType{} - yyc1 = true + if yyj1922 < len(yyv1922) { + yyv1922 = yyv1922[:yyj1922] + yyc1922 = true + } else if yyj1922 == 0 && yyv1922 == nil { + yyv1922 = []FSType{} + yyc1922 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1922.End() + if yyc1922 { + *v = yyv1922 } } @@ -23822,10 +23793,10 @@ func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1926 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1927 := &yyv1926 + yy1927.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23835,86 +23806,83 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []HostPortRange{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1928 := *v + yyh1928, yyl1928 := z.DecSliceHelperStart() + var yyc1928 bool + if yyl1928 == 0 { + if yyv1928 == nil { + yyv1928 = []HostPortRange{} + yyc1928 = true + } else if len(yyv1928) != 0 { + yyv1928 = yyv1928[:0] + yyc1928 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1928 > 0 { + var yyrr1928, yyrl1928 int + var yyrt1928 bool + if yyl1928 > cap(yyv1928) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 8) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1928 := len(yyv1928) > 0 + yyv21928 := yyv1928 + yyrl1928, yyrt1928 = z.DecInferLen(yyl1928, z.DecBasicHandle().MaxInitLen, 8) + if yyrt1928 { + if yyrl1928 <= cap(yyv1928) { + yyv1928 = yyv1928[:yyrl1928] } else { - yyv1 = make([]HostPortRange, yyrl1) + yyv1928 = make([]HostPortRange, yyrl1928) } } else { - yyv1 = make([]HostPortRange, yyrl1) + yyv1928 = make([]HostPortRange, yyrl1928) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1928 = true + yyrr1928 = len(yyv1928) + if yyrg1928 { + copy(yyv1928, yyv21928) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1928 != len(yyv1928) { + yyv1928 = yyv1928[:yyl1928] + yyc1928 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1928 := 0 + for ; yyj1928 < yyrr1928; yyj1928++ { + yyh1928.ElemContainerState(yyj1928) if r.TryDecodeAsNil() { - yyv1[yyj1] = HostPortRange{} + yyv1928[yyj1928] = HostPortRange{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1929 := &yyv1928[yyj1928] + yyv1929.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, HostPortRange{}) - yyh1.ElemContainerState(yyj1) + if yyrt1928 { + for ; yyj1928 < yyl1928; yyj1928++ { + yyv1928 = append(yyv1928, HostPortRange{}) + yyh1928.ElemContainerState(yyj1928) if r.TryDecodeAsNil() { - yyv1[yyj1] = HostPortRange{} + yyv1928[yyj1928] = HostPortRange{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1930 := &yyv1928[yyj1928] + yyv1930.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1928 := 0 + for ; !r.CheckBreak(); yyj1928++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, HostPortRange{}) // var yyz1 HostPortRange - yyc1 = true + if yyj1928 >= len(yyv1928) { + yyv1928 = append(yyv1928, HostPortRange{}) // var yyz1928 HostPortRange + yyc1928 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1928.ElemContainerState(yyj1928) + if yyj1928 < len(yyv1928) { if r.TryDecodeAsNil() { - yyv1[yyj1] = HostPortRange{} + yyv1928[yyj1928] = HostPortRange{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1931 := &yyv1928[yyj1928] + yyv1931.CodecDecodeSelf(d) } } else { @@ -23922,17 +23890,17 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []HostPortRange{} - yyc1 = true + if yyj1928 < len(yyv1928) { + yyv1928 = yyv1928[:yyj1928] + yyc1928 = true + } else if yyj1928 == 0 && yyv1928 == nil { + yyv1928 = []HostPortRange{} + yyc1928 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1928.End() + if yyc1928 { + *v = yyv1928 } } @@ -23941,10 +23909,10 @@ func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1932 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1933 := &yyv1932 + yy1933.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23954,86 +23922,83 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []IDRange{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1934 := *v + yyh1934, yyl1934 := z.DecSliceHelperStart() + var yyc1934 bool + if yyl1934 == 0 { + if yyv1934 == nil { + yyv1934 = []IDRange{} + yyc1934 = true + } else if len(yyv1934) != 0 { + yyv1934 = yyv1934[:0] + yyc1934 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1934 > 0 { + var yyrr1934, yyrl1934 int + var yyrt1934 bool + if yyl1934 > cap(yyv1934) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1934 := len(yyv1934) > 0 + yyv21934 := yyv1934 + yyrl1934, yyrt1934 = z.DecInferLen(yyl1934, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1934 { + if yyrl1934 <= cap(yyv1934) { + yyv1934 = yyv1934[:yyrl1934] } else { - yyv1 = make([]IDRange, yyrl1) + yyv1934 = make([]IDRange, yyrl1934) } } else { - yyv1 = make([]IDRange, yyrl1) + yyv1934 = make([]IDRange, yyrl1934) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1934 = true + yyrr1934 = len(yyv1934) + if yyrg1934 { + copy(yyv1934, yyv21934) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1934 != len(yyv1934) { + yyv1934 = yyv1934[:yyl1934] + yyc1934 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1934 := 0 + for ; yyj1934 < yyrr1934; yyj1934++ { + yyh1934.ElemContainerState(yyj1934) if r.TryDecodeAsNil() { - yyv1[yyj1] = IDRange{} + yyv1934[yyj1934] = IDRange{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1935 := &yyv1934[yyj1934] + yyv1935.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, IDRange{}) - yyh1.ElemContainerState(yyj1) + if yyrt1934 { + for ; yyj1934 < yyl1934; yyj1934++ { + yyv1934 = append(yyv1934, IDRange{}) + yyh1934.ElemContainerState(yyj1934) if r.TryDecodeAsNil() { - yyv1[yyj1] = IDRange{} + yyv1934[yyj1934] = IDRange{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1936 := &yyv1934[yyj1934] + yyv1936.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1934 := 0 + for ; !r.CheckBreak(); yyj1934++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, IDRange{}) // var yyz1 IDRange - yyc1 = true + if yyj1934 >= len(yyv1934) { + yyv1934 = append(yyv1934, IDRange{}) // var yyz1934 IDRange + yyc1934 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1934.ElemContainerState(yyj1934) + if yyj1934 < len(yyv1934) { if r.TryDecodeAsNil() { - yyv1[yyj1] = IDRange{} + yyv1934[yyj1934] = IDRange{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1937 := &yyv1934[yyj1934] + yyv1937.CodecDecodeSelf(d) } } else { @@ -24041,17 +24006,17 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []IDRange{} - yyc1 = true + if yyj1934 < len(yyv1934) { + yyv1934 = yyv1934[:yyj1934] + yyc1934 = true + } else if yyj1934 == 0 && yyv1934 == nil { + yyv1934 = []IDRange{} + yyc1934 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1934.End() + if yyc1934 { + *v = yyv1934 } } @@ -24060,10 +24025,10 @@ func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1938 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1939 := &yyv1938 + yy1939.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24073,86 +24038,83 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PodSecurityPolicy{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1940 := *v + yyh1940, yyl1940 := z.DecSliceHelperStart() + var yyc1940 bool + if yyl1940 == 0 { + if yyv1940 == nil { + yyv1940 = []PodSecurityPolicy{} + yyc1940 = true + } else if len(yyv1940) != 0 { + yyv1940 = yyv1940[:0] + yyc1940 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1940 > 0 { + var yyrr1940, yyrl1940 int + var yyrt1940 bool + if yyl1940 > cap(yyv1940) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 536) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1940 := len(yyv1940) > 0 + yyv21940 := yyv1940 + yyrl1940, yyrt1940 = z.DecInferLen(yyl1940, z.DecBasicHandle().MaxInitLen, 536) + if yyrt1940 { + if yyrl1940 <= cap(yyv1940) { + yyv1940 = yyv1940[:yyrl1940] } else { - yyv1 = make([]PodSecurityPolicy, yyrl1) + yyv1940 = make([]PodSecurityPolicy, yyrl1940) } } else { - yyv1 = make([]PodSecurityPolicy, yyrl1) + yyv1940 = make([]PodSecurityPolicy, yyrl1940) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1940 = true + yyrr1940 = len(yyv1940) + if yyrg1940 { + copy(yyv1940, yyv21940) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1940 != len(yyv1940) { + yyv1940 = yyv1940[:yyl1940] + yyc1940 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1940 := 0 + for ; yyj1940 < yyrr1940; yyj1940++ { + yyh1940.ElemContainerState(yyj1940) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodSecurityPolicy{} + yyv1940[yyj1940] = PodSecurityPolicy{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1941 := &yyv1940[yyj1940] + yyv1941.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PodSecurityPolicy{}) - yyh1.ElemContainerState(yyj1) + if yyrt1940 { + for ; yyj1940 < yyl1940; yyj1940++ { + yyv1940 = append(yyv1940, PodSecurityPolicy{}) + yyh1940.ElemContainerState(yyj1940) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodSecurityPolicy{} + yyv1940[yyj1940] = PodSecurityPolicy{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1942 := &yyv1940[yyj1940] + yyv1942.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1940 := 0 + for ; !r.CheckBreak(); yyj1940++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PodSecurityPolicy{}) // var yyz1 PodSecurityPolicy - yyc1 = true + if yyj1940 >= len(yyv1940) { + yyv1940 = append(yyv1940, PodSecurityPolicy{}) // var yyz1940 PodSecurityPolicy + yyc1940 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1940.ElemContainerState(yyj1940) + if yyj1940 < len(yyv1940) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PodSecurityPolicy{} + yyv1940[yyj1940] = PodSecurityPolicy{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1943 := &yyv1940[yyj1940] + yyv1943.CodecDecodeSelf(d) } } else { @@ -24160,17 +24122,17 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PodSecurityPolicy{} - yyc1 = true + if yyj1940 < len(yyv1940) { + yyv1940 = yyv1940[:yyj1940] + yyc1940 = true + } else if yyj1940 == 0 && yyv1940 == nil { + yyv1940 = []PodSecurityPolicy{} + yyc1940 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1940.End() + if yyc1940 { + *v = yyv1940 } } @@ -24179,10 +24141,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1944 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1945 := &yyv1944 + yy1945.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24192,86 +24154,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NetworkPolicyIngressRule{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1946 := *v + yyh1946, yyl1946 := z.DecSliceHelperStart() + var yyc1946 bool + if yyl1946 == 0 { + if yyv1946 == nil { + yyv1946 = []NetworkPolicyIngressRule{} + yyc1946 = true + } else if len(yyv1946) != 0 { + yyv1946 = yyv1946[:0] + yyc1946 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1946 > 0 { + var yyrr1946, yyrl1946 int + var yyrt1946 bool + if yyl1946 > cap(yyv1946) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 48) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1946 := len(yyv1946) > 0 + yyv21946 := yyv1946 + yyrl1946, yyrt1946 = z.DecInferLen(yyl1946, z.DecBasicHandle().MaxInitLen, 48) + if yyrt1946 { + if yyrl1946 <= cap(yyv1946) { + yyv1946 = yyv1946[:yyrl1946] } else { - yyv1 = make([]NetworkPolicyIngressRule, yyrl1) + yyv1946 = make([]NetworkPolicyIngressRule, yyrl1946) } } else { - yyv1 = make([]NetworkPolicyIngressRule, yyrl1) + yyv1946 = make([]NetworkPolicyIngressRule, yyrl1946) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1946 = true + yyrr1946 = len(yyv1946) + if yyrg1946 { + copy(yyv1946, yyv21946) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1946 != len(yyv1946) { + yyv1946 = yyv1946[:yyl1946] + yyc1946 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1946 := 0 + for ; yyj1946 < yyrr1946; yyj1946++ { + yyh1946.ElemContainerState(yyj1946) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyIngressRule{} + yyv1946[yyj1946] = NetworkPolicyIngressRule{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1947 := &yyv1946[yyj1946] + yyv1947.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NetworkPolicyIngressRule{}) - yyh1.ElemContainerState(yyj1) + if yyrt1946 { + for ; yyj1946 < yyl1946; yyj1946++ { + yyv1946 = append(yyv1946, NetworkPolicyIngressRule{}) + yyh1946.ElemContainerState(yyj1946) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyIngressRule{} + yyv1946[yyj1946] = NetworkPolicyIngressRule{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1948 := &yyv1946[yyj1946] + yyv1948.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1946 := 0 + for ; !r.CheckBreak(); yyj1946++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NetworkPolicyIngressRule{}) // var yyz1 NetworkPolicyIngressRule - yyc1 = true + if yyj1946 >= len(yyv1946) { + yyv1946 = append(yyv1946, NetworkPolicyIngressRule{}) // var yyz1946 NetworkPolicyIngressRule + yyc1946 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1946.ElemContainerState(yyj1946) + if yyj1946 < len(yyv1946) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyIngressRule{} + yyv1946[yyj1946] = NetworkPolicyIngressRule{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1949 := &yyv1946[yyj1946] + yyv1949.CodecDecodeSelf(d) } } else { @@ -24279,17 +24238,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NetworkPolicyIngressRule{} - yyc1 = true + if yyj1946 < len(yyv1946) { + yyv1946 = yyv1946[:yyj1946] + yyc1946 = true + } else if yyj1946 == 0 && yyv1946 == nil { + yyv1946 = []NetworkPolicyIngressRule{} + yyc1946 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1946.End() + if yyc1946 { + *v = yyv1946 } } @@ -24298,10 +24257,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1950 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1951 := &yyv1950 + yy1951.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24311,86 +24270,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NetworkPolicyPort{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1952 := *v + yyh1952, yyl1952 := z.DecSliceHelperStart() + var yyc1952 bool + if yyl1952 == 0 { + if yyv1952 == nil { + yyv1952 = []NetworkPolicyPort{} + yyc1952 = true + } else if len(yyv1952) != 0 { + yyv1952 = yyv1952[:0] + yyc1952 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1952 > 0 { + var yyrr1952, yyrl1952 int + var yyrt1952 bool + if yyl1952 > cap(yyv1952) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1952 := len(yyv1952) > 0 + yyv21952 := yyv1952 + yyrl1952, yyrt1952 = z.DecInferLen(yyl1952, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1952 { + if yyrl1952 <= cap(yyv1952) { + yyv1952 = yyv1952[:yyrl1952] } else { - yyv1 = make([]NetworkPolicyPort, yyrl1) + yyv1952 = make([]NetworkPolicyPort, yyrl1952) } } else { - yyv1 = make([]NetworkPolicyPort, yyrl1) + yyv1952 = make([]NetworkPolicyPort, yyrl1952) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1952 = true + yyrr1952 = len(yyv1952) + if yyrg1952 { + copy(yyv1952, yyv21952) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1952 != len(yyv1952) { + yyv1952 = yyv1952[:yyl1952] + yyc1952 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1952 := 0 + for ; yyj1952 < yyrr1952; yyj1952++ { + yyh1952.ElemContainerState(yyj1952) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyPort{} + yyv1952[yyj1952] = NetworkPolicyPort{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1953 := &yyv1952[yyj1952] + yyv1953.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NetworkPolicyPort{}) - yyh1.ElemContainerState(yyj1) + if yyrt1952 { + for ; yyj1952 < yyl1952; yyj1952++ { + yyv1952 = append(yyv1952, NetworkPolicyPort{}) + yyh1952.ElemContainerState(yyj1952) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyPort{} + yyv1952[yyj1952] = NetworkPolicyPort{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1954 := &yyv1952[yyj1952] + yyv1954.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1952 := 0 + for ; !r.CheckBreak(); yyj1952++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NetworkPolicyPort{}) // var yyz1 NetworkPolicyPort - yyc1 = true + if yyj1952 >= len(yyv1952) { + yyv1952 = append(yyv1952, NetworkPolicyPort{}) // var yyz1952 NetworkPolicyPort + yyc1952 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1952.ElemContainerState(yyj1952) + if yyj1952 < len(yyv1952) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyPort{} + yyv1952[yyj1952] = NetworkPolicyPort{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1955 := &yyv1952[yyj1952] + yyv1955.CodecDecodeSelf(d) } } else { @@ -24398,17 +24354,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NetworkPolicyPort{} - yyc1 = true + if yyj1952 < len(yyv1952) { + yyv1952 = yyv1952[:yyj1952] + yyc1952 = true + } else if yyj1952 == 0 && yyv1952 == nil { + yyv1952 = []NetworkPolicyPort{} + yyc1952 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1952.End() + if yyc1952 { + *v = yyv1952 } } @@ -24417,10 +24373,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1956 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1957 := &yyv1956 + yy1957.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24430,86 +24386,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NetworkPolicyPeer{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1958 := *v + yyh1958, yyl1958 := z.DecSliceHelperStart() + var yyc1958 bool + if yyl1958 == 0 { + if yyv1958 == nil { + yyv1958 = []NetworkPolicyPeer{} + yyc1958 = true + } else if len(yyv1958) != 0 { + yyv1958 = yyv1958[:0] + yyc1958 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1958 > 0 { + var yyrr1958, yyrl1958 int + var yyrt1958 bool + if yyl1958 > cap(yyv1958) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1958 := len(yyv1958) > 0 + yyv21958 := yyv1958 + yyrl1958, yyrt1958 = z.DecInferLen(yyl1958, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1958 { + if yyrl1958 <= cap(yyv1958) { + yyv1958 = yyv1958[:yyrl1958] } else { - yyv1 = make([]NetworkPolicyPeer, yyrl1) + yyv1958 = make([]NetworkPolicyPeer, yyrl1958) } } else { - yyv1 = make([]NetworkPolicyPeer, yyrl1) + yyv1958 = make([]NetworkPolicyPeer, yyrl1958) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1958 = true + yyrr1958 = len(yyv1958) + if yyrg1958 { + copy(yyv1958, yyv21958) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1958 != len(yyv1958) { + yyv1958 = yyv1958[:yyl1958] + yyc1958 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1958 := 0 + for ; yyj1958 < yyrr1958; yyj1958++ { + yyh1958.ElemContainerState(yyj1958) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyPeer{} + yyv1958[yyj1958] = NetworkPolicyPeer{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1959 := &yyv1958[yyj1958] + yyv1959.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NetworkPolicyPeer{}) - yyh1.ElemContainerState(yyj1) + if yyrt1958 { + for ; yyj1958 < yyl1958; yyj1958++ { + yyv1958 = append(yyv1958, NetworkPolicyPeer{}) + yyh1958.ElemContainerState(yyj1958) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyPeer{} + yyv1958[yyj1958] = NetworkPolicyPeer{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1960 := &yyv1958[yyj1958] + yyv1960.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1958 := 0 + for ; !r.CheckBreak(); yyj1958++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NetworkPolicyPeer{}) // var yyz1 NetworkPolicyPeer - yyc1 = true + if yyj1958 >= len(yyv1958) { + yyv1958 = append(yyv1958, NetworkPolicyPeer{}) // var yyz1958 NetworkPolicyPeer + yyc1958 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1958.ElemContainerState(yyj1958) + if yyj1958 < len(yyv1958) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicyPeer{} + yyv1958[yyj1958] = NetworkPolicyPeer{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1961 := &yyv1958[yyj1958] + yyv1961.CodecDecodeSelf(d) } } else { @@ -24517,17 +24470,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NetworkPolicyPeer{} - yyc1 = true + if yyj1958 < len(yyv1958) { + yyv1958 = yyv1958[:yyj1958] + yyc1958 = true + } else if yyj1958 == 0 && yyv1958 == nil { + yyv1958 = []NetworkPolicyPeer{} + yyc1958 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1958.End() + if yyc1958 { + *v = yyv1958 } } @@ -24536,10 +24489,10 @@ func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1962 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1963 := &yyv1962 + yy1963.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24549,86 +24502,83 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []NetworkPolicy{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1964 := *v + yyh1964, yyl1964 := z.DecSliceHelperStart() + var yyc1964 bool + if yyl1964 == 0 { + if yyv1964 == nil { + yyv1964 = []NetworkPolicy{} + yyc1964 = true + } else if len(yyv1964) != 0 { + yyv1964 = yyv1964[:0] + yyc1964 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1964 > 0 { + var yyrr1964, yyrl1964 int + var yyrt1964 bool + if yyl1964 > cap(yyv1964) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 296) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1964 := len(yyv1964) > 0 + yyv21964 := yyv1964 + yyrl1964, yyrt1964 = z.DecInferLen(yyl1964, z.DecBasicHandle().MaxInitLen, 296) + if yyrt1964 { + if yyrl1964 <= cap(yyv1964) { + yyv1964 = yyv1964[:yyrl1964] } else { - yyv1 = make([]NetworkPolicy, yyrl1) + yyv1964 = make([]NetworkPolicy, yyrl1964) } } else { - yyv1 = make([]NetworkPolicy, yyrl1) + yyv1964 = make([]NetworkPolicy, yyrl1964) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1964 = true + yyrr1964 = len(yyv1964) + if yyrg1964 { + copy(yyv1964, yyv21964) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1964 != len(yyv1964) { + yyv1964 = yyv1964[:yyl1964] + yyc1964 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1964 := 0 + for ; yyj1964 < yyrr1964; yyj1964++ { + yyh1964.ElemContainerState(yyj1964) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicy{} + yyv1964[yyj1964] = NetworkPolicy{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1965 := &yyv1964[yyj1964] + yyv1965.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, NetworkPolicy{}) - yyh1.ElemContainerState(yyj1) + if yyrt1964 { + for ; yyj1964 < yyl1964; yyj1964++ { + yyv1964 = append(yyv1964, NetworkPolicy{}) + yyh1964.ElemContainerState(yyj1964) if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicy{} + yyv1964[yyj1964] = NetworkPolicy{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1966 := &yyv1964[yyj1964] + yyv1966.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1964 := 0 + for ; !r.CheckBreak(); yyj1964++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, NetworkPolicy{}) // var yyz1 NetworkPolicy - yyc1 = true + if yyj1964 >= len(yyv1964) { + yyv1964 = append(yyv1964, NetworkPolicy{}) // var yyz1964 NetworkPolicy + yyc1964 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1964.ElemContainerState(yyj1964) + if yyj1964 < len(yyv1964) { if r.TryDecodeAsNil() { - yyv1[yyj1] = NetworkPolicy{} + yyv1964[yyj1964] = NetworkPolicy{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1967 := &yyv1964[yyj1964] + yyv1967.CodecDecodeSelf(d) } } else { @@ -24636,17 +24586,17 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []NetworkPolicy{} - yyc1 = true + if yyj1964 < len(yyv1964) { + yyv1964 = yyv1964[:yyj1964] + yyc1964 = true + } else if yyj1964 == 0 && yyv1964 == nil { + yyv1964 = []NetworkPolicy{} + yyc1964 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1964.End() + if yyc1964 { + *v = yyv1964 } } @@ -24655,10 +24605,10 @@ func (x codecSelfer1234) encSliceStorageClass(v []StorageClass, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv1968 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy1969 := &yyv1968 + yy1969.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24668,86 +24618,83 @@ func (x codecSelfer1234) decSliceStorageClass(v *[]StorageClass, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []StorageClass{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv1970 := *v + yyh1970, yyl1970 := z.DecSliceHelperStart() + var yyc1970 bool + if yyl1970 == 0 { + if yyv1970 == nil { + yyv1970 = []StorageClass{} + yyc1970 = true + } else if len(yyv1970) != 0 { + yyv1970 = yyv1970[:0] + yyc1970 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl1970 > 0 { + var yyrr1970, yyrl1970 int + var yyrt1970 bool + if yyl1970 > cap(yyv1970) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 264) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg1970 := len(yyv1970) > 0 + yyv21970 := yyv1970 + yyrl1970, yyrt1970 = z.DecInferLen(yyl1970, z.DecBasicHandle().MaxInitLen, 264) + if yyrt1970 { + if yyrl1970 <= cap(yyv1970) { + yyv1970 = yyv1970[:yyrl1970] } else { - yyv1 = make([]StorageClass, yyrl1) + yyv1970 = make([]StorageClass, yyrl1970) } } else { - yyv1 = make([]StorageClass, yyrl1) + yyv1970 = make([]StorageClass, yyrl1970) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc1970 = true + yyrr1970 = len(yyv1970) + if yyrg1970 { + copy(yyv1970, yyv21970) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl1970 != len(yyv1970) { + yyv1970 = yyv1970[:yyl1970] + yyc1970 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj1970 := 0 + for ; yyj1970 < yyrr1970; yyj1970++ { + yyh1970.ElemContainerState(yyj1970) if r.TryDecodeAsNil() { - yyv1[yyj1] = StorageClass{} + yyv1970[yyj1970] = StorageClass{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv1971 := &yyv1970[yyj1970] + yyv1971.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, StorageClass{}) - yyh1.ElemContainerState(yyj1) + if yyrt1970 { + for ; yyj1970 < yyl1970; yyj1970++ { + yyv1970 = append(yyv1970, StorageClass{}) + yyh1970.ElemContainerState(yyj1970) if r.TryDecodeAsNil() { - yyv1[yyj1] = StorageClass{} + yyv1970[yyj1970] = StorageClass{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv1972 := &yyv1970[yyj1970] + yyv1972.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj1970 := 0 + for ; !r.CheckBreak(); yyj1970++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, StorageClass{}) // var yyz1 StorageClass - yyc1 = true + if yyj1970 >= len(yyv1970) { + yyv1970 = append(yyv1970, StorageClass{}) // var yyz1970 StorageClass + yyc1970 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh1970.ElemContainerState(yyj1970) + if yyj1970 < len(yyv1970) { if r.TryDecodeAsNil() { - yyv1[yyj1] = StorageClass{} + yyv1970[yyj1970] = StorageClass{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv1973 := &yyv1970[yyj1970] + yyv1973.CodecDecodeSelf(d) } } else { @@ -24755,16 +24702,16 @@ func (x codecSelfer1234) decSliceStorageClass(v *[]StorageClass, d *codec1978.De } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []StorageClass{} - yyc1 = true + if yyj1970 < len(yyv1970) { + yyv1970 = yyv1970[:yyj1970] + yyc1970 = true + } else if yyj1970 == 0 && yyv1970 == nil { + yyv1970 = []StorageClass{} + yyc1970 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh1970.End() + if yyc1970 { + *v = yyv1970 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/zz_generated.conversion.go index ef28a2a13e1..66db48613fc 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/zz_generated.conversion.go @@ -28,10 +28,17 @@ import ( batch "k8s.io/client-go/1.4/pkg/apis/batch" extensions "k8s.io/client-go/1.4/pkg/apis/extensions" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1beta1_APIVersion_To_extensions_APIVersion, Convert_extensions_APIVersion_To_v1beta1_APIVersion, Convert_v1beta1_CustomMetricCurrentStatus_To_extensions_CustomMetricCurrentStatus, @@ -170,10 +177,7 @@ func init() { Convert_extensions_ThirdPartyResourceDataList_To_v1beta1_ThirdPartyResourceDataList, Convert_v1beta1_ThirdPartyResourceList_To_extensions_ThirdPartyResourceList, Convert_extensions_ThirdPartyResourceList_To_v1beta1_ThirdPartyResourceList, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1beta1_APIVersion_To_extensions_APIVersion(in *APIVersion, out *extensions.APIVersion, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go index d5fa9a3b520..8f7f2263481 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go @@ -21,91 +21,94 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.4/pkg/api" unversioned "k8s.io/client-go/1.4/pkg/api/unversioned" v1 "k8s.io/client-go/1.4/pkg/api/v1" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" intstr "k8s.io/client-go/1.4/pkg/util/intstr" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_APIVersion, InType: reflect.TypeOf(func() *APIVersion { var x *APIVersion; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_CPUTargetUtilization, InType: reflect.TypeOf(func() *CPUTargetUtilization { var x *CPUTargetUtilization; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_CustomMetricCurrentStatus, InType: reflect.TypeOf(func() *CustomMetricCurrentStatus { var x *CustomMetricCurrentStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_CustomMetricCurrentStatusList, InType: reflect.TypeOf(func() *CustomMetricCurrentStatusList { var x *CustomMetricCurrentStatusList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_CustomMetricTarget, InType: reflect.TypeOf(func() *CustomMetricTarget { var x *CustomMetricTarget; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_CustomMetricTargetList, InType: reflect.TypeOf(func() *CustomMetricTargetList { var x *CustomMetricTargetList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DaemonSet, InType: reflect.TypeOf(func() *DaemonSet { var x *DaemonSet; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DaemonSetList, InType: reflect.TypeOf(func() *DaemonSetList { var x *DaemonSetList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DaemonSetSpec, InType: reflect.TypeOf(func() *DaemonSetSpec { var x *DaemonSetSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DaemonSetStatus, InType: reflect.TypeOf(func() *DaemonSetStatus { var x *DaemonSetStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Deployment, InType: reflect.TypeOf(func() *Deployment { var x *Deployment; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentList, InType: reflect.TypeOf(func() *DeploymentList { var x *DeploymentList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentRollback, InType: reflect.TypeOf(func() *DeploymentRollback { var x *DeploymentRollback; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentSpec, InType: reflect.TypeOf(func() *DeploymentSpec { var x *DeploymentSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentStatus, InType: reflect.TypeOf(func() *DeploymentStatus { var x *DeploymentStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentStrategy, InType: reflect.TypeOf(func() *DeploymentStrategy { var x *DeploymentStrategy; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ExportOptions, InType: reflect.TypeOf(func() *ExportOptions { var x *ExportOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_FSGroupStrategyOptions, InType: reflect.TypeOf(func() *FSGroupStrategyOptions { var x *FSGroupStrategyOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_HTTPIngressPath, InType: reflect.TypeOf(func() *HTTPIngressPath { var x *HTTPIngressPath; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_HTTPIngressRuleValue, InType: reflect.TypeOf(func() *HTTPIngressRuleValue { var x *HTTPIngressRuleValue; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_HorizontalPodAutoscaler, InType: reflect.TypeOf(func() *HorizontalPodAutoscaler { var x *HorizontalPodAutoscaler; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_HorizontalPodAutoscalerList, InType: reflect.TypeOf(func() *HorizontalPodAutoscalerList { var x *HorizontalPodAutoscalerList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_HorizontalPodAutoscalerSpec, InType: reflect.TypeOf(func() *HorizontalPodAutoscalerSpec { var x *HorizontalPodAutoscalerSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_HorizontalPodAutoscalerStatus, InType: reflect.TypeOf(func() *HorizontalPodAutoscalerStatus { var x *HorizontalPodAutoscalerStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_HostPortRange, InType: reflect.TypeOf(func() *HostPortRange { var x *HostPortRange; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IDRange, InType: reflect.TypeOf(func() *IDRange { var x *IDRange; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Ingress, InType: reflect.TypeOf(func() *Ingress { var x *Ingress; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IngressBackend, InType: reflect.TypeOf(func() *IngressBackend { var x *IngressBackend; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IngressList, InType: reflect.TypeOf(func() *IngressList { var x *IngressList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IngressRule, InType: reflect.TypeOf(func() *IngressRule { var x *IngressRule; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IngressRuleValue, InType: reflect.TypeOf(func() *IngressRuleValue { var x *IngressRuleValue; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IngressSpec, InType: reflect.TypeOf(func() *IngressSpec { var x *IngressSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IngressStatus, InType: reflect.TypeOf(func() *IngressStatus { var x *IngressStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IngressTLS, InType: reflect.TypeOf(func() *IngressTLS { var x *IngressTLS; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Job, InType: reflect.TypeOf(func() *Job { var x *Job; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_JobCondition, InType: reflect.TypeOf(func() *JobCondition { var x *JobCondition; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_JobList, InType: reflect.TypeOf(func() *JobList { var x *JobList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_JobSpec, InType: reflect.TypeOf(func() *JobSpec { var x *JobSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_JobStatus, InType: reflect.TypeOf(func() *JobStatus { var x *JobStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_LabelSelector, InType: reflect.TypeOf(func() *LabelSelector { var x *LabelSelector; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_LabelSelectorRequirement, InType: reflect.TypeOf(func() *LabelSelectorRequirement { var x *LabelSelectorRequirement; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ListOptions, InType: reflect.TypeOf(func() *ListOptions { var x *ListOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicy, InType: reflect.TypeOf(func() *NetworkPolicy { var x *NetworkPolicy; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicyIngressRule, InType: reflect.TypeOf(func() *NetworkPolicyIngressRule { var x *NetworkPolicyIngressRule; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicyList, InType: reflect.TypeOf(func() *NetworkPolicyList { var x *NetworkPolicyList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicyPeer, InType: reflect.TypeOf(func() *NetworkPolicyPeer { var x *NetworkPolicyPeer; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicyPort, InType: reflect.TypeOf(func() *NetworkPolicyPort { var x *NetworkPolicyPort; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicySpec, InType: reflect.TypeOf(func() *NetworkPolicySpec { var x *NetworkPolicySpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_PodSecurityPolicy, InType: reflect.TypeOf(func() *PodSecurityPolicy { var x *PodSecurityPolicy; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_PodSecurityPolicyList, InType: reflect.TypeOf(func() *PodSecurityPolicyList { var x *PodSecurityPolicyList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_PodSecurityPolicySpec, InType: reflect.TypeOf(func() *PodSecurityPolicySpec { var x *PodSecurityPolicySpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ReplicaSet, InType: reflect.TypeOf(func() *ReplicaSet { var x *ReplicaSet; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ReplicaSetList, InType: reflect.TypeOf(func() *ReplicaSetList { var x *ReplicaSetList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ReplicaSetSpec, InType: reflect.TypeOf(func() *ReplicaSetSpec { var x *ReplicaSetSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ReplicaSetStatus, InType: reflect.TypeOf(func() *ReplicaSetStatus { var x *ReplicaSetStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ReplicationControllerDummy, InType: reflect.TypeOf(func() *ReplicationControllerDummy { var x *ReplicationControllerDummy; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_RollbackConfig, InType: reflect.TypeOf(func() *RollbackConfig { var x *RollbackConfig; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_RollingUpdateDeployment, InType: reflect.TypeOf(func() *RollingUpdateDeployment { var x *RollingUpdateDeployment; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_RunAsUserStrategyOptions, InType: reflect.TypeOf(func() *RunAsUserStrategyOptions { var x *RunAsUserStrategyOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SELinuxStrategyOptions, InType: reflect.TypeOf(func() *SELinuxStrategyOptions { var x *SELinuxStrategyOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Scale, InType: reflect.TypeOf(func() *Scale { var x *Scale; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ScaleSpec, InType: reflect.TypeOf(func() *ScaleSpec { var x *ScaleSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ScaleStatus, InType: reflect.TypeOf(func() *ScaleStatus { var x *ScaleStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_StorageClass, InType: reflect.TypeOf(func() *StorageClass { var x *StorageClass; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_StorageClassList, InType: reflect.TypeOf(func() *StorageClassList { var x *StorageClassList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SubresourceReference, InType: reflect.TypeOf(func() *SubresourceReference { var x *SubresourceReference; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SupplementalGroupsStrategyOptions, InType: reflect.TypeOf(func() *SupplementalGroupsStrategyOptions { var x *SupplementalGroupsStrategyOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ThirdPartyResource, InType: reflect.TypeOf(func() *ThirdPartyResource { var x *ThirdPartyResource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ThirdPartyResourceData, InType: reflect.TypeOf(func() *ThirdPartyResourceData { var x *ThirdPartyResourceData; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ThirdPartyResourceDataList, InType: reflect.TypeOf(func() *ThirdPartyResourceDataList { var x *ThirdPartyResourceDataList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ThirdPartyResourceList, InType: reflect.TypeOf(func() *ThirdPartyResourceList { var x *ThirdPartyResourceList; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_APIVersion, InType: reflect.TypeOf(&APIVersion{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_CPUTargetUtilization, InType: reflect.TypeOf(&CPUTargetUtilization{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_CustomMetricCurrentStatus, InType: reflect.TypeOf(&CustomMetricCurrentStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_CustomMetricCurrentStatusList, InType: reflect.TypeOf(&CustomMetricCurrentStatusList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_CustomMetricTarget, InType: reflect.TypeOf(&CustomMetricTarget{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_CustomMetricTargetList, InType: reflect.TypeOf(&CustomMetricTargetList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DaemonSet, InType: reflect.TypeOf(&DaemonSet{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DaemonSetList, InType: reflect.TypeOf(&DaemonSetList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DaemonSetSpec, InType: reflect.TypeOf(&DaemonSetSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DaemonSetStatus, InType: reflect.TypeOf(&DaemonSetStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Deployment, InType: reflect.TypeOf(&Deployment{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentList, InType: reflect.TypeOf(&DeploymentList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentRollback, InType: reflect.TypeOf(&DeploymentRollback{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentSpec, InType: reflect.TypeOf(&DeploymentSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentStatus, InType: reflect.TypeOf(&DeploymentStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_DeploymentStrategy, InType: reflect.TypeOf(&DeploymentStrategy{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ExportOptions, InType: reflect.TypeOf(&ExportOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_FSGroupStrategyOptions, InType: reflect.TypeOf(&FSGroupStrategyOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_HTTPIngressPath, InType: reflect.TypeOf(&HTTPIngressPath{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_HTTPIngressRuleValue, InType: reflect.TypeOf(&HTTPIngressRuleValue{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_HorizontalPodAutoscaler, InType: reflect.TypeOf(&HorizontalPodAutoscaler{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_HorizontalPodAutoscalerList, InType: reflect.TypeOf(&HorizontalPodAutoscalerList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_HorizontalPodAutoscalerSpec, InType: reflect.TypeOf(&HorizontalPodAutoscalerSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_HorizontalPodAutoscalerStatus, InType: reflect.TypeOf(&HorizontalPodAutoscalerStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_HostPortRange, InType: reflect.TypeOf(&HostPortRange{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IDRange, InType: reflect.TypeOf(&IDRange{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Ingress, InType: reflect.TypeOf(&Ingress{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IngressBackend, InType: reflect.TypeOf(&IngressBackend{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IngressList, InType: reflect.TypeOf(&IngressList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IngressRule, InType: reflect.TypeOf(&IngressRule{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IngressRuleValue, InType: reflect.TypeOf(&IngressRuleValue{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IngressSpec, InType: reflect.TypeOf(&IngressSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IngressStatus, InType: reflect.TypeOf(&IngressStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_IngressTLS, InType: reflect.TypeOf(&IngressTLS{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Job, InType: reflect.TypeOf(&Job{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_JobCondition, InType: reflect.TypeOf(&JobCondition{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_JobList, InType: reflect.TypeOf(&JobList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_JobSpec, InType: reflect.TypeOf(&JobSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_JobStatus, InType: reflect.TypeOf(&JobStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_LabelSelector, InType: reflect.TypeOf(&LabelSelector{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_LabelSelectorRequirement, InType: reflect.TypeOf(&LabelSelectorRequirement{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ListOptions, InType: reflect.TypeOf(&ListOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicy, InType: reflect.TypeOf(&NetworkPolicy{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicyIngressRule, InType: reflect.TypeOf(&NetworkPolicyIngressRule{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicyList, InType: reflect.TypeOf(&NetworkPolicyList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicyPeer, InType: reflect.TypeOf(&NetworkPolicyPeer{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicyPort, InType: reflect.TypeOf(&NetworkPolicyPort{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_NetworkPolicySpec, InType: reflect.TypeOf(&NetworkPolicySpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_PodSecurityPolicy, InType: reflect.TypeOf(&PodSecurityPolicy{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_PodSecurityPolicyList, InType: reflect.TypeOf(&PodSecurityPolicyList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_PodSecurityPolicySpec, InType: reflect.TypeOf(&PodSecurityPolicySpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ReplicaSet, InType: reflect.TypeOf(&ReplicaSet{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ReplicaSetList, InType: reflect.TypeOf(&ReplicaSetList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ReplicaSetSpec, InType: reflect.TypeOf(&ReplicaSetSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ReplicaSetStatus, InType: reflect.TypeOf(&ReplicaSetStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ReplicationControllerDummy, InType: reflect.TypeOf(&ReplicationControllerDummy{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_RollbackConfig, InType: reflect.TypeOf(&RollbackConfig{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_RollingUpdateDeployment, InType: reflect.TypeOf(&RollingUpdateDeployment{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_RunAsUserStrategyOptions, InType: reflect.TypeOf(&RunAsUserStrategyOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SELinuxStrategyOptions, InType: reflect.TypeOf(&SELinuxStrategyOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Scale, InType: reflect.TypeOf(&Scale{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ScaleSpec, InType: reflect.TypeOf(&ScaleSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ScaleStatus, InType: reflect.TypeOf(&ScaleStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_StorageClass, InType: reflect.TypeOf(&StorageClass{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_StorageClassList, InType: reflect.TypeOf(&StorageClassList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SubresourceReference, InType: reflect.TypeOf(&SubresourceReference{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_SupplementalGroupsStrategyOptions, InType: reflect.TypeOf(&SupplementalGroupsStrategyOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ThirdPartyResource, InType: reflect.TypeOf(&ThirdPartyResource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ThirdPartyResourceData, InType: reflect.TypeOf(&ThirdPartyResourceData{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ThirdPartyResourceDataList, InType: reflect.TypeOf(&ThirdPartyResourceDataList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ThirdPartyResourceList, InType: reflect.TypeOf(&ThirdPartyResourceList{})}, + ) } func DeepCopy_v1beta1_APIVersion(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/zz_generated.deepcopy.go index 96daf5ee6cc..d7d19f8ea7a 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/extensions/zz_generated.deepcopy.go @@ -24,72 +24,76 @@ import ( api "k8s.io/client-go/1.4/pkg/api" unversioned "k8s.io/client-go/1.4/pkg/api/unversioned" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" intstr "k8s.io/client-go/1.4/pkg/util/intstr" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_APIVersion, InType: reflect.TypeOf(func() *APIVersion { var x *APIVersion; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_CustomMetricCurrentStatus, InType: reflect.TypeOf(func() *CustomMetricCurrentStatus { var x *CustomMetricCurrentStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_CustomMetricCurrentStatusList, InType: reflect.TypeOf(func() *CustomMetricCurrentStatusList { var x *CustomMetricCurrentStatusList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_CustomMetricTarget, InType: reflect.TypeOf(func() *CustomMetricTarget { var x *CustomMetricTarget; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_CustomMetricTargetList, InType: reflect.TypeOf(func() *CustomMetricTargetList { var x *CustomMetricTargetList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSet, InType: reflect.TypeOf(func() *DaemonSet { var x *DaemonSet; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSetList, InType: reflect.TypeOf(func() *DaemonSetList { var x *DaemonSetList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSetSpec, InType: reflect.TypeOf(func() *DaemonSetSpec { var x *DaemonSetSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSetStatus, InType: reflect.TypeOf(func() *DaemonSetStatus { var x *DaemonSetStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_Deployment, InType: reflect.TypeOf(func() *Deployment { var x *Deployment; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentList, InType: reflect.TypeOf(func() *DeploymentList { var x *DeploymentList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentRollback, InType: reflect.TypeOf(func() *DeploymentRollback { var x *DeploymentRollback; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentSpec, InType: reflect.TypeOf(func() *DeploymentSpec { var x *DeploymentSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentStatus, InType: reflect.TypeOf(func() *DeploymentStatus { var x *DeploymentStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentStrategy, InType: reflect.TypeOf(func() *DeploymentStrategy { var x *DeploymentStrategy; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_FSGroupStrategyOptions, InType: reflect.TypeOf(func() *FSGroupStrategyOptions { var x *FSGroupStrategyOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_HTTPIngressPath, InType: reflect.TypeOf(func() *HTTPIngressPath { var x *HTTPIngressPath; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_HTTPIngressRuleValue, InType: reflect.TypeOf(func() *HTTPIngressRuleValue { var x *HTTPIngressRuleValue; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_HostPortRange, InType: reflect.TypeOf(func() *HostPortRange { var x *HostPortRange; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IDRange, InType: reflect.TypeOf(func() *IDRange { var x *IDRange; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_Ingress, InType: reflect.TypeOf(func() *Ingress { var x *Ingress; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressBackend, InType: reflect.TypeOf(func() *IngressBackend { var x *IngressBackend; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressList, InType: reflect.TypeOf(func() *IngressList { var x *IngressList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressRule, InType: reflect.TypeOf(func() *IngressRule { var x *IngressRule; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressRuleValue, InType: reflect.TypeOf(func() *IngressRuleValue { var x *IngressRuleValue; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressSpec, InType: reflect.TypeOf(func() *IngressSpec { var x *IngressSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressStatus, InType: reflect.TypeOf(func() *IngressStatus { var x *IngressStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressTLS, InType: reflect.TypeOf(func() *IngressTLS { var x *IngressTLS; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicy, InType: reflect.TypeOf(func() *NetworkPolicy { var x *NetworkPolicy; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicyIngressRule, InType: reflect.TypeOf(func() *NetworkPolicyIngressRule { var x *NetworkPolicyIngressRule; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicyList, InType: reflect.TypeOf(func() *NetworkPolicyList { var x *NetworkPolicyList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicyPeer, InType: reflect.TypeOf(func() *NetworkPolicyPeer { var x *NetworkPolicyPeer; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicyPort, InType: reflect.TypeOf(func() *NetworkPolicyPort { var x *NetworkPolicyPort; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicySpec, InType: reflect.TypeOf(func() *NetworkPolicySpec { var x *NetworkPolicySpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_PodSecurityPolicy, InType: reflect.TypeOf(func() *PodSecurityPolicy { var x *PodSecurityPolicy; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_PodSecurityPolicyList, InType: reflect.TypeOf(func() *PodSecurityPolicyList { var x *PodSecurityPolicyList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_PodSecurityPolicySpec, InType: reflect.TypeOf(func() *PodSecurityPolicySpec { var x *PodSecurityPolicySpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSet, InType: reflect.TypeOf(func() *ReplicaSet { var x *ReplicaSet; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSetList, InType: reflect.TypeOf(func() *ReplicaSetList { var x *ReplicaSetList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSetSpec, InType: reflect.TypeOf(func() *ReplicaSetSpec { var x *ReplicaSetSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSetStatus, InType: reflect.TypeOf(func() *ReplicaSetStatus { var x *ReplicaSetStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicationControllerDummy, InType: reflect.TypeOf(func() *ReplicationControllerDummy { var x *ReplicationControllerDummy; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_RollbackConfig, InType: reflect.TypeOf(func() *RollbackConfig { var x *RollbackConfig; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_RollingUpdateDeployment, InType: reflect.TypeOf(func() *RollingUpdateDeployment { var x *RollingUpdateDeployment; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_RunAsUserStrategyOptions, InType: reflect.TypeOf(func() *RunAsUserStrategyOptions { var x *RunAsUserStrategyOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_SELinuxStrategyOptions, InType: reflect.TypeOf(func() *SELinuxStrategyOptions { var x *SELinuxStrategyOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_Scale, InType: reflect.TypeOf(func() *Scale { var x *Scale; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ScaleSpec, InType: reflect.TypeOf(func() *ScaleSpec { var x *ScaleSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ScaleStatus, InType: reflect.TypeOf(func() *ScaleStatus { var x *ScaleStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_StorageClass, InType: reflect.TypeOf(func() *StorageClass { var x *StorageClass; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_StorageClassList, InType: reflect.TypeOf(func() *StorageClassList { var x *StorageClassList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_SupplementalGroupsStrategyOptions, InType: reflect.TypeOf(func() *SupplementalGroupsStrategyOptions { var x *SupplementalGroupsStrategyOptions; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResource, InType: reflect.TypeOf(func() *ThirdPartyResource { var x *ThirdPartyResource; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResourceData, InType: reflect.TypeOf(func() *ThirdPartyResourceData { var x *ThirdPartyResourceData; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResourceDataList, InType: reflect.TypeOf(func() *ThirdPartyResourceDataList { var x *ThirdPartyResourceDataList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResourceList, InType: reflect.TypeOf(func() *ThirdPartyResourceList { var x *ThirdPartyResourceList; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_APIVersion, InType: reflect.TypeOf(&APIVersion{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_CustomMetricCurrentStatus, InType: reflect.TypeOf(&CustomMetricCurrentStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_CustomMetricCurrentStatusList, InType: reflect.TypeOf(&CustomMetricCurrentStatusList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_CustomMetricTarget, InType: reflect.TypeOf(&CustomMetricTarget{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_CustomMetricTargetList, InType: reflect.TypeOf(&CustomMetricTargetList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSet, InType: reflect.TypeOf(&DaemonSet{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSetList, InType: reflect.TypeOf(&DaemonSetList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSetSpec, InType: reflect.TypeOf(&DaemonSetSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DaemonSetStatus, InType: reflect.TypeOf(&DaemonSetStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_Deployment, InType: reflect.TypeOf(&Deployment{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentList, InType: reflect.TypeOf(&DeploymentList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentRollback, InType: reflect.TypeOf(&DeploymentRollback{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentSpec, InType: reflect.TypeOf(&DeploymentSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentStatus, InType: reflect.TypeOf(&DeploymentStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_DeploymentStrategy, InType: reflect.TypeOf(&DeploymentStrategy{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_FSGroupStrategyOptions, InType: reflect.TypeOf(&FSGroupStrategyOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_HTTPIngressPath, InType: reflect.TypeOf(&HTTPIngressPath{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_HTTPIngressRuleValue, InType: reflect.TypeOf(&HTTPIngressRuleValue{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_HostPortRange, InType: reflect.TypeOf(&HostPortRange{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IDRange, InType: reflect.TypeOf(&IDRange{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_Ingress, InType: reflect.TypeOf(&Ingress{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressBackend, InType: reflect.TypeOf(&IngressBackend{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressList, InType: reflect.TypeOf(&IngressList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressRule, InType: reflect.TypeOf(&IngressRule{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressRuleValue, InType: reflect.TypeOf(&IngressRuleValue{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressSpec, InType: reflect.TypeOf(&IngressSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressStatus, InType: reflect.TypeOf(&IngressStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_IngressTLS, InType: reflect.TypeOf(&IngressTLS{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicy, InType: reflect.TypeOf(&NetworkPolicy{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicyIngressRule, InType: reflect.TypeOf(&NetworkPolicyIngressRule{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicyList, InType: reflect.TypeOf(&NetworkPolicyList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicyPeer, InType: reflect.TypeOf(&NetworkPolicyPeer{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicyPort, InType: reflect.TypeOf(&NetworkPolicyPort{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_NetworkPolicySpec, InType: reflect.TypeOf(&NetworkPolicySpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_PodSecurityPolicy, InType: reflect.TypeOf(&PodSecurityPolicy{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_PodSecurityPolicyList, InType: reflect.TypeOf(&PodSecurityPolicyList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_PodSecurityPolicySpec, InType: reflect.TypeOf(&PodSecurityPolicySpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSet, InType: reflect.TypeOf(&ReplicaSet{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSetList, InType: reflect.TypeOf(&ReplicaSetList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSetSpec, InType: reflect.TypeOf(&ReplicaSetSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSetStatus, InType: reflect.TypeOf(&ReplicaSetStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicationControllerDummy, InType: reflect.TypeOf(&ReplicationControllerDummy{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_RollbackConfig, InType: reflect.TypeOf(&RollbackConfig{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_RollingUpdateDeployment, InType: reflect.TypeOf(&RollingUpdateDeployment{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_RunAsUserStrategyOptions, InType: reflect.TypeOf(&RunAsUserStrategyOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_SELinuxStrategyOptions, InType: reflect.TypeOf(&SELinuxStrategyOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_Scale, InType: reflect.TypeOf(&Scale{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ScaleSpec, InType: reflect.TypeOf(&ScaleSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ScaleStatus, InType: reflect.TypeOf(&ScaleStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_StorageClass, InType: reflect.TypeOf(&StorageClass{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_StorageClassList, InType: reflect.TypeOf(&StorageClassList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_SupplementalGroupsStrategyOptions, InType: reflect.TypeOf(&SupplementalGroupsStrategyOptions{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResource, InType: reflect.TypeOf(&ThirdPartyResource{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResourceData, InType: reflect.TypeOf(&ThirdPartyResourceData{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResourceDataList, InType: reflect.TypeOf(&ThirdPartyResourceDataList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ThirdPartyResourceList, InType: reflect.TypeOf(&ThirdPartyResourceList{})}, + ) } func DeepCopy_extensions_APIVersion(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/install/install.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/install/install.go index 55663e7d7d0..9c10b5f0733 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/install/install.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/install/install.go @@ -114,7 +114,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - policy.AddToScheme(api.Scheme) + if err := policy.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -123,7 +126,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1alpha1.SchemeGroupVersion: - v1alpha1.AddToScheme(api.Scheme) + if err := v1alpha1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/register.go index 29d2c14901a..d78b47ae617 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/register.go @@ -37,16 +37,17 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { // TODO this gets cleaned up when the types are fixed scheme.AddKnownTypes(SchemeGroupVersion, &PodDisruptionBudget{}, &PodDisruptionBudgetList{}, ) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/types.generated.go index 234e25af21d..8b108a625ba 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/types.generated.go @@ -186,25 +186,25 @@ func (x *PodDisruptionBudgetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym11 := z.DecBinary() + _ = yym11 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct12 := r.ContainerType() + if yyct12 == codecSelferValueTypeMap1234 { + yyl12 := r.ReadMapStart() + if yyl12 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl12, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct12 == codecSelferValueTypeArray1234 { + yyl12 := r.ReadArrayStart() + if yyl12 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl12, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -216,12 +216,12 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys13Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys13Slc + var yyhl13 bool = l >= 0 + for yyj13 := 0; ; yyj13++ { + if yyhl13 { + if yyj13 >= l { break } } else { @@ -230,23 +230,23 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys13Slc = r.DecodeBytes(yys13Slc, true, true) + yys13 := string(yys13Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys13 { case "minAvailable": if r.TryDecodeAsNil() { x.MinAvailable = pkg1_intstr.IntOrString{} } else { - yyv4 := &x.MinAvailable - yym5 := z.DecBinary() - _ = yym5 + yyv14 := &x.MinAvailable + yym15 := z.DecBinary() + _ = yym15 if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else if !yym5 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4) + } else if z.HasExtensions() && z.DecExt(yyv14) { + } else if !yym15 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv14) } else { - z.DecFallback(yyv4, false) + z.DecFallback(yyv14, false) } } case "selector": @@ -258,8 +258,8 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.Selector == nil { x.Selector = new(pkg2_unversioned.LabelSelector) } - yym7 := z.DecBinary() - _ = yym7 + yym17 := z.DecBinary() + _ = yym17 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -267,9 +267,9 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys13) + } // end switch yys13 + } // end for yyj13 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -277,16 +277,16 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj18 int + var yyb18 bool + var yyhl18 bool = l >= 0 + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb8 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb8 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -294,24 +294,24 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.MinAvailable = pkg1_intstr.IntOrString{} } else { - yyv9 := &x.MinAvailable - yym10 := z.DecBinary() - _ = yym10 + yyv19 := &x.MinAvailable + yym20 := z.DecBinary() + _ = yym20 if false { - } else if z.HasExtensions() && z.DecExt(yyv9) { - } else if !yym10 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv9) + } else if z.HasExtensions() && z.DecExt(yyv19) { + } else if !yym20 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv19) } else { - z.DecFallback(yyv9, false) + z.DecFallback(yyv19, false) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb8 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb8 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -324,8 +324,8 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromArray(l int, d *codec1978.D if x.Selector == nil { x.Selector = new(pkg2_unversioned.LabelSelector) } - yym12 := z.DecBinary() - _ = yym12 + yym22 := z.DecBinary() + _ = yym22 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -333,17 +333,17 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromArray(l int, d *codec1978.D } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb8 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb8 { + if yyb18 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj18-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -355,33 +355,33 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym23 := z.EncBinary() + _ = yym23 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep24 := !z.EncBinary() + yy2arr24 := z.EncBasicHandle().StructToArray + var yyq24 [4]bool + _, _, _ = yysep24, yyq24, yy2arr24 + const yyr24 bool = false + var yynn24 int + if yyr24 || yy2arr24 { r.EncodeArrayStart(4) } else { - yynn2 = 4 - for _, b := range yyq2 { + yynn24 = 4 + for _, b := range yyq24 { if b { - yynn2++ + yynn24++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn24) + yynn24 = 0 } - if yyr2 || yy2arr2 { + if yyr24 || yy2arr24 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym26 := z.EncBinary() + _ = yym26 if false { } else { r.EncodeBool(bool(x.PodDisruptionAllowed)) @@ -390,17 +390,17 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("disruptionAllowed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym27 := z.EncBinary() + _ = yym27 if false { } else { r.EncodeBool(bool(x.PodDisruptionAllowed)) } } - if yyr2 || yy2arr2 { + if yyr24 || yy2arr24 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym29 := z.EncBinary() + _ = yym29 if false { } else { r.EncodeInt(int64(x.CurrentHealthy)) @@ -409,17 +409,17 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentHealthy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym30 := z.EncBinary() + _ = yym30 if false { } else { r.EncodeInt(int64(x.CurrentHealthy)) } } - if yyr2 || yy2arr2 { + if yyr24 || yy2arr24 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym32 := z.EncBinary() + _ = yym32 if false { } else { r.EncodeInt(int64(x.DesiredHealthy)) @@ -428,17 +428,17 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredHealthy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym33 := z.EncBinary() + _ = yym33 if false { } else { r.EncodeInt(int64(x.DesiredHealthy)) } } - if yyr2 || yy2arr2 { + if yyr24 || yy2arr24 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 + yym35 := z.EncBinary() + _ = yym35 if false { } else { r.EncodeInt(int64(x.ExpectedPods)) @@ -447,14 +447,14 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("expectedPods")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym36 := z.EncBinary() + _ = yym36 if false { } else { r.EncodeInt(int64(x.ExpectedPods)) } } - if yyr2 || yy2arr2 { + if yyr24 || yy2arr24 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -467,25 +467,25 @@ func (x *PodDisruptionBudgetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym37 := z.DecBinary() + _ = yym37 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct38 := r.ContainerType() + if yyct38 == codecSelferValueTypeMap1234 { + yyl38 := r.ReadMapStart() + if yyl38 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl38, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct38 == codecSelferValueTypeArray1234 { + yyl38 := r.ReadArrayStart() + if yyl38 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl38, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -497,12 +497,12 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys39Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys39Slc + var yyhl39 bool = l >= 0 + for yyj39 := 0; ; yyj39++ { + if yyhl39 { + if yyj39 >= l { break } } else { @@ -511,10 +511,10 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys39Slc = r.DecodeBytes(yys39Slc, true, true) + yys39 := string(yys39Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys39 { case "disruptionAllowed": if r.TryDecodeAsNil() { x.PodDisruptionAllowed = false @@ -540,9 +540,9 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromMap(l int, d *codec1978.D x.ExpectedPods = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys39) + } // end switch yys39 + } // end for yyj39 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -550,16 +550,16 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj44 int + var yyb44 bool + var yyhl44 bool = l >= 0 + yyj44++ + if yyhl44 { + yyb44 = yyj44 > l } else { - yyb8 = r.CheckBreak() + yyb44 = r.CheckBreak() } - if yyb8 { + if yyb44 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -569,13 +569,13 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.PodDisruptionAllowed = bool(r.DecodeBool()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj44++ + if yyhl44 { + yyb44 = yyj44 > l } else { - yyb8 = r.CheckBreak() + yyb44 = r.CheckBreak() } - if yyb8 { + if yyb44 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -585,13 +585,13 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.CurrentHealthy = int32(r.DecodeInt(32)) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj44++ + if yyhl44 { + yyb44 = yyj44 > l } else { - yyb8 = r.CheckBreak() + yyb44 = r.CheckBreak() } - if yyb8 { + if yyb44 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -601,13 +601,13 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.DesiredHealthy = int32(r.DecodeInt(32)) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj44++ + if yyhl44 { + yyb44 = yyj44 > l } else { - yyb8 = r.CheckBreak() + yyb44 = r.CheckBreak() } - if yyb8 { + if yyb44 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -618,17 +618,17 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 x.ExpectedPods = int32(r.DecodeInt(32)) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj44++ + if yyhl44 { + yyb44 = yyj44 > l } else { - yyb8 = r.CheckBreak() + yyb44 = r.CheckBreak() } - if yyb8 { + if yyb44 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj44-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -640,90 +640,39 @@ func (x *PodDisruptionBudget) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym49 := z.EncBinary() + _ = yym49 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep50 := !z.EncBinary() + yy2arr50 := z.EncBasicHandle().StructToArray + var yyq50 [5]bool + _, _, _ = yysep50, yyq50, yy2arr50 + const yyr50 bool = false + yyq50[0] = x.Kind != "" + yyq50[1] = x.APIVersion != "" + yyq50[2] = true + yyq50[3] = true + yyq50[4] = true + var yynn50 int + if yyr50 || yy2arr50 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn50 = 0 + for _, b := range yyq50 { if b { - yynn2++ + yynn50++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn50) + yynn50 = 0 } - if yyr2 || yy2arr2 { + if yyr50 || yy2arr50 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq50[0] { + yym52 := z.EncBinary() + _ = yym52 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -732,23 +681,23 @@ func (x *PodDisruptionBudget) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq50[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym53 := z.EncBinary() + _ = yym53 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr50 || yy2arr50 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq50[1] { + yym55 := z.EncBinary() + _ = yym55 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -757,19 +706,70 @@ func (x *PodDisruptionBudget) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq50[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym56 := z.EncBinary() + _ = yym56 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr50 || yy2arr50 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq50[2] { + yy58 := &x.ObjectMeta + yy58.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq50[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy59 := &x.ObjectMeta + yy59.CodecEncodeSelf(e) + } + } + if yyr50 || yy2arr50 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq50[3] { + yy61 := &x.Spec + yy61.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq50[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy62 := &x.Spec + yy62.CodecEncodeSelf(e) + } + } + if yyr50 || yy2arr50 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq50[4] { + yy64 := &x.Status + yy64.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq50[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy65 := &x.Status + yy65.CodecEncodeSelf(e) + } + } + if yyr50 || yy2arr50 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -782,25 +782,25 @@ func (x *PodDisruptionBudget) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym66 := z.DecBinary() + _ = yym66 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct67 := r.ContainerType() + if yyct67 == codecSelferValueTypeMap1234 { + yyl67 := r.ReadMapStart() + if yyl67 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl67, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct67 == codecSelferValueTypeArray1234 { + yyl67 := r.ReadArrayStart() + if yyl67 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl67, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -812,12 +812,12 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys68Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys68Slc + var yyhl68 bool = l >= 0 + for yyj68 := 0; ; yyj68++ { + if yyhl68 { + if yyj68 >= l { break } } else { @@ -826,31 +826,10 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys68Slc = r.DecodeBytes(yys68Slc, true, true) + yys68 := string(yys68Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg3_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = PodDisruptionBudgetSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = PodDisruptionBudgetStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys68 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -863,10 +842,31 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg3_api.ObjectMeta{} + } else { + yyv71 := &x.ObjectMeta + yyv71.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = PodDisruptionBudgetSpec{} + } else { + yyv72 := &x.Spec + yyv72.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = PodDisruptionBudgetStatus{} + } else { + yyv73 := &x.Status + yyv73.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys68) + } // end switch yys68 + } // end for yyj68 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -874,67 +874,16 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj74 int + var yyb74 bool + var yyhl74 bool = l >= 0 + yyj74++ + if yyhl74 { + yyb74 = yyj74 > l } else { - yyb9 = r.CheckBreak() + yyb74 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg3_api.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = PodDisruptionBudgetSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = PodDisruptionBudgetStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb74 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -944,13 +893,13 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj74++ + if yyhl74 { + yyb74 = yyj74 > l } else { - yyb9 = r.CheckBreak() + yyb74 = r.CheckBreak() } - if yyb9 { + if yyb74 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -960,18 +909,69 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } + yyj74++ + if yyhl74 { + yyb74 = yyj74 > l + } else { + yyb74 = r.CheckBreak() + } + if yyb74 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg3_api.ObjectMeta{} + } else { + yyv77 := &x.ObjectMeta + yyv77.CodecDecodeSelf(d) + } + yyj74++ + if yyhl74 { + yyb74 = yyj74 > l + } else { + yyb74 = r.CheckBreak() + } + if yyb74 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = PodDisruptionBudgetSpec{} + } else { + yyv78 := &x.Spec + yyv78.CodecDecodeSelf(d) + } + yyj74++ + if yyhl74 { + yyb74 = yyj74 > l + } else { + yyb74 = r.CheckBreak() + } + if yyb74 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = PodDisruptionBudgetStatus{} + } else { + yyv79 := &x.Status + yyv79.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj74++ + if yyhl74 { + yyb74 = yyj74 > l } else { - yyb9 = r.CheckBreak() + yyb74 = r.CheckBreak() } - if yyb9 { + if yyb74 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj74-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -983,68 +983,118 @@ func (x *PodDisruptionBudgetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym80 := z.EncBinary() + _ = yym80 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep81 := !z.EncBinary() + yy2arr81 := z.EncBasicHandle().StructToArray + var yyq81 [4]bool + _, _, _ = yysep81, yyq81, yy2arr81 + const yyr81 bool = false + yyq81[0] = x.Kind != "" + yyq81[1] = x.APIVersion != "" + yyq81[2] = true + var yynn81 int + if yyr81 || yy2arr81 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn81 = 1 + for _, b := range yyq81 { if b { - yynn2++ + yynn81++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn81) + yynn81 = 0 } - if yyr2 || yy2arr2 { + if yyr81 || yy2arr81 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq81[0] { + yym83 := z.EncBinary() + _ = yym83 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq81[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym84 := z.EncBinary() + _ = yym84 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr81 || yy2arr81 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq81[1] { + yym86 := z.EncBinary() + _ = yym86 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq81[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym87 := z.EncBinary() + _ = yym87 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr81 || yy2arr81 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq81[2] { + yy89 := &x.ListMeta + yym90 := z.EncBinary() + _ = yym90 + if false { + } else if z.HasExtensions() && z.EncExt(yy89) { + } else { + z.EncFallback(yy89) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq81[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy91 := &x.ListMeta + yym92 := z.EncBinary() + _ = yym92 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy91) { } else { - z.EncFallback(yy6) + z.EncFallback(yy91) } } } - if yyr2 || yy2arr2 { + if yyr81 || yy2arr81 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym94 := z.EncBinary() + _ = yym94 if false { } else { h.encSlicePodDisruptionBudget(([]PodDisruptionBudget)(x.Items), e) @@ -1057,65 +1107,15 @@ func (x *PodDisruptionBudgetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym95 := z.EncBinary() + _ = yym95 if false { } else { h.encSlicePodDisruptionBudget(([]PodDisruptionBudget)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr81 || yy2arr81 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1128,25 +1128,25 @@ func (x *PodDisruptionBudgetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym96 := z.DecBinary() + _ = yym96 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct97 := r.ContainerType() + if yyct97 == codecSelferValueTypeMap1234 { + yyl97 := r.ReadMapStart() + if yyl97 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl97, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct97 == codecSelferValueTypeArray1234 { + yyl97 := r.ReadArrayStart() + if yyl97 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl97, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1158,12 +1158,12 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys98Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys98Slc + var yyhl98 bool = l >= 0 + for yyj98 := 0; ; yyj98++ { + if yyhl98 { + if yyj98 >= l { break } } else { @@ -1172,35 +1172,10 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys98Slc = r.DecodeBytes(yys98Slc, true, true) + yys98 := string(yys98Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSlicePodDisruptionBudget((*[]PodDisruptionBudget)(yyv6), d) - } - } + switch yys98 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1213,10 +1188,35 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromMap(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv101 := &x.ListMeta + yym102 := z.DecBinary() + _ = yym102 + if false { + } else if z.HasExtensions() && z.DecExt(yyv101) { + } else { + z.DecFallback(yyv101, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv103 := &x.Items + yym104 := z.DecBinary() + _ = yym104 + if false { + } else { + h.decSlicePodDisruptionBudget((*[]PodDisruptionBudget)(yyv103), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys98) + } // end switch yys98 + } // end for yyj98 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1224,61 +1224,16 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj105 int + var yyb105 bool + var yyhl105 bool = l >= 0 + yyj105++ + if yyhl105 { + yyb105 = yyj105 > l } else { - yyb10 = r.CheckBreak() + yyb105 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSlicePodDisruptionBudget((*[]PodDisruptionBudget)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1288,13 +1243,13 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj105++ + if yyhl105 { + yyb105 = yyj105 > l } else { - yyb10 = r.CheckBreak() + yyb105 = r.CheckBreak() } - if yyb10 { + if yyb105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1304,18 +1259,63 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj105++ + if yyhl105 { + yyb105 = yyj105 > l + } else { + yyb105 = r.CheckBreak() + } + if yyb105 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv108 := &x.ListMeta + yym109 := z.DecBinary() + _ = yym109 + if false { + } else if z.HasExtensions() && z.DecExt(yyv108) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv108, false) } - if yyb10 { + } + yyj105++ + if yyhl105 { + yyb105 = yyj105 > l + } else { + yyb105 = r.CheckBreak() + } + if yyb105 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv110 := &x.Items + yym111 := z.DecBinary() + _ = yym111 + if false { + } else { + h.decSlicePodDisruptionBudget((*[]PodDisruptionBudget)(yyv110), d) + } + } + for { + yyj105++ + if yyhl105 { + yyb105 = yyj105 > l + } else { + yyb105 = r.CheckBreak() + } + if yyb105 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj105-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1325,10 +1325,10 @@ func (x codecSelfer1234) encSlicePodDisruptionBudget(v []PodDisruptionBudget, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv112 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy113 := &yyv112 + yy113.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1338,86 +1338,83 @@ func (x codecSelfer1234) decSlicePodDisruptionBudget(v *[]PodDisruptionBudget, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PodDisruptionBudget{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv114 := *v + yyh114, yyl114 := z.DecSliceHelperStart() + var yyc114 bool + if yyl114 == 0 { + if yyv114 == nil { + yyv114 = []PodDisruptionBudget{} + yyc114 = true + } else if len(yyv114) != 0 { + yyv114 = yyv114[:0] + yyc114 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl114 > 0 { + var yyrr114, yyrl114 int + var yyrt114 bool + if yyl114 > cap(yyv114) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 296) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg114 := len(yyv114) > 0 + yyv2114 := yyv114 + yyrl114, yyrt114 = z.DecInferLen(yyl114, z.DecBasicHandle().MaxInitLen, 296) + if yyrt114 { + if yyrl114 <= cap(yyv114) { + yyv114 = yyv114[:yyrl114] } else { - yyv1 = make([]PodDisruptionBudget, yyrl1) + yyv114 = make([]PodDisruptionBudget, yyrl114) } } else { - yyv1 = make([]PodDisruptionBudget, yyrl1) + yyv114 = make([]PodDisruptionBudget, yyrl114) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc114 = true + yyrr114 = len(yyv114) + if yyrg114 { + copy(yyv114, yyv2114) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl114 != len(yyv114) { + yyv114 = yyv114[:yyl114] + yyc114 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj114 := 0 + for ; yyj114 < yyrr114; yyj114++ { + yyh114.ElemContainerState(yyj114) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodDisruptionBudget{} + yyv114[yyj114] = PodDisruptionBudget{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv115 := &yyv114[yyj114] + yyv115.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PodDisruptionBudget{}) - yyh1.ElemContainerState(yyj1) + if yyrt114 { + for ; yyj114 < yyl114; yyj114++ { + yyv114 = append(yyv114, PodDisruptionBudget{}) + yyh114.ElemContainerState(yyj114) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodDisruptionBudget{} + yyv114[yyj114] = PodDisruptionBudget{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv116 := &yyv114[yyj114] + yyv116.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj114 := 0 + for ; !r.CheckBreak(); yyj114++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PodDisruptionBudget{}) // var yyz1 PodDisruptionBudget - yyc1 = true + if yyj114 >= len(yyv114) { + yyv114 = append(yyv114, PodDisruptionBudget{}) // var yyz114 PodDisruptionBudget + yyc114 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh114.ElemContainerState(yyj114) + if yyj114 < len(yyv114) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PodDisruptionBudget{} + yyv114[yyj114] = PodDisruptionBudget{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv117 := &yyv114[yyj114] + yyv117.CodecDecodeSelf(d) } } else { @@ -1425,16 +1422,16 @@ func (x codecSelfer1234) decSlicePodDisruptionBudget(v *[]PodDisruptionBudget, d } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PodDisruptionBudget{} - yyc1 = true + if yyj114 < len(yyv114) { + yyv114 = yyv114[:yyj114] + yyc114 = true + } else if yyj114 == 0 && yyv114 == nil { + yyv114 = []PodDisruptionBudget{} + yyc114 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh114.End() + if yyc114 { + *v = yyv114 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/generated.pb.go index 5f6b978a33d..36893b221e2 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/generated.pb.go @@ -48,17 +48,27 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf -func (m *PodDisruptionBudget) Reset() { *m = PodDisruptionBudget{} } -func (*PodDisruptionBudget) ProtoMessage() {} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 -func (m *PodDisruptionBudgetList) Reset() { *m = PodDisruptionBudgetList{} } -func (*PodDisruptionBudgetList) ProtoMessage() {} +func (m *PodDisruptionBudget) Reset() { *m = PodDisruptionBudget{} } +func (*PodDisruptionBudget) ProtoMessage() {} +func (*PodDisruptionBudget) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } -func (m *PodDisruptionBudgetSpec) Reset() { *m = PodDisruptionBudgetSpec{} } -func (*PodDisruptionBudgetSpec) ProtoMessage() {} +func (m *PodDisruptionBudgetList) Reset() { *m = PodDisruptionBudgetList{} } +func (*PodDisruptionBudgetList) ProtoMessage() {} +func (*PodDisruptionBudgetList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } + +func (m *PodDisruptionBudgetSpec) Reset() { *m = PodDisruptionBudgetSpec{} } +func (*PodDisruptionBudgetSpec) ProtoMessage() {} +func (*PodDisruptionBudgetSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } func (m *PodDisruptionBudgetStatus) Reset() { *m = PodDisruptionBudgetStatus{} } func (*PodDisruptionBudgetStatus) ProtoMessage() {} +func (*PodDisruptionBudgetStatus) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{3} +} func init() { proto.RegisterType((*PodDisruptionBudget)(nil), "k8s.io.client-go.1.4.pkg.apis.policy.v1alpha1.PodDisruptionBudget") @@ -955,3 +965,45 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 607 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x94, 0xdf, 0x6a, 0x13, 0x4f, + 0x14, 0xc7, 0x9b, 0xfe, 0x23, 0xcc, 0x2f, 0xbf, 0xa2, 0x6b, 0xd1, 0x18, 0xa4, 0x95, 0x5c, 0x95, + 0x62, 0x67, 0x69, 0x51, 0x28, 0x5e, 0x28, 0xdd, 0xb6, 0x60, 0xc5, 0x52, 0xd9, 0xdc, 0x88, 0xa0, + 0x30, 0xbb, 0x7b, 0xdc, 0x8c, 0xd9, 0xdd, 0x59, 0x66, 0x66, 0xa3, 0xbd, 0xf3, 0x11, 0x7c, 0x05, + 0x1f, 0x46, 0xc8, 0x65, 0x2f, 0xbd, 0x0a, 0xda, 0xbe, 0x88, 0xb3, 0xb3, 0x93, 0x34, 0x9b, 0x64, + 0xa5, 0xd0, 0x8b, 0x03, 0x39, 0x3b, 0xe7, 0xf3, 0x3d, 0x7f, 0x09, 0x7a, 0xde, 0xdb, 0x17, 0x98, + 0x32, 0xbb, 0x97, 0x79, 0xc0, 0x13, 0x90, 0x20, 0xec, 0xb4, 0x17, 0xda, 0x24, 0xa5, 0xea, 0x07, + 0x8b, 0xa8, 0x7f, 0x6e, 0xf7, 0x77, 0x49, 0x94, 0x76, 0xc9, 0xae, 0x1d, 0x42, 0x02, 0x9c, 0x48, + 0x08, 0x70, 0xca, 0x99, 0x64, 0xd6, 0x76, 0xc1, 0xe2, 0x6b, 0x16, 0x2b, 0x16, 0xe7, 0x2c, 0x2e, + 0x58, 0x3c, 0x62, 0x5b, 0x3b, 0x21, 0x95, 0xdd, 0xcc, 0xc3, 0x3e, 0x8b, 0xed, 0x90, 0x85, 0xcc, + 0xd6, 0x12, 0x5e, 0xf6, 0x49, 0x7b, 0xda, 0xd1, 0xbf, 0x0a, 0xe9, 0xd6, 0x5e, 0x65, 0x59, 0x36, + 0x07, 0xc1, 0x32, 0xee, 0xc3, 0x74, 0x39, 0xad, 0x67, 0xd5, 0x4c, 0x96, 0xf4, 0x81, 0x0b, 0xca, + 0x12, 0x08, 0x66, 0xb0, 0x27, 0xd5, 0x58, 0x7f, 0xa6, 0xe7, 0xd6, 0xce, 0xfc, 0x68, 0x9e, 0x25, + 0x92, 0xc6, 0xb3, 0x35, 0xed, 0xce, 0x0f, 0xcf, 0x24, 0x8d, 0x6c, 0x9a, 0x48, 0x21, 0xf9, 0x34, + 0xd2, 0xfe, 0xb9, 0x88, 0xee, 0xbd, 0x65, 0xc1, 0x11, 0x15, 0x3c, 0x4b, 0xa5, 0xaa, 0xd9, 0xc9, + 0x82, 0x10, 0xa4, 0xf5, 0x0e, 0xd5, 0x63, 0x90, 0x24, 0x20, 0x92, 0x34, 0x6b, 0x8f, 0x6b, 0x5b, + 0xff, 0xed, 0x6d, 0xe1, 0xca, 0x05, 0xa8, 0xc1, 0xe3, 0x33, 0xef, 0x33, 0xf8, 0xf2, 0x54, 0x31, + 0x8e, 0x35, 0x18, 0x6e, 0x2e, 0x5c, 0x0e, 0x37, 0xd1, 0xf5, 0x37, 0x77, 0xac, 0x66, 0x01, 0x5a, + 0x16, 0x29, 0xf8, 0xcd, 0x45, 0xad, 0x7a, 0x88, 0x6f, 0xbe, 0x56, 0x3c, 0xa7, 0xd0, 0x8e, 0x92, + 0x72, 0x1a, 0x26, 0xe1, 0x72, 0xee, 0xb9, 0x5a, 0xde, 0x8a, 0xd1, 0xaa, 0x90, 0x44, 0x66, 0xa2, + 0xb9, 0xa4, 0x13, 0x1d, 0xdf, 0x36, 0x91, 0x16, 0x73, 0xd6, 0x4c, 0xaa, 0xd5, 0xc2, 0x77, 0x4d, + 0x92, 0xf6, 0xb0, 0x86, 0x1e, 0xcc, 0xa1, 0xde, 0x50, 0x21, 0xad, 0x0f, 0x33, 0xb3, 0xb4, 0xff, + 0x31, 0xcb, 0x89, 0xeb, 0xc1, 0x39, 0xae, 0x47, 0x7a, 0xc7, 0xa4, 0xad, 0x8f, 0xbe, 0x4c, 0x0c, + 0x34, 0x40, 0x2b, 0x54, 0x42, 0x2c, 0xd4, 0x44, 0x97, 0x94, 0xf6, 0xcb, 0x5b, 0x36, 0xea, 0xfc, + 0x6f, 0x72, 0xad, 0x9c, 0xe4, 0xaa, 0x6e, 0x21, 0xde, 0xbe, 0x9a, 0xdf, 0x60, 0x3e, 0x71, 0xab, + 0x8b, 0x1a, 0x31, 0x4d, 0x0e, 0xfa, 0x84, 0x46, 0xc4, 0x8b, 0xc0, 0x34, 0x89, 0x2b, 0x0a, 0xc9, + 0xcf, 0x11, 0x17, 0xe7, 0x88, 0x4f, 0x12, 0x79, 0xc6, 0x3b, 0x92, 0xd3, 0x24, 0x74, 0xd6, 0x4d, + 0xde, 0xc6, 0xe9, 0x84, 0x96, 0x5b, 0x52, 0xb6, 0x3e, 0xa2, 0xba, 0x80, 0x48, 0x1d, 0x15, 0xe3, + 0xe6, 0x80, 0x9e, 0xde, 0x74, 0x94, 0xc4, 0x83, 0xa8, 0x63, 0x58, 0xa7, 0x91, 0xcf, 0x72, 0xe4, + 0xb9, 0x63, 0xcd, 0xf6, 0x8f, 0x45, 0xf4, 0xb0, 0x72, 0xf9, 0xd6, 0x6b, 0x74, 0x37, 0x18, 0xbf, + 0x1c, 0x44, 0x11, 0xfb, 0x02, 0x81, 0x6e, 0xb6, 0xee, 0x3c, 0x32, 0xc5, 0xaf, 0x97, 0x68, 0x13, + 0xe3, 0xce, 0x62, 0xd6, 0x0b, 0xb4, 0xe6, 0x67, 0x9c, 0x43, 0x22, 0x5f, 0x01, 0x89, 0x64, 0xf7, + 0x5c, 0xf7, 0xb3, 0xe2, 0xdc, 0x37, 0x42, 0x6b, 0x87, 0xa5, 0x57, 0x77, 0x2a, 0x3a, 0xe7, 0x03, + 0x10, 0x94, 0x43, 0x30, 0xe2, 0x97, 0xca, 0xfc, 0x51, 0xe9, 0xd5, 0x9d, 0x8a, 0xb6, 0xf6, 0x51, + 0x03, 0xbe, 0xaa, 0xe5, 0xa9, 0xbf, 0x02, 0x55, 0xb2, 0x68, 0x2e, 0x6b, 0x7a, 0xbc, 0x83, 0xe3, + 0x89, 0x37, 0xb7, 0x14, 0xe9, 0x6c, 0x0f, 0xfe, 0x6c, 0x2c, 0x5c, 0x28, 0xfb, 0xa5, 0xec, 0xdb, + 0xe5, 0x46, 0x6d, 0xa0, 0xec, 0x42, 0xd9, 0x6f, 0x65, 0xdf, 0xaf, 0x36, 0x16, 0xde, 0xd7, 0x47, + 0xf7, 0xf5, 0x37, 0x00, 0x00, 0xff, 0xff, 0x3d, 0xae, 0xf9, 0xfa, 0xf1, 0x05, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/register.go index bfdfef45503..41ce68a1e8f 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/register.go @@ -29,16 +29,13 @@ const GroupName = "policy" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1alpha1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - /* - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) - */ -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &PodDisruptionBudget{}, &PodDisruptionBudgetList{}, @@ -47,4 +44,5 @@ func addKnownTypes(scheme *runtime.Scheme) { ) // Add the watch version that applies versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/types.generated.go index 67a312c8e2a..378f83c77ca 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/types.generated.go @@ -186,25 +186,25 @@ func (x *PodDisruptionBudgetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym11 := z.DecBinary() + _ = yym11 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct12 := r.ContainerType() + if yyct12 == codecSelferValueTypeMap1234 { + yyl12 := r.ReadMapStart() + if yyl12 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl12, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct12 == codecSelferValueTypeArray1234 { + yyl12 := r.ReadArrayStart() + if yyl12 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl12, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -216,12 +216,12 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys13Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys13Slc + var yyhl13 bool = l >= 0 + for yyj13 := 0; ; yyj13++ { + if yyhl13 { + if yyj13 >= l { break } } else { @@ -230,23 +230,23 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys13Slc = r.DecodeBytes(yys13Slc, true, true) + yys13 := string(yys13Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys13 { case "minAvailable": if r.TryDecodeAsNil() { x.MinAvailable = pkg1_intstr.IntOrString{} } else { - yyv4 := &x.MinAvailable - yym5 := z.DecBinary() - _ = yym5 + yyv14 := &x.MinAvailable + yym15 := z.DecBinary() + _ = yym15 if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else if !yym5 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4) + } else if z.HasExtensions() && z.DecExt(yyv14) { + } else if !yym15 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv14) } else { - z.DecFallback(yyv4, false) + z.DecFallback(yyv14, false) } } case "selector": @@ -258,8 +258,8 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.Selector == nil { x.Selector = new(pkg2_unversioned.LabelSelector) } - yym7 := z.DecBinary() - _ = yym7 + yym17 := z.DecBinary() + _ = yym17 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -267,9 +267,9 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys13) + } // end switch yys13 + } // end for yyj13 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -277,16 +277,16 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj18 int + var yyb18 bool + var yyhl18 bool = l >= 0 + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb8 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb8 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -294,24 +294,24 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.MinAvailable = pkg1_intstr.IntOrString{} } else { - yyv9 := &x.MinAvailable - yym10 := z.DecBinary() - _ = yym10 + yyv19 := &x.MinAvailable + yym20 := z.DecBinary() + _ = yym20 if false { - } else if z.HasExtensions() && z.DecExt(yyv9) { - } else if !yym10 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv9) + } else if z.HasExtensions() && z.DecExt(yyv19) { + } else if !yym20 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv19) } else { - z.DecFallback(yyv9, false) + z.DecFallback(yyv19, false) } } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb8 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb8 { + if yyb18 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -324,8 +324,8 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromArray(l int, d *codec1978.D if x.Selector == nil { x.Selector = new(pkg2_unversioned.LabelSelector) } - yym12 := z.DecBinary() - _ = yym12 + yym22 := z.DecBinary() + _ = yym22 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -333,17 +333,17 @@ func (x *PodDisruptionBudgetSpec) codecDecodeSelfFromArray(l int, d *codec1978.D } } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj18++ + if yyhl18 { + yyb18 = yyj18 > l } else { - yyb8 = r.CheckBreak() + yyb18 = r.CheckBreak() } - if yyb8 { + if yyb18 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj18-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -355,33 +355,33 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym23 := z.EncBinary() + _ = yym23 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - var yynn2 int - if yyr2 || yy2arr2 { + yysep24 := !z.EncBinary() + yy2arr24 := z.EncBasicHandle().StructToArray + var yyq24 [4]bool + _, _, _ = yysep24, yyq24, yy2arr24 + const yyr24 bool = false + var yynn24 int + if yyr24 || yy2arr24 { r.EncodeArrayStart(4) } else { - yynn2 = 4 - for _, b := range yyq2 { + yynn24 = 4 + for _, b := range yyq24 { if b { - yynn2++ + yynn24++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn24) + yynn24 = 0 } - if yyr2 || yy2arr2 { + if yyr24 || yy2arr24 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym26 := z.EncBinary() + _ = yym26 if false { } else { r.EncodeBool(bool(x.PodDisruptionAllowed)) @@ -390,17 +390,17 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("disruptionAllowed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym27 := z.EncBinary() + _ = yym27 if false { } else { r.EncodeBool(bool(x.PodDisruptionAllowed)) } } - if yyr2 || yy2arr2 { + if yyr24 || yy2arr24 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + yym29 := z.EncBinary() + _ = yym29 if false { } else { r.EncodeInt(int64(x.CurrentHealthy)) @@ -409,17 +409,17 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("currentHealthy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym30 := z.EncBinary() + _ = yym30 if false { } else { r.EncodeInt(int64(x.CurrentHealthy)) } } - if yyr2 || yy2arr2 { + if yyr24 || yy2arr24 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym32 := z.EncBinary() + _ = yym32 if false { } else { r.EncodeInt(int64(x.DesiredHealthy)) @@ -428,17 +428,17 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("desiredHealthy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym33 := z.EncBinary() + _ = yym33 if false { } else { r.EncodeInt(int64(x.DesiredHealthy)) } } - if yyr2 || yy2arr2 { + if yyr24 || yy2arr24 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym13 := z.EncBinary() - _ = yym13 + yym35 := z.EncBinary() + _ = yym35 if false { } else { r.EncodeInt(int64(x.ExpectedPods)) @@ -447,14 +447,14 @@ func (x *PodDisruptionBudgetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("expectedPods")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym36 := z.EncBinary() + _ = yym36 if false { } else { r.EncodeInt(int64(x.ExpectedPods)) } } - if yyr2 || yy2arr2 { + if yyr24 || yy2arr24 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -467,25 +467,25 @@ func (x *PodDisruptionBudgetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym37 := z.DecBinary() + _ = yym37 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct38 := r.ContainerType() + if yyct38 == codecSelferValueTypeMap1234 { + yyl38 := r.ReadMapStart() + if yyl38 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl38, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct38 == codecSelferValueTypeArray1234 { + yyl38 := r.ReadArrayStart() + if yyl38 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl38, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -497,12 +497,12 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys39Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys39Slc + var yyhl39 bool = l >= 0 + for yyj39 := 0; ; yyj39++ { + if yyhl39 { + if yyj39 >= l { break } } else { @@ -511,10 +511,10 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys39Slc = r.DecodeBytes(yys39Slc, true, true) + yys39 := string(yys39Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys39 { case "disruptionAllowed": if r.TryDecodeAsNil() { x.PodDisruptionAllowed = false @@ -540,9 +540,9 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromMap(l int, d *codec1978.D x.ExpectedPods = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys39) + } // end switch yys39 + } // end for yyj39 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -550,16 +550,16 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj44 int + var yyb44 bool + var yyhl44 bool = l >= 0 + yyj44++ + if yyhl44 { + yyb44 = yyj44 > l } else { - yyb8 = r.CheckBreak() + yyb44 = r.CheckBreak() } - if yyb8 { + if yyb44 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -569,13 +569,13 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.PodDisruptionAllowed = bool(r.DecodeBool()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj44++ + if yyhl44 { + yyb44 = yyj44 > l } else { - yyb8 = r.CheckBreak() + yyb44 = r.CheckBreak() } - if yyb8 { + if yyb44 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -585,13 +585,13 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.CurrentHealthy = int32(r.DecodeInt(32)) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj44++ + if yyhl44 { + yyb44 = yyj44 > l } else { - yyb8 = r.CheckBreak() + yyb44 = r.CheckBreak() } - if yyb8 { + if yyb44 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -601,13 +601,13 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.DesiredHealthy = int32(r.DecodeInt(32)) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj44++ + if yyhl44 { + yyb44 = yyj44 > l } else { - yyb8 = r.CheckBreak() + yyb44 = r.CheckBreak() } - if yyb8 { + if yyb44 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -618,17 +618,17 @@ func (x *PodDisruptionBudgetStatus) codecDecodeSelfFromArray(l int, d *codec1978 x.ExpectedPods = int32(r.DecodeInt(32)) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj44++ + if yyhl44 { + yyb44 = yyj44 > l } else { - yyb8 = r.CheckBreak() + yyb44 = r.CheckBreak() } - if yyb8 { + if yyb44 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj44-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -640,90 +640,39 @@ func (x *PodDisruptionBudget) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym49 := z.EncBinary() + _ = yym49 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep50 := !z.EncBinary() + yy2arr50 := z.EncBasicHandle().StructToArray + var yyq50 [5]bool + _, _, _ = yysep50, yyq50, yy2arr50 + const yyr50 bool = false + yyq50[0] = x.Kind != "" + yyq50[1] = x.APIVersion != "" + yyq50[2] = true + yyq50[3] = true + yyq50[4] = true + var yynn50 int + if yyr50 || yy2arr50 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn50 = 0 + for _, b := range yyq50 { if b { - yynn2++ + yynn50++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn50) + yynn50 = 0 } - if yyr2 || yy2arr2 { + if yyr50 || yy2arr50 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq50[0] { + yym52 := z.EncBinary() + _ = yym52 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -732,23 +681,23 @@ func (x *PodDisruptionBudget) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq50[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym53 := z.EncBinary() + _ = yym53 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr50 || yy2arr50 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq50[1] { + yym55 := z.EncBinary() + _ = yym55 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -757,19 +706,70 @@ func (x *PodDisruptionBudget) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq50[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym56 := z.EncBinary() + _ = yym56 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr50 || yy2arr50 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq50[2] { + yy58 := &x.ObjectMeta + yy58.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq50[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy59 := &x.ObjectMeta + yy59.CodecEncodeSelf(e) + } + } + if yyr50 || yy2arr50 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq50[3] { + yy61 := &x.Spec + yy61.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq50[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy62 := &x.Spec + yy62.CodecEncodeSelf(e) + } + } + if yyr50 || yy2arr50 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq50[4] { + yy64 := &x.Status + yy64.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq50[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy65 := &x.Status + yy65.CodecEncodeSelf(e) + } + } + if yyr50 || yy2arr50 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -782,25 +782,25 @@ func (x *PodDisruptionBudget) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym66 := z.DecBinary() + _ = yym66 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct67 := r.ContainerType() + if yyct67 == codecSelferValueTypeMap1234 { + yyl67 := r.ReadMapStart() + if yyl67 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl67, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct67 == codecSelferValueTypeArray1234 { + yyl67 := r.ReadArrayStart() + if yyl67 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl67, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -812,12 +812,12 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys68Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys68Slc + var yyhl68 bool = l >= 0 + for yyj68 := 0; ; yyj68++ { + if yyhl68 { + if yyj68 >= l { break } } else { @@ -826,31 +826,10 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys68Slc = r.DecodeBytes(yys68Slc, true, true) + yys68 := string(yys68Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg3_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = PodDisruptionBudgetSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = PodDisruptionBudgetStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys68 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -863,10 +842,31 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg3_v1.ObjectMeta{} + } else { + yyv71 := &x.ObjectMeta + yyv71.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = PodDisruptionBudgetSpec{} + } else { + yyv72 := &x.Spec + yyv72.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = PodDisruptionBudgetStatus{} + } else { + yyv73 := &x.Status + yyv73.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys68) + } // end switch yys68 + } // end for yyj68 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -874,67 +874,16 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj74 int + var yyb74 bool + var yyhl74 bool = l >= 0 + yyj74++ + if yyhl74 { + yyb74 = yyj74 > l } else { - yyb9 = r.CheckBreak() + yyb74 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg3_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = PodDisruptionBudgetSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = PodDisruptionBudgetStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb74 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -944,13 +893,13 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj74++ + if yyhl74 { + yyb74 = yyj74 > l } else { - yyb9 = r.CheckBreak() + yyb74 = r.CheckBreak() } - if yyb9 { + if yyb74 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -960,18 +909,69 @@ func (x *PodDisruptionBudget) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } + yyj74++ + if yyhl74 { + yyb74 = yyj74 > l + } else { + yyb74 = r.CheckBreak() + } + if yyb74 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg3_v1.ObjectMeta{} + } else { + yyv77 := &x.ObjectMeta + yyv77.CodecDecodeSelf(d) + } + yyj74++ + if yyhl74 { + yyb74 = yyj74 > l + } else { + yyb74 = r.CheckBreak() + } + if yyb74 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = PodDisruptionBudgetSpec{} + } else { + yyv78 := &x.Spec + yyv78.CodecDecodeSelf(d) + } + yyj74++ + if yyhl74 { + yyb74 = yyj74 > l + } else { + yyb74 = r.CheckBreak() + } + if yyb74 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = PodDisruptionBudgetStatus{} + } else { + yyv79 := &x.Status + yyv79.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj74++ + if yyhl74 { + yyb74 = yyj74 > l } else { - yyb9 = r.CheckBreak() + yyb74 = r.CheckBreak() } - if yyb9 { + if yyb74 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj74-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -983,68 +983,118 @@ func (x *PodDisruptionBudgetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym80 := z.EncBinary() + _ = yym80 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep81 := !z.EncBinary() + yy2arr81 := z.EncBasicHandle().StructToArray + var yyq81 [4]bool + _, _, _ = yysep81, yyq81, yy2arr81 + const yyr81 bool = false + yyq81[0] = x.Kind != "" + yyq81[1] = x.APIVersion != "" + yyq81[2] = true + var yynn81 int + if yyr81 || yy2arr81 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn81 = 1 + for _, b := range yyq81 { if b { - yynn2++ + yynn81++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn81) + yynn81 = 0 } - if yyr2 || yy2arr2 { + if yyr81 || yy2arr81 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq81[0] { + yym83 := z.EncBinary() + _ = yym83 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq81[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym84 := z.EncBinary() + _ = yym84 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr81 || yy2arr81 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq81[1] { + yym86 := z.EncBinary() + _ = yym86 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq81[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym87 := z.EncBinary() + _ = yym87 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr81 || yy2arr81 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq81[2] { + yy89 := &x.ListMeta + yym90 := z.EncBinary() + _ = yym90 + if false { + } else if z.HasExtensions() && z.EncExt(yy89) { + } else { + z.EncFallback(yy89) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq81[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy91 := &x.ListMeta + yym92 := z.EncBinary() + _ = yym92 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy91) { } else { - z.EncFallback(yy6) + z.EncFallback(yy91) } } } - if yyr2 || yy2arr2 { + if yyr81 || yy2arr81 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym94 := z.EncBinary() + _ = yym94 if false { } else { h.encSlicePodDisruptionBudget(([]PodDisruptionBudget)(x.Items), e) @@ -1057,65 +1107,15 @@ func (x *PodDisruptionBudgetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym95 := z.EncBinary() + _ = yym95 if false { } else { h.encSlicePodDisruptionBudget(([]PodDisruptionBudget)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr81 || yy2arr81 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1128,25 +1128,25 @@ func (x *PodDisruptionBudgetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym96 := z.DecBinary() + _ = yym96 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct97 := r.ContainerType() + if yyct97 == codecSelferValueTypeMap1234 { + yyl97 := r.ReadMapStart() + if yyl97 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl97, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct97 == codecSelferValueTypeArray1234 { + yyl97 := r.ReadArrayStart() + if yyl97 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl97, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1158,12 +1158,12 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys98Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys98Slc + var yyhl98 bool = l >= 0 + for yyj98 := 0; ; yyj98++ { + if yyhl98 { + if yyj98 >= l { break } } else { @@ -1172,35 +1172,10 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys98Slc = r.DecodeBytes(yys98Slc, true, true) + yys98 := string(yys98Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSlicePodDisruptionBudget((*[]PodDisruptionBudget)(yyv6), d) - } - } + switch yys98 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1213,10 +1188,35 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromMap(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv101 := &x.ListMeta + yym102 := z.DecBinary() + _ = yym102 + if false { + } else if z.HasExtensions() && z.DecExt(yyv101) { + } else { + z.DecFallback(yyv101, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv103 := &x.Items + yym104 := z.DecBinary() + _ = yym104 + if false { + } else { + h.decSlicePodDisruptionBudget((*[]PodDisruptionBudget)(yyv103), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys98) + } // end switch yys98 + } // end for yyj98 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1224,61 +1224,16 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj105 int + var yyb105 bool + var yyhl105 bool = l >= 0 + yyj105++ + if yyhl105 { + yyb105 = yyj105 > l } else { - yyb10 = r.CheckBreak() + yyb105 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSlicePodDisruptionBudget((*[]PodDisruptionBudget)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1288,13 +1243,13 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj105++ + if yyhl105 { + yyb105 = yyj105 > l } else { - yyb10 = r.CheckBreak() + yyb105 = r.CheckBreak() } - if yyb10 { + if yyb105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1304,18 +1259,63 @@ func (x *PodDisruptionBudgetList) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj105++ + if yyhl105 { + yyb105 = yyj105 > l + } else { + yyb105 = r.CheckBreak() + } + if yyb105 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv108 := &x.ListMeta + yym109 := z.DecBinary() + _ = yym109 + if false { + } else if z.HasExtensions() && z.DecExt(yyv108) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv108, false) } - if yyb10 { + } + yyj105++ + if yyhl105 { + yyb105 = yyj105 > l + } else { + yyb105 = r.CheckBreak() + } + if yyb105 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv110 := &x.Items + yym111 := z.DecBinary() + _ = yym111 + if false { + } else { + h.decSlicePodDisruptionBudget((*[]PodDisruptionBudget)(yyv110), d) + } + } + for { + yyj105++ + if yyhl105 { + yyb105 = yyj105 > l + } else { + yyb105 = r.CheckBreak() + } + if yyb105 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj105-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1325,10 +1325,10 @@ func (x codecSelfer1234) encSlicePodDisruptionBudget(v []PodDisruptionBudget, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv112 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy113 := &yyv112 + yy113.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1338,86 +1338,83 @@ func (x codecSelfer1234) decSlicePodDisruptionBudget(v *[]PodDisruptionBudget, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PodDisruptionBudget{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv114 := *v + yyh114, yyl114 := z.DecSliceHelperStart() + var yyc114 bool + if yyl114 == 0 { + if yyv114 == nil { + yyv114 = []PodDisruptionBudget{} + yyc114 = true + } else if len(yyv114) != 0 { + yyv114 = yyv114[:0] + yyc114 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl114 > 0 { + var yyrr114, yyrl114 int + var yyrt114 bool + if yyl114 > cap(yyv114) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 296) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg114 := len(yyv114) > 0 + yyv2114 := yyv114 + yyrl114, yyrt114 = z.DecInferLen(yyl114, z.DecBasicHandle().MaxInitLen, 296) + if yyrt114 { + if yyrl114 <= cap(yyv114) { + yyv114 = yyv114[:yyrl114] } else { - yyv1 = make([]PodDisruptionBudget, yyrl1) + yyv114 = make([]PodDisruptionBudget, yyrl114) } } else { - yyv1 = make([]PodDisruptionBudget, yyrl1) + yyv114 = make([]PodDisruptionBudget, yyrl114) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc114 = true + yyrr114 = len(yyv114) + if yyrg114 { + copy(yyv114, yyv2114) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl114 != len(yyv114) { + yyv114 = yyv114[:yyl114] + yyc114 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj114 := 0 + for ; yyj114 < yyrr114; yyj114++ { + yyh114.ElemContainerState(yyj114) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodDisruptionBudget{} + yyv114[yyj114] = PodDisruptionBudget{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv115 := &yyv114[yyj114] + yyv115.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PodDisruptionBudget{}) - yyh1.ElemContainerState(yyj1) + if yyrt114 { + for ; yyj114 < yyl114; yyj114++ { + yyv114 = append(yyv114, PodDisruptionBudget{}) + yyh114.ElemContainerState(yyj114) if r.TryDecodeAsNil() { - yyv1[yyj1] = PodDisruptionBudget{} + yyv114[yyj114] = PodDisruptionBudget{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv116 := &yyv114[yyj114] + yyv116.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj114 := 0 + for ; !r.CheckBreak(); yyj114++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PodDisruptionBudget{}) // var yyz1 PodDisruptionBudget - yyc1 = true + if yyj114 >= len(yyv114) { + yyv114 = append(yyv114, PodDisruptionBudget{}) // var yyz114 PodDisruptionBudget + yyc114 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh114.ElemContainerState(yyj114) + if yyj114 < len(yyv114) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PodDisruptionBudget{} + yyv114[yyj114] = PodDisruptionBudget{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv117 := &yyv114[yyj114] + yyv117.CodecDecodeSelf(d) } } else { @@ -1425,16 +1422,16 @@ func (x codecSelfer1234) decSlicePodDisruptionBudget(v *[]PodDisruptionBudget, d } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PodDisruptionBudget{} - yyc1 = true + if yyj114 < len(yyv114) { + yyv114 = yyv114[:yyj114] + yyc114 = true + } else if yyj114 == 0 && yyv114 == nil { + yyv114 = []PodDisruptionBudget{} + yyc114 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh114.End() + if yyc114 { + *v = yyv114 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/zz_generated.conversion.go index 339dc9cc0c4..860ed255bf8 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/zz_generated.conversion.go @@ -24,10 +24,17 @@ import ( api "k8s.io/client-go/1.4/pkg/api" policy "k8s.io/client-go/1.4/pkg/apis/policy" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1alpha1_PodDisruptionBudget_To_policy_PodDisruptionBudget, Convert_policy_PodDisruptionBudget_To_v1alpha1_PodDisruptionBudget, Convert_v1alpha1_PodDisruptionBudgetList_To_policy_PodDisruptionBudgetList, @@ -36,10 +43,7 @@ func init() { Convert_policy_PodDisruptionBudgetSpec_To_v1alpha1_PodDisruptionBudgetSpec, Convert_v1alpha1_PodDisruptionBudgetStatus_To_policy_PodDisruptionBudgetStatus, Convert_policy_PodDisruptionBudgetStatus_To_v1alpha1_PodDisruptionBudgetStatus, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1alpha1_PodDisruptionBudget_To_policy_PodDisruptionBudget(in *PodDisruptionBudget, out *policy.PodDisruptionBudget, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go index b181eef16f0..867ccbb1ccd 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go @@ -21,23 +21,26 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.4/pkg/api" unversioned "k8s.io/client-go/1.4/pkg/api/unversioned" v1 "k8s.io/client-go/1.4/pkg/api/v1" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PodDisruptionBudget, InType: reflect.TypeOf(func() *PodDisruptionBudget { var x *PodDisruptionBudget; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PodDisruptionBudgetList, InType: reflect.TypeOf(func() *PodDisruptionBudgetList { var x *PodDisruptionBudgetList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PodDisruptionBudgetSpec, InType: reflect.TypeOf(func() *PodDisruptionBudgetSpec { var x *PodDisruptionBudgetSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PodDisruptionBudgetStatus, InType: reflect.TypeOf(func() *PodDisruptionBudgetStatus { var x *PodDisruptionBudgetStatus; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PodDisruptionBudget, InType: reflect.TypeOf(&PodDisruptionBudget{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PodDisruptionBudgetList, InType: reflect.TypeOf(&PodDisruptionBudgetList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PodDisruptionBudgetSpec, InType: reflect.TypeOf(&PodDisruptionBudgetSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PodDisruptionBudgetStatus, InType: reflect.TypeOf(&PodDisruptionBudgetStatus{})}, + ) } func DeepCopy_v1alpha1_PodDisruptionBudget(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/zz_generated.deepcopy.go index 42a8bf22d6c..57f03eab42c 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/policy/zz_generated.deepcopy.go @@ -24,19 +24,23 @@ import ( api "k8s.io/client-go/1.4/pkg/api" unversioned "k8s.io/client-go/1.4/pkg/api/unversioned" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_policy_PodDisruptionBudget, InType: reflect.TypeOf(func() *PodDisruptionBudget { var x *PodDisruptionBudget; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_policy_PodDisruptionBudgetList, InType: reflect.TypeOf(func() *PodDisruptionBudgetList { var x *PodDisruptionBudgetList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_policy_PodDisruptionBudgetSpec, InType: reflect.TypeOf(func() *PodDisruptionBudgetSpec { var x *PodDisruptionBudgetSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_policy_PodDisruptionBudgetStatus, InType: reflect.TypeOf(func() *PodDisruptionBudgetStatus { var x *PodDisruptionBudgetStatus; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_policy_PodDisruptionBudget, InType: reflect.TypeOf(&PodDisruptionBudget{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_policy_PodDisruptionBudgetList, InType: reflect.TypeOf(&PodDisruptionBudgetList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_policy_PodDisruptionBudgetSpec, InType: reflect.TypeOf(&PodDisruptionBudgetSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_policy_PodDisruptionBudgetStatus, InType: reflect.TypeOf(&PodDisruptionBudgetStatus{})}, + ) } func DeepCopy_policy_PodDisruptionBudget(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/install/install.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/install/install.go index 54e0e342231..e62bb62bfd2 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/install/install.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/install/install.go @@ -115,7 +115,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - rbac.AddToScheme(api.Scheme) + if err := rbac.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -124,7 +127,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1alpha1.SchemeGroupVersion: - v1alpha1.AddToScheme(api.Scheme) + if err := v1alpha1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/register.go index d09f808adf1..2ddb31aed64 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/register.go @@ -38,13 +38,13 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -func AddToScheme(scheme *runtime.Scheme) { - // Add the API to Scheme. - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Role{}, &RoleBinding{}, @@ -61,4 +61,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &api.ExportOptions{}, ) versioned.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/generated.pb.go index 75d09e303ff..d4eb3b5921b 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/generated.pb.go @@ -52,35 +52,49 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf -func (m *ClusterRole) Reset() { *m = ClusterRole{} } -func (*ClusterRole) ProtoMessage() {} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 -func (m *ClusterRoleBinding) Reset() { *m = ClusterRoleBinding{} } -func (*ClusterRoleBinding) ProtoMessage() {} +func (m *ClusterRole) Reset() { *m = ClusterRole{} } +func (*ClusterRole) ProtoMessage() {} +func (*ClusterRole) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } -func (m *ClusterRoleBindingList) Reset() { *m = ClusterRoleBindingList{} } -func (*ClusterRoleBindingList) ProtoMessage() {} +func (m *ClusterRoleBinding) Reset() { *m = ClusterRoleBinding{} } +func (*ClusterRoleBinding) ProtoMessage() {} +func (*ClusterRoleBinding) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } -func (m *ClusterRoleList) Reset() { *m = ClusterRoleList{} } -func (*ClusterRoleList) ProtoMessage() {} +func (m *ClusterRoleBindingList) Reset() { *m = ClusterRoleBindingList{} } +func (*ClusterRoleBindingList) ProtoMessage() {} +func (*ClusterRoleBindingList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } -func (m *PolicyRule) Reset() { *m = PolicyRule{} } -func (*PolicyRule) ProtoMessage() {} +func (m *ClusterRoleList) Reset() { *m = ClusterRoleList{} } +func (*ClusterRoleList) ProtoMessage() {} +func (*ClusterRoleList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } -func (m *Role) Reset() { *m = Role{} } -func (*Role) ProtoMessage() {} +func (m *PolicyRule) Reset() { *m = PolicyRule{} } +func (*PolicyRule) ProtoMessage() {} +func (*PolicyRule) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } -func (m *RoleBinding) Reset() { *m = RoleBinding{} } -func (*RoleBinding) ProtoMessage() {} +func (m *Role) Reset() { *m = Role{} } +func (*Role) ProtoMessage() {} +func (*Role) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} } -func (m *RoleBindingList) Reset() { *m = RoleBindingList{} } -func (*RoleBindingList) ProtoMessage() {} +func (m *RoleBinding) Reset() { *m = RoleBinding{} } +func (*RoleBinding) ProtoMessage() {} +func (*RoleBinding) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} } -func (m *RoleList) Reset() { *m = RoleList{} } -func (*RoleList) ProtoMessage() {} +func (m *RoleBindingList) Reset() { *m = RoleBindingList{} } +func (*RoleBindingList) ProtoMessage() {} +func (*RoleBindingList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } -func (m *Subject) Reset() { *m = Subject{} } -func (*Subject) ProtoMessage() {} +func (m *RoleList) Reset() { *m = RoleList{} } +func (*RoleList) ProtoMessage() {} +func (*RoleList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} } + +func (m *Subject) Reset() { *m = Subject{} } +func (*Subject) ProtoMessage() {} +func (*Subject) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} } func init() { proto.RegisterType((*ClusterRole)(nil), "k8s.io.client-go.1.4.pkg.apis.rbac.v1alpha1.ClusterRole") @@ -2326,3 +2340,56 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 775 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xec, 0x54, 0xc1, 0x4f, 0x13, 0x4f, + 0x14, 0x66, 0x69, 0xfb, 0xa3, 0x3b, 0xfc, 0x9a, 0xca, 0x1a, 0x4c, 0xd3, 0x44, 0x20, 0x3d, 0x35, + 0x22, 0xb3, 0x29, 0x91, 0xc8, 0x41, 0x0f, 0xac, 0x31, 0x86, 0x88, 0x48, 0x86, 0x48, 0x94, 0xc4, + 0x98, 0xed, 0x76, 0x28, 0x6b, 0xdb, 0xdd, 0x66, 0x66, 0x16, 0xf5, 0x46, 0xfc, 0x0b, 0xfc, 0x1b, + 0xbc, 0x79, 0xf5, 0x6a, 0xe2, 0xc1, 0x13, 0x07, 0x0f, 0x1c, 0x8d, 0x07, 0xa2, 0xf8, 0x8f, 0xf8, + 0x66, 0x76, 0x97, 0xdd, 0xd2, 0x56, 0x2a, 0x89, 0x24, 0x26, 0x1e, 0x26, 0xb0, 0xef, 0x7d, 0xdf, + 0xb7, 0xef, 0x7b, 0x3b, 0xfd, 0xd0, 0x72, 0x6b, 0x99, 0x63, 0xd7, 0x37, 0x5b, 0x41, 0x9d, 0x32, + 0x8f, 0x0a, 0xca, 0xcd, 0x6e, 0xab, 0x69, 0xda, 0x5d, 0x97, 0x9b, 0xac, 0x6e, 0x3b, 0xe6, 0x5e, + 0xcd, 0x6e, 0x77, 0x77, 0xed, 0x9a, 0xd9, 0xa4, 0x1e, 0x65, 0xb6, 0xa0, 0x0d, 0xdc, 0x65, 0xbe, + 0xf0, 0x8d, 0x6a, 0xc8, 0xc4, 0x09, 0x13, 0x03, 0x13, 0x4b, 0x26, 0x96, 0x4c, 0x1c, 0x33, 0xcb, + 0x0b, 0x4d, 0x57, 0xec, 0x06, 0x75, 0xec, 0xf8, 0x1d, 0xb3, 0xe9, 0x37, 0x7d, 0x53, 0x09, 0xd4, + 0x83, 0x1d, 0xf5, 0xa4, 0x1e, 0xd4, 0x7f, 0xa1, 0x70, 0x79, 0x71, 0xe8, 0x48, 0x26, 0xa3, 0xdc, + 0x0f, 0x98, 0x43, 0x4f, 0x0f, 0x53, 0x5e, 0x1a, 0xce, 0x09, 0xbc, 0x3d, 0xca, 0xb8, 0xeb, 0x7b, + 0xb4, 0xd1, 0x47, 0xbb, 0x3e, 0x9c, 0xb6, 0xd7, 0xe7, 0xb8, 0xbc, 0x30, 0x18, 0xcd, 0x02, 0x4f, + 0xb8, 0x9d, 0xfe, 0x99, 0x6a, 0x83, 0xe1, 0x81, 0x70, 0xdb, 0xa6, 0xeb, 0x09, 0x2e, 0xd8, 0x69, + 0x4a, 0xe5, 0x93, 0x86, 0x26, 0xef, 0xb4, 0x03, 0x2e, 0x28, 0x23, 0x7e, 0x9b, 0x1a, 0x8f, 0x51, + 0xbe, 0x43, 0x85, 0xdd, 0xb0, 0x85, 0x5d, 0xd2, 0xe6, 0xb4, 0xea, 0xe4, 0x62, 0x15, 0x0f, 0x5d, + 0x3b, 0x2c, 0x1c, 0x3f, 0xac, 0x3f, 0xa7, 0x8e, 0x78, 0x00, 0x1c, 0xcb, 0x38, 0x38, 0x9a, 0x1d, + 0x3b, 0x3e, 0x9a, 0x45, 0x49, 0x8d, 0x9c, 0xa8, 0x19, 0x4f, 0x50, 0x8e, 0x05, 0x6d, 0xca, 0x4b, + 0xe3, 0x73, 0x19, 0x90, 0xbd, 0x81, 0x47, 0xfd, 0x9a, 0x78, 0xc3, 0x6f, 0xbb, 0xce, 0x2b, 0x02, + 0x64, 0xab, 0x10, 0xbd, 0x22, 0x27, 0x9f, 0x38, 0x09, 0x15, 0x2b, 0xef, 0xc6, 0x91, 0x91, 0x32, + 0x61, 0xb9, 0x5e, 0xc3, 0xf5, 0x9a, 0x7f, 0xd0, 0xcb, 0x33, 0x94, 0xe7, 0x81, 0x6a, 0xc4, 0x76, + 0x6a, 0xa3, 0xdb, 0xd9, 0x0c, 0x99, 0xd6, 0xa5, 0xe8, 0x15, 0xf9, 0xa8, 0xc0, 0xc9, 0x89, 0x28, + 0x8c, 0x3e, 0xc1, 0xc0, 0x09, 0xa1, 0x3b, 0xa5, 0x8c, 0x9a, 0x7c, 0x61, 0x94, 0xc9, 0x01, 0x4e, + 0x19, 0xf5, 0x1c, 0x6a, 0x15, 0x23, 0xed, 0x09, 0x12, 0xaa, 0x90, 0x58, 0xae, 0xf2, 0x55, 0x43, + 0x57, 0xfa, 0x77, 0xb5, 0xe6, 0x72, 0x61, 0x3c, 0xed, 0xdb, 0x97, 0xf9, 0x8b, 0xb7, 0xa6, 0x6e, + 0x39, 0x96, 0x74, 0xb5, 0xb6, 0x13, 0x4f, 0x71, 0x25, 0xb5, 0x34, 0x1b, 0xe5, 0x5c, 0x41, 0x3b, + 0xf1, 0xc6, 0x6e, 0x8d, 0xbe, 0xb1, 0xfe, 0x79, 0x93, 0x8b, 0xb0, 0x2a, 0x25, 0x49, 0xa8, 0x5c, + 0xf9, 0xac, 0xa1, 0x62, 0x0a, 0x7c, 0x11, 0xae, 0xb6, 0x7b, 0x5d, 0x2d, 0x9d, 0xcf, 0xd5, 0x60, + 0x3b, 0xaf, 0x33, 0x08, 0x25, 0x97, 0xdf, 0x98, 0x45, 0x39, 0x18, 0xae, 0xce, 0xc1, 0x46, 0xa6, + 0xaa, 0x5b, 0xba, 0xc4, 0x6f, 0xc9, 0x02, 0x09, 0xeb, 0xc6, 0xbe, 0x86, 0xa6, 0x6d, 0x21, 0x98, + 0x5b, 0x0f, 0x04, 0x7c, 0x6c, 0xf8, 0xbd, 0xbb, 0x8e, 0x00, 0x2f, 0x72, 0x38, 0x69, 0x7c, 0x7e, + 0xc8, 0x70, 0x51, 0x9e, 0x60, 0x62, 0xbf, 0xb8, 0xfb, 0x52, 0x50, 0x4f, 0xfa, 0xb7, 0xae, 0x46, + 0x23, 0x4d, 0xaf, 0x0c, 0x52, 0x24, 0x83, 0x5f, 0x64, 0xcc, 0x23, 0x1d, 0xac, 0xde, 0x63, 0x7e, + 0xd0, 0xe5, 0x70, 0x75, 0xe5, 0x9c, 0x05, 0x10, 0xd1, 0x57, 0x36, 0x56, 0xc3, 0x22, 0x49, 0xfa, + 0x12, 0x1c, 0xe7, 0x2b, 0x2f, 0x65, 0x13, 0x30, 0x89, 0x8b, 0x24, 0xe9, 0x1b, 0x37, 0x51, 0x21, + 0x7e, 0x58, 0xb7, 0x3b, 0x40, 0xc8, 0x29, 0xc2, 0x14, 0x10, 0x0a, 0x24, 0xdd, 0x20, 0xbd, 0x38, + 0xe3, 0x36, 0x2a, 0x7a, 0xbe, 0x17, 0x43, 0x1e, 0x91, 0x35, 0x5e, 0xfa, 0x4f, 0x51, 0x2f, 0x03, + 0xb5, 0xb8, 0xde, 0xdb, 0x22, 0xa7, 0xb1, 0x95, 0x0f, 0x1a, 0xca, 0xfe, 0xbd, 0xd1, 0xf8, 0x76, + 0x1c, 0x4d, 0xfe, 0xcb, 0xc4, 0x33, 0x32, 0x51, 0xc6, 0xc6, 0x05, 0x87, 0xe1, 0xf9, 0x63, 0xe3, + 0xec, 0x14, 0xfc, 0xa8, 0xa1, 0xfc, 0x45, 0xc5, 0xdf, 0x66, 0xaf, 0x0f, 0xfc, 0x9b, 0x3e, 0x06, + 0x1b, 0x78, 0xaf, 0xa1, 0x89, 0xe8, 0x02, 0x18, 0x73, 0x28, 0xdb, 0x02, 0xb7, 0x6a, 0x76, 0xdd, + 0xfa, 0x3f, 0xc2, 0x67, 0xef, 0x43, 0x8d, 0xa8, 0x8e, 0xb1, 0x88, 0x10, 0xc8, 0x6f, 0x85, 0x73, + 0xab, 0xa4, 0xd3, 0x93, 0xab, 0x0a, 0xb9, 0x13, 0x75, 0x48, 0x0a, 0x25, 0x55, 0x3d, 0x08, 0x07, + 0x75, 0x91, 0x52, 0xaa, 0x32, 0x30, 0x88, 0xea, 0x18, 0x26, 0xd2, 0xe5, 0x5f, 0xde, 0xb5, 0x1d, + 0x0a, 0xd9, 0x24, 0x61, 0x53, 0x11, 0x4c, 0x5f, 0x8f, 0x1b, 0x24, 0xc1, 0x58, 0xd7, 0x0e, 0xbe, + 0xcf, 0x8c, 0x1d, 0xc2, 0xf9, 0x02, 0x67, 0xff, 0x78, 0x46, 0x3b, 0x80, 0x73, 0x08, 0xe7, 0x1b, + 0x9c, 0x37, 0x3f, 0x66, 0xc6, 0xb6, 0xf3, 0xb1, 0xf7, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf2, + 0x51, 0x62, 0x4c, 0x04, 0x0b, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/register.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/register.go index d961a71319c..388a244502d 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/register.go @@ -27,12 +27,13 @@ import ( // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: rbac.GroupName, Version: "v1alpha1"} -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) // Adds the list of known types to api.Scheme. -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Role{}, &RoleBinding{}, @@ -49,4 +50,5 @@ func addKnownTypes(scheme *runtime.Scheme) { &v1.ExportOptions{}, ) versioned.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/types.generated.go index 66cbf5e7695..f518d617616 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/types.generated.go @@ -313,25 +313,25 @@ func (x *PolicyRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym23 := z.DecBinary() + _ = yym23 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct24 := r.ContainerType() + if yyct24 == codecSelferValueTypeMap1234 { + yyl24 := r.ReadMapStart() + if yyl24 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl24, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct24 == codecSelferValueTypeArray1234 { + yyl24 := r.ReadArrayStart() + if yyl24 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl24, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -343,12 +343,12 @@ func (x *PolicyRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys25Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys25Slc + var yyhl25 bool = l >= 0 + for yyj25 := 0; ; yyj25++ { + if yyhl25 { + if yyj25 >= l { break } } else { @@ -357,89 +357,89 @@ func (x *PolicyRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys25Slc = r.DecodeBytes(yys25Slc, true, true) + yys25 := string(yys25Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys25 { case "verbs": if r.TryDecodeAsNil() { x.Verbs = nil } else { - yyv4 := &x.Verbs - yym5 := z.DecBinary() - _ = yym5 + yyv26 := &x.Verbs + yym27 := z.DecBinary() + _ = yym27 if false { } else { - z.F.DecSliceStringX(yyv4, false, d) + z.F.DecSliceStringX(yyv26, false, d) } } case "attributeRestrictions": if r.TryDecodeAsNil() { x.AttributeRestrictions = pkg1_runtime.RawExtension{} } else { - yyv6 := &x.AttributeRestrictions - yym7 := z.DecBinary() - _ = yym7 + yyv28 := &x.AttributeRestrictions + yym29 := z.DecBinary() + _ = yym29 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv28) { + } else if !yym29 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv28) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv28, false) } } case "apiGroups": if r.TryDecodeAsNil() { x.APIGroups = nil } else { - yyv8 := &x.APIGroups - yym9 := z.DecBinary() - _ = yym9 + yyv30 := &x.APIGroups + yym31 := z.DecBinary() + _ = yym31 if false { } else { - z.F.DecSliceStringX(yyv8, false, d) + z.F.DecSliceStringX(yyv30, false, d) } } case "resources": if r.TryDecodeAsNil() { x.Resources = nil } else { - yyv10 := &x.Resources - yym11 := z.DecBinary() - _ = yym11 + yyv32 := &x.Resources + yym33 := z.DecBinary() + _ = yym33 if false { } else { - z.F.DecSliceStringX(yyv10, false, d) + z.F.DecSliceStringX(yyv32, false, d) } } case "resourceNames": if r.TryDecodeAsNil() { x.ResourceNames = nil } else { - yyv12 := &x.ResourceNames - yym13 := z.DecBinary() - _ = yym13 + yyv34 := &x.ResourceNames + yym35 := z.DecBinary() + _ = yym35 if false { } else { - z.F.DecSliceStringX(yyv12, false, d) + z.F.DecSliceStringX(yyv34, false, d) } } case "nonResourceURLs": if r.TryDecodeAsNil() { x.NonResourceURLs = nil } else { - yyv14 := &x.NonResourceURLs - yym15 := z.DecBinary() - _ = yym15 + yyv36 := &x.NonResourceURLs + yym37 := z.DecBinary() + _ = yym37 if false { } else { - z.F.DecSliceStringX(yyv14, false, d) + z.F.DecSliceStringX(yyv36, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys25) + } // end switch yys25 + } // end for yyj25 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -447,16 +447,16 @@ func (x *PolicyRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj16 int - var yyb16 bool - var yyhl16 bool = l >= 0 - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + var yyj38 int + var yyb38 bool + var yyhl38 bool = l >= 0 + yyj38++ + if yyhl38 { + yyb38 = yyj38 > l } else { - yyb16 = r.CheckBreak() + yyb38 = r.CheckBreak() } - if yyb16 { + if yyb38 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -464,21 +464,21 @@ func (x *PolicyRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Verbs = nil } else { - yyv17 := &x.Verbs - yym18 := z.DecBinary() - _ = yym18 + yyv39 := &x.Verbs + yym40 := z.DecBinary() + _ = yym40 if false { } else { - z.F.DecSliceStringX(yyv17, false, d) + z.F.DecSliceStringX(yyv39, false, d) } } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj38++ + if yyhl38 { + yyb38 = yyj38 > l } else { - yyb16 = r.CheckBreak() + yyb38 = r.CheckBreak() } - if yyb16 { + if yyb38 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -486,24 +486,24 @@ func (x *PolicyRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.AttributeRestrictions = pkg1_runtime.RawExtension{} } else { - yyv19 := &x.AttributeRestrictions - yym20 := z.DecBinary() - _ = yym20 + yyv41 := &x.AttributeRestrictions + yym42 := z.DecBinary() + _ = yym42 if false { - } else if z.HasExtensions() && z.DecExt(yyv19) { - } else if !yym20 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv19) + } else if z.HasExtensions() && z.DecExt(yyv41) { + } else if !yym42 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv41) } else { - z.DecFallback(yyv19, false) + z.DecFallback(yyv41, false) } } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj38++ + if yyhl38 { + yyb38 = yyj38 > l } else { - yyb16 = r.CheckBreak() + yyb38 = r.CheckBreak() } - if yyb16 { + if yyb38 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -511,21 +511,21 @@ func (x *PolicyRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.APIGroups = nil } else { - yyv21 := &x.APIGroups - yym22 := z.DecBinary() - _ = yym22 + yyv43 := &x.APIGroups + yym44 := z.DecBinary() + _ = yym44 if false { } else { - z.F.DecSliceStringX(yyv21, false, d) + z.F.DecSliceStringX(yyv43, false, d) } } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj38++ + if yyhl38 { + yyb38 = yyj38 > l } else { - yyb16 = r.CheckBreak() + yyb38 = r.CheckBreak() } - if yyb16 { + if yyb38 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -533,21 +533,21 @@ func (x *PolicyRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Resources = nil } else { - yyv23 := &x.Resources - yym24 := z.DecBinary() - _ = yym24 + yyv45 := &x.Resources + yym46 := z.DecBinary() + _ = yym46 if false { } else { - z.F.DecSliceStringX(yyv23, false, d) + z.F.DecSliceStringX(yyv45, false, d) } } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj38++ + if yyhl38 { + yyb38 = yyj38 > l } else { - yyb16 = r.CheckBreak() + yyb38 = r.CheckBreak() } - if yyb16 { + if yyb38 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -555,21 +555,21 @@ func (x *PolicyRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ResourceNames = nil } else { - yyv25 := &x.ResourceNames - yym26 := z.DecBinary() - _ = yym26 + yyv47 := &x.ResourceNames + yym48 := z.DecBinary() + _ = yym48 if false { } else { - z.F.DecSliceStringX(yyv25, false, d) + z.F.DecSliceStringX(yyv47, false, d) } } - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj38++ + if yyhl38 { + yyb38 = yyj38 > l } else { - yyb16 = r.CheckBreak() + yyb38 = r.CheckBreak() } - if yyb16 { + if yyb38 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -577,26 +577,26 @@ func (x *PolicyRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NonResourceURLs = nil } else { - yyv27 := &x.NonResourceURLs - yym28 := z.DecBinary() - _ = yym28 + yyv49 := &x.NonResourceURLs + yym50 := z.DecBinary() + _ = yym50 if false { } else { - z.F.DecSliceStringX(yyv27, false, d) + z.F.DecSliceStringX(yyv49, false, d) } } for { - yyj16++ - if yyhl16 { - yyb16 = yyj16 > l + yyj38++ + if yyhl38 { + yyb38 = yyj38 > l } else { - yyb16 = r.CheckBreak() + yyb38 = r.CheckBreak() } - if yyb16 { + if yyb38 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj16-1, "") + z.DecStructFieldNotFound(yyj38-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -608,35 +608,35 @@ func (x *Subject) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym51 := z.EncBinary() + _ = yym51 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.APIVersion != "" - yyq2[3] = x.Namespace != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep52 := !z.EncBinary() + yy2arr52 := z.EncBasicHandle().StructToArray + var yyq52 [4]bool + _, _, _ = yysep52, yyq52, yy2arr52 + const yyr52 bool = false + yyq52[1] = x.APIVersion != "" + yyq52[3] = x.Namespace != "" + var yynn52 int + if yyr52 || yy2arr52 { r.EncodeArrayStart(4) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn52 = 2 + for _, b := range yyq52 { if b { - yynn2++ + yynn52++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn52) + yynn52 = 0 } - if yyr2 || yy2arr2 { + if yyr52 || yy2arr52 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4 := z.EncBinary() - _ = yym4 + yym54 := z.EncBinary() + _ = yym54 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -645,18 +645,18 @@ func (x *Subject) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym55 := z.EncBinary() + _ = yym55 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } - if yyr2 || yy2arr2 { + if yyr52 || yy2arr52 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yym7 := z.EncBinary() - _ = yym7 + if yyq52[1] { + yym57 := z.EncBinary() + _ = yym57 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -665,22 +665,22 @@ func (x *Subject) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[1] { + if yyq52[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym58 := z.EncBinary() + _ = yym58 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr52 || yy2arr52 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym10 := z.EncBinary() - _ = yym10 + yym60 := z.EncBinary() + _ = yym60 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -689,18 +689,18 @@ func (x *Subject) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym61 := z.EncBinary() + _ = yym61 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2 || yy2arr2 { + if yyr52 || yy2arr52 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym13 := z.EncBinary() - _ = yym13 + if yyq52[3] { + yym63 := z.EncBinary() + _ = yym63 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -709,19 +709,19 @@ func (x *Subject) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq52[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym14 := z.EncBinary() - _ = yym14 + yym64 := z.EncBinary() + _ = yym64 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } - if yyr2 || yy2arr2 { + if yyr52 || yy2arr52 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -734,25 +734,25 @@ func (x *Subject) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym65 := z.DecBinary() + _ = yym65 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct66 := r.ContainerType() + if yyct66 == codecSelferValueTypeMap1234 { + yyl66 := r.ReadMapStart() + if yyl66 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl66, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct66 == codecSelferValueTypeArray1234 { + yyl66 := r.ReadArrayStart() + if yyl66 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl66, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -764,12 +764,12 @@ func (x *Subject) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys67Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys67Slc + var yyhl67 bool = l >= 0 + for yyj67 := 0; ; yyj67++ { + if yyhl67 { + if yyj67 >= l { break } } else { @@ -778,10 +778,10 @@ func (x *Subject) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys67Slc = r.DecodeBytes(yys67Slc, true, true) + yys67 := string(yys67Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys67 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -807,9 +807,9 @@ func (x *Subject) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Namespace = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys67) + } // end switch yys67 + } // end for yyj67 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -817,16 +817,16 @@ func (x *Subject) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj8 int - var yyb8 bool - var yyhl8 bool = l >= 0 - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + var yyj72 int + var yyb72 bool + var yyhl72 bool = l >= 0 + yyj72++ + if yyhl72 { + yyb72 = yyj72 > l } else { - yyb8 = r.CheckBreak() + yyb72 = r.CheckBreak() } - if yyb8 { + if yyb72 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -836,13 +836,13 @@ func (x *Subject) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj72++ + if yyhl72 { + yyb72 = yyj72 > l } else { - yyb8 = r.CheckBreak() + yyb72 = r.CheckBreak() } - if yyb8 { + if yyb72 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -852,13 +852,13 @@ func (x *Subject) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj72++ + if yyhl72 { + yyb72 = yyj72 > l } else { - yyb8 = r.CheckBreak() + yyb72 = r.CheckBreak() } - if yyb8 { + if yyb72 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -868,13 +868,13 @@ func (x *Subject) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj72++ + if yyhl72 { + yyb72 = yyj72 > l } else { - yyb8 = r.CheckBreak() + yyb72 = r.CheckBreak() } - if yyb8 { + if yyb72 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -885,17 +885,17 @@ func (x *Subject) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Namespace = string(r.DecodeString()) } for { - yyj8++ - if yyhl8 { - yyb8 = yyj8 > l + yyj72++ + if yyhl72 { + yyb72 = yyj72 > l } else { - yyb8 = r.CheckBreak() + yyb72 = r.CheckBreak() } - if yyb8 { + if yyb72 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj8-1, "") + z.DecStructFieldNotFound(yyj72-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -907,56 +907,106 @@ func (x *Role) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym77 := z.EncBinary() + _ = yym77 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep78 := !z.EncBinary() + yy2arr78 := z.EncBasicHandle().StructToArray + var yyq78 [4]bool + _, _, _ = yysep78, yyq78, yy2arr78 + const yyr78 bool = false + yyq78[0] = x.Kind != "" + yyq78[1] = x.APIVersion != "" + yyq78[2] = true + var yynn78 int + if yyr78 || yy2arr78 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn78 = 1 + for _, b := range yyq78 { if b { - yynn2++ + yynn78++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn78) + yynn78 = 0 } - if yyr2 || yy2arr2 { + if yyr78 || yy2arr78 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq78[0] { + yym80 := z.EncBinary() + _ = yym80 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq78[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym81 := z.EncBinary() + _ = yym81 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr78 || yy2arr78 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq78[1] { + yym83 := z.EncBinary() + _ = yym83 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq78[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym84 := z.EncBinary() + _ = yym84 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr78 || yy2arr78 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq78[2] { + yy86 := &x.ObjectMeta + yy86.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq78[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy87 := &x.ObjectMeta + yy87.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr78 || yy2arr78 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Rules == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym89 := z.EncBinary() + _ = yym89 if false { } else { h.encSlicePolicyRule(([]PolicyRule)(x.Rules), e) @@ -969,65 +1019,15 @@ func (x *Role) CodecEncodeSelf(e *codec1978.Encoder) { if x.Rules == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym90 := z.EncBinary() + _ = yym90 if false { } else { h.encSlicePolicyRule(([]PolicyRule)(x.Rules), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr78 || yy2arr78 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1040,25 +1040,25 @@ func (x *Role) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym91 := z.DecBinary() + _ = yym91 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct92 := r.ContainerType() + if yyct92 == codecSelferValueTypeMap1234 { + yyl92 := r.ReadMapStart() + if yyl92 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl92, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct92 == codecSelferValueTypeArray1234 { + yyl92 := r.ReadArrayStart() + if yyl92 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl92, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1070,12 +1070,12 @@ func (x *Role) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys93Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys93Slc + var yyhl93 bool = l >= 0 + for yyj93 := 0; ; yyj93++ { + if yyhl93 { + if yyj93 >= l { break } } else { @@ -1084,29 +1084,10 @@ func (x *Role) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys93Slc = r.DecodeBytes(yys93Slc, true, true) + yys93 := string(yys93Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg3_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "rules": - if r.TryDecodeAsNil() { - x.Rules = nil - } else { - yyv5 := &x.Rules - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - h.decSlicePolicyRule((*[]PolicyRule)(yyv5), d) - } - } + switch yys93 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1119,10 +1100,29 @@ func (x *Role) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg3_v1.ObjectMeta{} + } else { + yyv96 := &x.ObjectMeta + yyv96.CodecDecodeSelf(d) + } + case "rules": + if r.TryDecodeAsNil() { + x.Rules = nil + } else { + yyv97 := &x.Rules + yym98 := z.DecBinary() + _ = yym98 + if false { + } else { + h.decSlicePolicyRule((*[]PolicyRule)(yyv97), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys93) + } // end switch yys93 + } // end for yyj93 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1130,55 +1130,16 @@ func (x *Role) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj99 int + var yyb99 bool + var yyhl99 bool = l >= 0 + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb9 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg3_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Rules = nil - } else { - yyv11 := &x.Rules - yym12 := z.DecBinary() - _ = yym12 - if false { - } else { - h.decSlicePolicyRule((*[]PolicyRule)(yyv11), d) - } - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1188,13 +1149,13 @@ func (x *Role) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l } else { - yyb9 = r.CheckBreak() + yyb99 = r.CheckBreak() } - if yyb9 { + if yyb99 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1204,18 +1165,57 @@ func (x *Role) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l + } else { + yyb99 = r.CheckBreak() + } + if yyb99 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg3_v1.ObjectMeta{} + } else { + yyv102 := &x.ObjectMeta + yyv102.CodecDecodeSelf(d) + } + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l + } else { + yyb99 = r.CheckBreak() + } + if yyb99 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Rules = nil + } else { + yyv103 := &x.Rules + yym104 := z.DecBinary() + _ = yym104 + if false { } else { - yyb9 = r.CheckBreak() + h.decSlicePolicyRule((*[]PolicyRule)(yyv103), d) } - if yyb9 { + } + for { + yyj99++ + if yyhl99 { + yyb99 = yyj99 > l + } else { + yyb99 = r.CheckBreak() + } + if yyb99 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj99-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1227,56 +1227,106 @@ func (x *RoleBinding) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym105 := z.EncBinary() + _ = yym105 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep106 := !z.EncBinary() + yy2arr106 := z.EncBasicHandle().StructToArray + var yyq106 [5]bool + _, _, _ = yysep106, yyq106, yy2arr106 + const yyr106 bool = false + yyq106[0] = x.Kind != "" + yyq106[1] = x.APIVersion != "" + yyq106[2] = true + var yynn106 int + if yyr106 || yy2arr106 { r.EncodeArrayStart(5) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn106 = 2 + for _, b := range yyq106 { if b { - yynn2++ + yynn106++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn106) + yynn106 = 0 } - if yyr2 || yy2arr2 { + if yyr106 || yy2arr106 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq106[0] { + yym108 := z.EncBinary() + _ = yym108 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq106[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym109 := z.EncBinary() + _ = yym109 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr106 || yy2arr106 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq106[1] { + yym111 := z.EncBinary() + _ = yym111 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq106[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym112 := z.EncBinary() + _ = yym112 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr106 || yy2arr106 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq106[2] { + yy114 := &x.ObjectMeta + yy114.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq106[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy115 := &x.ObjectMeta + yy115.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr106 || yy2arr106 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Subjects == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym117 := z.EncBinary() + _ = yym117 if false { } else { h.encSliceSubject(([]Subject)(x.Subjects), e) @@ -1289,76 +1339,26 @@ func (x *RoleBinding) CodecEncodeSelf(e *codec1978.Encoder) { if x.Subjects == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym118 := z.EncBinary() + _ = yym118 if false { } else { h.encSliceSubject(([]Subject)(x.Subjects), e) } } } - if yyr2 || yy2arr2 { + if yyr106 || yy2arr106 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy12 := &x.RoleRef - yy12.CodecEncodeSelf(e) + yy120 := &x.RoleRef + yy120.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("roleRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.RoleRef - yy14.CodecEncodeSelf(e) + yy121 := &x.RoleRef + yy121.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr106 || yy2arr106 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1371,25 +1371,25 @@ func (x *RoleBinding) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym122 := z.DecBinary() + _ = yym122 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct123 := r.ContainerType() + if yyct123 == codecSelferValueTypeMap1234 { + yyl123 := r.ReadMapStart() + if yyl123 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl123, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct123 == codecSelferValueTypeArray1234 { + yyl123 := r.ReadArrayStart() + if yyl123 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl123, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1401,12 +1401,12 @@ func (x *RoleBinding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys124Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys124Slc + var yyhl124 bool = l >= 0 + for yyj124 := 0; ; yyj124++ { + if yyhl124 { + if yyj124 >= l { break } } else { @@ -1415,36 +1415,10 @@ func (x *RoleBinding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys124Slc = r.DecodeBytes(yys124Slc, true, true) + yys124 := string(yys124Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg3_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "subjects": - if r.TryDecodeAsNil() { - x.Subjects = nil - } else { - yyv5 := &x.Subjects - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - h.decSliceSubject((*[]Subject)(yyv5), d) - } - } - case "roleRef": - if r.TryDecodeAsNil() { - x.RoleRef = pkg3_v1.ObjectReference{} - } else { - yyv7 := &x.RoleRef - yyv7.CodecDecodeSelf(d) - } + switch yys124 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1457,10 +1431,36 @@ func (x *RoleBinding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg3_v1.ObjectMeta{} + } else { + yyv127 := &x.ObjectMeta + yyv127.CodecDecodeSelf(d) + } + case "subjects": + if r.TryDecodeAsNil() { + x.Subjects = nil + } else { + yyv128 := &x.Subjects + yym129 := z.DecBinary() + _ = yym129 + if false { + } else { + h.decSliceSubject((*[]Subject)(yyv128), d) + } + } + case "roleRef": + if r.TryDecodeAsNil() { + x.RoleRef = pkg3_v1.ObjectReference{} + } else { + yyv130 := &x.RoleRef + yyv130.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys124) + } // end switch yys124 + } // end for yyj124 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1468,72 +1468,16 @@ func (x *RoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj131 int + var yyb131 bool + var yyhl131 bool = l >= 0 + yyj131++ + if yyhl131 { + yyb131 = yyj131 > l } else { - yyb10 = r.CheckBreak() + yyb131 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg3_v1.ObjectMeta{} - } else { - yyv11 := &x.ObjectMeta - yyv11.CodecDecodeSelf(d) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Subjects = nil - } else { - yyv12 := &x.Subjects - yym13 := z.DecBinary() - _ = yym13 - if false { - } else { - h.decSliceSubject((*[]Subject)(yyv12), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RoleRef = pkg3_v1.ObjectReference{} - } else { - yyv14 := &x.RoleRef - yyv14.CodecDecodeSelf(d) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb131 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1543,13 +1487,13 @@ func (x *RoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj131++ + if yyhl131 { + yyb131 = yyj131 > l } else { - yyb10 = r.CheckBreak() + yyb131 = r.CheckBreak() } - if yyb10 { + if yyb131 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1559,18 +1503,74 @@ func (x *RoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj131++ + if yyhl131 { + yyb131 = yyj131 > l + } else { + yyb131 = r.CheckBreak() + } + if yyb131 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg3_v1.ObjectMeta{} + } else { + yyv134 := &x.ObjectMeta + yyv134.CodecDecodeSelf(d) + } + yyj131++ + if yyhl131 { + yyb131 = yyj131 > l + } else { + yyb131 = r.CheckBreak() + } + if yyb131 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Subjects = nil + } else { + yyv135 := &x.Subjects + yym136 := z.DecBinary() + _ = yym136 + if false { } else { - yyb10 = r.CheckBreak() + h.decSliceSubject((*[]Subject)(yyv135), d) } - if yyb10 { + } + yyj131++ + if yyhl131 { + yyb131 = yyj131 > l + } else { + yyb131 = r.CheckBreak() + } + if yyb131 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RoleRef = pkg3_v1.ObjectReference{} + } else { + yyv137 := &x.RoleRef + yyv137.CodecDecodeSelf(d) + } + for { + yyj131++ + if yyhl131 { + yyb131 = yyj131 > l + } else { + yyb131 = r.CheckBreak() + } + if yyb131 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj131-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1582,68 +1582,118 @@ func (x *RoleBindingList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym138 := z.EncBinary() + _ = yym138 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep139 := !z.EncBinary() + yy2arr139 := z.EncBasicHandle().StructToArray + var yyq139 [4]bool + _, _, _ = yysep139, yyq139, yy2arr139 + const yyr139 bool = false + yyq139[0] = x.Kind != "" + yyq139[1] = x.APIVersion != "" + yyq139[2] = true + var yynn139 int + if yyr139 || yy2arr139 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn139 = 1 + for _, b := range yyq139 { if b { - yynn2++ + yynn139++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn139) + yynn139 = 0 } - if yyr2 || yy2arr2 { + if yyr139 || yy2arr139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq139[0] { + yym141 := z.EncBinary() + _ = yym141 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq139[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym142 := z.EncBinary() + _ = yym142 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr139 || yy2arr139 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq139[1] { + yym144 := z.EncBinary() + _ = yym144 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq139[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym145 := z.EncBinary() + _ = yym145 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr139 || yy2arr139 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq139[2] { + yy147 := &x.ListMeta + yym148 := z.EncBinary() + _ = yym148 + if false { + } else if z.HasExtensions() && z.EncExt(yy147) { + } else { + z.EncFallback(yy147) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq139[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy149 := &x.ListMeta + yym150 := z.EncBinary() + _ = yym150 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy149) { } else { - z.EncFallback(yy6) + z.EncFallback(yy149) } } } - if yyr2 || yy2arr2 { + if yyr139 || yy2arr139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym152 := z.EncBinary() + _ = yym152 if false { } else { h.encSliceRoleBinding(([]RoleBinding)(x.Items), e) @@ -1656,65 +1706,15 @@ func (x *RoleBindingList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym153 := z.EncBinary() + _ = yym153 if false { } else { h.encSliceRoleBinding(([]RoleBinding)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr139 || yy2arr139 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1727,25 +1727,25 @@ func (x *RoleBindingList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym154 := z.DecBinary() + _ = yym154 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct155 := r.ContainerType() + if yyct155 == codecSelferValueTypeMap1234 { + yyl155 := r.ReadMapStart() + if yyl155 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl155, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct155 == codecSelferValueTypeArray1234 { + yyl155 := r.ReadArrayStart() + if yyl155 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl155, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1757,12 +1757,12 @@ func (x *RoleBindingList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys156Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys156Slc + var yyhl156 bool = l >= 0 + for yyj156 := 0; ; yyj156++ { + if yyhl156 { + if yyj156 >= l { break } } else { @@ -1771,35 +1771,10 @@ func (x *RoleBindingList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys156Slc = r.DecodeBytes(yys156Slc, true, true) + yys156 := string(yys156Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceRoleBinding((*[]RoleBinding)(yyv6), d) - } - } + switch yys156 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1812,10 +1787,35 @@ func (x *RoleBindingList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv159 := &x.ListMeta + yym160 := z.DecBinary() + _ = yym160 + if false { + } else if z.HasExtensions() && z.DecExt(yyv159) { + } else { + z.DecFallback(yyv159, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv161 := &x.Items + yym162 := z.DecBinary() + _ = yym162 + if false { + } else { + h.decSliceRoleBinding((*[]RoleBinding)(yyv161), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys156) + } // end switch yys156 + } // end for yyj156 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1823,61 +1823,16 @@ func (x *RoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj163 int + var yyb163 bool + var yyhl163 bool = l >= 0 + yyj163++ + if yyhl163 { + yyb163 = yyj163 > l } else { - yyb10 = r.CheckBreak() + yyb163 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceRoleBinding((*[]RoleBinding)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb163 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1887,13 +1842,13 @@ func (x *RoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj163++ + if yyhl163 { + yyb163 = yyj163 > l } else { - yyb10 = r.CheckBreak() + yyb163 = r.CheckBreak() } - if yyb10 { + if yyb163 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1903,18 +1858,63 @@ func (x *RoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj163++ + if yyhl163 { + yyb163 = yyj163 > l + } else { + yyb163 = r.CheckBreak() + } + if yyb163 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv166 := &x.ListMeta + yym167 := z.DecBinary() + _ = yym167 + if false { + } else if z.HasExtensions() && z.DecExt(yyv166) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv166, false) } - if yyb10 { + } + yyj163++ + if yyhl163 { + yyb163 = yyj163 > l + } else { + yyb163 = r.CheckBreak() + } + if yyb163 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv168 := &x.Items + yym169 := z.DecBinary() + _ = yym169 + if false { + } else { + h.decSliceRoleBinding((*[]RoleBinding)(yyv168), d) + } + } + for { + yyj163++ + if yyhl163 { + yyb163 = yyj163 > l + } else { + yyb163 = r.CheckBreak() + } + if yyb163 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj163-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1926,68 +1926,118 @@ func (x *RoleList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym170 := z.EncBinary() + _ = yym170 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep171 := !z.EncBinary() + yy2arr171 := z.EncBasicHandle().StructToArray + var yyq171 [4]bool + _, _, _ = yysep171, yyq171, yy2arr171 + const yyr171 bool = false + yyq171[0] = x.Kind != "" + yyq171[1] = x.APIVersion != "" + yyq171[2] = true + var yynn171 int + if yyr171 || yy2arr171 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn171 = 1 + for _, b := range yyq171 { if b { - yynn2++ + yynn171++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn171) + yynn171 = 0 } - if yyr2 || yy2arr2 { + if yyr171 || yy2arr171 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq171[0] { + yym173 := z.EncBinary() + _ = yym173 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq171[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym174 := z.EncBinary() + _ = yym174 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr171 || yy2arr171 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq171[1] { + yym176 := z.EncBinary() + _ = yym176 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq171[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym177 := z.EncBinary() + _ = yym177 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr171 || yy2arr171 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq171[2] { + yy179 := &x.ListMeta + yym180 := z.EncBinary() + _ = yym180 + if false { + } else if z.HasExtensions() && z.EncExt(yy179) { + } else { + z.EncFallback(yy179) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq171[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy181 := &x.ListMeta + yym182 := z.EncBinary() + _ = yym182 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy181) { } else { - z.EncFallback(yy6) + z.EncFallback(yy181) } } } - if yyr2 || yy2arr2 { + if yyr171 || yy2arr171 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym184 := z.EncBinary() + _ = yym184 if false { } else { h.encSliceRole(([]Role)(x.Items), e) @@ -2000,65 +2050,15 @@ func (x *RoleList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym185 := z.EncBinary() + _ = yym185 if false { } else { h.encSliceRole(([]Role)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr171 || yy2arr171 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2071,25 +2071,25 @@ func (x *RoleList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym186 := z.DecBinary() + _ = yym186 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct187 := r.ContainerType() + if yyct187 == codecSelferValueTypeMap1234 { + yyl187 := r.ReadMapStart() + if yyl187 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl187, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct187 == codecSelferValueTypeArray1234 { + yyl187 := r.ReadArrayStart() + if yyl187 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl187, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2101,12 +2101,12 @@ func (x *RoleList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys188Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys188Slc + var yyhl188 bool = l >= 0 + for yyj188 := 0; ; yyj188++ { + if yyhl188 { + if yyj188 >= l { break } } else { @@ -2115,35 +2115,10 @@ func (x *RoleList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys188Slc = r.DecodeBytes(yys188Slc, true, true) + yys188 := string(yys188Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceRole((*[]Role)(yyv6), d) - } - } + switch yys188 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -2156,10 +2131,35 @@ func (x *RoleList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv191 := &x.ListMeta + yym192 := z.DecBinary() + _ = yym192 + if false { + } else if z.HasExtensions() && z.DecExt(yyv191) { + } else { + z.DecFallback(yyv191, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv193 := &x.Items + yym194 := z.DecBinary() + _ = yym194 + if false { + } else { + h.decSliceRole((*[]Role)(yyv193), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys188) + } // end switch yys188 + } // end for yyj188 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2167,61 +2167,16 @@ func (x *RoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj195 int + var yyb195 bool + var yyhl195 bool = l >= 0 + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb10 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceRole((*[]Role)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2231,13 +2186,13 @@ func (x *RoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l } else { - yyb10 = r.CheckBreak() + yyb195 = r.CheckBreak() } - if yyb10 { + if yyb195 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2247,18 +2202,63 @@ func (x *RoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l + } else { + yyb195 = r.CheckBreak() + } + if yyb195 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv198 := &x.ListMeta + yym199 := z.DecBinary() + _ = yym199 + if false { + } else if z.HasExtensions() && z.DecExt(yyv198) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv198, false) } - if yyb10 { + } + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l + } else { + yyb195 = r.CheckBreak() + } + if yyb195 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv200 := &x.Items + yym201 := z.DecBinary() + _ = yym201 + if false { + } else { + h.decSliceRole((*[]Role)(yyv200), d) + } + } + for { + yyj195++ + if yyhl195 { + yyb195 = yyj195 > l + } else { + yyb195 = r.CheckBreak() + } + if yyb195 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj195-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2270,56 +2270,106 @@ func (x *ClusterRole) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym202 := z.EncBinary() + _ = yym202 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep203 := !z.EncBinary() + yy2arr203 := z.EncBasicHandle().StructToArray + var yyq203 [4]bool + _, _, _ = yysep203, yyq203, yy2arr203 + const yyr203 bool = false + yyq203[0] = x.Kind != "" + yyq203[1] = x.APIVersion != "" + yyq203[2] = true + var yynn203 int + if yyr203 || yy2arr203 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn203 = 1 + for _, b := range yyq203 { if b { - yynn2++ + yynn203++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn203) + yynn203 = 0 } - if yyr2 || yy2arr2 { + if yyr203 || yy2arr203 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq203[0] { + yym205 := z.EncBinary() + _ = yym205 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq203[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym206 := z.EncBinary() + _ = yym206 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr203 || yy2arr203 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq203[1] { + yym208 := z.EncBinary() + _ = yym208 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq203[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym209 := z.EncBinary() + _ = yym209 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr203 || yy2arr203 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq203[2] { + yy211 := &x.ObjectMeta + yy211.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq203[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy212 := &x.ObjectMeta + yy212.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr203 || yy2arr203 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Rules == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym214 := z.EncBinary() + _ = yym214 if false { } else { h.encSlicePolicyRule(([]PolicyRule)(x.Rules), e) @@ -2332,65 +2382,15 @@ func (x *ClusterRole) CodecEncodeSelf(e *codec1978.Encoder) { if x.Rules == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym215 := z.EncBinary() + _ = yym215 if false { } else { h.encSlicePolicyRule(([]PolicyRule)(x.Rules), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr203 || yy2arr203 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2403,25 +2403,25 @@ func (x *ClusterRole) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym216 := z.DecBinary() + _ = yym216 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct217 := r.ContainerType() + if yyct217 == codecSelferValueTypeMap1234 { + yyl217 := r.ReadMapStart() + if yyl217 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl217, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct217 == codecSelferValueTypeArray1234 { + yyl217 := r.ReadArrayStart() + if yyl217 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl217, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2433,12 +2433,12 @@ func (x *ClusterRole) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys218Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys218Slc + var yyhl218 bool = l >= 0 + for yyj218 := 0; ; yyj218++ { + if yyhl218 { + if yyj218 >= l { break } } else { @@ -2447,29 +2447,10 @@ func (x *ClusterRole) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys218Slc = r.DecodeBytes(yys218Slc, true, true) + yys218 := string(yys218Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg3_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "rules": - if r.TryDecodeAsNil() { - x.Rules = nil - } else { - yyv5 := &x.Rules - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - h.decSlicePolicyRule((*[]PolicyRule)(yyv5), d) - } - } + switch yys218 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -2482,10 +2463,29 @@ func (x *ClusterRole) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg3_v1.ObjectMeta{} + } else { + yyv221 := &x.ObjectMeta + yyv221.CodecDecodeSelf(d) + } + case "rules": + if r.TryDecodeAsNil() { + x.Rules = nil + } else { + yyv222 := &x.Rules + yym223 := z.DecBinary() + _ = yym223 + if false { + } else { + h.decSlicePolicyRule((*[]PolicyRule)(yyv222), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys218) + } // end switch yys218 + } // end for yyj218 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2493,55 +2493,16 @@ func (x *ClusterRole) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj224 int + var yyb224 bool + var yyhl224 bool = l >= 0 + yyj224++ + if yyhl224 { + yyb224 = yyj224 > l } else { - yyb9 = r.CheckBreak() + yyb224 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg3_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Rules = nil - } else { - yyv11 := &x.Rules - yym12 := z.DecBinary() - _ = yym12 - if false { - } else { - h.decSlicePolicyRule((*[]PolicyRule)(yyv11), d) - } - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb224 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2551,13 +2512,13 @@ func (x *ClusterRole) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj224++ + if yyhl224 { + yyb224 = yyj224 > l } else { - yyb9 = r.CheckBreak() + yyb224 = r.CheckBreak() } - if yyb9 { + if yyb224 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2567,18 +2528,57 @@ func (x *ClusterRole) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj224++ + if yyhl224 { + yyb224 = yyj224 > l + } else { + yyb224 = r.CheckBreak() + } + if yyb224 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg3_v1.ObjectMeta{} + } else { + yyv227 := &x.ObjectMeta + yyv227.CodecDecodeSelf(d) + } + yyj224++ + if yyhl224 { + yyb224 = yyj224 > l + } else { + yyb224 = r.CheckBreak() + } + if yyb224 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Rules = nil + } else { + yyv228 := &x.Rules + yym229 := z.DecBinary() + _ = yym229 + if false { } else { - yyb9 = r.CheckBreak() + h.decSlicePolicyRule((*[]PolicyRule)(yyv228), d) } - if yyb9 { + } + for { + yyj224++ + if yyhl224 { + yyb224 = yyj224 > l + } else { + yyb224 = r.CheckBreak() + } + if yyb224 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj224-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2590,56 +2590,106 @@ func (x *ClusterRoleBinding) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym230 := z.EncBinary() + _ = yym230 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep231 := !z.EncBinary() + yy2arr231 := z.EncBasicHandle().StructToArray + var yyq231 [5]bool + _, _, _ = yysep231, yyq231, yy2arr231 + const yyr231 bool = false + yyq231[0] = x.Kind != "" + yyq231[1] = x.APIVersion != "" + yyq231[2] = true + var yynn231 int + if yyr231 || yy2arr231 { r.EncodeArrayStart(5) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn231 = 2 + for _, b := range yyq231 { if b { - yynn2++ + yynn231++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn231) + yynn231 = 0 } - if yyr2 || yy2arr2 { + if yyr231 || yy2arr231 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) + if yyq231[0] { + yym233 := z.EncBinary() + _ = yym233 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq231[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym234 := z.EncBinary() + _ = yym234 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr231 || yy2arr231 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq231[1] { + yym236 := z.EncBinary() + _ = yym236 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq231[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym237 := z.EncBinary() + _ = yym237 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr231 || yy2arr231 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq231[2] { + yy239 := &x.ObjectMeta + yy239.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq231[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) + yy240 := &x.ObjectMeta + yy240.CodecEncodeSelf(e) } } - if yyr2 || yy2arr2 { + if yyr231 || yy2arr231 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Subjects == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym242 := z.EncBinary() + _ = yym242 if false { } else { h.encSliceSubject(([]Subject)(x.Subjects), e) @@ -2652,76 +2702,26 @@ func (x *ClusterRoleBinding) CodecEncodeSelf(e *codec1978.Encoder) { if x.Subjects == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym243 := z.EncBinary() + _ = yym243 if false { } else { h.encSliceSubject(([]Subject)(x.Subjects), e) } } } - if yyr2 || yy2arr2 { + if yyr231 || yy2arr231 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy12 := &x.RoleRef - yy12.CodecEncodeSelf(e) + yy245 := &x.RoleRef + yy245.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("roleRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy14 := &x.RoleRef - yy14.CodecEncodeSelf(e) + yy246 := &x.RoleRef + yy246.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym17 := z.EncBinary() - _ = yym17 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym18 := z.EncBinary() - _ = yym18 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr231 || yy2arr231 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2734,25 +2734,25 @@ func (x *ClusterRoleBinding) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym247 := z.DecBinary() + _ = yym247 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct248 := r.ContainerType() + if yyct248 == codecSelferValueTypeMap1234 { + yyl248 := r.ReadMapStart() + if yyl248 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl248, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct248 == codecSelferValueTypeArray1234 { + yyl248 := r.ReadArrayStart() + if yyl248 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl248, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2764,12 +2764,12 @@ func (x *ClusterRoleBinding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys249Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys249Slc + var yyhl249 bool = l >= 0 + for yyj249 := 0; ; yyj249++ { + if yyhl249 { + if yyj249 >= l { break } } else { @@ -2778,36 +2778,10 @@ func (x *ClusterRoleBinding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys249Slc = r.DecodeBytes(yys249Slc, true, true) + yys249 := string(yys249Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg3_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "subjects": - if r.TryDecodeAsNil() { - x.Subjects = nil - } else { - yyv5 := &x.Subjects - yym6 := z.DecBinary() - _ = yym6 - if false { - } else { - h.decSliceSubject((*[]Subject)(yyv5), d) - } - } - case "roleRef": - if r.TryDecodeAsNil() { - x.RoleRef = pkg3_v1.ObjectReference{} - } else { - yyv7 := &x.RoleRef - yyv7.CodecDecodeSelf(d) - } + switch yys249 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -2820,10 +2794,36 @@ func (x *ClusterRoleBinding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg3_v1.ObjectMeta{} + } else { + yyv252 := &x.ObjectMeta + yyv252.CodecDecodeSelf(d) + } + case "subjects": + if r.TryDecodeAsNil() { + x.Subjects = nil + } else { + yyv253 := &x.Subjects + yym254 := z.DecBinary() + _ = yym254 + if false { + } else { + h.decSliceSubject((*[]Subject)(yyv253), d) + } + } + case "roleRef": + if r.TryDecodeAsNil() { + x.RoleRef = pkg3_v1.ObjectReference{} + } else { + yyv255 := &x.RoleRef + yyv255.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys249) + } // end switch yys249 + } // end for yyj249 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2831,72 +2831,16 @@ func (x *ClusterRoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj256 int + var yyb256 bool + var yyhl256 bool = l >= 0 + yyj256++ + if yyhl256 { + yyb256 = yyj256 > l } else { - yyb10 = r.CheckBreak() + yyb256 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg3_v1.ObjectMeta{} - } else { - yyv11 := &x.ObjectMeta - yyv11.CodecDecodeSelf(d) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Subjects = nil - } else { - yyv12 := &x.Subjects - yym13 := z.DecBinary() - _ = yym13 - if false { - } else { - h.decSliceSubject((*[]Subject)(yyv12), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.RoleRef = pkg3_v1.ObjectReference{} - } else { - yyv14 := &x.RoleRef - yyv14.CodecDecodeSelf(d) - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb256 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2906,13 +2850,13 @@ func (x *ClusterRoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj256++ + if yyhl256 { + yyb256 = yyj256 > l } else { - yyb10 = r.CheckBreak() + yyb256 = r.CheckBreak() } - if yyb10 { + if yyb256 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2922,18 +2866,74 @@ func (x *ClusterRoleBinding) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj256++ + if yyhl256 { + yyb256 = yyj256 > l + } else { + yyb256 = r.CheckBreak() + } + if yyb256 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg3_v1.ObjectMeta{} + } else { + yyv259 := &x.ObjectMeta + yyv259.CodecDecodeSelf(d) + } + yyj256++ + if yyhl256 { + yyb256 = yyj256 > l + } else { + yyb256 = r.CheckBreak() + } + if yyb256 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Subjects = nil + } else { + yyv260 := &x.Subjects + yym261 := z.DecBinary() + _ = yym261 + if false { } else { - yyb10 = r.CheckBreak() + h.decSliceSubject((*[]Subject)(yyv260), d) } - if yyb10 { + } + yyj256++ + if yyhl256 { + yyb256 = yyj256 > l + } else { + yyb256 = r.CheckBreak() + } + if yyb256 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.RoleRef = pkg3_v1.ObjectReference{} + } else { + yyv262 := &x.RoleRef + yyv262.CodecDecodeSelf(d) + } + for { + yyj256++ + if yyhl256 { + yyb256 = yyj256 > l + } else { + yyb256 = r.CheckBreak() + } + if yyb256 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj256-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2945,68 +2945,118 @@ func (x *ClusterRoleBindingList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym263 := z.EncBinary() + _ = yym263 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep264 := !z.EncBinary() + yy2arr264 := z.EncBasicHandle().StructToArray + var yyq264 [4]bool + _, _, _ = yysep264, yyq264, yy2arr264 + const yyr264 bool = false + yyq264[0] = x.Kind != "" + yyq264[1] = x.APIVersion != "" + yyq264[2] = true + var yynn264 int + if yyr264 || yy2arr264 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn264 = 1 + for _, b := range yyq264 { if b { - yynn2++ + yynn264++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn264) + yynn264 = 0 } - if yyr2 || yy2arr2 { + if yyr264 || yy2arr264 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq264[0] { + yym266 := z.EncBinary() + _ = yym266 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq264[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym267 := z.EncBinary() + _ = yym267 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr264 || yy2arr264 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq264[1] { + yym269 := z.EncBinary() + _ = yym269 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq264[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym270 := z.EncBinary() + _ = yym270 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr264 || yy2arr264 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq264[2] { + yy272 := &x.ListMeta + yym273 := z.EncBinary() + _ = yym273 + if false { + } else if z.HasExtensions() && z.EncExt(yy272) { + } else { + z.EncFallback(yy272) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq264[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy274 := &x.ListMeta + yym275 := z.EncBinary() + _ = yym275 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy274) { } else { - z.EncFallback(yy6) + z.EncFallback(yy274) } } } - if yyr2 || yy2arr2 { + if yyr264 || yy2arr264 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym277 := z.EncBinary() + _ = yym277 if false { } else { h.encSliceClusterRoleBinding(([]ClusterRoleBinding)(x.Items), e) @@ -3019,65 +3069,15 @@ func (x *ClusterRoleBindingList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym278 := z.EncBinary() + _ = yym278 if false { } else { h.encSliceClusterRoleBinding(([]ClusterRoleBinding)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr264 || yy2arr264 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3090,25 +3090,25 @@ func (x *ClusterRoleBindingList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym279 := z.DecBinary() + _ = yym279 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct280 := r.ContainerType() + if yyct280 == codecSelferValueTypeMap1234 { + yyl280 := r.ReadMapStart() + if yyl280 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl280, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct280 == codecSelferValueTypeArray1234 { + yyl280 := r.ReadArrayStart() + if yyl280 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl280, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3120,12 +3120,12 @@ func (x *ClusterRoleBindingList) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys281Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys281Slc + var yyhl281 bool = l >= 0 + for yyj281 := 0; ; yyj281++ { + if yyhl281 { + if yyj281 >= l { break } } else { @@ -3134,35 +3134,10 @@ func (x *ClusterRoleBindingList) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys281Slc = r.DecodeBytes(yys281Slc, true, true) + yys281 := string(yys281Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceClusterRoleBinding((*[]ClusterRoleBinding)(yyv6), d) - } - } + switch yys281 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3175,10 +3150,35 @@ func (x *ClusterRoleBindingList) codecDecodeSelfFromMap(l int, d *codec1978.Deco } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv284 := &x.ListMeta + yym285 := z.DecBinary() + _ = yym285 + if false { + } else if z.HasExtensions() && z.DecExt(yyv284) { + } else { + z.DecFallback(yyv284, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv286 := &x.Items + yym287 := z.DecBinary() + _ = yym287 + if false { + } else { + h.decSliceClusterRoleBinding((*[]ClusterRoleBinding)(yyv286), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys281) + } // end switch yys281 + } // end for yyj281 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3186,61 +3186,16 @@ func (x *ClusterRoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj288 int + var yyb288 bool + var yyhl288 bool = l >= 0 + yyj288++ + if yyhl288 { + yyb288 = yyj288 > l } else { - yyb10 = r.CheckBreak() + yyb288 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceClusterRoleBinding((*[]ClusterRoleBinding)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb288 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3250,13 +3205,13 @@ func (x *ClusterRoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj288++ + if yyhl288 { + yyb288 = yyj288 > l } else { - yyb10 = r.CheckBreak() + yyb288 = r.CheckBreak() } - if yyb10 { + if yyb288 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3266,18 +3221,63 @@ func (x *ClusterRoleBindingList) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj288++ + if yyhl288 { + yyb288 = yyj288 > l + } else { + yyb288 = r.CheckBreak() + } + if yyb288 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv291 := &x.ListMeta + yym292 := z.DecBinary() + _ = yym292 + if false { + } else if z.HasExtensions() && z.DecExt(yyv291) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv291, false) } - if yyb10 { + } + yyj288++ + if yyhl288 { + yyb288 = yyj288 > l + } else { + yyb288 = r.CheckBreak() + } + if yyb288 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv293 := &x.Items + yym294 := z.DecBinary() + _ = yym294 + if false { + } else { + h.decSliceClusterRoleBinding((*[]ClusterRoleBinding)(yyv293), d) + } + } + for { + yyj288++ + if yyhl288 { + yyb288 = yyj288 > l + } else { + yyb288 = r.CheckBreak() + } + if yyb288 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj288-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3289,68 +3289,118 @@ func (x *ClusterRoleList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym295 := z.EncBinary() + _ = yym295 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep296 := !z.EncBinary() + yy2arr296 := z.EncBasicHandle().StructToArray + var yyq296 [4]bool + _, _, _ = yysep296, yyq296, yy2arr296 + const yyr296 bool = false + yyq296[0] = x.Kind != "" + yyq296[1] = x.APIVersion != "" + yyq296[2] = true + var yynn296 int + if yyr296 || yy2arr296 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn296 = 1 + for _, b := range yyq296 { if b { - yynn2++ + yynn296++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn296) + yynn296 = 0 } - if yyr2 || yy2arr2 { + if yyr296 || yy2arr296 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq296[0] { + yym298 := z.EncBinary() + _ = yym298 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq296[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym299 := z.EncBinary() + _ = yym299 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr296 || yy2arr296 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq296[1] { + yym301 := z.EncBinary() + _ = yym301 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq296[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym302 := z.EncBinary() + _ = yym302 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr296 || yy2arr296 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq296[2] { + yy304 := &x.ListMeta + yym305 := z.EncBinary() + _ = yym305 + if false { + } else if z.HasExtensions() && z.EncExt(yy304) { + } else { + z.EncFallback(yy304) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq296[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy306 := &x.ListMeta + yym307 := z.EncBinary() + _ = yym307 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy306) { } else { - z.EncFallback(yy6) + z.EncFallback(yy306) } } } - if yyr2 || yy2arr2 { + if yyr296 || yy2arr296 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym309 := z.EncBinary() + _ = yym309 if false { } else { h.encSliceClusterRole(([]ClusterRole)(x.Items), e) @@ -3363,65 +3413,15 @@ func (x *ClusterRoleList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym310 := z.EncBinary() + _ = yym310 if false { } else { h.encSliceClusterRole(([]ClusterRole)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr296 || yy2arr296 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -3434,25 +3434,25 @@ func (x *ClusterRoleList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym311 := z.DecBinary() + _ = yym311 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct312 := r.ContainerType() + if yyct312 == codecSelferValueTypeMap1234 { + yyl312 := r.ReadMapStart() + if yyl312 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl312, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct312 == codecSelferValueTypeArray1234 { + yyl312 := r.ReadArrayStart() + if yyl312 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl312, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -3464,12 +3464,12 @@ func (x *ClusterRoleList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys313Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys313Slc + var yyhl313 bool = l >= 0 + for yyj313 := 0; ; yyj313++ { + if yyhl313 { + if yyj313 >= l { break } } else { @@ -3478,35 +3478,10 @@ func (x *ClusterRoleList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys313Slc = r.DecodeBytes(yys313Slc, true, true) + yys313 := string(yys313Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceClusterRole((*[]ClusterRole)(yyv6), d) - } - } + switch yys313 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -3519,10 +3494,35 @@ func (x *ClusterRoleList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv316 := &x.ListMeta + yym317 := z.DecBinary() + _ = yym317 + if false { + } else if z.HasExtensions() && z.DecExt(yyv316) { + } else { + z.DecFallback(yyv316, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv318 := &x.Items + yym319 := z.DecBinary() + _ = yym319 + if false { + } else { + h.decSliceClusterRole((*[]ClusterRole)(yyv318), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys313) + } // end switch yys313 + } // end for yyj313 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -3530,61 +3530,16 @@ func (x *ClusterRoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj320 int + var yyb320 bool + var yyhl320 bool = l >= 0 + yyj320++ + if yyhl320 { + yyb320 = yyj320 > l } else { - yyb10 = r.CheckBreak() + yyb320 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceClusterRole((*[]ClusterRole)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb320 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3594,13 +3549,13 @@ func (x *ClusterRoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj320++ + if yyhl320 { + yyb320 = yyj320 > l } else { - yyb10 = r.CheckBreak() + yyb320 = r.CheckBreak() } - if yyb10 { + if yyb320 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -3610,18 +3565,63 @@ func (x *ClusterRoleList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj320++ + if yyhl320 { + yyb320 = yyj320 > l + } else { + yyb320 = r.CheckBreak() + } + if yyb320 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv323 := &x.ListMeta + yym324 := z.DecBinary() + _ = yym324 + if false { + } else if z.HasExtensions() && z.DecExt(yyv323) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv323, false) } - if yyb10 { + } + yyj320++ + if yyhl320 { + yyb320 = yyj320 > l + } else { + yyb320 = r.CheckBreak() + } + if yyb320 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv325 := &x.Items + yym326 := z.DecBinary() + _ = yym326 + if false { + } else { + h.decSliceClusterRole((*[]ClusterRole)(yyv325), d) + } + } + for { + yyj320++ + if yyhl320 { + yyb320 = yyj320 > l + } else { + yyb320 = r.CheckBreak() + } + if yyb320 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj320-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3631,10 +3631,10 @@ func (x codecSelfer1234) encSlicePolicyRule(v []PolicyRule, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv327 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy328 := &yyv327 + yy328.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3644,86 +3644,83 @@ func (x codecSelfer1234) decSlicePolicyRule(v *[]PolicyRule, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []PolicyRule{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv329 := *v + yyh329, yyl329 := z.DecSliceHelperStart() + var yyc329 bool + if yyl329 == 0 { + if yyv329 == nil { + yyv329 = []PolicyRule{} + yyc329 = true + } else if len(yyv329) != 0 { + yyv329 = yyv329[:0] + yyc329 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl329 > 0 { + var yyrr329, yyrl329 int + var yyrt329 bool + if yyl329 > cap(yyv329) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 160) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg329 := len(yyv329) > 0 + yyv2329 := yyv329 + yyrl329, yyrt329 = z.DecInferLen(yyl329, z.DecBasicHandle().MaxInitLen, 160) + if yyrt329 { + if yyrl329 <= cap(yyv329) { + yyv329 = yyv329[:yyrl329] } else { - yyv1 = make([]PolicyRule, yyrl1) + yyv329 = make([]PolicyRule, yyrl329) } } else { - yyv1 = make([]PolicyRule, yyrl1) + yyv329 = make([]PolicyRule, yyrl329) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc329 = true + yyrr329 = len(yyv329) + if yyrg329 { + copy(yyv329, yyv2329) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl329 != len(yyv329) { + yyv329 = yyv329[:yyl329] + yyc329 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj329 := 0 + for ; yyj329 < yyrr329; yyj329++ { + yyh329.ElemContainerState(yyj329) if r.TryDecodeAsNil() { - yyv1[yyj1] = PolicyRule{} + yyv329[yyj329] = PolicyRule{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv330 := &yyv329[yyj329] + yyv330.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, PolicyRule{}) - yyh1.ElemContainerState(yyj1) + if yyrt329 { + for ; yyj329 < yyl329; yyj329++ { + yyv329 = append(yyv329, PolicyRule{}) + yyh329.ElemContainerState(yyj329) if r.TryDecodeAsNil() { - yyv1[yyj1] = PolicyRule{} + yyv329[yyj329] = PolicyRule{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv331 := &yyv329[yyj329] + yyv331.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj329 := 0 + for ; !r.CheckBreak(); yyj329++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, PolicyRule{}) // var yyz1 PolicyRule - yyc1 = true + if yyj329 >= len(yyv329) { + yyv329 = append(yyv329, PolicyRule{}) // var yyz329 PolicyRule + yyc329 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh329.ElemContainerState(yyj329) + if yyj329 < len(yyv329) { if r.TryDecodeAsNil() { - yyv1[yyj1] = PolicyRule{} + yyv329[yyj329] = PolicyRule{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv332 := &yyv329[yyj329] + yyv332.CodecDecodeSelf(d) } } else { @@ -3731,17 +3728,17 @@ func (x codecSelfer1234) decSlicePolicyRule(v *[]PolicyRule, d *codec1978.Decode } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []PolicyRule{} - yyc1 = true + if yyj329 < len(yyv329) { + yyv329 = yyv329[:yyj329] + yyc329 = true + } else if yyj329 == 0 && yyv329 == nil { + yyv329 = []PolicyRule{} + yyc329 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh329.End() + if yyc329 { + *v = yyv329 } } @@ -3750,10 +3747,10 @@ func (x codecSelfer1234) encSliceSubject(v []Subject, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv333 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy334 := &yyv333 + yy334.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3763,86 +3760,83 @@ func (x codecSelfer1234) decSliceSubject(v *[]Subject, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Subject{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv335 := *v + yyh335, yyl335 := z.DecSliceHelperStart() + var yyc335 bool + if yyl335 == 0 { + if yyv335 == nil { + yyv335 = []Subject{} + yyc335 = true + } else if len(yyv335) != 0 { + yyv335 = yyv335[:0] + yyc335 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl335 > 0 { + var yyrr335, yyrl335 int + var yyrt335 bool + if yyl335 > cap(yyv335) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg335 := len(yyv335) > 0 + yyv2335 := yyv335 + yyrl335, yyrt335 = z.DecInferLen(yyl335, z.DecBasicHandle().MaxInitLen, 64) + if yyrt335 { + if yyrl335 <= cap(yyv335) { + yyv335 = yyv335[:yyrl335] } else { - yyv1 = make([]Subject, yyrl1) + yyv335 = make([]Subject, yyrl335) } } else { - yyv1 = make([]Subject, yyrl1) + yyv335 = make([]Subject, yyrl335) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc335 = true + yyrr335 = len(yyv335) + if yyrg335 { + copy(yyv335, yyv2335) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl335 != len(yyv335) { + yyv335 = yyv335[:yyl335] + yyc335 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj335 := 0 + for ; yyj335 < yyrr335; yyj335++ { + yyh335.ElemContainerState(yyj335) if r.TryDecodeAsNil() { - yyv1[yyj1] = Subject{} + yyv335[yyj335] = Subject{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv336 := &yyv335[yyj335] + yyv336.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Subject{}) - yyh1.ElemContainerState(yyj1) + if yyrt335 { + for ; yyj335 < yyl335; yyj335++ { + yyv335 = append(yyv335, Subject{}) + yyh335.ElemContainerState(yyj335) if r.TryDecodeAsNil() { - yyv1[yyj1] = Subject{} + yyv335[yyj335] = Subject{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv337 := &yyv335[yyj335] + yyv337.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj335 := 0 + for ; !r.CheckBreak(); yyj335++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Subject{}) // var yyz1 Subject - yyc1 = true + if yyj335 >= len(yyv335) { + yyv335 = append(yyv335, Subject{}) // var yyz335 Subject + yyc335 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh335.ElemContainerState(yyj335) + if yyj335 < len(yyv335) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Subject{} + yyv335[yyj335] = Subject{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv338 := &yyv335[yyj335] + yyv338.CodecDecodeSelf(d) } } else { @@ -3850,17 +3844,17 @@ func (x codecSelfer1234) decSliceSubject(v *[]Subject, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Subject{} - yyc1 = true + if yyj335 < len(yyv335) { + yyv335 = yyv335[:yyj335] + yyc335 = true + } else if yyj335 == 0 && yyv335 == nil { + yyv335 = []Subject{} + yyc335 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh335.End() + if yyc335 { + *v = yyv335 } } @@ -3869,10 +3863,10 @@ func (x codecSelfer1234) encSliceRoleBinding(v []RoleBinding, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv339 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy340 := &yyv339 + yy340.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -3882,86 +3876,83 @@ func (x codecSelfer1234) decSliceRoleBinding(v *[]RoleBinding, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []RoleBinding{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv341 := *v + yyh341, yyl341 := z.DecSliceHelperStart() + var yyc341 bool + if yyl341 == 0 { + if yyv341 == nil { + yyv341 = []RoleBinding{} + yyc341 = true + } else if len(yyv341) != 0 { + yyv341 = yyv341[:0] + yyc341 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl341 > 0 { + var yyrr341, yyrl341 int + var yyrt341 bool + if yyl341 > cap(yyv341) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 376) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg341 := len(yyv341) > 0 + yyv2341 := yyv341 + yyrl341, yyrt341 = z.DecInferLen(yyl341, z.DecBasicHandle().MaxInitLen, 376) + if yyrt341 { + if yyrl341 <= cap(yyv341) { + yyv341 = yyv341[:yyrl341] } else { - yyv1 = make([]RoleBinding, yyrl1) + yyv341 = make([]RoleBinding, yyrl341) } } else { - yyv1 = make([]RoleBinding, yyrl1) + yyv341 = make([]RoleBinding, yyrl341) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc341 = true + yyrr341 = len(yyv341) + if yyrg341 { + copy(yyv341, yyv2341) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl341 != len(yyv341) { + yyv341 = yyv341[:yyl341] + yyc341 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj341 := 0 + for ; yyj341 < yyrr341; yyj341++ { + yyh341.ElemContainerState(yyj341) if r.TryDecodeAsNil() { - yyv1[yyj1] = RoleBinding{} + yyv341[yyj341] = RoleBinding{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv342 := &yyv341[yyj341] + yyv342.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, RoleBinding{}) - yyh1.ElemContainerState(yyj1) + if yyrt341 { + for ; yyj341 < yyl341; yyj341++ { + yyv341 = append(yyv341, RoleBinding{}) + yyh341.ElemContainerState(yyj341) if r.TryDecodeAsNil() { - yyv1[yyj1] = RoleBinding{} + yyv341[yyj341] = RoleBinding{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv343 := &yyv341[yyj341] + yyv343.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj341 := 0 + for ; !r.CheckBreak(); yyj341++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, RoleBinding{}) // var yyz1 RoleBinding - yyc1 = true + if yyj341 >= len(yyv341) { + yyv341 = append(yyv341, RoleBinding{}) // var yyz341 RoleBinding + yyc341 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh341.ElemContainerState(yyj341) + if yyj341 < len(yyv341) { if r.TryDecodeAsNil() { - yyv1[yyj1] = RoleBinding{} + yyv341[yyj341] = RoleBinding{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv344 := &yyv341[yyj341] + yyv344.CodecDecodeSelf(d) } } else { @@ -3969,17 +3960,17 @@ func (x codecSelfer1234) decSliceRoleBinding(v *[]RoleBinding, d *codec1978.Deco } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []RoleBinding{} - yyc1 = true + if yyj341 < len(yyv341) { + yyv341 = yyv341[:yyj341] + yyc341 = true + } else if yyj341 == 0 && yyv341 == nil { + yyv341 = []RoleBinding{} + yyc341 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh341.End() + if yyc341 { + *v = yyv341 } } @@ -3988,10 +3979,10 @@ func (x codecSelfer1234) encSliceRole(v []Role, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv345 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy346 := &yyv345 + yy346.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4001,86 +3992,83 @@ func (x codecSelfer1234) decSliceRole(v *[]Role, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Role{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv347 := *v + yyh347, yyl347 := z.DecSliceHelperStart() + var yyc347 bool + if yyl347 == 0 { + if yyv347 == nil { + yyv347 = []Role{} + yyc347 = true + } else if len(yyv347) != 0 { + yyv347 = yyv347[:0] + yyc347 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl347 > 0 { + var yyrr347, yyrl347 int + var yyrt347 bool + if yyl347 > cap(yyv347) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 264) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg347 := len(yyv347) > 0 + yyv2347 := yyv347 + yyrl347, yyrt347 = z.DecInferLen(yyl347, z.DecBasicHandle().MaxInitLen, 264) + if yyrt347 { + if yyrl347 <= cap(yyv347) { + yyv347 = yyv347[:yyrl347] } else { - yyv1 = make([]Role, yyrl1) + yyv347 = make([]Role, yyrl347) } } else { - yyv1 = make([]Role, yyrl1) + yyv347 = make([]Role, yyrl347) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc347 = true + yyrr347 = len(yyv347) + if yyrg347 { + copy(yyv347, yyv2347) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl347 != len(yyv347) { + yyv347 = yyv347[:yyl347] + yyc347 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj347 := 0 + for ; yyj347 < yyrr347; yyj347++ { + yyh347.ElemContainerState(yyj347) if r.TryDecodeAsNil() { - yyv1[yyj1] = Role{} + yyv347[yyj347] = Role{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv348 := &yyv347[yyj347] + yyv348.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Role{}) - yyh1.ElemContainerState(yyj1) + if yyrt347 { + for ; yyj347 < yyl347; yyj347++ { + yyv347 = append(yyv347, Role{}) + yyh347.ElemContainerState(yyj347) if r.TryDecodeAsNil() { - yyv1[yyj1] = Role{} + yyv347[yyj347] = Role{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv349 := &yyv347[yyj347] + yyv349.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj347 := 0 + for ; !r.CheckBreak(); yyj347++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Role{}) // var yyz1 Role - yyc1 = true + if yyj347 >= len(yyv347) { + yyv347 = append(yyv347, Role{}) // var yyz347 Role + yyc347 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh347.ElemContainerState(yyj347) + if yyj347 < len(yyv347) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Role{} + yyv347[yyj347] = Role{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv350 := &yyv347[yyj347] + yyv350.CodecDecodeSelf(d) } } else { @@ -4088,17 +4076,17 @@ func (x codecSelfer1234) decSliceRole(v *[]Role, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Role{} - yyc1 = true + if yyj347 < len(yyv347) { + yyv347 = yyv347[:yyj347] + yyc347 = true + } else if yyj347 == 0 && yyv347 == nil { + yyv347 = []Role{} + yyc347 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh347.End() + if yyc347 { + *v = yyv347 } } @@ -4107,10 +4095,10 @@ func (x codecSelfer1234) encSliceClusterRoleBinding(v []ClusterRoleBinding, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv351 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy352 := &yyv351 + yy352.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4120,86 +4108,83 @@ func (x codecSelfer1234) decSliceClusterRoleBinding(v *[]ClusterRoleBinding, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ClusterRoleBinding{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv353 := *v + yyh353, yyl353 := z.DecSliceHelperStart() + var yyc353 bool + if yyl353 == 0 { + if yyv353 == nil { + yyv353 = []ClusterRoleBinding{} + yyc353 = true + } else if len(yyv353) != 0 { + yyv353 = yyv353[:0] + yyc353 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl353 > 0 { + var yyrr353, yyrl353 int + var yyrt353 bool + if yyl353 > cap(yyv353) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 376) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg353 := len(yyv353) > 0 + yyv2353 := yyv353 + yyrl353, yyrt353 = z.DecInferLen(yyl353, z.DecBasicHandle().MaxInitLen, 376) + if yyrt353 { + if yyrl353 <= cap(yyv353) { + yyv353 = yyv353[:yyrl353] } else { - yyv1 = make([]ClusterRoleBinding, yyrl1) + yyv353 = make([]ClusterRoleBinding, yyrl353) } } else { - yyv1 = make([]ClusterRoleBinding, yyrl1) + yyv353 = make([]ClusterRoleBinding, yyrl353) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc353 = true + yyrr353 = len(yyv353) + if yyrg353 { + copy(yyv353, yyv2353) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl353 != len(yyv353) { + yyv353 = yyv353[:yyl353] + yyc353 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj353 := 0 + for ; yyj353 < yyrr353; yyj353++ { + yyh353.ElemContainerState(yyj353) if r.TryDecodeAsNil() { - yyv1[yyj1] = ClusterRoleBinding{} + yyv353[yyj353] = ClusterRoleBinding{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv354 := &yyv353[yyj353] + yyv354.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ClusterRoleBinding{}) - yyh1.ElemContainerState(yyj1) + if yyrt353 { + for ; yyj353 < yyl353; yyj353++ { + yyv353 = append(yyv353, ClusterRoleBinding{}) + yyh353.ElemContainerState(yyj353) if r.TryDecodeAsNil() { - yyv1[yyj1] = ClusterRoleBinding{} + yyv353[yyj353] = ClusterRoleBinding{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv355 := &yyv353[yyj353] + yyv355.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj353 := 0 + for ; !r.CheckBreak(); yyj353++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ClusterRoleBinding{}) // var yyz1 ClusterRoleBinding - yyc1 = true + if yyj353 >= len(yyv353) { + yyv353 = append(yyv353, ClusterRoleBinding{}) // var yyz353 ClusterRoleBinding + yyc353 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh353.ElemContainerState(yyj353) + if yyj353 < len(yyv353) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ClusterRoleBinding{} + yyv353[yyj353] = ClusterRoleBinding{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv356 := &yyv353[yyj353] + yyv356.CodecDecodeSelf(d) } } else { @@ -4207,17 +4192,17 @@ func (x codecSelfer1234) decSliceClusterRoleBinding(v *[]ClusterRoleBinding, d * } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ClusterRoleBinding{} - yyc1 = true + if yyj353 < len(yyv353) { + yyv353 = yyv353[:yyj353] + yyc353 = true + } else if yyj353 == 0 && yyv353 == nil { + yyv353 = []ClusterRoleBinding{} + yyc353 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh353.End() + if yyc353 { + *v = yyv353 } } @@ -4226,10 +4211,10 @@ func (x codecSelfer1234) encSliceClusterRole(v []ClusterRole, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv357 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy358 := &yyv357 + yy358.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -4239,86 +4224,83 @@ func (x codecSelfer1234) decSliceClusterRole(v *[]ClusterRole, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ClusterRole{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv359 := *v + yyh359, yyl359 := z.DecSliceHelperStart() + var yyc359 bool + if yyl359 == 0 { + if yyv359 == nil { + yyv359 = []ClusterRole{} + yyc359 = true + } else if len(yyv359) != 0 { + yyv359 = yyv359[:0] + yyc359 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl359 > 0 { + var yyrr359, yyrl359 int + var yyrt359 bool + if yyl359 > cap(yyv359) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 264) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg359 := len(yyv359) > 0 + yyv2359 := yyv359 + yyrl359, yyrt359 = z.DecInferLen(yyl359, z.DecBasicHandle().MaxInitLen, 264) + if yyrt359 { + if yyrl359 <= cap(yyv359) { + yyv359 = yyv359[:yyrl359] } else { - yyv1 = make([]ClusterRole, yyrl1) + yyv359 = make([]ClusterRole, yyrl359) } } else { - yyv1 = make([]ClusterRole, yyrl1) + yyv359 = make([]ClusterRole, yyrl359) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc359 = true + yyrr359 = len(yyv359) + if yyrg359 { + copy(yyv359, yyv2359) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl359 != len(yyv359) { + yyv359 = yyv359[:yyl359] + yyc359 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj359 := 0 + for ; yyj359 < yyrr359; yyj359++ { + yyh359.ElemContainerState(yyj359) if r.TryDecodeAsNil() { - yyv1[yyj1] = ClusterRole{} + yyv359[yyj359] = ClusterRole{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv360 := &yyv359[yyj359] + yyv360.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ClusterRole{}) - yyh1.ElemContainerState(yyj1) + if yyrt359 { + for ; yyj359 < yyl359; yyj359++ { + yyv359 = append(yyv359, ClusterRole{}) + yyh359.ElemContainerState(yyj359) if r.TryDecodeAsNil() { - yyv1[yyj1] = ClusterRole{} + yyv359[yyj359] = ClusterRole{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv361 := &yyv359[yyj359] + yyv361.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj359 := 0 + for ; !r.CheckBreak(); yyj359++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ClusterRole{}) // var yyz1 ClusterRole - yyc1 = true + if yyj359 >= len(yyv359) { + yyv359 = append(yyv359, ClusterRole{}) // var yyz359 ClusterRole + yyc359 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh359.ElemContainerState(yyj359) + if yyj359 < len(yyv359) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ClusterRole{} + yyv359[yyj359] = ClusterRole{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv362 := &yyv359[yyj359] + yyv362.CodecDecodeSelf(d) } } else { @@ -4326,16 +4308,16 @@ func (x codecSelfer1234) decSliceClusterRole(v *[]ClusterRole, d *codec1978.Deco } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ClusterRole{} - yyc1 = true + if yyj359 < len(yyv359) { + yyv359 = yyv359[:yyj359] + yyc359 = true + } else if yyj359 == 0 && yyv359 == nil { + yyv359 = []ClusterRole{} + yyc359 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh359.End() + if yyc359 { + *v = yyv359 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go index 9af4f129f4d..bda66682713 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go @@ -28,7 +28,13 @@ import ( ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1alpha1_ClusterRole_To_rbac_ClusterRole, Convert_rbac_ClusterRole_To_v1alpha1_ClusterRole, Convert_v1alpha1_ClusterRoleBinding_To_rbac_ClusterRoleBinding, @@ -49,10 +55,7 @@ func init() { Convert_rbac_RoleList_To_v1alpha1_RoleList, Convert_v1alpha1_Subject_To_rbac_Subject, Convert_rbac_Subject_To_v1alpha1_Subject, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1alpha1_ClusterRole_To_rbac_ClusterRole(in *ClusterRole, out *rbac.ClusterRole, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go index 0d25f65d551..32ac4f4407e 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go @@ -21,7 +21,6 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.4/pkg/api" v1 "k8s.io/client-go/1.4/pkg/api/v1" conversion "k8s.io/client-go/1.4/pkg/conversion" runtime "k8s.io/client-go/1.4/pkg/runtime" @@ -29,21 +28,24 @@ import ( ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_ClusterRole, InType: reflect.TypeOf(func() *ClusterRole { var x *ClusterRole; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_ClusterRoleBinding, InType: reflect.TypeOf(func() *ClusterRoleBinding { var x *ClusterRoleBinding; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_ClusterRoleBindingList, InType: reflect.TypeOf(func() *ClusterRoleBindingList { var x *ClusterRoleBindingList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_ClusterRoleList, InType: reflect.TypeOf(func() *ClusterRoleList { var x *ClusterRoleList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PolicyRule, InType: reflect.TypeOf(func() *PolicyRule { var x *PolicyRule; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_Role, InType: reflect.TypeOf(func() *Role { var x *Role; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_RoleBinding, InType: reflect.TypeOf(func() *RoleBinding { var x *RoleBinding; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_RoleBindingList, InType: reflect.TypeOf(func() *RoleBindingList { var x *RoleBindingList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_RoleList, InType: reflect.TypeOf(func() *RoleList { var x *RoleList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_Subject, InType: reflect.TypeOf(func() *Subject { var x *Subject; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_ClusterRole, InType: reflect.TypeOf(&ClusterRole{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_ClusterRoleBinding, InType: reflect.TypeOf(&ClusterRoleBinding{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_ClusterRoleBindingList, InType: reflect.TypeOf(&ClusterRoleBindingList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_ClusterRoleList, InType: reflect.TypeOf(&ClusterRoleList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_PolicyRule, InType: reflect.TypeOf(&PolicyRule{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_Role, InType: reflect.TypeOf(&Role{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_RoleBinding, InType: reflect.TypeOf(&RoleBinding{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_RoleBindingList, InType: reflect.TypeOf(&RoleBindingList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_RoleList, InType: reflect.TypeOf(&RoleList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1alpha1_Subject, InType: reflect.TypeOf(&Subject{})}, + ) } func DeepCopy_v1alpha1_ClusterRole(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/zz_generated.deepcopy.go index 7814a2e9a74..56211f65357 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/apis/rbac/zz_generated.deepcopy.go @@ -28,21 +28,24 @@ import ( ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_ClusterRole, InType: reflect.TypeOf(func() *ClusterRole { var x *ClusterRole; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_ClusterRoleBinding, InType: reflect.TypeOf(func() *ClusterRoleBinding { var x *ClusterRoleBinding; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_ClusterRoleBindingList, InType: reflect.TypeOf(func() *ClusterRoleBindingList { var x *ClusterRoleBindingList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_ClusterRoleList, InType: reflect.TypeOf(func() *ClusterRoleList { var x *ClusterRoleList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_PolicyRule, InType: reflect.TypeOf(func() *PolicyRule { var x *PolicyRule; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_Role, InType: reflect.TypeOf(func() *Role { var x *Role; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_RoleBinding, InType: reflect.TypeOf(func() *RoleBinding { var x *RoleBinding; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_RoleBindingList, InType: reflect.TypeOf(func() *RoleBindingList { var x *RoleBindingList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_RoleList, InType: reflect.TypeOf(func() *RoleList { var x *RoleList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_Subject, InType: reflect.TypeOf(func() *Subject { var x *Subject; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_ClusterRole, InType: reflect.TypeOf(&ClusterRole{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_ClusterRoleBinding, InType: reflect.TypeOf(&ClusterRoleBinding{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_ClusterRoleBindingList, InType: reflect.TypeOf(&ClusterRoleBindingList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_ClusterRoleList, InType: reflect.TypeOf(&ClusterRoleList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_PolicyRule, InType: reflect.TypeOf(&PolicyRule{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_Role, InType: reflect.TypeOf(&Role{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_RoleBinding, InType: reflect.TypeOf(&RoleBinding{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_RoleBindingList, InType: reflect.TypeOf(&RoleBindingList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_RoleList, InType: reflect.TypeOf(&RoleList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_rbac_Subject, InType: reflect.TypeOf(&Subject{})}, + ) } func DeepCopy_rbac_ClusterRole(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/install/install.go b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/install/install.go index d1d38ba0f4e..9be31dbe53b 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/install/install.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/install/install.go @@ -114,7 +114,10 @@ func interfacesFor(version unversioned.GroupVersion) (*meta.VersionInterfaces, e func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { // add the internal version to Scheme - federation.AddToScheme(api.Scheme) + if err := federation.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } // add the enabled external versions to Scheme for _, v := range externalVersions { if !registered.IsEnabledVersion(v) { @@ -123,7 +126,10 @@ func addVersionsToScheme(externalVersions ...unversioned.GroupVersion) { } switch v { case v1beta1.SchemeGroupVersion: - v1beta1.AddToScheme(api.Scheme) + if err := v1beta1.AddToScheme(api.Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } } } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/register.go b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/register.go index a40d3597183..c6f23e01165 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/register.go @@ -38,18 +38,19 @@ func Resource(resource string) unversioned.GroupResource { return SchemeGroupVersion.WithResource(resource).GroupResource() } -// Adds the list of known types to api.Scheme. -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Cluster{}, &ClusterList{}, &api.ListOptions{}, &api.DeleteOptions{}, ) + return nil } func (obj *Cluster) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/types.generated.go index 93dcf09cc0f..498e3fdfdc9 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/types.generated.go @@ -152,25 +152,25 @@ func (x *ServerAddressByClientCIDR) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym9 := z.DecBinary() + _ = yym9 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct10 := r.ContainerType() + if yyct10 == codecSelferValueTypeMap1234 { + yyl10 := r.ReadMapStart() + if yyl10 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl10, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct10 == codecSelferValueTypeArray1234 { + yyl10 := r.ReadArrayStart() + if yyl10 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl10, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -182,12 +182,12 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys11Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys11Slc + var yyhl11 bool = l >= 0 + for yyj11 := 0; ; yyj11++ { + if yyhl11 { + if yyj11 >= l { break } } else { @@ -196,10 +196,10 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys11Slc = r.DecodeBytes(yys11Slc, true, true) + yys11 := string(yys11Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys11 { case "clientCIDR": if r.TryDecodeAsNil() { x.ClientCIDR = "" @@ -213,9 +213,9 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromMap(l int, d *codec1978.D x.ServerAddress = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys11) + } // end switch yys11 + } // end for yyj11 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -223,16 +223,16 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj14 int + var yyb14 bool + var yyhl14 bool = l >= 0 + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb6 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb6 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -242,13 +242,13 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.ClientCIDR = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb6 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb6 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -259,17 +259,17 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromArray(l int, d *codec1978 x.ServerAddress = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb6 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb6 { + if yyb14 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj14-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -281,37 +281,37 @@ func (x *ClusterSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym17 := z.EncBinary() + _ = yym17 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.SecretRef != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep18 := !z.EncBinary() + yy2arr18 := z.EncBasicHandle().StructToArray + var yyq18 [2]bool + _, _, _ = yysep18, yyq18, yy2arr18 + const yyr18 bool = false + yyq18[1] = x.SecretRef != nil + var yynn18 int + if yyr18 || yy2arr18 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn18 = 1 + for _, b := range yyq18 { if b { - yynn2++ + yynn18++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn18) + yynn18 = 0 } - if yyr2 || yy2arr2 { + if yyr18 || yy2arr18 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.ServerAddressByClientCIDRs == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym20 := z.EncBinary() + _ = yym20 if false { } else { h.encSliceServerAddressByClientCIDR(([]ServerAddressByClientCIDR)(x.ServerAddressByClientCIDRs), e) @@ -324,17 +324,17 @@ func (x *ClusterSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.ServerAddressByClientCIDRs == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym21 := z.EncBinary() + _ = yym21 if false { } else { h.encSliceServerAddressByClientCIDR(([]ServerAddressByClientCIDR)(x.ServerAddressByClientCIDRs), e) } } } - if yyr2 || yy2arr2 { + if yyr18 || yy2arr18 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq18[1] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -344,7 +344,7 @@ func (x *ClusterSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq18[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -355,7 +355,7 @@ func (x *ClusterSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr18 || yy2arr18 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -368,25 +368,25 @@ func (x *ClusterSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym23 := z.DecBinary() + _ = yym23 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct24 := r.ContainerType() + if yyct24 == codecSelferValueTypeMap1234 { + yyl24 := r.ReadMapStart() + if yyl24 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl24, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct24 == codecSelferValueTypeArray1234 { + yyl24 := r.ReadArrayStart() + if yyl24 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl24, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -398,12 +398,12 @@ func (x *ClusterSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys25Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys25Slc + var yyhl25 bool = l >= 0 + for yyj25 := 0; ; yyj25++ { + if yyhl25 { + if yyj25 >= l { break } } else { @@ -412,20 +412,20 @@ func (x *ClusterSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys25Slc = r.DecodeBytes(yys25Slc, true, true) + yys25 := string(yys25Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys25 { case "serverAddressByClientCIDRs": if r.TryDecodeAsNil() { x.ServerAddressByClientCIDRs = nil } else { - yyv4 := &x.ServerAddressByClientCIDRs - yym5 := z.DecBinary() - _ = yym5 + yyv26 := &x.ServerAddressByClientCIDRs + yym27 := z.DecBinary() + _ = yym27 if false { } else { - h.decSliceServerAddressByClientCIDR((*[]ServerAddressByClientCIDR)(yyv4), d) + h.decSliceServerAddressByClientCIDR((*[]ServerAddressByClientCIDR)(yyv26), d) } } case "secretRef": @@ -440,9 +440,9 @@ func (x *ClusterSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys25) + } // end switch yys25 + } // end for yyj25 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -450,16 +450,16 @@ func (x *ClusterSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj29 int + var yyb29 bool + var yyhl29 bool = l >= 0 + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb7 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb7 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -467,21 +467,21 @@ func (x *ClusterSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServerAddressByClientCIDRs = nil } else { - yyv8 := &x.ServerAddressByClientCIDRs - yym9 := z.DecBinary() - _ = yym9 + yyv30 := &x.ServerAddressByClientCIDRs + yym31 := z.DecBinary() + _ = yym31 if false { } else { - h.decSliceServerAddressByClientCIDR((*[]ServerAddressByClientCIDR)(yyv8), d) + h.decSliceServerAddressByClientCIDR((*[]ServerAddressByClientCIDR)(yyv30), d) } } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb7 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb7 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -497,17 +497,17 @@ func (x *ClusterSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SecretRef.CodecDecodeSelf(d) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb7 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb7 { + if yyb29 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj29-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -516,8 +516,8 @@ func (x ClusterConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym33 := z.EncBinary() + _ = yym33 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -529,8 +529,8 @@ func (x *ClusterConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym34 := z.DecBinary() + _ = yym34 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -545,34 +545,34 @@ func (x *ClusterCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym35 := z.EncBinary() + _ = yym35 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = true - yyq2[3] = true - yyq2[4] = x.Reason != "" - yyq2[5] = x.Message != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep36 := !z.EncBinary() + yy2arr36 := z.EncBasicHandle().StructToArray + var yyq36 [6]bool + _, _, _ = yysep36, yyq36, yy2arr36 + const yyr36 bool = false + yyq36[2] = true + yyq36[3] = true + yyq36[4] = x.Reason != "" + yyq36[5] = x.Message != "" + var yynn36 int + if yyr36 || yy2arr36 { r.EncodeArrayStart(6) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn36 = 2 + for _, b := range yyq36 { if b { - yynn2++ + yynn36++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn36) + yynn36 = 0 } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -581,96 +581,106 @@ func (x *ClusterCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yysf7 := &x.Status - yysf7.CodecEncodeSelf(e) + yym39 := z.EncBinary() + _ = yym39 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yysf8 := &x.Status - yysf8.CodecEncodeSelf(e) + yym40 := z.EncBinary() + _ = yym40 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy10 := &x.LastProbeTime - yym11 := z.EncBinary() - _ = yym11 + if yyq36[2] { + yy42 := &x.LastProbeTime + yym43 := z.EncBinary() + _ = yym43 if false { - } else if z.HasExtensions() && z.EncExt(yy10) { - } else if yym11 { - z.EncBinaryMarshal(yy10) - } else if !yym11 && z.IsJSONHandle() { - z.EncJSONMarshal(yy10) + } else if z.HasExtensions() && z.EncExt(yy42) { + } else if yym43 { + z.EncBinaryMarshal(yy42) + } else if !yym43 && z.IsJSONHandle() { + z.EncJSONMarshal(yy42) } else { - z.EncFallback(yy10) + z.EncFallback(yy42) } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq36[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.LastProbeTime - yym13 := z.EncBinary() - _ = yym13 + yy44 := &x.LastProbeTime + yym45 := z.EncBinary() + _ = yym45 if false { - } else if z.HasExtensions() && z.EncExt(yy12) { - } else if yym13 { - z.EncBinaryMarshal(yy12) - } else if !yym13 && z.IsJSONHandle() { - z.EncJSONMarshal(yy12) + } else if z.HasExtensions() && z.EncExt(yy44) { + } else if yym45 { + z.EncBinaryMarshal(yy44) + } else if !yym45 && z.IsJSONHandle() { + z.EncJSONMarshal(yy44) } else { - z.EncFallback(yy12) + z.EncFallback(yy44) } } } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yy15 := &x.LastTransitionTime - yym16 := z.EncBinary() - _ = yym16 + if yyq36[3] { + yy47 := &x.LastTransitionTime + yym48 := z.EncBinary() + _ = yym48 if false { - } else if z.HasExtensions() && z.EncExt(yy15) { - } else if yym16 { - z.EncBinaryMarshal(yy15) - } else if !yym16 && z.IsJSONHandle() { - z.EncJSONMarshal(yy15) + } else if z.HasExtensions() && z.EncExt(yy47) { + } else if yym48 { + z.EncBinaryMarshal(yy47) + } else if !yym48 && z.IsJSONHandle() { + z.EncJSONMarshal(yy47) } else { - z.EncFallback(yy15) + z.EncFallback(yy47) } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq36[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.LastTransitionTime - yym18 := z.EncBinary() - _ = yym18 + yy49 := &x.LastTransitionTime + yym50 := z.EncBinary() + _ = yym50 if false { - } else if z.HasExtensions() && z.EncExt(yy17) { - } else if yym18 { - z.EncBinaryMarshal(yy17) - } else if !yym18 && z.IsJSONHandle() { - z.EncJSONMarshal(yy17) + } else if z.HasExtensions() && z.EncExt(yy49) { + } else if yym50 { + z.EncBinaryMarshal(yy49) + } else if !yym50 && z.IsJSONHandle() { + z.EncJSONMarshal(yy49) } else { - z.EncFallback(yy17) + z.EncFallback(yy49) } } } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 + if yyq36[4] { + yym52 := z.EncBinary() + _ = yym52 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -679,23 +689,23 @@ func (x *ClusterCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq36[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym53 := z.EncBinary() + _ = yym53 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym23 := z.EncBinary() - _ = yym23 + if yyq36[5] { + yym55 := z.EncBinary() + _ = yym55 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -704,19 +714,19 @@ func (x *ClusterCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq36[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 + yym56 := z.EncBinary() + _ = yym56 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -729,25 +739,25 @@ func (x *ClusterCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym57 := z.DecBinary() + _ = yym57 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct58 := r.ContainerType() + if yyct58 == codecSelferValueTypeMap1234 { + yyl58 := r.ReadMapStart() + if yyl58 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl58, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct58 == codecSelferValueTypeArray1234 { + yyl58 := r.ReadArrayStart() + if yyl58 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl58, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -759,12 +769,12 @@ func (x *ClusterCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys59Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys59Slc + var yyhl59 bool = l >= 0 + for yyj59 := 0; ; yyj59++ { + if yyhl59 { + if yyj59 >= l { break } } else { @@ -773,10 +783,10 @@ func (x *ClusterCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys59Slc = r.DecodeBytes(yys59Slc, true, true) + yys59 := string(yys59Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys59 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -793,34 +803,34 @@ func (x *ClusterCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv6 := &x.LastProbeTime - yym7 := z.DecBinary() - _ = yym7 + yyv62 := &x.LastProbeTime + yym63 := z.DecBinary() + _ = yym63 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if yym7 { - z.DecBinaryUnmarshal(yyv6) - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv62) { + } else if yym63 { + z.DecBinaryUnmarshal(yyv62) + } else if !yym63 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv62) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv62, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv8 := &x.LastTransitionTime - yym9 := z.DecBinary() - _ = yym9 + yyv64 := &x.LastTransitionTime + yym65 := z.DecBinary() + _ = yym65 if false { - } else if z.HasExtensions() && z.DecExt(yyv8) { - } else if yym9 { - z.DecBinaryUnmarshal(yyv8) - } else if !yym9 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv8) + } else if z.HasExtensions() && z.DecExt(yyv64) { + } else if yym65 { + z.DecBinaryUnmarshal(yyv64) + } else if !yym65 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv64) } else { - z.DecFallback(yyv8, false) + z.DecFallback(yyv64, false) } } case "reason": @@ -836,9 +846,9 @@ func (x *ClusterCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys59) + } // end switch yys59 + } // end for yyj59 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -846,16 +856,16 @@ func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj68 int + var yyb68 bool + var yyhl68 bool = l >= 0 + yyj68++ + if yyhl68 { + yyb68 = yyj68 > l } else { - yyb12 = r.CheckBreak() + yyb68 = r.CheckBreak() } - if yyb12 { + if yyb68 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -865,13 +875,13 @@ func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Type = ClusterConditionType(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj68++ + if yyhl68 { + yyb68 = yyj68 > l } else { - yyb12 = r.CheckBreak() + yyb68 = r.CheckBreak() } - if yyb12 { + if yyb68 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -881,13 +891,13 @@ func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Status = pkg1_api.ConditionStatus(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj68++ + if yyhl68 { + yyb68 = yyj68 > l } else { - yyb12 = r.CheckBreak() + yyb68 = r.CheckBreak() } - if yyb12 { + if yyb68 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -895,26 +905,26 @@ func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv15 := &x.LastProbeTime - yym16 := z.DecBinary() - _ = yym16 + yyv71 := &x.LastProbeTime + yym72 := z.DecBinary() + _ = yym72 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { - } else if yym16 { - z.DecBinaryUnmarshal(yyv15) - } else if !yym16 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv15) + } else if z.HasExtensions() && z.DecExt(yyv71) { + } else if yym72 { + z.DecBinaryUnmarshal(yyv71) + } else if !yym72 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv71) } else { - z.DecFallback(yyv15, false) + z.DecFallback(yyv71, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj68++ + if yyhl68 { + yyb68 = yyj68 > l } else { - yyb12 = r.CheckBreak() + yyb68 = r.CheckBreak() } - if yyb12 { + if yyb68 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -922,26 +932,26 @@ func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv17 := &x.LastTransitionTime - yym18 := z.DecBinary() - _ = yym18 + yyv73 := &x.LastTransitionTime + yym74 := z.DecBinary() + _ = yym74 if false { - } else if z.HasExtensions() && z.DecExt(yyv17) { - } else if yym18 { - z.DecBinaryUnmarshal(yyv17) - } else if !yym18 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv17) + } else if z.HasExtensions() && z.DecExt(yyv73) { + } else if yym74 { + z.DecBinaryUnmarshal(yyv73) + } else if !yym74 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv73) } else { - z.DecFallback(yyv17, false) + z.DecFallback(yyv73, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj68++ + if yyhl68 { + yyb68 = yyj68 > l } else { - yyb12 = r.CheckBreak() + yyb68 = r.CheckBreak() } - if yyb12 { + if yyb68 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -951,13 +961,13 @@ func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Reason = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj68++ + if yyhl68 { + yyb68 = yyj68 > l } else { - yyb12 = r.CheckBreak() + yyb68 = r.CheckBreak() } - if yyb12 { + if yyb68 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -968,17 +978,17 @@ func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Message = string(r.DecodeString()) } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj68++ + if yyhl68 { + yyb68 = yyj68 > l } else { - yyb12 = r.CheckBreak() + yyb68 = r.CheckBreak() } - if yyb12 { + if yyb68 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj68-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -990,40 +1000,40 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym77 := z.EncBinary() + _ = yym77 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Conditions) != 0 - yyq2[1] = len(x.Zones) != 0 - yyq2[2] = x.Region != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep78 := !z.EncBinary() + yy2arr78 := z.EncBasicHandle().StructToArray + var yyq78 [3]bool + _, _, _ = yysep78, yyq78, yy2arr78 + const yyr78 bool = false + yyq78[0] = len(x.Conditions) != 0 + yyq78[1] = len(x.Zones) != 0 + yyq78[2] = x.Region != "" + var yynn78 int + if yyr78 || yy2arr78 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn78 = 0 + for _, b := range yyq78 { if b { - yynn2++ + yynn78++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn78) + yynn78 = 0 } - if yyr2 || yy2arr2 { + if yyr78 || yy2arr78 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq78[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym80 := z.EncBinary() + _ = yym80 if false { } else { h.encSliceClusterCondition(([]ClusterCondition)(x.Conditions), e) @@ -1033,15 +1043,15 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq78[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym81 := z.EncBinary() + _ = yym81 if false { } else { h.encSliceClusterCondition(([]ClusterCondition)(x.Conditions), e) @@ -1049,14 +1059,14 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr78 || yy2arr78 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq78[1] { if x.Zones == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym83 := z.EncBinary() + _ = yym83 if false { } else { z.F.EncSliceStringV(x.Zones, false, e) @@ -1066,15 +1076,15 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq78[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("zones")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Zones == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym84 := z.EncBinary() + _ = yym84 if false { } else { z.F.EncSliceStringV(x.Zones, false, e) @@ -1082,11 +1092,11 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr78 || yy2arr78 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq78[2] { + yym86 := z.EncBinary() + _ = yym86 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Region)) @@ -1095,19 +1105,19 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq78[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("region")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym87 := z.EncBinary() + _ = yym87 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Region)) } } } - if yyr2 || yy2arr2 { + if yyr78 || yy2arr78 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1120,25 +1130,25 @@ func (x *ClusterStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym88 := z.DecBinary() + _ = yym88 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct89 := r.ContainerType() + if yyct89 == codecSelferValueTypeMap1234 { + yyl89 := r.ReadMapStart() + if yyl89 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl89, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct89 == codecSelferValueTypeArray1234 { + yyl89 := r.ReadArrayStart() + if yyl89 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl89, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1150,12 +1160,12 @@ func (x *ClusterStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys90Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys90Slc + var yyhl90 bool = l >= 0 + for yyj90 := 0; ; yyj90++ { + if yyhl90 { + if yyj90 >= l { break } } else { @@ -1164,32 +1174,32 @@ func (x *ClusterStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys90Slc = r.DecodeBytes(yys90Slc, true, true) + yys90 := string(yys90Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys90 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4 := &x.Conditions - yym5 := z.DecBinary() - _ = yym5 + yyv91 := &x.Conditions + yym92 := z.DecBinary() + _ = yym92 if false { } else { - h.decSliceClusterCondition((*[]ClusterCondition)(yyv4), d) + h.decSliceClusterCondition((*[]ClusterCondition)(yyv91), d) } } case "zones": if r.TryDecodeAsNil() { x.Zones = nil } else { - yyv6 := &x.Zones - yym7 := z.DecBinary() - _ = yym7 + yyv93 := &x.Zones + yym94 := z.DecBinary() + _ = yym94 if false { } else { - z.F.DecSliceStringX(yyv6, false, d) + z.F.DecSliceStringX(yyv93, false, d) } } case "region": @@ -1199,9 +1209,9 @@ func (x *ClusterStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Region = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys90) + } // end switch yys90 + } // end for yyj90 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1209,16 +1219,16 @@ func (x *ClusterStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj96 int + var yyb96 bool + var yyhl96 bool = l >= 0 + yyj96++ + if yyhl96 { + yyb96 = yyj96 > l } else { - yyb9 = r.CheckBreak() + yyb96 = r.CheckBreak() } - if yyb9 { + if yyb96 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1226,21 +1236,21 @@ func (x *ClusterStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv10 := &x.Conditions - yym11 := z.DecBinary() - _ = yym11 + yyv97 := &x.Conditions + yym98 := z.DecBinary() + _ = yym98 if false { } else { - h.decSliceClusterCondition((*[]ClusterCondition)(yyv10), d) + h.decSliceClusterCondition((*[]ClusterCondition)(yyv97), d) } } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj96++ + if yyhl96 { + yyb96 = yyj96 > l } else { - yyb9 = r.CheckBreak() + yyb96 = r.CheckBreak() } - if yyb9 { + if yyb96 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1248,21 +1258,21 @@ func (x *ClusterStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Zones = nil } else { - yyv12 := &x.Zones - yym13 := z.DecBinary() - _ = yym13 + yyv99 := &x.Zones + yym100 := z.DecBinary() + _ = yym100 if false { } else { - z.F.DecSliceStringX(yyv12, false, d) + z.F.DecSliceStringX(yyv99, false, d) } } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj96++ + if yyhl96 { + yyb96 = yyj96 > l } else { - yyb9 = r.CheckBreak() + yyb96 = r.CheckBreak() } - if yyb9 { + if yyb96 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1273,17 +1283,17 @@ func (x *ClusterStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Region = string(r.DecodeString()) } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj96++ + if yyhl96 { + yyb96 = yyj96 > l } else { - yyb9 = r.CheckBreak() + yyb96 = r.CheckBreak() } - if yyb9 { + if yyb96 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj96-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1295,90 +1305,39 @@ func (x *Cluster) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym102 := z.EncBinary() + _ = yym102 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep103 := !z.EncBinary() + yy2arr103 := z.EncBasicHandle().StructToArray + var yyq103 [5]bool + _, _, _ = yysep103, yyq103, yy2arr103 + const yyr103 bool = false + yyq103[0] = x.Kind != "" + yyq103[1] = x.APIVersion != "" + yyq103[2] = true + yyq103[3] = true + yyq103[4] = true + var yynn103 int + if yyr103 || yy2arr103 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn103 = 0 + for _, b := range yyq103 { if b { - yynn2++ + yynn103++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn103) + yynn103 = 0 } - if yyr2 || yy2arr2 { + if yyr103 || yy2arr103 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq103[0] { + yym105 := z.EncBinary() + _ = yym105 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1387,23 +1346,23 @@ func (x *Cluster) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq103[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym106 := z.EncBinary() + _ = yym106 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr103 || yy2arr103 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq103[1] { + yym108 := z.EncBinary() + _ = yym108 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1412,19 +1371,70 @@ func (x *Cluster) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq103[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym109 := z.EncBinary() + _ = yym109 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr103 || yy2arr103 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq103[2] { + yy111 := &x.ObjectMeta + yy111.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq103[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy112 := &x.ObjectMeta + yy112.CodecEncodeSelf(e) + } + } + if yyr103 || yy2arr103 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq103[3] { + yy114 := &x.Spec + yy114.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq103[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy115 := &x.Spec + yy115.CodecEncodeSelf(e) + } + } + if yyr103 || yy2arr103 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq103[4] { + yy117 := &x.Status + yy117.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq103[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy118 := &x.Status + yy118.CodecEncodeSelf(e) + } + } + if yyr103 || yy2arr103 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1437,25 +1447,25 @@ func (x *Cluster) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym119 := z.DecBinary() + _ = yym119 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct120 := r.ContainerType() + if yyct120 == codecSelferValueTypeMap1234 { + yyl120 := r.ReadMapStart() + if yyl120 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl120, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct120 == codecSelferValueTypeArray1234 { + yyl120 := r.ReadArrayStart() + if yyl120 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl120, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1467,12 +1477,12 @@ func (x *Cluster) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys121Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys121Slc + var yyhl121 bool = l >= 0 + for yyj121 := 0; ; yyj121++ { + if yyhl121 { + if yyj121 >= l { break } } else { @@ -1481,31 +1491,10 @@ func (x *Cluster) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys121Slc = r.DecodeBytes(yys121Slc, true, true) + yys121 := string(yys121Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg1_api.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ClusterSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ClusterStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys121 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1518,10 +1507,31 @@ func (x *Cluster) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg1_api.ObjectMeta{} + } else { + yyv124 := &x.ObjectMeta + yyv124.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ClusterSpec{} + } else { + yyv125 := &x.Spec + yyv125.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ClusterStatus{} + } else { + yyv126 := &x.Status + yyv126.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys121) + } // end switch yys121 + } // end for yyj121 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1529,67 +1539,16 @@ func (x *Cluster) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj127 int + var yyb127 bool + var yyhl127 bool = l >= 0 + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l } else { - yyb9 = r.CheckBreak() + yyb127 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg1_api.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ClusterSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ClusterStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb127 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1599,13 +1558,13 @@ func (x *Cluster) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l } else { - yyb9 = r.CheckBreak() + yyb127 = r.CheckBreak() } - if yyb9 { + if yyb127 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1615,18 +1574,69 @@ func (x *Cluster) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l + } else { + yyb127 = r.CheckBreak() + } + if yyb127 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg1_api.ObjectMeta{} + } else { + yyv130 := &x.ObjectMeta + yyv130.CodecDecodeSelf(d) + } + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l + } else { + yyb127 = r.CheckBreak() + } + if yyb127 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ClusterSpec{} + } else { + yyv131 := &x.Spec + yyv131.CodecDecodeSelf(d) + } + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l + } else { + yyb127 = r.CheckBreak() + } + if yyb127 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ClusterStatus{} + } else { + yyv132 := &x.Status + yyv132.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l } else { - yyb9 = r.CheckBreak() + yyb127 = r.CheckBreak() } - if yyb9 { + if yyb127 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj127-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1638,68 +1648,118 @@ func (x *ClusterList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym133 := z.EncBinary() + _ = yym133 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep134 := !z.EncBinary() + yy2arr134 := z.EncBasicHandle().StructToArray + var yyq134 [4]bool + _, _, _ = yysep134, yyq134, yy2arr134 + const yyr134 bool = false + yyq134[0] = x.Kind != "" + yyq134[1] = x.APIVersion != "" + yyq134[2] = true + var yynn134 int + if yyr134 || yy2arr134 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn134 = 1 + for _, b := range yyq134 { if b { - yynn2++ + yynn134++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn134) + yynn134 = 0 } - if yyr2 || yy2arr2 { + if yyr134 || yy2arr134 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq134[0] { + yym136 := z.EncBinary() + _ = yym136 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq134[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym137 := z.EncBinary() + _ = yym137 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr134 || yy2arr134 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq134[1] { + yym139 := z.EncBinary() + _ = yym139 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq134[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym140 := z.EncBinary() + _ = yym140 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr134 || yy2arr134 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq134[2] { + yy142 := &x.ListMeta + yym143 := z.EncBinary() + _ = yym143 + if false { + } else if z.HasExtensions() && z.EncExt(yy142) { + } else { + z.EncFallback(yy142) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq134[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy144 := &x.ListMeta + yym145 := z.EncBinary() + _ = yym145 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy144) { } else { - z.EncFallback(yy6) + z.EncFallback(yy144) } } } - if yyr2 || yy2arr2 { + if yyr134 || yy2arr134 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym147 := z.EncBinary() + _ = yym147 if false { } else { h.encSliceCluster(([]Cluster)(x.Items), e) @@ -1712,65 +1772,15 @@ func (x *ClusterList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym148 := z.EncBinary() + _ = yym148 if false { } else { h.encSliceCluster(([]Cluster)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr134 || yy2arr134 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1783,25 +1793,25 @@ func (x *ClusterList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym149 := z.DecBinary() + _ = yym149 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct150 := r.ContainerType() + if yyct150 == codecSelferValueTypeMap1234 { + yyl150 := r.ReadMapStart() + if yyl150 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl150, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct150 == codecSelferValueTypeArray1234 { + yyl150 := r.ReadArrayStart() + if yyl150 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl150, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1813,12 +1823,12 @@ func (x *ClusterList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys151Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys151Slc + var yyhl151 bool = l >= 0 + for yyj151 := 0; ; yyj151++ { + if yyhl151 { + if yyj151 >= l { break } } else { @@ -1827,35 +1837,10 @@ func (x *ClusterList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys151Slc = r.DecodeBytes(yys151Slc, true, true) + yys151 := string(yys151Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceCluster((*[]Cluster)(yyv6), d) - } - } + switch yys151 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1868,10 +1853,35 @@ func (x *ClusterList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv154 := &x.ListMeta + yym155 := z.DecBinary() + _ = yym155 + if false { + } else if z.HasExtensions() && z.DecExt(yyv154) { + } else { + z.DecFallback(yyv154, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv156 := &x.Items + yym157 := z.DecBinary() + _ = yym157 + if false { + } else { + h.decSliceCluster((*[]Cluster)(yyv156), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys151) + } // end switch yys151 + } // end for yyj151 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1879,61 +1889,16 @@ func (x *ClusterList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj158 int + var yyb158 bool + var yyhl158 bool = l >= 0 + yyj158++ + if yyhl158 { + yyb158 = yyj158 > l } else { - yyb10 = r.CheckBreak() + yyb158 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceCluster((*[]Cluster)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb158 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1943,13 +1908,13 @@ func (x *ClusterList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj158++ + if yyhl158 { + yyb158 = yyj158 > l } else { - yyb10 = r.CheckBreak() + yyb158 = r.CheckBreak() } - if yyb10 { + if yyb158 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1959,18 +1924,63 @@ func (x *ClusterList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj158++ + if yyhl158 { + yyb158 = yyj158 > l + } else { + yyb158 = r.CheckBreak() + } + if yyb158 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv161 := &x.ListMeta + yym162 := z.DecBinary() + _ = yym162 + if false { + } else if z.HasExtensions() && z.DecExt(yyv161) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv161, false) } - if yyb10 { + } + yyj158++ + if yyhl158 { + yyb158 = yyj158 > l + } else { + yyb158 = r.CheckBreak() + } + if yyb158 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv163 := &x.Items + yym164 := z.DecBinary() + _ = yym164 + if false { + } else { + h.decSliceCluster((*[]Cluster)(yyv163), d) + } + } + for { + yyj158++ + if yyhl158 { + yyb158 = yyj158 > l + } else { + yyb158 = r.CheckBreak() + } + if yyb158 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj158-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1982,36 +1992,36 @@ func (x *FederatedReplicaSetPreferences) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym165 := z.EncBinary() + _ = yym165 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.Rebalance != false - yyq2[1] = len(x.Clusters) != 0 - var yynn2 int - if yyr2 || yy2arr2 { + yysep166 := !z.EncBinary() + yy2arr166 := z.EncBasicHandle().StructToArray + var yyq166 [2]bool + _, _, _ = yysep166, yyq166, yy2arr166 + const yyr166 bool = false + yyq166[0] = x.Rebalance != false + yyq166[1] = len(x.Clusters) != 0 + var yynn166 int + if yyr166 || yy2arr166 { r.EncodeArrayStart(2) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn166 = 0 + for _, b := range yyq166 { if b { - yynn2++ + yynn166++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn166) + yynn166 = 0 } - if yyr2 || yy2arr2 { + if yyr166 || yy2arr166 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq166[0] { + yym168 := z.EncBinary() + _ = yym168 if false { } else { r.EncodeBool(bool(x.Rebalance)) @@ -2020,26 +2030,26 @@ func (x *FederatedReplicaSetPreferences) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2[0] { + if yyq166[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rebalance")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym169 := z.EncBinary() + _ = yym169 if false { } else { r.EncodeBool(bool(x.Rebalance)) } } } - if yyr2 || yy2arr2 { + if yyr166 || yy2arr166 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq166[1] { if x.Clusters == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym171 := z.EncBinary() + _ = yym171 if false { } else { h.encMapstringClusterReplicaSetPreferences((map[string]ClusterReplicaSetPreferences)(x.Clusters), e) @@ -2049,15 +2059,15 @@ func (x *FederatedReplicaSetPreferences) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq166[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusters")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Clusters == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym172 := z.EncBinary() + _ = yym172 if false { } else { h.encMapstringClusterReplicaSetPreferences((map[string]ClusterReplicaSetPreferences)(x.Clusters), e) @@ -2065,7 +2075,7 @@ func (x *FederatedReplicaSetPreferences) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr166 || yy2arr166 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2078,25 +2088,25 @@ func (x *FederatedReplicaSetPreferences) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym173 := z.DecBinary() + _ = yym173 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct174 := r.ContainerType() + if yyct174 == codecSelferValueTypeMap1234 { + yyl174 := r.ReadMapStart() + if yyl174 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl174, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct174 == codecSelferValueTypeArray1234 { + yyl174 := r.ReadArrayStart() + if yyl174 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl174, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2108,12 +2118,12 @@ func (x *FederatedReplicaSetPreferences) codecDecodeSelfFromMap(l int, d *codec1 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys175Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys175Slc + var yyhl175 bool = l >= 0 + for yyj175 := 0; ; yyj175++ { + if yyhl175 { + if yyj175 >= l { break } } else { @@ -2122,10 +2132,10 @@ func (x *FederatedReplicaSetPreferences) codecDecodeSelfFromMap(l int, d *codec1 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys175Slc = r.DecodeBytes(yys175Slc, true, true) + yys175 := string(yys175Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys175 { case "rebalance": if r.TryDecodeAsNil() { x.Rebalance = false @@ -2136,18 +2146,18 @@ func (x *FederatedReplicaSetPreferences) codecDecodeSelfFromMap(l int, d *codec1 if r.TryDecodeAsNil() { x.Clusters = nil } else { - yyv5 := &x.Clusters - yym6 := z.DecBinary() - _ = yym6 + yyv177 := &x.Clusters + yym178 := z.DecBinary() + _ = yym178 if false { } else { - h.decMapstringClusterReplicaSetPreferences((*map[string]ClusterReplicaSetPreferences)(yyv5), d) + h.decMapstringClusterReplicaSetPreferences((*map[string]ClusterReplicaSetPreferences)(yyv177), d) } } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys175) + } // end switch yys175 + } // end for yyj175 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2155,16 +2165,16 @@ func (x *FederatedReplicaSetPreferences) codecDecodeSelfFromArray(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj179 int + var yyb179 bool + var yyhl179 bool = l >= 0 + yyj179++ + if yyhl179 { + yyb179 = yyj179 > l } else { - yyb7 = r.CheckBreak() + yyb179 = r.CheckBreak() } - if yyb7 { + if yyb179 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2174,13 +2184,13 @@ func (x *FederatedReplicaSetPreferences) codecDecodeSelfFromArray(l int, d *code } else { x.Rebalance = bool(r.DecodeBool()) } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj179++ + if yyhl179 { + yyb179 = yyj179 > l } else { - yyb7 = r.CheckBreak() + yyb179 = r.CheckBreak() } - if yyb7 { + if yyb179 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2188,26 +2198,26 @@ func (x *FederatedReplicaSetPreferences) codecDecodeSelfFromArray(l int, d *code if r.TryDecodeAsNil() { x.Clusters = nil } else { - yyv9 := &x.Clusters - yym10 := z.DecBinary() - _ = yym10 + yyv181 := &x.Clusters + yym182 := z.DecBinary() + _ = yym182 if false { } else { - h.decMapstringClusterReplicaSetPreferences((*map[string]ClusterReplicaSetPreferences)(yyv9), d) + h.decMapstringClusterReplicaSetPreferences((*map[string]ClusterReplicaSetPreferences)(yyv181), d) } } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj179++ + if yyhl179 { + yyb179 = yyj179 > l } else { - yyb7 = r.CheckBreak() + yyb179 = r.CheckBreak() } - if yyb7 { + if yyb179 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj179-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2219,35 +2229,36 @@ func (x *ClusterReplicaSetPreferences) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym183 := z.EncBinary() + _ = yym183 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = x.MinReplicas != 0 - var yynn2 int - if yyr2 || yy2arr2 { - r.EncodeArrayStart(2) + yysep184 := !z.EncBinary() + yy2arr184 := z.EncBasicHandle().StructToArray + var yyq184 [3]bool + _, _, _ = yysep184, yyq184, yy2arr184 + const yyr184 bool = false + yyq184[0] = x.MinReplicas != 0 + yyq184[1] = x.MaxReplicas != nil + var yynn184 int + if yyr184 || yy2arr184 { + r.EncodeArrayStart(3) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn184 = 1 + for _, b := range yyq184 { if b { - yynn2++ + yynn184++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn184) + yynn184 = 0 } - if yyr2 || yy2arr2 { + if yyr184 || yy2arr184 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yym4 := z.EncBinary() - _ = yym4 + if yyq184[0] { + yym186 := z.EncBinary() + _ = yym186 if false { } else { r.EncodeInt(int64(x.MinReplicas)) @@ -2256,22 +2267,57 @@ func (x *ClusterReplicaSetPreferences) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2[0] { + if yyq184[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxReplicas")) + r.EncodeString(codecSelferC_UTF81234, string("minReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym5 := z.EncBinary() - _ = yym5 + yym187 := z.EncBinary() + _ = yym187 if false { } else { r.EncodeInt(int64(x.MinReplicas)) } } } - if yyr2 || yy2arr2 { + if yyr184 || yy2arr184 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym7 := z.EncBinary() - _ = yym7 + if yyq184[1] { + if x.MaxReplicas == nil { + r.EncodeNil() + } else { + yy189 := *x.MaxReplicas + yym190 := z.EncBinary() + _ = yym190 + if false { + } else { + r.EncodeInt(int64(yy189)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq184[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("maxReplicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.MaxReplicas == nil { + r.EncodeNil() + } else { + yy191 := *x.MaxReplicas + yym192 := z.EncBinary() + _ = yym192 + if false { + } else { + r.EncodeInt(int64(yy191)) + } + } + } + } + if yyr184 || yy2arr184 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym194 := z.EncBinary() + _ = yym194 if false { } else { r.EncodeInt(int64(x.Weight)) @@ -2280,14 +2326,14 @@ func (x *ClusterReplicaSetPreferences) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Weight")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym8 := z.EncBinary() - _ = yym8 + yym195 := z.EncBinary() + _ = yym195 if false { } else { r.EncodeInt(int64(x.Weight)) } } - if yyr2 || yy2arr2 { + if yyr184 || yy2arr184 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -2300,25 +2346,25 @@ func (x *ClusterReplicaSetPreferences) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym196 := z.DecBinary() + _ = yym196 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct197 := r.ContainerType() + if yyct197 == codecSelferValueTypeMap1234 { + yyl197 := r.ReadMapStart() + if yyl197 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl197, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct197 == codecSelferValueTypeArray1234 { + yyl197 := r.ReadArrayStart() + if yyl197 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl197, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -2330,12 +2376,12 @@ func (x *ClusterReplicaSetPreferences) codecDecodeSelfFromMap(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys198Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys198Slc + var yyhl198 bool = l >= 0 + for yyj198 := 0; ; yyj198++ { + if yyhl198 { + if yyj198 >= l { break } } else { @@ -2344,16 +2390,32 @@ func (x *ClusterReplicaSetPreferences) codecDecodeSelfFromMap(l int, d *codec197 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys198Slc = r.DecodeBytes(yys198Slc, true, true) + yys198 := string(yys198Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "maxReplicas": + switch yys198 { + case "minReplicas": if r.TryDecodeAsNil() { x.MinReplicas = 0 } else { x.MinReplicas = int64(r.DecodeInt(64)) } + case "maxReplicas": + if r.TryDecodeAsNil() { + if x.MaxReplicas != nil { + x.MaxReplicas = nil + } + } else { + if x.MaxReplicas == nil { + x.MaxReplicas = new(int64) + } + yym201 := z.DecBinary() + _ = yym201 + if false { + } else { + *((*int64)(x.MaxReplicas)) = int64(r.DecodeInt(64)) + } + } case "Weight": if r.TryDecodeAsNil() { x.Weight = 0 @@ -2361,9 +2423,9 @@ func (x *ClusterReplicaSetPreferences) codecDecodeSelfFromMap(l int, d *codec197 x.Weight = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys198) + } // end switch yys198 + } // end for yyj198 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2371,16 +2433,16 @@ func (x *ClusterReplicaSetPreferences) codecDecodeSelfFromArray(l int, d *codec1 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj203 int + var yyb203 bool + var yyhl203 bool = l >= 0 + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb6 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb6 { + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2390,13 +2452,39 @@ func (x *ClusterReplicaSetPreferences) codecDecodeSelfFromArray(l int, d *codec1 } else { x.MinReplicas = int64(r.DecodeInt(64)) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb6 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb6 { + if yyb203 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.MaxReplicas != nil { + x.MaxReplicas = nil + } + } else { + if x.MaxReplicas == nil { + x.MaxReplicas = new(int64) + } + yym206 := z.DecBinary() + _ = yym206 + if false { + } else { + *((*int64)(x.MaxReplicas)) = int64(r.DecodeInt(64)) + } + } + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l + } else { + yyb203 = r.CheckBreak() + } + if yyb203 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -2407,17 +2495,17 @@ func (x *ClusterReplicaSetPreferences) codecDecodeSelfFromArray(l int, d *codec1 x.Weight = int64(r.DecodeInt(64)) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj203++ + if yyhl203 { + yyb203 = yyj203 > l } else { - yyb6 = r.CheckBreak() + yyb203 = r.CheckBreak() } - if yyb6 { + if yyb203 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj203-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2427,10 +2515,10 @@ func (x codecSelfer1234) encSliceServerAddressByClientCIDR(v []ServerAddressByCl z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv208 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy209 := &yyv208 + yy209.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2440,86 +2528,83 @@ func (x codecSelfer1234) decSliceServerAddressByClientCIDR(v *[]ServerAddressByC z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ServerAddressByClientCIDR{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv210 := *v + yyh210, yyl210 := z.DecSliceHelperStart() + var yyc210 bool + if yyl210 == 0 { + if yyv210 == nil { + yyv210 = []ServerAddressByClientCIDR{} + yyc210 = true + } else if len(yyv210) != 0 { + yyv210 = yyv210[:0] + yyc210 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl210 > 0 { + var yyrr210, yyrl210 int + var yyrt210 bool + if yyl210 > cap(yyv210) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg210 := len(yyv210) > 0 + yyv2210 := yyv210 + yyrl210, yyrt210 = z.DecInferLen(yyl210, z.DecBasicHandle().MaxInitLen, 32) + if yyrt210 { + if yyrl210 <= cap(yyv210) { + yyv210 = yyv210[:yyrl210] } else { - yyv1 = make([]ServerAddressByClientCIDR, yyrl1) + yyv210 = make([]ServerAddressByClientCIDR, yyrl210) } } else { - yyv1 = make([]ServerAddressByClientCIDR, yyrl1) + yyv210 = make([]ServerAddressByClientCIDR, yyrl210) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc210 = true + yyrr210 = len(yyv210) + if yyrg210 { + copy(yyv210, yyv2210) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl210 != len(yyv210) { + yyv210 = yyv210[:yyl210] + yyc210 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj210 := 0 + for ; yyj210 < yyrr210; yyj210++ { + yyh210.ElemContainerState(yyj210) if r.TryDecodeAsNil() { - yyv1[yyj1] = ServerAddressByClientCIDR{} + yyv210[yyj210] = ServerAddressByClientCIDR{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv211 := &yyv210[yyj210] + yyv211.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ServerAddressByClientCIDR{}) - yyh1.ElemContainerState(yyj1) + if yyrt210 { + for ; yyj210 < yyl210; yyj210++ { + yyv210 = append(yyv210, ServerAddressByClientCIDR{}) + yyh210.ElemContainerState(yyj210) if r.TryDecodeAsNil() { - yyv1[yyj1] = ServerAddressByClientCIDR{} + yyv210[yyj210] = ServerAddressByClientCIDR{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv212 := &yyv210[yyj210] + yyv212.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj210 := 0 + for ; !r.CheckBreak(); yyj210++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ServerAddressByClientCIDR{}) // var yyz1 ServerAddressByClientCIDR - yyc1 = true + if yyj210 >= len(yyv210) { + yyv210 = append(yyv210, ServerAddressByClientCIDR{}) // var yyz210 ServerAddressByClientCIDR + yyc210 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh210.ElemContainerState(yyj210) + if yyj210 < len(yyv210) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ServerAddressByClientCIDR{} + yyv210[yyj210] = ServerAddressByClientCIDR{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv213 := &yyv210[yyj210] + yyv213.CodecDecodeSelf(d) } } else { @@ -2527,17 +2612,17 @@ func (x codecSelfer1234) decSliceServerAddressByClientCIDR(v *[]ServerAddressByC } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ServerAddressByClientCIDR{} - yyc1 = true + if yyj210 < len(yyv210) { + yyv210 = yyv210[:yyj210] + yyc210 = true + } else if yyj210 == 0 && yyv210 == nil { + yyv210 = []ServerAddressByClientCIDR{} + yyc210 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh210.End() + if yyc210 { + *v = yyv210 } } @@ -2546,10 +2631,10 @@ func (x codecSelfer1234) encSliceClusterCondition(v []ClusterCondition, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv214 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy215 := &yyv214 + yy215.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2559,86 +2644,83 @@ func (x codecSelfer1234) decSliceClusterCondition(v *[]ClusterCondition, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ClusterCondition{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv216 := *v + yyh216, yyl216 := z.DecSliceHelperStart() + var yyc216 bool + if yyl216 == 0 { + if yyv216 == nil { + yyv216 = []ClusterCondition{} + yyc216 = true + } else if len(yyv216) != 0 { + yyv216 = yyv216[:0] + yyc216 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl216 > 0 { + var yyrr216, yyrl216 int + var yyrt216 bool + if yyl216 > cap(yyv216) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg216 := len(yyv216) > 0 + yyv2216 := yyv216 + yyrl216, yyrt216 = z.DecInferLen(yyl216, z.DecBasicHandle().MaxInitLen, 112) + if yyrt216 { + if yyrl216 <= cap(yyv216) { + yyv216 = yyv216[:yyrl216] } else { - yyv1 = make([]ClusterCondition, yyrl1) + yyv216 = make([]ClusterCondition, yyrl216) } } else { - yyv1 = make([]ClusterCondition, yyrl1) + yyv216 = make([]ClusterCondition, yyrl216) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc216 = true + yyrr216 = len(yyv216) + if yyrg216 { + copy(yyv216, yyv2216) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl216 != len(yyv216) { + yyv216 = yyv216[:yyl216] + yyc216 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj216 := 0 + for ; yyj216 < yyrr216; yyj216++ { + yyh216.ElemContainerState(yyj216) if r.TryDecodeAsNil() { - yyv1[yyj1] = ClusterCondition{} + yyv216[yyj216] = ClusterCondition{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv217 := &yyv216[yyj216] + yyv217.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ClusterCondition{}) - yyh1.ElemContainerState(yyj1) + if yyrt216 { + for ; yyj216 < yyl216; yyj216++ { + yyv216 = append(yyv216, ClusterCondition{}) + yyh216.ElemContainerState(yyj216) if r.TryDecodeAsNil() { - yyv1[yyj1] = ClusterCondition{} + yyv216[yyj216] = ClusterCondition{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv218 := &yyv216[yyj216] + yyv218.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj216 := 0 + for ; !r.CheckBreak(); yyj216++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ClusterCondition{}) // var yyz1 ClusterCondition - yyc1 = true + if yyj216 >= len(yyv216) { + yyv216 = append(yyv216, ClusterCondition{}) // var yyz216 ClusterCondition + yyc216 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh216.ElemContainerState(yyj216) + if yyj216 < len(yyv216) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ClusterCondition{} + yyv216[yyj216] = ClusterCondition{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv219 := &yyv216[yyj216] + yyv219.CodecDecodeSelf(d) } } else { @@ -2646,17 +2728,17 @@ func (x codecSelfer1234) decSliceClusterCondition(v *[]ClusterCondition, d *code } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ClusterCondition{} - yyc1 = true + if yyj216 < len(yyv216) { + yyv216 = yyv216[:yyj216] + yyc216 = true + } else if yyj216 == 0 && yyv216 == nil { + yyv216 = []ClusterCondition{} + yyc216 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh216.End() + if yyc216 { + *v = yyv216 } } @@ -2665,10 +2747,10 @@ func (x codecSelfer1234) encSliceCluster(v []Cluster, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv220 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy221 := &yyv220 + yy221.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2678,86 +2760,83 @@ func (x codecSelfer1234) decSliceCluster(v *[]Cluster, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Cluster{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv222 := *v + yyh222, yyl222 := z.DecSliceHelperStart() + var yyc222 bool + if yyl222 == 0 { + if yyv222 == nil { + yyv222 = []Cluster{} + yyc222 = true + } else if len(yyv222) != 0 { + yyv222 = yyv222[:0] + yyc222 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl222 > 0 { + var yyrr222, yyrl222 int + var yyrt222 bool + if yyl222 > cap(yyv222) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 336) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg222 := len(yyv222) > 0 + yyv2222 := yyv222 + yyrl222, yyrt222 = z.DecInferLen(yyl222, z.DecBasicHandle().MaxInitLen, 336) + if yyrt222 { + if yyrl222 <= cap(yyv222) { + yyv222 = yyv222[:yyrl222] } else { - yyv1 = make([]Cluster, yyrl1) + yyv222 = make([]Cluster, yyrl222) } } else { - yyv1 = make([]Cluster, yyrl1) + yyv222 = make([]Cluster, yyrl222) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc222 = true + yyrr222 = len(yyv222) + if yyrg222 { + copy(yyv222, yyv2222) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl222 != len(yyv222) { + yyv222 = yyv222[:yyl222] + yyc222 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj222 := 0 + for ; yyj222 < yyrr222; yyj222++ { + yyh222.ElemContainerState(yyj222) if r.TryDecodeAsNil() { - yyv1[yyj1] = Cluster{} + yyv222[yyj222] = Cluster{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv223 := &yyv222[yyj222] + yyv223.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Cluster{}) - yyh1.ElemContainerState(yyj1) + if yyrt222 { + for ; yyj222 < yyl222; yyj222++ { + yyv222 = append(yyv222, Cluster{}) + yyh222.ElemContainerState(yyj222) if r.TryDecodeAsNil() { - yyv1[yyj1] = Cluster{} + yyv222[yyj222] = Cluster{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv224 := &yyv222[yyj222] + yyv224.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj222 := 0 + for ; !r.CheckBreak(); yyj222++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Cluster{}) // var yyz1 Cluster - yyc1 = true + if yyj222 >= len(yyv222) { + yyv222 = append(yyv222, Cluster{}) // var yyz222 Cluster + yyc222 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh222.ElemContainerState(yyj222) + if yyj222 < len(yyv222) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Cluster{} + yyv222[yyj222] = Cluster{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv225 := &yyv222[yyj222] + yyv225.CodecDecodeSelf(d) } } else { @@ -2765,17 +2844,17 @@ func (x codecSelfer1234) decSliceCluster(v *[]Cluster, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Cluster{} - yyc1 = true + if yyj222 < len(yyv222) { + yyv222 = yyv222[:yyj222] + yyc222 = true + } else if yyj222 == 0 && yyv222 == nil { + yyv222 = []Cluster{} + yyc222 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh222.End() + if yyc222 { + *v = yyv222 } } @@ -2784,17 +2863,17 @@ func (x codecSelfer1234) encMapstringClusterReplicaSetPreferences(v map[string]C z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk1, yyv1 := range v { + for yyk226, yyv226 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym2 := z.EncBinary() - _ = yym2 + yym227 := z.EncBinary() + _ = yym227 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk1)) + r.EncodeString(codecSelferC_UTF81234, string(yyk226)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3 := &yyv1 - yy3.CodecEncodeSelf(e) + yy228 := &yyv226 + yy228.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerMapEnd1234) } @@ -2804,70 +2883,70 @@ func (x codecSelfer1234) decMapstringClusterReplicaSetPreferences(v *map[string] z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyl1 := r.ReadMapStart() - yybh1 := z.DecBasicHandle() - if yyv1 == nil { - yyrl1, _ := z.DecInferLen(yyl1, yybh1.MaxInitLen, 40) - yyv1 = make(map[string]ClusterReplicaSetPreferences, yyrl1) - *v = yyv1 + yyv229 := *v + yyl229 := r.ReadMapStart() + yybh229 := z.DecBasicHandle() + if yyv229 == nil { + yyrl229, _ := z.DecInferLen(yyl229, yybh229.MaxInitLen, 40) + yyv229 = make(map[string]ClusterReplicaSetPreferences, yyrl229) + *v = yyv229 } - var yymk1 string - var yymv1 ClusterReplicaSetPreferences - var yymg1 bool - if yybh1.MapValueReset { - yymg1 = true + var yymk229 string + var yymv229 ClusterReplicaSetPreferences + var yymg229 bool + if yybh229.MapValueReset { + yymg229 = true } - if yyl1 > 0 { - for yyj1 := 0; yyj1 < yyl1; yyj1++ { + if yyl229 > 0 { + for yyj229 := 0; yyj229 < yyl229; yyj229++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk229 = "" } else { - yymk1 = string(r.DecodeString()) + yymk229 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg229 { + yymv229 = yyv229[yymk229] } else { - yymv1 = ClusterReplicaSetPreferences{} + yymv229 = ClusterReplicaSetPreferences{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = ClusterReplicaSetPreferences{} + yymv229 = ClusterReplicaSetPreferences{} } else { - yyv3 := &yymv1 - yyv3.CodecDecodeSelf(d) + yyv231 := &yymv229 + yyv231.CodecDecodeSelf(d) } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv229 != nil { + yyv229[yymk229] = yymv229 } } - } else if yyl1 < 0 { - for yyj1 := 0; !r.CheckBreak(); yyj1++ { + } else if yyl229 < 0 { + for yyj229 := 0; !r.CheckBreak(); yyj229++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk1 = "" + yymk229 = "" } else { - yymk1 = string(r.DecodeString()) + yymk229 = string(r.DecodeString()) } - if yymg1 { - yymv1 = yyv1[yymk1] + if yymg229 { + yymv229 = yyv229[yymk229] } else { - yymv1 = ClusterReplicaSetPreferences{} + yymv229 = ClusterReplicaSetPreferences{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv1 = ClusterReplicaSetPreferences{} + yymv229 = ClusterReplicaSetPreferences{} } else { - yyv5 := &yymv1 - yyv5.CodecDecodeSelf(d) + yyv233 := &yymv229 + yyv233.CodecDecodeSelf(d) } - if yyv1 != nil { - yyv1[yymk1] = yymv1 + if yyv229 != nil { + yyv229[yymk229] = yymv229 } } } // else len==0: TODO: Should we clear map entries? diff --git a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/types.go b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/types.go index 2ab779055c6..b1bd520f71f 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/types.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/types.go @@ -129,7 +129,7 @@ type FederatedReplicaSetPreferences struct { // Preferences regarding number of replicas assigned to a cluster replicaset within a federated replicaset. type ClusterReplicaSetPreferences struct { // Minimum number of replicas that should be assigned to this Local ReplicaSet. 0 by default. - MinReplicas int64 `json:"maxReplicas,omitempty"` + MinReplicas int64 `json:"minReplicas,omitempty"` // Maximum number of replicas that should be assigned to this Local ReplicaSet. Unbounded if no value provided (default). MaxReplicas *int64 `json:"maxReplicas,omitempty"` diff --git a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/conversion.go index 04957df7d80..56a91dde462 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/conversion.go @@ -19,12 +19,11 @@ package v1beta1 import ( "fmt" - "k8s.io/client-go/1.4/pkg/api" "k8s.io/client-go/1.4/pkg/runtime" ) -func addConversionFuncs(scheme *runtime.Scheme) { - err := api.Scheme.AddFieldLabelConversionFunc(SchemeGroupVersion.String(), "Cluster", +func addConversionFuncs(scheme *runtime.Scheme) error { + return scheme.AddFieldLabelConversionFunc(SchemeGroupVersion.String(), "Cluster", func(label, value string) (string, string, error) { switch label { case "metadata.name": @@ -32,9 +31,6 @@ func addConversionFuncs(scheme *runtime.Scheme) { default: return "", "", fmt.Errorf("field label not supported: %s", label) } - }) - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } + }, + ) } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/defaults.go b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/defaults.go index 9aa8d37e245..c6edc015d37 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/defaults.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/defaults.go @@ -20,5 +20,6 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) -func addDefaultingFuncs(scheme *runtime.Scheme) { +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return nil } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/generated.pb.go index 52699adba8f..247b085d996 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/generated.pb.go @@ -50,23 +50,35 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf -func (m *Cluster) Reset() { *m = Cluster{} } -func (*Cluster) ProtoMessage() {} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 -func (m *ClusterCondition) Reset() { *m = ClusterCondition{} } -func (*ClusterCondition) ProtoMessage() {} +func (m *Cluster) Reset() { *m = Cluster{} } +func (*Cluster) ProtoMessage() {} +func (*Cluster) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } -func (m *ClusterList) Reset() { *m = ClusterList{} } -func (*ClusterList) ProtoMessage() {} +func (m *ClusterCondition) Reset() { *m = ClusterCondition{} } +func (*ClusterCondition) ProtoMessage() {} +func (*ClusterCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } -func (m *ClusterSpec) Reset() { *m = ClusterSpec{} } -func (*ClusterSpec) ProtoMessage() {} +func (m *ClusterList) Reset() { *m = ClusterList{} } +func (*ClusterList) ProtoMessage() {} +func (*ClusterList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } -func (m *ClusterStatus) Reset() { *m = ClusterStatus{} } -func (*ClusterStatus) ProtoMessage() {} +func (m *ClusterSpec) Reset() { *m = ClusterSpec{} } +func (*ClusterSpec) ProtoMessage() {} +func (*ClusterSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } + +func (m *ClusterStatus) Reset() { *m = ClusterStatus{} } +func (*ClusterStatus) ProtoMessage() {} +func (*ClusterStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } func (m *ServerAddressByClientCIDR) Reset() { *m = ServerAddressByClientCIDR{} } func (*ServerAddressByClientCIDR) ProtoMessage() {} +func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{5} +} func init() { proto.RegisterType((*Cluster)(nil), "k8s.io.client-go.1.4.federation.apis.federation.v1beta1.Cluster") @@ -1473,3 +1485,56 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 776 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x54, 0xdf, 0x6a, 0x13, 0x4d, + 0x14, 0x6f, 0xfe, 0x37, 0xd3, 0x2f, 0xdf, 0x57, 0x86, 0x4f, 0x88, 0xb9, 0x68, 0x24, 0x88, 0xb4, + 0x68, 0x77, 0x69, 0x50, 0x28, 0x88, 0x42, 0x37, 0x45, 0x28, 0xa4, 0x54, 0xa6, 0x45, 0xa4, 0x20, + 0xb2, 0xd9, 0x9c, 0xa6, 0x6b, 0x92, 0xdd, 0x30, 0x33, 0x5b, 0x69, 0xaf, 0x7c, 0x00, 0x2f, 0x7c, + 0x08, 0xdf, 0x40, 0x7c, 0x87, 0x5e, 0xf6, 0xc2, 0x0b, 0xf1, 0xa2, 0x68, 0x7d, 0x0b, 0xaf, 0x9c, + 0x99, 0x9d, 0x6c, 0x76, 0xbb, 0x4d, 0xd0, 0xf6, 0x62, 0x60, 0xcf, 0xd9, 0x73, 0x7e, 0xbf, 0xdf, + 0x9c, 0x73, 0xe6, 0xa0, 0xcd, 0xfe, 0x3a, 0x33, 0x5c, 0xdf, 0xec, 0x07, 0x1d, 0xa0, 0x1e, 0x70, + 0x60, 0xe6, 0x01, 0x74, 0x81, 0xda, 0xdc, 0xf5, 0x3d, 0xd3, 0x1e, 0xb9, 0x09, 0xfb, 0x68, 0xad, + 0x03, 0xdc, 0x5e, 0x33, 0x7b, 0xe0, 0x49, 0x17, 0x74, 0x8d, 0x11, 0xf5, 0xb9, 0x8f, 0x1f, 0x86, + 0x28, 0xc6, 0x04, 0xc5, 0x98, 0x64, 0x19, 0x12, 0x25, 0x6e, 0x6b, 0x94, 0xda, 0x6a, 0xcf, 0xe5, + 0x87, 0x41, 0xc7, 0x70, 0xfc, 0xa1, 0xd9, 0xf3, 0x7b, 0xbe, 0xa9, 0xc0, 0x3a, 0xc1, 0x81, 0xb2, + 0x94, 0xa1, 0xbe, 0x42, 0x92, 0x5a, 0x33, 0x2d, 0x75, 0xd4, 0xef, 0x49, 0x8d, 0x26, 0x05, 0xe6, + 0x07, 0xd4, 0x81, 0xcb, 0xc2, 0x6a, 0x8f, 0xa6, 0xe7, 0x04, 0xde, 0x11, 0x50, 0x26, 0xf4, 0x40, + 0x37, 0x95, 0xf6, 0x60, 0x7a, 0xda, 0x51, 0xea, 0xf6, 0xb5, 0xd5, 0xab, 0xa3, 0x69, 0xe0, 0x71, + 0x77, 0x98, 0xd6, 0xb4, 0x76, 0x75, 0x78, 0xc0, 0xdd, 0x81, 0xe9, 0x7a, 0x9c, 0x71, 0x7a, 0x39, + 0xa5, 0xf1, 0x39, 0x8b, 0x4a, 0xad, 0x41, 0xc0, 0x38, 0x50, 0xfc, 0x12, 0xcd, 0x0f, 0x45, 0xf9, + 0xba, 0x36, 0xb7, 0xab, 0x99, 0x3b, 0x99, 0xe5, 0x85, 0xe6, 0xb2, 0x91, 0x2e, 0xbf, 0x40, 0x94, + 0x75, 0x17, 0xb5, 0x36, 0x76, 0x3a, 0x6f, 0xc0, 0xe1, 0xdb, 0x22, 0xc7, 0xc2, 0xa7, 0xe7, 0xf5, + 0xb9, 0x8b, 0xf3, 0x3a, 0x9a, 0xf8, 0x48, 0x84, 0x86, 0x1d, 0x94, 0x67, 0x23, 0x70, 0xaa, 0x59, + 0x85, 0xba, 0x61, 0x5c, 0xa7, 0xa9, 0x86, 0x96, 0xb9, 0x2b, 0x80, 0xac, 0x7f, 0x34, 0x5d, 0x5e, + 0x5a, 0x44, 0x81, 0xe3, 0x3e, 0x2a, 0x32, 0x6e, 0xf3, 0x80, 0x55, 0x73, 0x8a, 0xa6, 0x75, 0x33, + 0x1a, 0x05, 0x65, 0xfd, 0xab, 0x89, 0x8a, 0xa1, 0x4d, 0x34, 0x45, 0xe3, 0x5b, 0x0e, 0x2d, 0xea, + 0xc8, 0x96, 0xef, 0x75, 0x5d, 0x09, 0x81, 0xd7, 0x51, 0x9e, 0x1f, 0x8f, 0x40, 0x15, 0xaf, 0x6c, + 0xdd, 0x1d, 0x6b, 0xdc, 0x13, 0xbe, 0x5f, 0xe7, 0xf5, 0xff, 0x2f, 0xc7, 0x4b, 0x3f, 0x51, 0x19, + 0xf8, 0x45, 0xa4, 0x3d, 0xab, 0x72, 0x9f, 0x26, 0x69, 0x45, 0xf6, 0xcc, 0xc1, 0x31, 0x22, 0xcc, + 0xa4, 0x4c, 0x7c, 0x88, 0x2a, 0x03, 0x9b, 0xf1, 0xe7, 0xd4, 0xef, 0xc0, 0x9e, 0x18, 0x19, 0x5d, + 0x9a, 0xfb, 0x33, 0xfa, 0x1a, 0x9b, 0x5e, 0x43, 0xa6, 0x58, 0xb7, 0xb4, 0x96, 0x4a, 0x3b, 0x8e, + 0x44, 0x92, 0xc0, 0xf8, 0x2d, 0xc2, 0xd2, 0xb1, 0x47, 0x6d, 0x8f, 0x85, 0xb7, 0x93, 0x74, 0xf9, + 0xbf, 0xa7, 0xab, 0x69, 0x3a, 0xdc, 0x4e, 0xc1, 0x91, 0x2b, 0x28, 0xf0, 0x3d, 0x54, 0xa4, 0x60, + 0x33, 0xdf, 0xab, 0x16, 0x54, 0xe9, 0xa2, 0x8e, 0x11, 0xe5, 0x25, 0xfa, 0x2f, 0x5e, 0x41, 0xa5, + 0x21, 0x30, 0x66, 0xf7, 0xa0, 0x5a, 0x54, 0x81, 0xff, 0xe9, 0xc0, 0xd2, 0x76, 0xe8, 0x26, 0xe3, + 0xff, 0x8d, 0xb3, 0x0c, 0x5a, 0xd0, 0xcd, 0x6a, 0xbb, 0x8c, 0xe3, 0x57, 0xa9, 0x87, 0x61, 0xfe, + 0xe1, 0x8d, 0x64, 0xba, 0x7a, 0x1f, 0x8b, 0x9a, 0x6c, 0x7e, 0xec, 0x89, 0xbd, 0x8e, 0x0e, 0x2a, + 0xb8, 0x1c, 0x86, 0xb2, 0xf7, 0x39, 0x81, 0xfd, 0xe4, 0x46, 0x73, 0x6b, 0x55, 0x34, 0x53, 0x61, + 0x4b, 0x62, 0x92, 0x10, 0xba, 0xf1, 0x31, 0x1b, 0x5d, 0x49, 0x3e, 0x19, 0xfc, 0x29, 0x83, 0x6a, + 0x0c, 0xa8, 0x50, 0xba, 0xd1, 0xed, 0x8a, 0x25, 0xc7, 0xac, 0xe3, 0xd6, 0xc0, 0x05, 0x8f, 0xb7, + 0xb6, 0x36, 0x09, 0x13, 0xb7, 0x94, 0x4a, 0x76, 0xae, 0xa7, 0x64, 0x77, 0x1a, 0xae, 0xd5, 0xd0, + 0xda, 0x6a, 0x53, 0x43, 0x18, 0x99, 0x21, 0x0b, 0xbf, 0x46, 0x65, 0x06, 0x0e, 0x05, 0x4e, 0xe0, + 0x40, 0x2f, 0x93, 0xe6, 0xec, 0x15, 0xd5, 0xf6, 0x1d, 0x7b, 0x10, 0xee, 0x24, 0x91, 0x03, 0x14, + 0x3c, 0x07, 0xac, 0x8a, 0x90, 0x50, 0xde, 0x1d, 0x03, 0x91, 0x09, 0x66, 0xe3, 0x4b, 0x06, 0x55, + 0x12, 0x0b, 0x00, 0x9f, 0x20, 0xe4, 0x8c, 0x1f, 0xd7, 0xb8, 0x2e, 0xcf, 0x6e, 0xd4, 0xa1, 0xe8, + 0xad, 0x4e, 0x96, 0x66, 0xe4, 0x62, 0x24, 0xc6, 0x86, 0xeb, 0xa8, 0x70, 0x22, 0xc6, 0x88, 0x89, + 0xc9, 0xce, 0x89, 0x81, 0x2d, 0xcb, 0xae, 0xee, 0x4b, 0x07, 0x09, 0xfd, 0xe1, 0xec, 0xf7, 0x44, + 0xac, 0x1e, 0xe9, 0xd8, 0xec, 0x4b, 0x2f, 0xd1, 0x7f, 0x1b, 0xef, 0x33, 0xe8, 0xf6, 0xd4, 0x92, + 0xe3, 0xa6, 0xb8, 0x62, 0x64, 0xe9, 0xe5, 0x35, 0x91, 0x16, 0xfd, 0x21, 0xb1, 0x28, 0xfc, 0x18, + 0x55, 0x12, 0x7d, 0xd2, 0x7b, 0x2b, 0xda, 0x15, 0x09, 0x36, 0x92, 0x8c, 0xb5, 0x56, 0x4e, 0x7f, + 0x2c, 0xcd, 0x9d, 0x89, 0xf3, 0x55, 0x9c, 0x77, 0x17, 0x4b, 0x99, 0x53, 0x71, 0xce, 0xc4, 0xf9, + 0x2e, 0xce, 0x87, 0x9f, 0x4b, 0x73, 0xfb, 0x25, 0x5d, 0xb3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, + 0x48, 0x5d, 0x6b, 0x0c, 0x46, 0x08, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/register.go b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/register.go index fced46d3148..d2dfaa663e2 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/register.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/register.go @@ -29,14 +29,12 @@ const GroupName = "federation" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1beta1"} -// Adds the list of known types to api.Scheme. -func AddToScheme(scheme *runtime.Scheme) { - addKnownTypes(scheme) - addDefaultingFuncs(scheme) - addConversionFuncs(scheme) -} +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) -func addKnownTypes(scheme *runtime.Scheme) { +func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &Cluster{}, &ClusterList{}, @@ -44,6 +42,7 @@ func addKnownTypes(scheme *runtime.Scheme) { &v1.DeleteOptions{}, ) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil } func (obj *Cluster) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/types.generated.go b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/types.generated.go index db6cff75a28..0168a3e358e 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/types.generated.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/types.generated.go @@ -152,25 +152,25 @@ func (x *ServerAddressByClientCIDR) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym9 := z.DecBinary() + _ = yym9 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct10 := r.ContainerType() + if yyct10 == codecSelferValueTypeMap1234 { + yyl10 := r.ReadMapStart() + if yyl10 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl10, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct10 == codecSelferValueTypeArray1234 { + yyl10 := r.ReadArrayStart() + if yyl10 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl10, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -182,12 +182,12 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys11Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys11Slc + var yyhl11 bool = l >= 0 + for yyj11 := 0; ; yyj11++ { + if yyhl11 { + if yyj11 >= l { break } } else { @@ -196,10 +196,10 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys11Slc = r.DecodeBytes(yys11Slc, true, true) + yys11 := string(yys11Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys11 { case "clientCIDR": if r.TryDecodeAsNil() { x.ClientCIDR = "" @@ -213,9 +213,9 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromMap(l int, d *codec1978.D x.ServerAddress = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys11) + } // end switch yys11 + } // end for yyj11 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -223,16 +223,16 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj6 int - var yyb6 bool - var yyhl6 bool = l >= 0 - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + var yyj14 int + var yyb14 bool + var yyhl14 bool = l >= 0 + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb6 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb6 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -242,13 +242,13 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.ClientCIDR = string(r.DecodeString()) } - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb6 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb6 { + if yyb14 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -259,17 +259,17 @@ func (x *ServerAddressByClientCIDR) codecDecodeSelfFromArray(l int, d *codec1978 x.ServerAddress = string(r.DecodeString()) } for { - yyj6++ - if yyhl6 { - yyb6 = yyj6 > l + yyj14++ + if yyhl14 { + yyb14 = yyj14 > l } else { - yyb6 = r.CheckBreak() + yyb14 = r.CheckBreak() } - if yyb6 { + if yyb14 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj6-1, "") + z.DecStructFieldNotFound(yyj14-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -281,37 +281,37 @@ func (x *ClusterSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym17 := z.EncBinary() + _ = yym17 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [2]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[1] = x.SecretRef != nil - var yynn2 int - if yyr2 || yy2arr2 { + yysep18 := !z.EncBinary() + yy2arr18 := z.EncBasicHandle().StructToArray + var yyq18 [2]bool + _, _, _ = yysep18, yyq18, yy2arr18 + const yyr18 bool = false + yyq18[1] = x.SecretRef != nil + var yynn18 int + if yyr18 || yy2arr18 { r.EncodeArrayStart(2) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn18 = 1 + for _, b := range yyq18 { if b { - yynn2++ + yynn18++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn18) + yynn18 = 0 } - if yyr2 || yy2arr2 { + if yyr18 || yy2arr18 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.ServerAddressByClientCIDRs == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym20 := z.EncBinary() + _ = yym20 if false { } else { h.encSliceServerAddressByClientCIDR(([]ServerAddressByClientCIDR)(x.ServerAddressByClientCIDRs), e) @@ -324,17 +324,17 @@ func (x *ClusterSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.ServerAddressByClientCIDRs == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym21 := z.EncBinary() + _ = yym21 if false { } else { h.encSliceServerAddressByClientCIDR(([]ServerAddressByClientCIDR)(x.ServerAddressByClientCIDRs), e) } } } - if yyr2 || yy2arr2 { + if yyr18 || yy2arr18 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq18[1] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -344,7 +344,7 @@ func (x *ClusterSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq18[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -355,7 +355,7 @@ func (x *ClusterSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr18 || yy2arr18 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -368,25 +368,25 @@ func (x *ClusterSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym23 := z.DecBinary() + _ = yym23 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct24 := r.ContainerType() + if yyct24 == codecSelferValueTypeMap1234 { + yyl24 := r.ReadMapStart() + if yyl24 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl24, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct24 == codecSelferValueTypeArray1234 { + yyl24 := r.ReadArrayStart() + if yyl24 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl24, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -398,12 +398,12 @@ func (x *ClusterSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys25Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys25Slc + var yyhl25 bool = l >= 0 + for yyj25 := 0; ; yyj25++ { + if yyhl25 { + if yyj25 >= l { break } } else { @@ -412,20 +412,20 @@ func (x *ClusterSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys25Slc = r.DecodeBytes(yys25Slc, true, true) + yys25 := string(yys25Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys25 { case "serverAddressByClientCIDRs": if r.TryDecodeAsNil() { x.ServerAddressByClientCIDRs = nil } else { - yyv4 := &x.ServerAddressByClientCIDRs - yym5 := z.DecBinary() - _ = yym5 + yyv26 := &x.ServerAddressByClientCIDRs + yym27 := z.DecBinary() + _ = yym27 if false { } else { - h.decSliceServerAddressByClientCIDR((*[]ServerAddressByClientCIDR)(yyv4), d) + h.decSliceServerAddressByClientCIDR((*[]ServerAddressByClientCIDR)(yyv26), d) } } case "secretRef": @@ -440,9 +440,9 @@ func (x *ClusterSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys25) + } // end switch yys25 + } // end for yyj25 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -450,16 +450,16 @@ func (x *ClusterSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj7 int - var yyb7 bool - var yyhl7 bool = l >= 0 - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + var yyj29 int + var yyb29 bool + var yyhl29 bool = l >= 0 + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb7 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb7 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -467,21 +467,21 @@ func (x *ClusterSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServerAddressByClientCIDRs = nil } else { - yyv8 := &x.ServerAddressByClientCIDRs - yym9 := z.DecBinary() - _ = yym9 + yyv30 := &x.ServerAddressByClientCIDRs + yym31 := z.DecBinary() + _ = yym31 if false { } else { - h.decSliceServerAddressByClientCIDR((*[]ServerAddressByClientCIDR)(yyv8), d) + h.decSliceServerAddressByClientCIDR((*[]ServerAddressByClientCIDR)(yyv30), d) } } - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb7 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb7 { + if yyb29 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -497,17 +497,17 @@ func (x *ClusterSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SecretRef.CodecDecodeSelf(d) } for { - yyj7++ - if yyhl7 { - yyb7 = yyj7 > l + yyj29++ + if yyhl29 { + yyb29 = yyj29 > l } else { - yyb7 = r.CheckBreak() + yyb29 = r.CheckBreak() } - if yyb7 { + if yyb29 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj7-1, "") + z.DecStructFieldNotFound(yyj29-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -516,8 +516,8 @@ func (x ClusterConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1 := z.EncBinary() - _ = yym1 + yym33 := z.EncBinary() + _ = yym33 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -529,8 +529,8 @@ func (x *ClusterConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym34 := z.DecBinary() + _ = yym34 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -545,34 +545,34 @@ func (x *ClusterCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym35 := z.EncBinary() + _ = yym35 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [6]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[2] = true - yyq2[3] = true - yyq2[4] = x.Reason != "" - yyq2[5] = x.Message != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep36 := !z.EncBinary() + yy2arr36 := z.EncBasicHandle().StructToArray + var yyq36 [6]bool + _, _, _ = yysep36, yyq36, yy2arr36 + const yyr36 bool = false + yyq36[2] = true + yyq36[3] = true + yyq36[4] = x.Reason != "" + yyq36[5] = x.Message != "" + var yynn36 int + if yyr36 || yy2arr36 { r.EncodeArrayStart(6) } else { - yynn2 = 2 - for _, b := range yyq2 { + yynn36 = 2 + for _, b := range yyq36 { if b { - yynn2++ + yynn36++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn36) + yynn36 = 0 } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -581,96 +581,106 @@ func (x *ClusterCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yysf7 := &x.Status - yysf7.CodecEncodeSelf(e) + yym39 := z.EncBinary() + _ = yym39 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yysf8 := &x.Status - yysf8.CodecEncodeSelf(e) + yym40 := z.EncBinary() + _ = yym40 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy10 := &x.LastProbeTime - yym11 := z.EncBinary() - _ = yym11 + if yyq36[2] { + yy42 := &x.LastProbeTime + yym43 := z.EncBinary() + _ = yym43 if false { - } else if z.HasExtensions() && z.EncExt(yy10) { - } else if yym11 { - z.EncBinaryMarshal(yy10) - } else if !yym11 && z.IsJSONHandle() { - z.EncJSONMarshal(yy10) + } else if z.HasExtensions() && z.EncExt(yy42) { + } else if yym43 { + z.EncBinaryMarshal(yy42) + } else if !yym43 && z.IsJSONHandle() { + z.EncJSONMarshal(yy42) } else { - z.EncFallback(yy10) + z.EncFallback(yy42) } } else { r.EncodeNil() } } else { - if yyq2[2] { + if yyq36[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy12 := &x.LastProbeTime - yym13 := z.EncBinary() - _ = yym13 + yy44 := &x.LastProbeTime + yym45 := z.EncBinary() + _ = yym45 if false { - } else if z.HasExtensions() && z.EncExt(yy12) { - } else if yym13 { - z.EncBinaryMarshal(yy12) - } else if !yym13 && z.IsJSONHandle() { - z.EncJSONMarshal(yy12) + } else if z.HasExtensions() && z.EncExt(yy44) { + } else if yym45 { + z.EncBinaryMarshal(yy44) + } else if !yym45 && z.IsJSONHandle() { + z.EncJSONMarshal(yy44) } else { - z.EncFallback(yy12) + z.EncFallback(yy44) } } } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yy15 := &x.LastTransitionTime - yym16 := z.EncBinary() - _ = yym16 + if yyq36[3] { + yy47 := &x.LastTransitionTime + yym48 := z.EncBinary() + _ = yym48 if false { - } else if z.HasExtensions() && z.EncExt(yy15) { - } else if yym16 { - z.EncBinaryMarshal(yy15) - } else if !yym16 && z.IsJSONHandle() { - z.EncJSONMarshal(yy15) + } else if z.HasExtensions() && z.EncExt(yy47) { + } else if yym48 { + z.EncBinaryMarshal(yy47) + } else if !yym48 && z.IsJSONHandle() { + z.EncJSONMarshal(yy47) } else { - z.EncFallback(yy15) + z.EncFallback(yy47) } } else { r.EncodeNil() } } else { - if yyq2[3] { + if yyq36[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy17 := &x.LastTransitionTime - yym18 := z.EncBinary() - _ = yym18 + yy49 := &x.LastTransitionTime + yym50 := z.EncBinary() + _ = yym50 if false { - } else if z.HasExtensions() && z.EncExt(yy17) { - } else if yym18 { - z.EncBinaryMarshal(yy17) - } else if !yym18 && z.IsJSONHandle() { - z.EncJSONMarshal(yy17) + } else if z.HasExtensions() && z.EncExt(yy49) { + } else if yym50 { + z.EncBinaryMarshal(yy49) + } else if !yym50 && z.IsJSONHandle() { + z.EncJSONMarshal(yy49) } else { - z.EncFallback(yy17) + z.EncFallback(yy49) } } } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym20 := z.EncBinary() - _ = yym20 + if yyq36[4] { + yym52 := z.EncBinary() + _ = yym52 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -679,23 +689,23 @@ func (x *ClusterCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq36[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym21 := z.EncBinary() - _ = yym21 + yym53 := z.EncBinary() + _ = yym53 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[5] { - yym23 := z.EncBinary() - _ = yym23 + if yyq36[5] { + yym55 := z.EncBinary() + _ = yym55 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -704,19 +714,19 @@ func (x *ClusterCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[5] { + if yyq36[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym24 := z.EncBinary() - _ = yym24 + yym56 := z.EncBinary() + _ = yym56 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr2 || yy2arr2 { + if yyr36 || yy2arr36 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -729,25 +739,25 @@ func (x *ClusterCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym57 := z.DecBinary() + _ = yym57 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct58 := r.ContainerType() + if yyct58 == codecSelferValueTypeMap1234 { + yyl58 := r.ReadMapStart() + if yyl58 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl58, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct58 == codecSelferValueTypeArray1234 { + yyl58 := r.ReadArrayStart() + if yyl58 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl58, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -759,12 +769,12 @@ func (x *ClusterCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys59Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys59Slc + var yyhl59 bool = l >= 0 + for yyj59 := 0; ; yyj59++ { + if yyhl59 { + if yyj59 >= l { break } } else { @@ -773,10 +783,10 @@ func (x *ClusterCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys59Slc = r.DecodeBytes(yys59Slc, true, true) + yys59 := string(yys59Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys59 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -793,34 +803,34 @@ func (x *ClusterCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv6 := &x.LastProbeTime - yym7 := z.DecBinary() - _ = yym7 + yyv62 := &x.LastProbeTime + yym63 := z.DecBinary() + _ = yym63 if false { - } else if z.HasExtensions() && z.DecExt(yyv6) { - } else if yym7 { - z.DecBinaryUnmarshal(yyv6) - } else if !yym7 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv6) + } else if z.HasExtensions() && z.DecExt(yyv62) { + } else if yym63 { + z.DecBinaryUnmarshal(yyv62) + } else if !yym63 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv62) } else { - z.DecFallback(yyv6, false) + z.DecFallback(yyv62, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv8 := &x.LastTransitionTime - yym9 := z.DecBinary() - _ = yym9 + yyv64 := &x.LastTransitionTime + yym65 := z.DecBinary() + _ = yym65 if false { - } else if z.HasExtensions() && z.DecExt(yyv8) { - } else if yym9 { - z.DecBinaryUnmarshal(yyv8) - } else if !yym9 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv8) + } else if z.HasExtensions() && z.DecExt(yyv64) { + } else if yym65 { + z.DecBinaryUnmarshal(yyv64) + } else if !yym65 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv64) } else { - z.DecFallback(yyv8, false) + z.DecFallback(yyv64, false) } } case "reason": @@ -836,9 +846,9 @@ func (x *ClusterCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys59) + } // end switch yys59 + } // end for yyj59 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -846,16 +856,16 @@ func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj12 int - var yyb12 bool - var yyhl12 bool = l >= 0 - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + var yyj68 int + var yyb68 bool + var yyhl68 bool = l >= 0 + yyj68++ + if yyhl68 { + yyb68 = yyj68 > l } else { - yyb12 = r.CheckBreak() + yyb68 = r.CheckBreak() } - if yyb12 { + if yyb68 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -865,13 +875,13 @@ func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Type = ClusterConditionType(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj68++ + if yyhl68 { + yyb68 = yyj68 > l } else { - yyb12 = r.CheckBreak() + yyb68 = r.CheckBreak() } - if yyb12 { + if yyb68 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -881,13 +891,13 @@ func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Status = pkg1_v1.ConditionStatus(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj68++ + if yyhl68 { + yyb68 = yyj68 > l } else { - yyb12 = r.CheckBreak() + yyb68 = r.CheckBreak() } - if yyb12 { + if yyb68 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -895,26 +905,26 @@ func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv15 := &x.LastProbeTime - yym16 := z.DecBinary() - _ = yym16 + yyv71 := &x.LastProbeTime + yym72 := z.DecBinary() + _ = yym72 if false { - } else if z.HasExtensions() && z.DecExt(yyv15) { - } else if yym16 { - z.DecBinaryUnmarshal(yyv15) - } else if !yym16 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv15) + } else if z.HasExtensions() && z.DecExt(yyv71) { + } else if yym72 { + z.DecBinaryUnmarshal(yyv71) + } else if !yym72 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv71) } else { - z.DecFallback(yyv15, false) + z.DecFallback(yyv71, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj68++ + if yyhl68 { + yyb68 = yyj68 > l } else { - yyb12 = r.CheckBreak() + yyb68 = r.CheckBreak() } - if yyb12 { + if yyb68 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -922,26 +932,26 @@ func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv17 := &x.LastTransitionTime - yym18 := z.DecBinary() - _ = yym18 + yyv73 := &x.LastTransitionTime + yym74 := z.DecBinary() + _ = yym74 if false { - } else if z.HasExtensions() && z.DecExt(yyv17) { - } else if yym18 { - z.DecBinaryUnmarshal(yyv17) - } else if !yym18 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv17) + } else if z.HasExtensions() && z.DecExt(yyv73) { + } else if yym74 { + z.DecBinaryUnmarshal(yyv73) + } else if !yym74 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv73) } else { - z.DecFallback(yyv17, false) + z.DecFallback(yyv73, false) } } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj68++ + if yyhl68 { + yyb68 = yyj68 > l } else { - yyb12 = r.CheckBreak() + yyb68 = r.CheckBreak() } - if yyb12 { + if yyb68 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -951,13 +961,13 @@ func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Reason = string(r.DecodeString()) } - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj68++ + if yyhl68 { + yyb68 = yyj68 > l } else { - yyb12 = r.CheckBreak() + yyb68 = r.CheckBreak() } - if yyb12 { + if yyb68 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -968,17 +978,17 @@ func (x *ClusterCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Message = string(r.DecodeString()) } for { - yyj12++ - if yyhl12 { - yyb12 = yyj12 > l + yyj68++ + if yyhl68 { + yyb68 = yyj68 > l } else { - yyb12 = r.CheckBreak() + yyb68 = r.CheckBreak() } - if yyb12 { + if yyb68 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj12-1, "") + z.DecStructFieldNotFound(yyj68-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -990,40 +1000,40 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym77 := z.EncBinary() + _ = yym77 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [3]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = len(x.Conditions) != 0 - yyq2[1] = len(x.Zones) != 0 - yyq2[2] = x.Region != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep78 := !z.EncBinary() + yy2arr78 := z.EncBasicHandle().StructToArray + var yyq78 [3]bool + _, _, _ = yysep78, yyq78, yy2arr78 + const yyr78 bool = false + yyq78[0] = len(x.Conditions) != 0 + yyq78[1] = len(x.Zones) != 0 + yyq78[2] = x.Region != "" + var yynn78 int + if yyr78 || yy2arr78 { r.EncodeArrayStart(3) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn78 = 0 + for _, b := range yyq78 { if b { - yynn2++ + yynn78++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn78) + yynn78 = 0 } - if yyr2 || yy2arr2 { + if yyr78 || yy2arr78 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { + if yyq78[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym4 := z.EncBinary() - _ = yym4 + yym80 := z.EncBinary() + _ = yym80 if false { } else { h.encSliceClusterCondition(([]ClusterCondition)(x.Conditions), e) @@ -1033,15 +1043,15 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[0] { + if yyq78[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym5 := z.EncBinary() - _ = yym5 + yym81 := z.EncBinary() + _ = yym81 if false { } else { h.encSliceClusterCondition(([]ClusterCondition)(x.Conditions), e) @@ -1049,14 +1059,14 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr78 || yy2arr78 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { + if yyq78[1] { if x.Zones == nil { r.EncodeNil() } else { - yym7 := z.EncBinary() - _ = yym7 + yym83 := z.EncBinary() + _ = yym83 if false { } else { z.F.EncSliceStringV(x.Zones, false, e) @@ -1066,15 +1076,15 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2[1] { + if yyq78[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("zones")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Zones == nil { r.EncodeNil() } else { - yym8 := z.EncBinary() - _ = yym8 + yym84 := z.EncBinary() + _ = yym84 if false { } else { z.F.EncSliceStringV(x.Zones, false, e) @@ -1082,11 +1092,11 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2 || yy2arr2 { + if yyr78 || yy2arr78 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym10 := z.EncBinary() - _ = yym10 + if yyq78[2] { + yym86 := z.EncBinary() + _ = yym86 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Region)) @@ -1095,19 +1105,19 @@ func (x *ClusterStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[2] { + if yyq78[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("region")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym11 := z.EncBinary() - _ = yym11 + yym87 := z.EncBinary() + _ = yym87 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Region)) } } } - if yyr2 || yy2arr2 { + if yyr78 || yy2arr78 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1120,25 +1130,25 @@ func (x *ClusterStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym88 := z.DecBinary() + _ = yym88 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct89 := r.ContainerType() + if yyct89 == codecSelferValueTypeMap1234 { + yyl89 := r.ReadMapStart() + if yyl89 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl89, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct89 == codecSelferValueTypeArray1234 { + yyl89 := r.ReadArrayStart() + if yyl89 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl89, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1150,12 +1160,12 @@ func (x *ClusterStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys90Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys90Slc + var yyhl90 bool = l >= 0 + for yyj90 := 0; ; yyj90++ { + if yyhl90 { + if yyj90 >= l { break } } else { @@ -1164,32 +1174,32 @@ func (x *ClusterStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys90Slc = r.DecodeBytes(yys90Slc, true, true) + yys90 := string(yys90Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { + switch yys90 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4 := &x.Conditions - yym5 := z.DecBinary() - _ = yym5 + yyv91 := &x.Conditions + yym92 := z.DecBinary() + _ = yym92 if false { } else { - h.decSliceClusterCondition((*[]ClusterCondition)(yyv4), d) + h.decSliceClusterCondition((*[]ClusterCondition)(yyv91), d) } } case "zones": if r.TryDecodeAsNil() { x.Zones = nil } else { - yyv6 := &x.Zones - yym7 := z.DecBinary() - _ = yym7 + yyv93 := &x.Zones + yym94 := z.DecBinary() + _ = yym94 if false { } else { - z.F.DecSliceStringX(yyv6, false, d) + z.F.DecSliceStringX(yyv93, false, d) } } case "region": @@ -1199,9 +1209,9 @@ func (x *ClusterStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Region = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys90) + } // end switch yys90 + } // end for yyj90 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1209,16 +1219,16 @@ func (x *ClusterStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj96 int + var yyb96 bool + var yyhl96 bool = l >= 0 + yyj96++ + if yyhl96 { + yyb96 = yyj96 > l } else { - yyb9 = r.CheckBreak() + yyb96 = r.CheckBreak() } - if yyb9 { + if yyb96 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1226,21 +1236,21 @@ func (x *ClusterStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv10 := &x.Conditions - yym11 := z.DecBinary() - _ = yym11 + yyv97 := &x.Conditions + yym98 := z.DecBinary() + _ = yym98 if false { } else { - h.decSliceClusterCondition((*[]ClusterCondition)(yyv10), d) + h.decSliceClusterCondition((*[]ClusterCondition)(yyv97), d) } } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj96++ + if yyhl96 { + yyb96 = yyj96 > l } else { - yyb9 = r.CheckBreak() + yyb96 = r.CheckBreak() } - if yyb9 { + if yyb96 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1248,21 +1258,21 @@ func (x *ClusterStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Zones = nil } else { - yyv12 := &x.Zones - yym13 := z.DecBinary() - _ = yym13 + yyv99 := &x.Zones + yym100 := z.DecBinary() + _ = yym100 if false { } else { - z.F.DecSliceStringX(yyv12, false, d) + z.F.DecSliceStringX(yyv99, false, d) } } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj96++ + if yyhl96 { + yyb96 = yyj96 > l } else { - yyb9 = r.CheckBreak() + yyb96 = r.CheckBreak() } - if yyb9 { + if yyb96 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1273,17 +1283,17 @@ func (x *ClusterStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Region = string(r.DecodeString()) } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj96++ + if yyhl96 { + yyb96 = yyj96 > l } else { - yyb9 = r.CheckBreak() + yyb96 = r.CheckBreak() } - if yyb9 { + if yyb96 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj96-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1295,90 +1305,39 @@ func (x *Cluster) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym102 := z.EncBinary() + _ = yym102 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [5]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[1] = true - yyq2[2] = true - yyq2[3] = x.Kind != "" - yyq2[4] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep103 := !z.EncBinary() + yy2arr103 := z.EncBasicHandle().StructToArray + var yyq103 [5]bool + _, _, _ = yysep103, yyq103, yy2arr103 + const yyr103 bool = false + yyq103[0] = x.Kind != "" + yyq103[1] = x.APIVersion != "" + yyq103[2] = true + yyq103[3] = true + yyq103[4] = true + var yynn103 int + if yyr103 || yy2arr103 { r.EncodeArrayStart(5) } else { - yynn2 = 0 - for _, b := range yyq2 { + yynn103 = 0 + for _, b := range yyq103 { if b { - yynn2++ + yynn103++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn103) + yynn103 = 0 } - if yyr2 || yy2arr2 { + if yyr103 || yy2arr103 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ObjectMeta - yy4.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ObjectMeta - yy6.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[1] { - yy9 := &x.Spec - yy9.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy11 := &x.Spec - yy11.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yy14 := &x.Status - yy14.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy16 := &x.Status - yy16.CodecEncodeSelf(e) - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym19 := z.EncBinary() - _ = yym19 + if yyq103[0] { + yym105 := z.EncBinary() + _ = yym105 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -1387,23 +1346,23 @@ func (x *Cluster) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[3] { + if yyq103[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym20 := z.EncBinary() - _ = yym20 + yym106 := z.EncBinary() + _ = yym106 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2 || yy2arr2 { + if yyr103 || yy2arr103 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[4] { - yym22 := z.EncBinary() - _ = yym22 + if yyq103[1] { + yym108 := z.EncBinary() + _ = yym108 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -1412,19 +1371,70 @@ func (x *Cluster) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2[4] { + if yyq103[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym23 := z.EncBinary() - _ = yym23 + yym109 := z.EncBinary() + _ = yym109 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2 || yy2arr2 { + if yyr103 || yy2arr103 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq103[2] { + yy111 := &x.ObjectMeta + yy111.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq103[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy112 := &x.ObjectMeta + yy112.CodecEncodeSelf(e) + } + } + if yyr103 || yy2arr103 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq103[3] { + yy114 := &x.Spec + yy114.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq103[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy115 := &x.Spec + yy115.CodecEncodeSelf(e) + } + } + if yyr103 || yy2arr103 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq103[4] { + yy117 := &x.Status + yy117.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq103[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy118 := &x.Status + yy118.CodecEncodeSelf(e) + } + } + if yyr103 || yy2arr103 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1437,25 +1447,25 @@ func (x *Cluster) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym119 := z.DecBinary() + _ = yym119 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct120 := r.ContainerType() + if yyct120 == codecSelferValueTypeMap1234 { + yyl120 := r.ReadMapStart() + if yyl120 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl120, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct120 == codecSelferValueTypeArray1234 { + yyl120 := r.ReadArrayStart() + if yyl120 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl120, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1467,12 +1477,12 @@ func (x *Cluster) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys121Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys121Slc + var yyhl121 bool = l >= 0 + for yyj121 := 0; ; yyj121++ { + if yyhl121 { + if yyj121 >= l { break } } else { @@ -1481,31 +1491,10 @@ func (x *Cluster) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys121Slc = r.DecodeBytes(yys121Slc, true, true) + yys121 := string(yys121Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg1_v1.ObjectMeta{} - } else { - yyv4 := &x.ObjectMeta - yyv4.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ClusterSpec{} - } else { - yyv5 := &x.Spec - yyv5.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ClusterStatus{} - } else { - yyv6 := &x.Status - yyv6.CodecDecodeSelf(d) - } + switch yys121 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1518,10 +1507,31 @@ func (x *Cluster) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg1_v1.ObjectMeta{} + } else { + yyv124 := &x.ObjectMeta + yyv124.CodecDecodeSelf(d) + } + case "spec": + if r.TryDecodeAsNil() { + x.Spec = ClusterSpec{} + } else { + yyv125 := &x.Spec + yyv125.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = ClusterStatus{} + } else { + yyv126 := &x.Status + yyv126.CodecDecodeSelf(d) + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys121) + } // end switch yys121 + } // end for yyj121 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1529,67 +1539,16 @@ func (x *Cluster) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj9 int - var yyb9 bool - var yyhl9 bool = l >= 0 - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + var yyj127 int + var yyb127 bool + var yyhl127 bool = l >= 0 + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l } else { - yyb9 = r.CheckBreak() + yyb127 = r.CheckBreak() } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = pkg1_v1.ObjectMeta{} - } else { - yyv10 := &x.ObjectMeta - yyv10.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ClusterSpec{} - } else { - yyv11 := &x.Spec - yyv11.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ClusterStatus{} - } else { - yyv12 := &x.Status - yyv12.CodecDecodeSelf(d) - } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l - } else { - yyb9 = r.CheckBreak() - } - if yyb9 { + if yyb127 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1599,13 +1558,13 @@ func (x *Cluster) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l } else { - yyb9 = r.CheckBreak() + yyb127 = r.CheckBreak() } - if yyb9 { + if yyb127 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1615,18 +1574,69 @@ func (x *Cluster) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l + } else { + yyb127 = r.CheckBreak() + } + if yyb127 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = pkg1_v1.ObjectMeta{} + } else { + yyv130 := &x.ObjectMeta + yyv130.CodecDecodeSelf(d) + } + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l + } else { + yyb127 = r.CheckBreak() + } + if yyb127 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = ClusterSpec{} + } else { + yyv131 := &x.Spec + yyv131.CodecDecodeSelf(d) + } + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l + } else { + yyb127 = r.CheckBreak() + } + if yyb127 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = ClusterStatus{} + } else { + yyv132 := &x.Status + yyv132.CodecDecodeSelf(d) + } for { - yyj9++ - if yyhl9 { - yyb9 = yyj9 > l + yyj127++ + if yyhl127 { + yyb127 = yyj127 > l } else { - yyb9 = r.CheckBreak() + yyb127 = r.CheckBreak() } - if yyb9 { + if yyb127 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj9-1, "") + z.DecStructFieldNotFound(yyj127-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1638,68 +1648,118 @@ func (x *ClusterList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1 := z.EncBinary() - _ = yym1 + yym133 := z.EncBinary() + _ = yym133 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2 := !z.EncBinary() - yy2arr2 := z.EncBasicHandle().StructToArray - var yyq2 [4]bool - _, _, _ = yysep2, yyq2, yy2arr2 - const yyr2 bool = false - yyq2[0] = true - yyq2[2] = x.Kind != "" - yyq2[3] = x.APIVersion != "" - var yynn2 int - if yyr2 || yy2arr2 { + yysep134 := !z.EncBinary() + yy2arr134 := z.EncBasicHandle().StructToArray + var yyq134 [4]bool + _, _, _ = yysep134, yyq134, yy2arr134 + const yyr134 bool = false + yyq134[0] = x.Kind != "" + yyq134[1] = x.APIVersion != "" + yyq134[2] = true + var yynn134 int + if yyr134 || yy2arr134 { r.EncodeArrayStart(4) } else { - yynn2 = 1 - for _, b := range yyq2 { + yynn134 = 1 + for _, b := range yyq134 { if b { - yynn2++ + yynn134++ } } - r.EncodeMapStart(yynn2) - yynn2 = 0 + r.EncodeMapStart(yynn134) + yynn134 = 0 } - if yyr2 || yy2arr2 { + if yyr134 || yy2arr134 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[0] { - yy4 := &x.ListMeta - yym5 := z.EncBinary() - _ = yym5 + if yyq134[0] { + yym136 := z.EncBinary() + _ = yym136 if false { - } else if z.HasExtensions() && z.EncExt(yy4) { } else { - z.EncFallback(yy4) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq134[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym137 := z.EncBinary() + _ = yym137 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr134 || yy2arr134 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq134[1] { + yym139 := z.EncBinary() + _ = yym139 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq134[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym140 := z.EncBinary() + _ = yym140 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr134 || yy2arr134 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq134[2] { + yy142 := &x.ListMeta + yym143 := z.EncBinary() + _ = yym143 + if false { + } else if z.HasExtensions() && z.EncExt(yy142) { + } else { + z.EncFallback(yy142) } } else { r.EncodeNil() } } else { - if yyq2[0] { + if yyq134[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy6 := &x.ListMeta - yym7 := z.EncBinary() - _ = yym7 + yy144 := &x.ListMeta + yym145 := z.EncBinary() + _ = yym145 if false { - } else if z.HasExtensions() && z.EncExt(yy6) { + } else if z.HasExtensions() && z.EncExt(yy144) { } else { - z.EncFallback(yy6) + z.EncFallback(yy144) } } } - if yyr2 || yy2arr2 { + if yyr134 || yy2arr134 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym9 := z.EncBinary() - _ = yym9 + yym147 := z.EncBinary() + _ = yym147 if false { } else { h.encSliceCluster(([]Cluster)(x.Items), e) @@ -1712,65 +1772,15 @@ func (x *ClusterList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym10 := z.EncBinary() - _ = yym10 + yym148 := z.EncBinary() + _ = yym148 if false { } else { h.encSliceCluster(([]Cluster)(x.Items), e) } } } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[2] { - yym12 := z.EncBinary() - _ = yym12 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym13 := z.EncBinary() - _ = yym13 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2 || yy2arr2 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2[3] { - yym15 := z.EncBinary() - _ = yym15 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym16 := z.EncBinary() - _ = yym16 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2 || yy2arr2 { + if yyr134 || yy2arr134 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -1783,25 +1793,25 @@ func (x *ClusterList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1 := z.DecBinary() - _ = yym1 + yym149 := z.DecBinary() + _ = yym149 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2 := r.ContainerType() - if yyct2 == codecSelferValueTypeMap1234 { - yyl2 := r.ReadMapStart() - if yyl2 == 0 { + yyct150 := r.ContainerType() + if yyct150 == codecSelferValueTypeMap1234 { + yyl150 := r.ReadMapStart() + if yyl150 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2, d) + x.codecDecodeSelfFromMap(yyl150, d) } - } else if yyct2 == codecSelferValueTypeArray1234 { - yyl2 := r.ReadArrayStart() - if yyl2 == 0 { + } else if yyct150 == codecSelferValueTypeArray1234 { + yyl150 := r.ReadArrayStart() + if yyl150 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2, d) + x.codecDecodeSelfFromArray(yyl150, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -1813,12 +1823,12 @@ func (x *ClusterList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3Slc - var yyhl3 bool = l >= 0 - for yyj3 := 0; ; yyj3++ { - if yyhl3 { - if yyj3 >= l { + var yys151Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys151Slc + var yyhl151 bool = l >= 0 + for yyj151 := 0; ; yyj151++ { + if yyhl151 { + if yyj151 >= l { break } } else { @@ -1827,35 +1837,10 @@ func (x *ClusterList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3Slc = r.DecodeBytes(yys3Slc, true, true) - yys3 := string(yys3Slc) + yys151Slc = r.DecodeBytes(yys151Slc, true, true) + yys151 := string(yys151Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3 { - case "metadata": - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4 := &x.ListMeta - yym5 := z.DecBinary() - _ = yym5 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4) { - } else { - z.DecFallback(yyv4, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv6 := &x.Items - yym7 := z.DecBinary() - _ = yym7 - if false { - } else { - h.decSliceCluster((*[]Cluster)(yyv6), d) - } - } + switch yys151 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -1868,10 +1853,35 @@ func (x *ClusterList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } + case "metadata": + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv154 := &x.ListMeta + yym155 := z.DecBinary() + _ = yym155 + if false { + } else if z.HasExtensions() && z.DecExt(yyv154) { + } else { + z.DecFallback(yyv154, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv156 := &x.Items + yym157 := z.DecBinary() + _ = yym157 + if false { + } else { + h.decSliceCluster((*[]Cluster)(yyv156), d) + } + } default: - z.DecStructFieldNotFound(-1, yys3) - } // end switch yys3 - } // end for yyj3 + z.DecStructFieldNotFound(-1, yys151) + } // end switch yys151 + } // end for yyj151 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -1879,61 +1889,16 @@ func (x *ClusterList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj10 int - var yyb10 bool - var yyhl10 bool = l >= 0 - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + var yyj158 int + var yyb158 bool + var yyhl158 bool = l >= 0 + yyj158++ + if yyhl158 { + yyb158 = yyj158 > l } else { - yyb10 = r.CheckBreak() + yyb158 = r.CheckBreak() } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv11 := &x.ListMeta - yym12 := z.DecBinary() - _ = yym12 - if false { - } else if z.HasExtensions() && z.DecExt(yyv11) { - } else { - z.DecFallback(yyv11, false) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv13 := &x.Items - yym14 := z.DecBinary() - _ = yym14 - if false { - } else { - h.decSliceCluster((*[]Cluster)(yyv13), d) - } - } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l - } else { - yyb10 = r.CheckBreak() - } - if yyb10 { + if yyb158 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1943,13 +1908,13 @@ func (x *ClusterList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj158++ + if yyhl158 { + yyb158 = yyj158 > l } else { - yyb10 = r.CheckBreak() + yyb158 = r.CheckBreak() } - if yyb10 { + if yyb158 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -1959,18 +1924,63 @@ func (x *ClusterList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - for { - yyj10++ - if yyhl10 { - yyb10 = yyj10 > l + yyj158++ + if yyhl158 { + yyb158 = yyj158 > l + } else { + yyb158 = r.CheckBreak() + } + if yyb158 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv161 := &x.ListMeta + yym162 := z.DecBinary() + _ = yym162 + if false { + } else if z.HasExtensions() && z.DecExt(yyv161) { } else { - yyb10 = r.CheckBreak() + z.DecFallback(yyv161, false) } - if yyb10 { + } + yyj158++ + if yyhl158 { + yyb158 = yyj158 > l + } else { + yyb158 = r.CheckBreak() + } + if yyb158 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv163 := &x.Items + yym164 := z.DecBinary() + _ = yym164 + if false { + } else { + h.decSliceCluster((*[]Cluster)(yyv163), d) + } + } + for { + yyj158++ + if yyhl158 { + yyb158 = yyj158 > l + } else { + yyb158 = r.CheckBreak() + } + if yyb158 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj10-1, "") + z.DecStructFieldNotFound(yyj158-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1980,10 +1990,10 @@ func (x codecSelfer1234) encSliceServerAddressByClientCIDR(v []ServerAddressByCl z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv165 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy166 := &yyv165 + yy166.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -1993,86 +2003,83 @@ func (x codecSelfer1234) decSliceServerAddressByClientCIDR(v *[]ServerAddressByC z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ServerAddressByClientCIDR{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv167 := *v + yyh167, yyl167 := z.DecSliceHelperStart() + var yyc167 bool + if yyl167 == 0 { + if yyv167 == nil { + yyv167 = []ServerAddressByClientCIDR{} + yyc167 = true + } else if len(yyv167) != 0 { + yyv167 = yyv167[:0] + yyc167 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl167 > 0 { + var yyrr167, yyrl167 int + var yyrt167 bool + if yyl167 > cap(yyv167) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 32) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg167 := len(yyv167) > 0 + yyv2167 := yyv167 + yyrl167, yyrt167 = z.DecInferLen(yyl167, z.DecBasicHandle().MaxInitLen, 32) + if yyrt167 { + if yyrl167 <= cap(yyv167) { + yyv167 = yyv167[:yyrl167] } else { - yyv1 = make([]ServerAddressByClientCIDR, yyrl1) + yyv167 = make([]ServerAddressByClientCIDR, yyrl167) } } else { - yyv1 = make([]ServerAddressByClientCIDR, yyrl1) + yyv167 = make([]ServerAddressByClientCIDR, yyrl167) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc167 = true + yyrr167 = len(yyv167) + if yyrg167 { + copy(yyv167, yyv2167) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl167 != len(yyv167) { + yyv167 = yyv167[:yyl167] + yyc167 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj167 := 0 + for ; yyj167 < yyrr167; yyj167++ { + yyh167.ElemContainerState(yyj167) if r.TryDecodeAsNil() { - yyv1[yyj1] = ServerAddressByClientCIDR{} + yyv167[yyj167] = ServerAddressByClientCIDR{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv168 := &yyv167[yyj167] + yyv168.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ServerAddressByClientCIDR{}) - yyh1.ElemContainerState(yyj1) + if yyrt167 { + for ; yyj167 < yyl167; yyj167++ { + yyv167 = append(yyv167, ServerAddressByClientCIDR{}) + yyh167.ElemContainerState(yyj167) if r.TryDecodeAsNil() { - yyv1[yyj1] = ServerAddressByClientCIDR{} + yyv167[yyj167] = ServerAddressByClientCIDR{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv169 := &yyv167[yyj167] + yyv169.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj167 := 0 + for ; !r.CheckBreak(); yyj167++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ServerAddressByClientCIDR{}) // var yyz1 ServerAddressByClientCIDR - yyc1 = true + if yyj167 >= len(yyv167) { + yyv167 = append(yyv167, ServerAddressByClientCIDR{}) // var yyz167 ServerAddressByClientCIDR + yyc167 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh167.ElemContainerState(yyj167) + if yyj167 < len(yyv167) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ServerAddressByClientCIDR{} + yyv167[yyj167] = ServerAddressByClientCIDR{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv170 := &yyv167[yyj167] + yyv170.CodecDecodeSelf(d) } } else { @@ -2080,17 +2087,17 @@ func (x codecSelfer1234) decSliceServerAddressByClientCIDR(v *[]ServerAddressByC } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ServerAddressByClientCIDR{} - yyc1 = true + if yyj167 < len(yyv167) { + yyv167 = yyv167[:yyj167] + yyc167 = true + } else if yyj167 == 0 && yyv167 == nil { + yyv167 = []ServerAddressByClientCIDR{} + yyc167 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh167.End() + if yyc167 { + *v = yyv167 } } @@ -2099,10 +2106,10 @@ func (x codecSelfer1234) encSliceClusterCondition(v []ClusterCondition, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv171 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy172 := &yyv171 + yy172.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2112,86 +2119,83 @@ func (x codecSelfer1234) decSliceClusterCondition(v *[]ClusterCondition, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []ClusterCondition{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv173 := *v + yyh173, yyl173 := z.DecSliceHelperStart() + var yyc173 bool + if yyl173 == 0 { + if yyv173 == nil { + yyv173 = []ClusterCondition{} + yyc173 = true + } else if len(yyv173) != 0 { + yyv173 = yyv173[:0] + yyc173 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl173 > 0 { + var yyrr173, yyrl173 int + var yyrt173 bool + if yyl173 > cap(yyv173) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg173 := len(yyv173) > 0 + yyv2173 := yyv173 + yyrl173, yyrt173 = z.DecInferLen(yyl173, z.DecBasicHandle().MaxInitLen, 112) + if yyrt173 { + if yyrl173 <= cap(yyv173) { + yyv173 = yyv173[:yyrl173] } else { - yyv1 = make([]ClusterCondition, yyrl1) + yyv173 = make([]ClusterCondition, yyrl173) } } else { - yyv1 = make([]ClusterCondition, yyrl1) + yyv173 = make([]ClusterCondition, yyrl173) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc173 = true + yyrr173 = len(yyv173) + if yyrg173 { + copy(yyv173, yyv2173) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl173 != len(yyv173) { + yyv173 = yyv173[:yyl173] + yyc173 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj173 := 0 + for ; yyj173 < yyrr173; yyj173++ { + yyh173.ElemContainerState(yyj173) if r.TryDecodeAsNil() { - yyv1[yyj1] = ClusterCondition{} + yyv173[yyj173] = ClusterCondition{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv174 := &yyv173[yyj173] + yyv174.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, ClusterCondition{}) - yyh1.ElemContainerState(yyj1) + if yyrt173 { + for ; yyj173 < yyl173; yyj173++ { + yyv173 = append(yyv173, ClusterCondition{}) + yyh173.ElemContainerState(yyj173) if r.TryDecodeAsNil() { - yyv1[yyj1] = ClusterCondition{} + yyv173[yyj173] = ClusterCondition{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv175 := &yyv173[yyj173] + yyv175.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj173 := 0 + for ; !r.CheckBreak(); yyj173++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, ClusterCondition{}) // var yyz1 ClusterCondition - yyc1 = true + if yyj173 >= len(yyv173) { + yyv173 = append(yyv173, ClusterCondition{}) // var yyz173 ClusterCondition + yyc173 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh173.ElemContainerState(yyj173) + if yyj173 < len(yyv173) { if r.TryDecodeAsNil() { - yyv1[yyj1] = ClusterCondition{} + yyv173[yyj173] = ClusterCondition{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv176 := &yyv173[yyj173] + yyv176.CodecDecodeSelf(d) } } else { @@ -2199,17 +2203,17 @@ func (x codecSelfer1234) decSliceClusterCondition(v *[]ClusterCondition, d *code } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []ClusterCondition{} - yyc1 = true + if yyj173 < len(yyv173) { + yyv173 = yyv173[:yyj173] + yyc173 = true + } else if yyj173 == 0 && yyv173 == nil { + yyv173 = []ClusterCondition{} + yyc173 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh173.End() + if yyc173 { + *v = yyv173 } } @@ -2218,10 +2222,10 @@ func (x codecSelfer1234) encSliceCluster(v []Cluster, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1 := range v { + for _, yyv177 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2 := &yyv1 - yy2.CodecEncodeSelf(e) + yy178 := &yyv177 + yy178.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -2231,86 +2235,83 @@ func (x codecSelfer1234) decSliceCluster(v *[]Cluster, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1 := *v - yyh1, yyl1 := z.DecSliceHelperStart() - var yyc1 bool - _ = yyc1 - if yyl1 == 0 { - if yyv1 == nil { - yyv1 = []Cluster{} - yyc1 = true - } else if len(yyv1) != 0 { - yyv1 = yyv1[:0] - yyc1 = true + yyv179 := *v + yyh179, yyl179 := z.DecSliceHelperStart() + var yyc179 bool + if yyl179 == 0 { + if yyv179 == nil { + yyv179 = []Cluster{} + yyc179 = true + } else if len(yyv179) != 0 { + yyv179 = yyv179[:0] + yyc179 = true } - } else if yyl1 > 0 { - var yyrr1, yyrl1 int - var yyrt1 bool - _, _ = yyrl1, yyrt1 - yyrr1 = yyl1 // len(yyv1) - if yyl1 > cap(yyv1) { + } else if yyl179 > 0 { + var yyrr179, yyrl179 int + var yyrt179 bool + if yyl179 > cap(yyv179) { - yyrg1 := len(yyv1) > 0 - yyv21 := yyv1 - yyrl1, yyrt1 = z.DecInferLen(yyl1, z.DecBasicHandle().MaxInitLen, 336) - if yyrt1 { - if yyrl1 <= cap(yyv1) { - yyv1 = yyv1[:yyrl1] + yyrg179 := len(yyv179) > 0 + yyv2179 := yyv179 + yyrl179, yyrt179 = z.DecInferLen(yyl179, z.DecBasicHandle().MaxInitLen, 336) + if yyrt179 { + if yyrl179 <= cap(yyv179) { + yyv179 = yyv179[:yyrl179] } else { - yyv1 = make([]Cluster, yyrl1) + yyv179 = make([]Cluster, yyrl179) } } else { - yyv1 = make([]Cluster, yyrl1) + yyv179 = make([]Cluster, yyrl179) } - yyc1 = true - yyrr1 = len(yyv1) - if yyrg1 { - copy(yyv1, yyv21) + yyc179 = true + yyrr179 = len(yyv179) + if yyrg179 { + copy(yyv179, yyv2179) } - } else if yyl1 != len(yyv1) { - yyv1 = yyv1[:yyl1] - yyc1 = true + } else if yyl179 != len(yyv179) { + yyv179 = yyv179[:yyl179] + yyc179 = true } - yyj1 := 0 - for ; yyj1 < yyrr1; yyj1++ { - yyh1.ElemContainerState(yyj1) + yyj179 := 0 + for ; yyj179 < yyrr179; yyj179++ { + yyh179.ElemContainerState(yyj179) if r.TryDecodeAsNil() { - yyv1[yyj1] = Cluster{} + yyv179[yyj179] = Cluster{} } else { - yyv2 := &yyv1[yyj1] - yyv2.CodecDecodeSelf(d) + yyv180 := &yyv179[yyj179] + yyv180.CodecDecodeSelf(d) } } - if yyrt1 { - for ; yyj1 < yyl1; yyj1++ { - yyv1 = append(yyv1, Cluster{}) - yyh1.ElemContainerState(yyj1) + if yyrt179 { + for ; yyj179 < yyl179; yyj179++ { + yyv179 = append(yyv179, Cluster{}) + yyh179.ElemContainerState(yyj179) if r.TryDecodeAsNil() { - yyv1[yyj1] = Cluster{} + yyv179[yyj179] = Cluster{} } else { - yyv3 := &yyv1[yyj1] - yyv3.CodecDecodeSelf(d) + yyv181 := &yyv179[yyj179] + yyv181.CodecDecodeSelf(d) } } } } else { - yyj1 := 0 - for ; !r.CheckBreak(); yyj1++ { + yyj179 := 0 + for ; !r.CheckBreak(); yyj179++ { - if yyj1 >= len(yyv1) { - yyv1 = append(yyv1, Cluster{}) // var yyz1 Cluster - yyc1 = true + if yyj179 >= len(yyv179) { + yyv179 = append(yyv179, Cluster{}) // var yyz179 Cluster + yyc179 = true } - yyh1.ElemContainerState(yyj1) - if yyj1 < len(yyv1) { + yyh179.ElemContainerState(yyj179) + if yyj179 < len(yyv179) { if r.TryDecodeAsNil() { - yyv1[yyj1] = Cluster{} + yyv179[yyj179] = Cluster{} } else { - yyv4 := &yyv1[yyj1] - yyv4.CodecDecodeSelf(d) + yyv182 := &yyv179[yyj179] + yyv182.CodecDecodeSelf(d) } } else { @@ -2318,16 +2319,16 @@ func (x codecSelfer1234) decSliceCluster(v *[]Cluster, d *codec1978.Decoder) { } } - if yyj1 < len(yyv1) { - yyv1 = yyv1[:yyj1] - yyc1 = true - } else if yyj1 == 0 && yyv1 == nil { - yyv1 = []Cluster{} - yyc1 = true + if yyj179 < len(yyv179) { + yyv179 = yyv179[:yyj179] + yyc179 = true + } else if yyj179 == 0 && yyv179 == nil { + yyv179 = []Cluster{} + yyc179 = true } } - yyh1.End() - if yyc1 { - *v = yyv1 + yyh179.End() + if yyc179 { + *v = yyv179 } } diff --git a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go index 29f31a2c422..57e78aa1df8 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go @@ -25,10 +25,17 @@ import ( v1 "k8s.io/client-go/1.4/pkg/api/v1" conversion "k8s.io/client-go/1.4/pkg/conversion" federation "k8s.io/client-go/1.4/pkg/federation/apis/federation" + runtime "k8s.io/client-go/1.4/pkg/runtime" ) func init() { - if err := api.Scheme.AddGeneratedConversionFuncs( + SchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(scheme *runtime.Scheme) error { + return scheme.AddGeneratedConversionFuncs( Convert_v1beta1_Cluster_To_federation_Cluster, Convert_federation_Cluster_To_v1beta1_Cluster, Convert_v1beta1_ClusterCondition_To_federation_ClusterCondition, @@ -41,10 +48,7 @@ func init() { Convert_federation_ClusterStatus_To_v1beta1_ClusterStatus, Convert_v1beta1_ServerAddressByClientCIDR_To_federation_ServerAddressByClientCIDR, Convert_federation_ServerAddressByClientCIDR_To_v1beta1_ServerAddressByClientCIDR, - ); err != nil { - // if one of the conversion functions is malformed, detect it immediately. - panic(err) - } + ) } func autoConvert_v1beta1_Cluster_To_federation_Cluster(in *Cluster, out *federation.Cluster, s conversion.Scope) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/zz_generated.deepcopy.go index 4607735518f..445ddc6780c 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/v1beta1/zz_generated.deepcopy.go @@ -21,24 +21,27 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.4/pkg/api" v1 "k8s.io/client-go/1.4/pkg/api/v1" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Cluster, InType: reflect.TypeOf(func() *Cluster { var x *Cluster; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ClusterCondition, InType: reflect.TypeOf(func() *ClusterCondition { var x *ClusterCondition; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ClusterList, InType: reflect.TypeOf(func() *ClusterList { var x *ClusterList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ClusterSpec, InType: reflect.TypeOf(func() *ClusterSpec { var x *ClusterSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ClusterStatus, InType: reflect.TypeOf(func() *ClusterStatus { var x *ClusterStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ServerAddressByClientCIDR, InType: reflect.TypeOf(func() *ServerAddressByClientCIDR { var x *ServerAddressByClientCIDR; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_Cluster, InType: reflect.TypeOf(&Cluster{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ClusterCondition, InType: reflect.TypeOf(&ClusterCondition{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ClusterList, InType: reflect.TypeOf(&ClusterList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ClusterSpec, InType: reflect.TypeOf(&ClusterSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ClusterStatus, InType: reflect.TypeOf(&ClusterStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ServerAddressByClientCIDR, InType: reflect.TypeOf(&ServerAddressByClientCIDR{})}, + ) } func DeepCopy_v1beta1_Cluster(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/zz_generated.deepcopy.go index 968a4e9789a..612436ae368 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/federation/apis/federation/zz_generated.deepcopy.go @@ -23,23 +23,27 @@ package federation import ( api "k8s.io/client-go/1.4/pkg/api" conversion "k8s.io/client-go/1.4/pkg/conversion" + runtime "k8s.io/client-go/1.4/pkg/runtime" reflect "reflect" ) func init() { - if err := api.Scheme.AddGeneratedDeepCopyFuncs( - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_Cluster, InType: reflect.TypeOf(func() *Cluster { var x *Cluster; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ClusterCondition, InType: reflect.TypeOf(func() *ClusterCondition { var x *ClusterCondition; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ClusterList, InType: reflect.TypeOf(func() *ClusterList { var x *ClusterList; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ClusterReplicaSetPreferences, InType: reflect.TypeOf(func() *ClusterReplicaSetPreferences { var x *ClusterReplicaSetPreferences; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ClusterSpec, InType: reflect.TypeOf(func() *ClusterSpec { var x *ClusterSpec; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ClusterStatus, InType: reflect.TypeOf(func() *ClusterStatus { var x *ClusterStatus; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_FederatedReplicaSetPreferences, InType: reflect.TypeOf(func() *FederatedReplicaSetPreferences { var x *FederatedReplicaSetPreferences; return x }())}, - conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ServerAddressByClientCIDR, InType: reflect.TypeOf(func() *ServerAddressByClientCIDR { var x *ServerAddressByClientCIDR; return x }())}, - ); err != nil { - // if one of the deep copy functions is malformed, detect it immediately. - panic(err) - } + SchemeBuilder.Register(RegisterDeepCopies) +} + +// RegisterDeepCopies adds deep-copy functions to the given scheme. Public +// to allow building arbitrary schemes. +func RegisterDeepCopies(scheme *runtime.Scheme) error { + return scheme.AddGeneratedDeepCopyFuncs( + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_Cluster, InType: reflect.TypeOf(&Cluster{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ClusterCondition, InType: reflect.TypeOf(&ClusterCondition{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ClusterList, InType: reflect.TypeOf(&ClusterList{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ClusterReplicaSetPreferences, InType: reflect.TypeOf(&ClusterReplicaSetPreferences{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ClusterSpec, InType: reflect.TypeOf(&ClusterSpec{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ClusterStatus, InType: reflect.TypeOf(&ClusterStatus{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_FederatedReplicaSetPreferences, InType: reflect.TypeOf(&FederatedReplicaSetPreferences{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_federation_ServerAddressByClientCIDR, InType: reflect.TypeOf(&ServerAddressByClientCIDR{})}, + ) } func DeepCopy_federation_Cluster(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/runtime/codec.go b/staging/src/k8s.io/client-go/1.4/pkg/runtime/codec.go index 8f52fc81da3..9f8ecef4287 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/runtime/codec.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/runtime/codec.go @@ -80,12 +80,14 @@ func EncodeOrDie(e Encoder, obj Object) string { // invokes the ObjectCreator to instantiate a new gvk. Returns an error if the typer cannot find the object. func UseOrCreateObject(t ObjectTyper, c ObjectCreater, gvk unversioned.GroupVersionKind, obj Object) (Object, error) { if obj != nil { - into, _, err := t.ObjectKinds(obj) + kinds, _, err := t.ObjectKinds(obj) if err != nil { return nil, err } - if gvk == into[0] { - return obj, nil + for _, kind := range kinds { + if gvk == kind { + return obj, nil + } } } return c.New(gvk) diff --git a/staging/src/k8s.io/client-go/1.4/pkg/runtime/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/runtime/generated.pb.go index 47208b2df6e..2f5376c6ae3 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/runtime/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/runtime/generated.pb.go @@ -45,14 +45,21 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf -func (m *RawExtension) Reset() { *m = RawExtension{} } -func (*RawExtension) ProtoMessage() {} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 -func (m *TypeMeta) Reset() { *m = TypeMeta{} } -func (*TypeMeta) ProtoMessage() {} +func (m *RawExtension) Reset() { *m = RawExtension{} } +func (*RawExtension) ProtoMessage() {} +func (*RawExtension) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } -func (m *Unknown) Reset() { *m = Unknown{} } -func (*Unknown) ProtoMessage() {} +func (m *TypeMeta) Reset() { *m = TypeMeta{} } +func (*TypeMeta) ProtoMessage() {} +func (*TypeMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } + +func (m *Unknown) Reset() { *m = Unknown{} } +func (*Unknown) ProtoMessage() {} +func (*Unknown) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } func init() { proto.RegisterType((*RawExtension)(nil), "k8s.io.client-go.1.4.pkg.runtime.RawExtension") @@ -729,3 +736,31 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 380 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x90, 0xcf, 0x4e, 0x2a, 0x31, + 0x14, 0xc6, 0x19, 0x20, 0x81, 0x5b, 0x48, 0xb8, 0xe9, 0x5d, 0xdc, 0x91, 0x44, 0x20, 0x6c, 0x94, + 0x05, 0x6d, 0x24, 0x31, 0x71, 0xcb, 0x10, 0x16, 0xc6, 0x98, 0x98, 0x89, 0xb8, 0x70, 0xe5, 0x30, + 0xd4, 0xb1, 0x19, 0x69, 0x27, 0x9d, 0x4e, 0xd0, 0x9d, 0x8f, 0xe0, 0x63, 0xb1, 0x64, 0xe9, 0x8a, + 0x28, 0x3e, 0x83, 0x7b, 0x4b, 0x29, 0x7f, 0x04, 0xe2, 0xe2, 0x24, 0x33, 0xe7, 0xfc, 0xbe, 0xef, + 0x7c, 0xa7, 0xa0, 0x19, 0x9e, 0xc5, 0x88, 0x72, 0x1c, 0x26, 0x7d, 0x22, 0x18, 0x91, 0x24, 0xc6, + 0x51, 0x18, 0x60, 0x91, 0x30, 0x49, 0x87, 0x04, 0x07, 0x84, 0x11, 0xe1, 0x49, 0x32, 0x40, 0x91, + 0xe0, 0x92, 0xc3, 0xc3, 0x05, 0x8e, 0xd6, 0x38, 0x52, 0x38, 0x32, 0x78, 0xb9, 0x19, 0x50, 0xf9, + 0x90, 0xf4, 0x91, 0xcf, 0x87, 0x38, 0xe0, 0x01, 0xc7, 0x5a, 0xd5, 0x4f, 0xee, 0xf5, 0x9f, 0xfe, + 0xd1, 0x5f, 0x0b, 0xb7, 0x72, 0x6b, 0xff, 0x72, 0x2f, 0xa2, 0x58, 0x90, 0x98, 0x27, 0xc2, 0xdf, + 0x49, 0x50, 0x3e, 0xd9, 0xaf, 0x49, 0x24, 0x7d, 0xc4, 0x94, 0xc9, 0x58, 0x8a, 0x6d, 0x49, 0xbd, + 0x01, 0x8a, 0xae, 0x37, 0xea, 0x3e, 0x49, 0xc2, 0x62, 0xca, 0x19, 0x3c, 0x00, 0x19, 0xe1, 0x8d, + 0x6c, 0xab, 0x66, 0x1d, 0x17, 0x9d, 0xdc, 0x6c, 0x5a, 0xcd, 0xa8, 0xb1, 0x3b, 0xef, 0xd5, 0xef, + 0x40, 0xfe, 0xfa, 0x39, 0x22, 0x97, 0x44, 0x7a, 0xb0, 0x05, 0x80, 0x4a, 0x72, 0x43, 0xc4, 0x5c, + 0xa4, 0xe9, 0x3f, 0x0e, 0x1c, 0x4f, 0xab, 0x29, 0xa5, 0x00, 0xed, 0xab, 0x73, 0x33, 0x71, 0x37, + 0x28, 0x58, 0x03, 0xd9, 0x90, 0xb2, 0x81, 0x9d, 0xd6, 0x74, 0xd1, 0xd0, 0xd9, 0x0b, 0xd5, 0x73, + 0xf5, 0xa4, 0xfe, 0x65, 0x81, 0x5c, 0x8f, 0x85, 0x8c, 0x8f, 0x18, 0xec, 0x81, 0xbc, 0x34, 0xdb, + 0xb4, 0x7f, 0xa1, 0x75, 0x84, 0x7e, 0x7d, 0x60, 0xb4, 0x0c, 0xe7, 0xfc, 0x35, 0xd6, 0xab, 0xb8, + 0xee, 0xca, 0x6a, 0x79, 0x5f, 0x7a, 0xf7, 0x3e, 0xd8, 0x06, 0x25, 0x9f, 0x33, 0xf5, 0x10, 0xb2, + 0xcb, 0x7c, 0x3e, 0xa0, 0x2c, 0xb0, 0x33, 0x3a, 0xea, 0x7f, 0xe3, 0x57, 0xea, 0xfc, 0x1c, 0xbb, + 0xdb, 0x3c, 0x3c, 0x05, 0x05, 0xd3, 0x9a, 0xaf, 0xb6, 0xb3, 0x5a, 0xfe, 0xcf, 0xc8, 0x0b, 0x9d, + 0xf5, 0xc8, 0xdd, 0xe4, 0x9c, 0xc6, 0xf8, 0xa3, 0x92, 0x9a, 0xa8, 0x7a, 0x53, 0xf5, 0x32, 0xab, + 0x58, 0x63, 0x55, 0x13, 0x55, 0xef, 0xaa, 0x5e, 0x3f, 0x2b, 0xa9, 0xdb, 0x9c, 0x39, 0xf2, 0x3b, + 0x00, 0x00, 0xff, 0xff, 0x32, 0xc1, 0x73, 0x2d, 0x94, 0x02, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/runtime/scheme.go b/staging/src/k8s.io/client-go/1.4/pkg/runtime/scheme.go index 08e3e97cb0d..31f1f30113e 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/runtime/scheme.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/runtime/scheme.go @@ -211,6 +211,11 @@ func (s *Scheme) KnownTypes(gv unversioned.GroupVersion) map[string]reflect.Type return types } +// AllKnownTypes returns the all known types. +func (s *Scheme) AllKnownTypes() map[unversioned.GroupVersionKind]reflect.Type { + return s.gvkToType +} + // ObjectKind returns the group,version,kind of the go object and true if this object // is considered unversioned, or an error if it's not a pointer or is unregistered. func (s *Scheme) ObjectKind(obj Object) (unversioned.GroupVersionKind, bool, error) { diff --git a/staging/src/k8s.io/client-go/1.4/pkg/runtime/scheme_builder.go b/staging/src/k8s.io/client-go/1.4/pkg/runtime/scheme_builder.go new file mode 100644 index 00000000000..944db48182b --- /dev/null +++ b/staging/src/k8s.io/client-go/1.4/pkg/runtime/scheme_builder.go @@ -0,0 +1,48 @@ +/* +Copyright 2015 The Kubernetes Authors. + +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 runtime + +// SchemeBuilder collects functions that add things to a scheme. It's to allow +// code to compile without explicitly referencing generated types. You should +// declare one in each package that will have generated deep copy or conversion +// functions. +type SchemeBuilder []func(*Scheme) error + +// AddToScheme applies all the stored functions to the scheme. A non-nil error +// indicates that one function failed and the attempt was abandoned. +func (sb *SchemeBuilder) AddToScheme(s *Scheme) error { + for _, f := range *sb { + if err := f(s); err != nil { + return err + } + } + return nil +} + +// Register adds a scheme setup function to the list. +func (sb *SchemeBuilder) Register(funcs ...func(*Scheme) error) { + for _, f := range funcs { + *sb = append(*sb, f) + } +} + +// NewSchemeBuilder calls Register for you. +func NewSchemeBuilder(funcs ...func(*Scheme) error) SchemeBuilder { + var sb SchemeBuilder + sb.Register(funcs...) + return sb +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/runtime/unstructured.go b/staging/src/k8s.io/client-go/1.4/pkg/runtime/unstructured.go index 068a82e35bf..9c9018a6dfd 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/runtime/unstructured.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/runtime/unstructured.go @@ -95,6 +95,7 @@ func (s unstructuredJSONScheme) decode(data []byte) (Object, error) { err := s.decodeToUnstructured(data, unstruct) return unstruct, err } + func (s unstructuredJSONScheme) decodeInto(data []byte, obj Object) error { switch x := obj.(type) { case *Unstructured: diff --git a/staging/src/k8s.io/client-go/1.4/pkg/util/intstr/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/util/intstr/generated.pb.go index c81d9b8651b..a564abf9097 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/util/intstr/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/util/intstr/generated.pb.go @@ -40,8 +40,13 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf -func (m *IntOrString) Reset() { *m = IntOrString{} } -func (*IntOrString) ProtoMessage() {} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 + +func (m *IntOrString) Reset() { *m = IntOrString{} } +func (*IntOrString) ProtoMessage() {} +func (*IntOrString) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } func init() { proto.RegisterType((*IntOrString)(nil), "k8s.io.client-go.1.4.pkg.util.intstr.IntOrString") @@ -345,3 +350,23 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 256 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x32, 0xcc, 0xb6, 0x28, 0xd6, + 0xcb, 0xcc, 0xd7, 0xcf, 0x2e, 0x4d, 0x4a, 0x2d, 0xca, 0x4b, 0x2d, 0x49, 0x2d, 0xd6, 0x2f, 0xc8, + 0x4e, 0xd7, 0x2f, 0x2d, 0xc9, 0xcc, 0xd1, 0xcf, 0xcc, 0x2b, 0x29, 0x2e, 0x29, 0xd2, 0x4f, 0x4f, + 0xcd, 0x4b, 0x2d, 0x4a, 0x2c, 0x49, 0x4d, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x84, + 0x68, 0xd1, 0x43, 0x68, 0xd1, 0x03, 0x6a, 0xd1, 0x03, 0x69, 0xd1, 0x83, 0x68, 0x91, 0xd2, 0x4d, + 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xcf, 0x4f, 0xcf, 0xd7, 0x07, + 0xeb, 0x4c, 0x2a, 0x4d, 0x03, 0xf3, 0xc0, 0x1c, 0x30, 0x0b, 0x62, 0xa2, 0xd2, 0x44, 0x46, 0x2e, + 0x6e, 0xcf, 0xbc, 0x12, 0xff, 0xa2, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0x74, 0x21, 0x0d, 0x2e, 0x96, + 0x92, 0xca, 0x82, 0x54, 0x09, 0x46, 0x05, 0x46, 0x0d, 0x66, 0x27, 0x91, 0x13, 0xf7, 0xe4, 0x19, + 0x1e, 0xdd, 0x93, 0x67, 0x09, 0x01, 0x8a, 0xfd, 0x82, 0xd2, 0x41, 0x60, 0x15, 0x42, 0x6a, 0x5c, + 0x6c, 0x40, 0x2b, 0xc3, 0x12, 0x73, 0x24, 0x98, 0x80, 0x6a, 0x59, 0x9d, 0xf8, 0xa0, 0x6a, 0xd9, + 0x3c, 0xc1, 0xa2, 0x41, 0x50, 0x59, 0x90, 0x3a, 0xa0, 0xbb, 0x40, 0xea, 0x98, 0x81, 0xea, 0x38, + 0x11, 0xea, 0x82, 0xc1, 0xa2, 0x41, 0x50, 0x59, 0x2b, 0x8e, 0x19, 0x0b, 0xe4, 0x19, 0x1a, 0xee, + 0x28, 0x30, 0x38, 0x69, 0x9c, 0x78, 0x28, 0xc7, 0x70, 0x01, 0x88, 0x6f, 0x00, 0x71, 0xc3, 0x23, + 0x39, 0xc6, 0x13, 0x40, 0x7c, 0x01, 0x88, 0x1f, 0x00, 0xf1, 0x84, 0xc7, 0x72, 0x0c, 0x51, 0x6c, + 0x10, 0xcf, 0x02, 0x02, 0x00, 0x00, 0xff, 0xff, 0x68, 0x57, 0xfb, 0xfa, 0x43, 0x01, 0x00, 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/pkg/watch/versioned/generated.pb.go b/staging/src/k8s.io/client-go/1.4/pkg/watch/versioned/generated.pb.go index 73b45bade22..601f14e480d 100644 --- a/staging/src/k8s.io/client-go/1.4/pkg/watch/versioned/generated.pb.go +++ b/staging/src/k8s.io/client-go/1.4/pkg/watch/versioned/generated.pb.go @@ -43,8 +43,13 @@ var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf -func (m *Event) Reset() { *m = Event{} } -func (*Event) ProtoMessage() {} +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +const _ = proto.GoGoProtoPackageIsVersion1 + +func (m *Event) Reset() { *m = Event{} } +func (*Event) ProtoMessage() {} +func (*Event) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } func init() { proto.RegisterType((*Event)(nil), "k8s.io.client-go.1.4.pkg.watch.versioned.Event") @@ -361,3 +366,25 @@ var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ) + +var fileDescriptorGenerated = []byte{ + // 273 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x32, 0xcd, 0xb6, 0x28, 0xd6, + 0xcb, 0xcc, 0xd7, 0xcf, 0x2e, 0x4d, 0x4a, 0x2d, 0xca, 0x4b, 0x2d, 0x49, 0x2d, 0xd6, 0x2f, 0xc8, + 0x4e, 0xd7, 0x2f, 0x4f, 0x2c, 0x49, 0xce, 0xd0, 0x2f, 0x4b, 0x2d, 0x2a, 0xce, 0xcc, 0xcf, 0x4b, + 0x4d, 0xd1, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0x4a, 0x2c, 0x49, 0x4d, 0xd1, 0x2b, 0x28, 0xca, 0x2f, + 0xc9, 0x17, 0x52, 0x85, 0x68, 0xd3, 0x43, 0x68, 0xd3, 0x03, 0x6a, 0xd3, 0x03, 0x6b, 0xd3, 0x83, + 0x6b, 0x93, 0xd2, 0x4d, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xcf, + 0x4f, 0xcf, 0xd7, 0x07, 0xeb, 0x4e, 0x2a, 0x4d, 0x03, 0xf3, 0xc0, 0x1c, 0x30, 0x0b, 0x62, 0xaa, + 0x94, 0x2e, 0x76, 0xc7, 0x14, 0x95, 0xe6, 0x95, 0x64, 0xe6, 0xa6, 0xa2, 0x3b, 0x42, 0xca, 0x10, + 0xbb, 0xf2, 0xd2, 0x92, 0xcc, 0x1c, 0xfd, 0xcc, 0xbc, 0x92, 0xe2, 0x92, 0x22, 0x74, 0x2d, 0x4a, + 0x75, 0x5c, 0xac, 0xae, 0x65, 0xa9, 0x79, 0x25, 0x42, 0x0a, 0x5c, 0x2c, 0x25, 0x95, 0x05, 0xa9, + 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x4e, 0x3c, 0x27, 0xee, 0xc9, 0x33, 0x3c, 0xba, 0x27, 0xcf, + 0x12, 0x02, 0x14, 0x0b, 0x02, 0xcb, 0x08, 0x05, 0x73, 0xb1, 0xe5, 0x27, 0x65, 0xa5, 0x26, 0x97, + 0x48, 0x30, 0x01, 0xd5, 0x70, 0x1b, 0x69, 0xeb, 0x61, 0xf7, 0x33, 0xd4, 0x75, 0x7a, 0x41, 0x89, + 0xe5, 0xae, 0x15, 0x25, 0xa9, 0x79, 0x20, 0xaf, 0x3b, 0xf1, 0x41, 0x0d, 0x64, 0xf3, 0x07, 0x1b, + 0x11, 0x04, 0x35, 0xca, 0x49, 0xfb, 0xc4, 0x43, 0x39, 0x86, 0x0b, 0x40, 0x7c, 0x03, 0x88, 0x1b, + 0x1e, 0xc9, 0x31, 0x9e, 0x00, 0xe2, 0x0b, 0x40, 0xfc, 0x00, 0x88, 0x27, 0x3c, 0x96, 0x63, 0x88, + 0xe2, 0x84, 0x87, 0x1e, 0x20, 0x00, 0x00, 0xff, 0xff, 0x23, 0x3d, 0x7b, 0x7e, 0x9c, 0x01, 0x00, + 0x00, +} diff --git a/staging/src/k8s.io/client-go/1.4/tools/cache/index.go b/staging/src/k8s.io/client-go/1.4/tools/cache/index.go index 99131af0bd3..11b6e59ec6d 100644 --- a/staging/src/k8s.io/client-go/1.4/tools/cache/index.go +++ b/staging/src/k8s.io/client-go/1.4/tools/cache/index.go @@ -55,6 +55,9 @@ func IndexFuncToKeyFuncAdapter(indexFunc IndexFunc) KeyFunc { if len(indexKeys) > 1 { return "", fmt.Errorf("too many keys: %v", indexKeys) } + if len(indexKeys) == 0 { + return "", fmt.Errorf("unexpected empty indexKeys") + } return indexKeys[0], nil } } diff --git a/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/latest/latest.go b/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/latest/latest.go index c8becfe0372..8b76e1f8f4f 100644 --- a/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/latest/latest.go +++ b/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/latest/latest.go @@ -22,7 +22,7 @@ import ( "k8s.io/client-go/1.4/pkg/runtime/serializer/json" "k8s.io/client-go/1.4/pkg/runtime/serializer/versioning" "k8s.io/client-go/1.4/tools/clientcmd/api" - _ "k8s.io/client-go/1.4/tools/clientcmd/api/v1" + "k8s.io/client-go/1.4/tools/clientcmd/api/v1" ) // Version is the string that represents the current external default version. @@ -40,12 +40,24 @@ const OldestVersion = "v1" // with a set of versions to choose. var Versions = []string{"v1"} -var Codec runtime.Codec +var ( + Codec runtime.Codec + Scheme *runtime.Scheme +) func init() { - yamlSerializer := json.NewYAMLSerializer(json.DefaultMetaFactory, api.Scheme, api.Scheme) + Scheme = runtime.NewScheme() + if err := api.AddToScheme(Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } + if err := v1.AddToScheme(Scheme); err != nil { + // Programmer error, detect immediately + panic(err) + } + yamlSerializer := json.NewYAMLSerializer(json.DefaultMetaFactory, Scheme, Scheme) Codec = versioning.NewCodecForScheme( - api.Scheme, + Scheme, yamlSerializer, yamlSerializer, []unversioned.GroupVersion{{Version: Version}}, diff --git a/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/register.go b/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/register.go index d2361d24719..4597ae6f55c 100644 --- a/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/register.go +++ b/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/register.go @@ -21,17 +21,20 @@ import ( "k8s.io/client-go/1.4/pkg/runtime" ) -// Scheme is the default instance of runtime.Scheme to which types in the Kubernetes API are already registered. -var Scheme = runtime.NewScheme() - // SchemeGroupVersion is group version used to register these objects // TODO this should be in the "kubeconfig" group var SchemeGroupVersion = unversioned.GroupVersion{Group: "", Version: runtime.APIVersionInternal} -func init() { - Scheme.AddKnownTypes(SchemeGroupVersion, +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) + +func addKnownTypes(scheme *runtime.Scheme) error { + scheme.AddKnownTypes(SchemeGroupVersion, &Config{}, ) + return nil } func (obj *Config) GetObjectKind() unversioned.ObjectKind { return obj } diff --git a/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/v1/conversion.go b/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/v1/conversion.go index ae41c1e1ff1..a91cacd5256 100644 --- a/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/v1/conversion.go +++ b/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/v1/conversion.go @@ -24,8 +24,8 @@ import ( "k8s.io/client-go/1.4/tools/clientcmd/api" ) -func init() { - err := api.Scheme.AddConversionFuncs( +func addConversionFuncs(scheme *runtime.Scheme) error { + return scheme.AddConversionFuncs( func(in *Cluster, out *api.Cluster, s conversion.Scope) error { return s.DefaultConvert(in, out, conversion.IgnoreMissingFields) }, @@ -224,8 +224,4 @@ func init() { return nil }, ) - if err != nil { - // If one of the conversion functions is malformed, detect it immediately. - panic(err) - } } diff --git a/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/v1/register.go b/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/v1/register.go index 09928809abe..237fbe92517 100644 --- a/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/v1/register.go +++ b/staging/src/k8s.io/client-go/1.4/tools/clientcmd/api/v1/register.go @@ -18,17 +18,23 @@ package v1 import ( "k8s.io/client-go/1.4/pkg/api/unversioned" - "k8s.io/client-go/1.4/tools/clientcmd/api" + "k8s.io/client-go/1.4/pkg/runtime" ) // SchemeGroupVersion is group version used to register these objects // TODO this should be in the "kubeconfig" group var SchemeGroupVersion = unversioned.GroupVersion{Group: "", Version: "v1"} -func init() { - api.Scheme.AddKnownTypes(SchemeGroupVersion, +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addConversionFuncs) + AddToScheme = SchemeBuilder.AddToScheme +) + +func addKnownTypes(scheme *runtime.Scheme) error { + scheme.AddKnownTypes(SchemeGroupVersion, &Config{}, ) + return nil } func (obj *Config) GetObjectKind() unversioned.ObjectKind { return obj }